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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5d9d805947d8a51696ef7b80512550936228f6f6 | 990 | py | Python | Zile.fpoo/arquivos python/zexercicios normais/peixaria.py | viniciuszile/python-codes | b5c9e18d9976329ee6c952670de2b516ffeaca23 | [
"MIT"
] | 4 | 2021-10-29T23:48:37.000Z | 2022-02-21T18:21:29.000Z | Zile.fpoo/arquivos python/zexercicios normais/peixaria.py | viniciuszile/python-codes | b5c9e18d9976329ee6c952670de2b516ffeaca23 | [
"MIT"
] | null | null | null | Zile.fpoo/arquivos python/zexercicios normais/peixaria.py | viniciuszile/python-codes | b5c9e18d9976329ee6c952670de2b516ffeaca23 | [
"MIT"
] | null | null | null | print ("-"*90)
print ("para continuar informe um numero positivio")
print ("para sair informe um numero negativo")
x = int (input(":"))
print ("-"*90)
while (x > 0):
exesso = 50
peso = float (input("escreva quantos KG de peixes voce trouxe :"))
if (peso > 50):
exesso = (peso - e... | 31.935484 | 71 | 0.530303 | 121 | 990 | 4.338843 | 0.338843 | 0.08 | 0.171429 | 0.091429 | 0.729524 | 0.729524 | 0.729524 | 0.729524 | 0.729524 | 0.729524 | 0 | 0.031866 | 0.334343 | 990 | 31 | 72 | 31.935484 | 0.764795 | 0 | 0 | 0.615385 | 0 | 0 | 0.401665 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.615385 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
f8f3d1e735b646d173455ff9ac40f5bf5b634dcb | 7,437 | py | Python | tests/flow/test_path.py | ushachar/RedisGraph | b14b7a5afd1d5ab8c964a9c3da5e322a2b7d694d | [
"Ruby",
"ISC",
"MIT"
] | null | null | null | tests/flow/test_path.py | ushachar/RedisGraph | b14b7a5afd1d5ab8c964a9c3da5e322a2b7d694d | [
"Ruby",
"ISC",
"MIT"
] | null | null | null | tests/flow/test_path.py | ushachar/RedisGraph | b14b7a5afd1d5ab8c964a9c3da5e322a2b7d694d | [
"Ruby",
"ISC",
"MIT"
] | null | null | null | import os
import sys
from redisgraph import Graph, Node, Edge, Path
from collections import Counter
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
from base import FlowTestsBase
sys.path.append(os.path.dirname(os.path.abspath(__file__)) + '/../../')
from demo import QueryInfo
GRAPH_ID = "G"
redis_gra... | 45.907407 | 125 | 0.634261 | 990 | 7,437 | 4.507071 | 0.112121 | 0.072165 | 0.06701 | 0.053339 | 0.808158 | 0.799641 | 0.799641 | 0.7974 | 0.787539 | 0.748767 | 0 | 0.064303 | 0.226301 | 7,437 | 161 | 126 | 46.192547 | 0.711157 | 0.020035 | 0 | 0.54918 | 0 | 0.008197 | 0.078655 | 0.015511 | 0 | 0 | 0 | 0 | 0.040984 | 1 | 0.065574 | false | 0 | 0.04918 | 0 | 0.131148 | 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 |
5d30ecce492e72b53e0b97a7569a5adb88356c4b | 179 | py | Python | model/disaster_images.py | catskillsresearch/xview2-catskills | 5671cff323c8121c0ae251e360e454a1e8568f58 | [
"BSD-3-Clause"
] | null | null | null | model/disaster_images.py | catskillsresearch/xview2-catskills | 5671cff323c8121c0ae251e360e454a1e8568f58 | [
"BSD-3-Clause"
] | null | null | null | model/disaster_images.py | catskillsresearch/xview2-catskills | 5671cff323c8121c0ae251e360e454a1e8568f58 | [
"BSD-3-Clause"
] | null | null | null | import glob
def disaster_images():
return glob.glob('/home/catskills/Desktop/dataxv2/xBD/*/images/*_post_*.png')
if __name__=="__main__":
print(disaster_images()[0:10])
| 22.375 | 81 | 0.715084 | 24 | 179 | 4.833333 | 0.791667 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.106145 | 179 | 7 | 82 | 25.571429 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.363128 | 0.318436 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 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 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
5d58591a9464b1f852f56a7916889b74d9591dee | 15,781 | py | Python | pyscf/pbc/scf/test/test_addons.py | fdmalone/pyscf | 021b17ac721e292b277d2b740e2ff8ab38bb6a4a | [
"Apache-2.0"
] | null | null | null | pyscf/pbc/scf/test/test_addons.py | fdmalone/pyscf | 021b17ac721e292b277d2b740e2ff8ab38bb6a4a | [
"Apache-2.0"
] | null | null | null | pyscf/pbc/scf/test/test_addons.py | fdmalone/pyscf | 021b17ac721e292b277d2b740e2ff8ab38bb6a4a | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# Copyright 2014-2018 The PySCF Developers. All Rights Reserved.
#
# 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
#
# U... | 54.044521 | 135 | 0.691338 | 2,295 | 15,781 | 4.522876 | 0.090632 | 0.071291 | 0.10973 | 0.12264 | 0.83815 | 0.820424 | 0.812428 | 0.757707 | 0.705973 | 0.676493 | 0 | 0.036757 | 0.160446 | 15,781 | 291 | 136 | 54.230241 | 0.746698 | 0.121285 | 0 | 0.316742 | 0 | 0 | 0.007591 | 0 | 0 | 0 | 0 | 0 | 0.361991 | 1 | 0.045249 | false | 0 | 0.049774 | 0 | 0.099548 | 0.004525 | 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 |
5d752c5df9aa88278625c5db960b23a78be0dfef | 137 | py | Python | ebus/na.py | andr2000/ebus | 578f95338e7fd434f02322d0537c0a47b4336423 | [
"Apache-2.0"
] | null | null | null | ebus/na.py | andr2000/ebus | 578f95338e7fd434f02322d0537c0a47b4336423 | [
"Apache-2.0"
] | null | null | null | ebus/na.py | andr2000/ebus | 578f95338e7fd434f02322d0537c0a47b4336423 | [
"Apache-2.0"
] | null | null | null | class NotAvailable:
def __str__(self):
return "NA"
def __repr__(self):
return repr_(self)
NA = NotAvailable()
| 13.7 | 26 | 0.605839 | 15 | 137 | 4.933333 | 0.533333 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.291971 | 137 | 9 | 27 | 15.222222 | 0.762887 | 0 | 0 | 0 | 0 | 0 | 0.014599 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.833333 | 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 |
53a179cbb49c7ea1612f667e1a6f54b8b6ec7b7d | 87 | py | Python | g_mlp_pytorch/__init__.py | cpmolnar/gMLP-Disaster-Tweets | 7b13651c2260bc112d706a99466c069fb9348205 | [
"MIT"
] | 346 | 2021-05-18T02:40:27.000Z | 2022-03-31T03:07:54.000Z | g_mlp_pytorch/__init__.py | gheyret/g-mlp-pytorch | 78fff27e0a0d223932a47d7f10bf33d349a4d2d3 | [
"MIT"
] | 6 | 2021-05-19T04:26:22.000Z | 2021-11-22T03:27:49.000Z | g_mlp_pytorch/__init__.py | gheyret/g-mlp-pytorch | 78fff27e0a0d223932a47d7f10bf33d349a4d2d3 | [
"MIT"
] | 49 | 2021-05-18T05:45:04.000Z | 2022-03-24T08:54:14.000Z | from g_mlp_pytorch.g_mlp_pytorch import gMLP, gMLPVision, gMLPBlock, SpatialGatingUnit
| 43.5 | 86 | 0.873563 | 12 | 87 | 6 | 0.75 | 0.111111 | 0.305556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08046 | 87 | 1 | 87 | 87 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
53c46373af35cb93c75378f639143108f0ea712a | 102 | py | Python | {{cookiecutter.package_name}}/tests/test_{{cookiecutter.project_slug}}.py | felix-d/cookiecutter-py3.5-minimal | 4d3fb187d0b965af3c54750b5c60c58574beee88 | [
"MIT"
] | null | null | null | {{cookiecutter.package_name}}/tests/test_{{cookiecutter.project_slug}}.py | felix-d/cookiecutter-py3.5-minimal | 4d3fb187d0b965af3c54750b5c60c58574beee88 | [
"MIT"
] | null | null | null | {{cookiecutter.package_name}}/tests/test_{{cookiecutter.project_slug}}.py | felix-d/cookiecutter-py3.5-minimal | 4d3fb187d0b965af3c54750b5c60c58574beee88 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
def test_example():
assert True
| 14.571429 | 39 | 0.696078 | 13 | 102 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.186275 | 102 | 6 | 40 | 17 | 0.771084 | 0.205882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 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 |
53cff2e890c2202b8e5adceaf29cd2c2de626b77 | 23 | py | Python | src/metrics/__init__.py | wvitzthum/DL_super_resolution | 59b2e68bad02579693d48f33ae64d524f08af5ff | [
"MIT"
] | 1 | 2021-08-05T19:44:29.000Z | 2021-08-05T19:44:29.000Z | src/metrics/__init__.py | wvitzthum/DL_super_resolution | 59b2e68bad02579693d48f33ae64d524f08af5ff | [
"MIT"
] | null | null | null | src/metrics/__init__.py | wvitzthum/DL_super_resolution | 59b2e68bad02579693d48f33ae64d524f08af5ff | [
"MIT"
] | null | null | null | from .psnr import psnr
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 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 |
54f9e287f9e9e14d596e96b772f0895df69c27e7 | 15,397 | py | Python | tests/model/api/test_http_api_generator.py | BearerPipelineTest/serverless-application-model | 2be47dfdf1140b1e84a24bab392cfd634dfe9d1f | [
"Apache-2.0",
"MIT"
] | null | null | null | tests/model/api/test_http_api_generator.py | BearerPipelineTest/serverless-application-model | 2be47dfdf1140b1e84a24bab392cfd634dfe9d1f | [
"Apache-2.0",
"MIT"
] | null | null | null | tests/model/api/test_http_api_generator.py | BearerPipelineTest/serverless-application-model | 2be47dfdf1140b1e84a24bab392cfd634dfe9d1f | [
"Apache-2.0",
"MIT"
] | null | null | null | from unittest import TestCase
from unittest.mock import patch
import pytest
from functools import reduce
from samtranslator.model import InvalidResourceException
from samtranslator.model.api.http_api_generator import HttpApiGenerator
from samtranslator.open_api.open_api import OpenApiEditor
class TestHttpApiGenerato... | 42.068306 | 125 | 0.614211 | 1,456 | 15,397 | 6.271291 | 0.12706 | 0.099661 | 0.11105 | 0.149491 | 0.844157 | 0.829263 | 0.818092 | 0.792356 | 0.783375 | 0.75972 | 0 | 0.003323 | 0.257193 | 15,397 | 365 | 126 | 42.183562 | 0.795051 | 0 | 0 | 0.626506 | 0 | 0 | 0.208222 | 0.016432 | 0 | 0 | 0 | 0 | 0.126506 | 1 | 0.084337 | false | 0.006024 | 0.021084 | 0 | 0.120482 | 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 |
54fa2868450a39cf3499cbb89ea43e7d9ee6b6ee | 6,980 | py | Python | tests/test_stock_management.py | venkat402/saleor | d1b5e43483981a4add5a2946b6b4ff1f376c9341 | [
"CC-BY-4.0"
] | 4 | 2021-04-09T01:07:00.000Z | 2022-02-15T10:51:39.000Z | tests/test_stock_management.py | gurupratap-matharu/saleor | c9d147dba24ddef1def889852c229027bab767df | [
"CC-BY-4.0"
] | null | null | null | tests/test_stock_management.py | gurupratap-matharu/saleor | c9d147dba24ddef1def889852c229027bab767df | [
"CC-BY-4.0"
] | 1 | 2019-09-15T02:19:10.000Z | 2019-09-15T02:19:10.000Z | import pytest
from saleor.core.exceptions import InsufficientStock
from saleor.warehouse.management import (
allocate_stock,
deallocate_stock,
decrease_stock,
increase_stock,
)
from saleor.warehouse.models import Allocation
COUNTRY_CODE = "US"
def test_allocate_stock(order_line, stock):
stock.qu... | 30.614035 | 87 | 0.766332 | 865 | 6,980 | 5.833526 | 0.075145 | 0.099881 | 0.038644 | 0.066587 | 0.912604 | 0.897939 | 0.86088 | 0.851962 | 0.826001 | 0.816092 | 0 | 0.021882 | 0.148854 | 6,980 | 227 | 88 | 30.748899 | 0.82747 | 0 | 0 | 0.670807 | 0 | 0 | 0.024928 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 1 | 0.099379 | false | 0 | 0.024845 | 0 | 0.124224 | 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 |
07338274c895d2601647cc8f82688d240e0f1b77 | 23,678 | py | Python | pybind/slxos/v16r_1_00b/brocade_mpls_rpc/show_mpls_dynamic_bypass_interface_brief/output/mpls_dynamic_bypass_interface_brief/show_mpls_dynamic_bypass_interface_brief/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/brocade_mpls_rpc/show_mpls_dynamic_bypass_interface_brief/output/mpls_dynamic_bypass_interface_brief/show_mpls_dynamic_bypass_interface_brief/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/brocade_mpls_rpc/show_mpls_dynamic_bypass_interface_brief/output/mpls_dynamic_bypass_interface_brief/show_mpls_dynamic_bypass_interface_brief/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 73.534161 | 458 | 0.772743 | 3,239 | 23,678 | 5.299784 | 0.05619 | 0.127228 | 0.07177 | 0.072702 | 0.896831 | 0.855936 | 0.835081 | 0.810381 | 0.795759 | 0.774554 | 0 | 0.009835 | 0.115424 | 23,678 | 321 | 459 | 73.76324 | 0.80974 | 0.237013 | 0 | 0.441489 | 0 | 0.031915 | 0.334857 | 0.210767 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111702 | false | 0.026596 | 0.042553 | 0 | 0.276596 | 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 |
075c693849ebf51127fac44417a9e38d7919722a | 120 | py | Python | tests/_site/import_error_app/catalogue/app.py | akiyoko/oscar_sandbox | b384f1c0b5f297fd4b84509a575f6766a48630a5 | [
"BSD-3-Clause"
] | 68 | 2016-11-06T05:07:57.000Z | 2021-12-17T09:17:38.000Z | tests/_site/import_error_app/catalogue/app.py | akiyoko/oscar_sandbox | b384f1c0b5f297fd4b84509a575f6766a48630a5 | [
"BSD-3-Clause"
] | 10 | 2020-05-11T20:33:31.000Z | 2022-03-12T00:24:28.000Z | tests/_site/import_error_app/catalogue/app.py | akiyoko/oscar_sandbox | b384f1c0b5f297fd4b84509a575f6766a48630a5 | [
"BSD-3-Clause"
] | 28 | 2016-12-04T07:12:50.000Z | 2021-02-06T21:13:15.000Z | # On purpose raise ImportError
from django import NonExistingApp
class CatalogueApplication(NonExistingApp):
pass
| 17.142857 | 43 | 0.816667 | 12 | 120 | 8.166667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 120 | 6 | 44 | 20 | 0.960784 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
4ac9f5fc6065c16c0765fb5963941200da346f53 | 29 | py | Python | __init__.py | constantinpape/glasbey | edc0caac52af2594eb108aaa23a49b2e5dcf730b | [
"MIT"
] | 95 | 2015-12-01T09:49:20.000Z | 2022-03-30T11:12:06.000Z | __init__.py | constantinpape/glasbey | edc0caac52af2594eb108aaa23a49b2e5dcf730b | [
"MIT"
] | 13 | 2020-07-07T03:59:02.000Z | 2022-03-30T04:28:06.000Z | __init__.py | constantinpape/glasbey | edc0caac52af2594eb108aaa23a49b2e5dcf730b | [
"MIT"
] | 19 | 2016-05-16T14:44:08.000Z | 2022-03-01T18:05:09.000Z | from .glasbey import Glasbey
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ab1eaa116a0e92fb6d74b20e26803655e06d232a | 312 | py | Python | src/validationlib/validation.py | rocoelho85/fiap | e24f7c56b55914f5fbc7895c9a20e0e166fc0225 | [
"MIT"
] | null | null | null | src/validationlib/validation.py | rocoelho85/fiap | e24f7c56b55914f5fbc7895c9a20e0e166fc0225 | [
"MIT"
] | null | null | null | src/validationlib/validation.py | rocoelho85/fiap | e24f7c56b55914f5fbc7895c9a20e0e166fc0225 | [
"MIT"
] | null | null | null | def greaterThenZero(value):
return True if value > 0 else False
def greaterOrEqualThenZero(value):
return True if value >= 0 else False
def validInt(value):
return True if type(value) is int else False
def validFloat(value):
return True if (type(value) is float or type(value) is int) else False
| 26 | 74 | 0.733974 | 49 | 312 | 4.673469 | 0.346939 | 0.19214 | 0.262009 | 0.296943 | 0.703057 | 0.703057 | 0.550218 | 0.305677 | 0.305677 | 0 | 0 | 0.007937 | 0.192308 | 312 | 11 | 75 | 28.363636 | 0.900794 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ab336cbdcbe3e2ce84bf02d5a06cb5d4cfdf0fd4 | 361 | py | Python | oni/twisted_event_dispatcher/__init__.py | cscutcher/twisted_event_dispatcher | 9abfbb5af325daf2cc6000d5120e2628604afb5b | [
"Unlicense"
] | null | null | null | oni/twisted_event_dispatcher/__init__.py | cscutcher/twisted_event_dispatcher | 9abfbb5af325daf2cc6000d5120e2628604afb5b | [
"Unlicense"
] | 1 | 2015-03-24T14:32:30.000Z | 2015-03-24T14:32:30.000Z | oni/twisted_event_dispatcher/__init__.py | cscutcher/twisted_event_dispatcher | 9abfbb5af325daf2cc6000d5120e2628604afb5b | [
"Unlicense"
] | null | null | null | # -*- coding: utf-8 -*-
'''
Establish external interface of twisted_event_dispatcher
'''
# flake8 doesn't like imports below without use
# flake8: noqa
from oni.twisted_event_dispatcher._dispatcher import EventDispatcher
from oni.twisted_event_dispatcher.interfaces import IEventDispatcher
from oni.twisted_event_dispatc... | 36.1 | 70 | 0.833795 | 44 | 361 | 6.636364 | 0.590909 | 0.164384 | 0.30137 | 0.195205 | 0.407534 | 0.308219 | 0.308219 | 0 | 0 | 0 | 0 | 0.009202 | 0.096953 | 361 | 9 | 71 | 40.111111 | 0.886503 | 0.382271 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
db46ba8f62b2ae8c35612f0c6dd35474ff95c5e2 | 22 | py | Python | upbank/__init__.py | alyssadev/upbankpy | eef13851587ddadc76f2865fbd8bea131570c8b2 | [
"MIT"
] | 3 | 2020-08-02T23:35:36.000Z | 2022-01-03T23:51:05.000Z | upbank/__init__.py | alyssadev/upbankpy | eef13851587ddadc76f2865fbd8bea131570c8b2 | [
"MIT"
] | null | null | null | upbank/__init__.py | alyssadev/upbankpy | eef13851587ddadc76f2865fbd8bea131570c8b2 | [
"MIT"
] | null | null | null | from .upbank import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
db5a7d9f05dd3c4826b8f1c8f794b8364edebefd | 7,708 | py | Python | stories/migrations/0001_initial.py | Emrahgs/Food-stories | b3465ca25024e2370cd5ce42af83c1b92a8982d4 | [
"MIT"
] | 1 | 2021-08-19T19:20:11.000Z | 2021-08-19T19:20:11.000Z | stories/migrations/0001_initial.py | Emrahgs/Food-stories | b3465ca25024e2370cd5ce42af83c1b92a8982d4 | [
"MIT"
] | null | null | null | stories/migrations/0001_initial.py | Emrahgs/Food-stories | b3465ca25024e2370cd5ce42af83c1b92a8982d4 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.7 on 2021-03-18 09:07
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
ope... | 57.954887 | 204 | 0.598469 | 777 | 7,708 | 5.727156 | 0.160875 | 0.126067 | 0.066067 | 0.078652 | 0.822921 | 0.808539 | 0.781124 | 0.737528 | 0.685393 | 0.674607 | 0 | 0.008678 | 0.252465 | 7,708 | 132 | 205 | 58.393939 | 0.763624 | 0.005838 | 0 | 0.648 | 1 | 0 | 0.156638 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.024 | 0 | 0.056 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dbb35a6de200a49de36181b3ceb8c703426eafb3 | 103 | py | Python | hooks/hook-regex.py | Lily418/fs2020-atc-voice-recognition | 22555ceb8044502af1322a7baddabbdf99a79a5a | [
"MIT"
] | null | null | null | hooks/hook-regex.py | Lily418/fs2020-atc-voice-recognition | 22555ceb8044502af1322a7baddabbdf99a79a5a | [
"MIT"
] | 3 | 2021-09-12T15:18:12.000Z | 2021-09-13T16:00:16.000Z | hooks/hook-regex.py | Lily418/fs2020-atc-voice-recognition | 22555ceb8044502af1322a7baddabbdf99a79a5a | [
"MIT"
] | null | null | null | from PyInstaller.utils.hooks import collect_all
datas, binaries, hiddenimports = collect_all('regex')
| 25.75 | 53 | 0.815534 | 13 | 103 | 6.307692 | 0.846154 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097087 | 103 | 3 | 54 | 34.333333 | 0.88172 | 0 | 0 | 0 | 0 | 0 | 0.048544 | 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 |
dbba1f2dd7bc381a3d54c4b3bc271d6b3877043b | 7,267 | py | Python | imexam/tests/test_util.py | patkel/imexam | 31820b4f11e3be14e428d3c1336d3b277105f3dd | [
"BSD-3-Clause"
] | null | null | null | imexam/tests/test_util.py | patkel/imexam | 31820b4f11e3be14e428d3c1336d3b277105f3dd | [
"BSD-3-Clause"
] | null | null | null | imexam/tests/test_util.py | patkel/imexam | 31820b4f11e3be14e428d3c1336d3b277105f3dd | [
"BSD-3-Clause"
] | null | null | null | """Licensed under a 3-clause BSD style license - see LICENSE.rst.
Make sure that the functions in util are behaving as expected
"""
from __future__ import (absolute_import, division, print_function,
unicode_literals)
import numpy as np
from numpy.testing import assert_equal
from astropy.io imp... | 33.8 | 80 | 0.668089 | 989 | 7,267 | 4.689585 | 0.150657 | 0.087753 | 0.040966 | 0.031048 | 0.764985 | 0.746658 | 0.739759 | 0.721216 | 0.702889 | 0.68025 | 0 | 0.014893 | 0.233109 | 7,267 | 214 | 81 | 33.957944 | 0.817334 | 0.176276 | 0 | 0.701493 | 0 | 0 | 0.040102 | 0.00785 | 0 | 0 | 0 | 0 | 0.276119 | 1 | 0.089552 | false | 0 | 0.044776 | 0 | 0.134328 | 0.007463 | 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 |
918b8c03274cee00c22ac36b187b630522a2525b | 10,103 | py | Python | tests/test_list.py | arounkles/markflow | fb13a5ed5f2df958e068b869e8dbdcd2d93b1552 | [
"Apache-2.0"
] | null | null | null | tests/test_list.py | arounkles/markflow | fb13a5ed5f2df958e068b869e8dbdcd2d93b1552 | [
"Apache-2.0"
] | null | null | null | tests/test_list.py | arounkles/markflow | fb13a5ed5f2df958e068b869e8dbdcd2d93b1552 | [
"Apache-2.0"
] | null | null | null | import textwrap
from markflow.formatters.list import MarkdownList, split_code
import pytest
from .util import create_section, render
class TestSplitCode:
def test_nosplit(self) -> None:
input_ = """\
test
test"""
expected = [input_]
assert split_code(input_) == expected
... | 35.699647 | 88 | 0.544195 | 1,096 | 10,103 | 4.923358 | 0.15146 | 0.055411 | 0.065234 | 0.114159 | 0.848592 | 0.800037 | 0.789659 | 0.789659 | 0.772053 | 0.749815 | 0 | 0.011332 | 0.362368 | 10,103 | 282 | 89 | 35.826241 | 0.826296 | 0.045927 | 0 | 0.569444 | 0 | 0 | 0.052416 | 0 | 0 | 0 | 0 | 0 | 0.243056 | 1 | 0.090278 | false | 0 | 0.027778 | 0 | 0.131944 | 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 |
919504d52e3c100497ecf11560a97940ed1d7dbe | 2,931 | py | Python | scripts/download_all_kilt_data.py | samuelbroscheit/KILT | b391de2f53bd338e83bea869cbe72f65b2c907ff | [
"MIT"
] | 674 | 2020-09-07T08:15:17.000Z | 2022-03-25T01:17:40.000Z | scripts/download_all_kilt_data.py | soumik2012/KILT | 403489c0b73375ff14c055b6357ce525a548b592 | [
"MIT"
] | 34 | 2020-09-08T16:44:08.000Z | 2022-03-27T09:55:00.000Z | scripts/download_all_kilt_data.py | soumik2012/KILT | 403489c0b73375ff14c055b6357ce525a548b592 | [
"MIT"
] | 72 | 2020-09-07T18:21:18.000Z | 2022-03-18T08:19:53.000Z | # Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
import requests
from tqdm.auto import tqdm
urls = [
"http://dl.fbaipublicfiles.com/KILT/fever-train-kilt.jsonl",
... | 49.677966 | 93 | 0.722961 | 417 | 2,931 | 5 | 0.220624 | 0.089209 | 0.31223 | 0.356835 | 0.774101 | 0.761151 | 0.745324 | 0.745324 | 0.368345 | 0.23741 | 0 | 0.004983 | 0.10986 | 2,931 | 58 | 94 | 50.534483 | 0.794174 | 0.074036 | 0 | 0 | 0 | 0 | 0.73762 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.042553 | 0 | 0.042553 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
91987d6621f91a4d4bc145cf5a020097d54e2f92 | 210 | py | Python | servers/python/coweb/updater/__init__.py | opencoweb/coweb | 7b3a87ee9eda735a859447d404ee16edde1c5671 | [
"AFL-2.1"
] | 83 | 2015-01-05T19:02:57.000Z | 2021-11-19T02:48:09.000Z | servers/python/coweb/updater/__init__.py | xuelingxiao/coweb | 7b3a87ee9eda735a859447d404ee16edde1c5671 | [
"AFL-2.1"
] | 3 | 2015-12-16T13:49:33.000Z | 2019-06-17T13:38:50.000Z | servers/python/coweb/updater/__init__.py | xuelingxiao/coweb | 7b3a87ee9eda735a859447d404ee16edde1c5671 | [
"AFL-2.1"
] | 14 | 2015-04-29T22:36:53.000Z | 2021-11-18T03:24:29.000Z | '''
Updater Type Matcher extension point
Copyright (c) The Dojo Foundation 2011. All Rights Reserved.
Copyright (c) IBM Corporation 2008, 2011. All Rights Reserved.
'''
from .base import UpdaterTypeMatcherBase
| 30 | 62 | 0.785714 | 27 | 210 | 6.111111 | 0.777778 | 0.121212 | 0.157576 | 0.254545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066298 | 0.138095 | 210 | 6 | 63 | 35 | 0.845304 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91c273733b10360c089a1763c21770d94a25f144 | 178 | py | Python | examples/auracog_suggestions/__init__.py | Telefonica/clipspy | 87d1d63604a209e2271efd3d3b8df0943836a504 | [
"BSD-3-Clause"
] | null | null | null | examples/auracog_suggestions/__init__.py | Telefonica/clipspy | 87d1d63604a209e2271efd3d3b8df0943836a504 | [
"BSD-3-Clause"
] | null | null | null | examples/auracog_suggestions/__init__.py | Telefonica/clipspy | 87d1d63604a209e2271efd3d3b8df0943836a504 | [
"BSD-3-Clause"
] | null | null | null | from .rules_based_suggestions import RulesBasedIntentSuggestions
from .context import TestJsonContextAdapter, ContextManagerContextAdapter, MappingContextAdapter, ContextAdapter
| 59.333333 | 112 | 0.910112 | 13 | 178 | 12.307692 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061798 | 178 | 2 | 113 | 89 | 0.958084 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91d9ba9e54dcf33e42e466cc7473f98c7c23c044 | 96 | py | Python | venv/lib/python3.8/site-packages/parso/tree.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/parso/tree.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/parso/tree.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/57/6d/dc/9a475209bb327ee87308c0e33037f9c57737f8f7fbc4815c2e0f01c27f | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 96 | 1 | 96 | 96 | 0.458333 | 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 |
91df750631ca8701c6648525e4308db6ee4185c6 | 77 | py | Python | src/imageprocessing/extend_data/__init__.py | shevdan/OCR_DataBases | 8e7c26d45725938447ea890725cbda0b73340d3e | [
"MIT"
] | 2 | 2021-05-17T17:33:43.000Z | 2021-05-17T17:34:40.000Z | src/imageprocessing/extend_data/__init__.py | shevdan/OCR_DataBases | 8e7c26d45725938447ea890725cbda0b73340d3e | [
"MIT"
] | 1 | 2021-04-28T09:34:35.000Z | 2021-04-28T09:41:47.000Z | src/imageprocessing/extend_data/__init__.py | shevdan/TextRecognition | 8e7c26d45725938447ea890725cbda0b73340d3e | [
"MIT"
] | null | null | null | from . import convert_csv
from . import data_adt
from . import image_augment | 25.666667 | 27 | 0.805195 | 12 | 77 | 4.916667 | 0.666667 | 0.508475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155844 | 77 | 3 | 27 | 25.666667 | 0.907692 | 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 |
7261ec11b9aafeb70162967a40077f8e7d289e68 | 4,560 | py | Python | test/kernels/test_polynomial_kernel.py | Mehdishishehbor/gpytorch | 432e537b3f6679ea4ab3acf33b14626b7e161c92 | [
"MIT"
] | null | null | null | test/kernels/test_polynomial_kernel.py | Mehdishishehbor/gpytorch | 432e537b3f6679ea4ab3acf33b14626b7e161c92 | [
"MIT"
] | null | null | null | test/kernels/test_polynomial_kernel.py | Mehdishishehbor/gpytorch | 432e537b3f6679ea4ab3acf33b14626b7e161c92 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import unittest
import torch
from Lgpytorch.kernels import PolynomialKernel
from Lgpytorch.priors import NormalPrior
from Lgpytorch.test.base_kernel_test_case import BaseKernelTestCase
class TestPolynomialKernel(unittest.TestCase, BaseKernelTestCase):
def create_kernel_no_ard(self, **kwa... | 37.073171 | 107 | 0.582018 | 664 | 4,560 | 3.900602 | 0.13253 | 0.037838 | 0.03861 | 0.042471 | 0.774903 | 0.745946 | 0.745946 | 0.745946 | 0.745946 | 0.745946 | 0 | 0.038598 | 0.255702 | 4,560 | 122 | 108 | 37.377049 | 0.724514 | 0.03443 | 0 | 0.714286 | 0 | 0 | 0.001829 | 0 | 0 | 0 | 0 | 0 | 0.130952 | 1 | 0.083333 | false | 0 | 0.059524 | 0.02381 | 0.178571 | 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 |
7288f5e981c21f6ba3e186c09e797e17068a1de6 | 147 | py | Python | tests/test_generate_data.py | zscore/lifetimes | ad5d08f67283433ab647e33ed71255d9255bf731 | [
"MIT"
] | 4 | 2018-04-16T15:46:58.000Z | 2021-02-17T00:17:54.000Z | tests/test_generate_data.py | zscore/lifetimes | ad5d08f67283433ab647e33ed71255d9255bf731 | [
"MIT"
] | 1 | 2021-09-08T11:04:27.000Z | 2021-09-08T11:04:27.000Z | tests/test_generate_data.py | zscore/lifetimes | ad5d08f67283433ab647e33ed71255d9255bf731 | [
"MIT"
] | 2 | 2019-12-17T03:23:47.000Z | 2021-09-08T09:32:44.000Z | import pytest
import pandas as pd
import numpy as np
import scipy.stats as stats
from lifetimes.generate_data import beta_geometric_nbd_model
| 14.7 | 60 | 0.829932 | 24 | 147 | 4.916667 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156463 | 147 | 9 | 61 | 16.333333 | 0.951613 | 0 | 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 |
72cc7fd4343e4ee851e2ce5d97cfb997ed5da3ee | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/typing/tests/data/pass/ufuncs.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/typing/tests/data/pass/ufuncs.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/typing/tests/data/pass/ufuncs.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/c4/6b/8a/baa3deb544d2e22a396031da922e676d846efb00b6f52194df6b735488 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 0 | 96 | 1 | 96 | 96 | 0.479167 | 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 |
f449244af72b928131a12c0fce9ca1c2a84a4592 | 150 | py | Python | credentials.py | Koncealed/python-eth-texter | 0000947c86a3dc7778caea751290d54d3223f4ba | [
"MIT"
] | null | null | null | credentials.py | Koncealed/python-eth-texter | 0000947c86a3dc7778caea751290d54d3223f4ba | [
"MIT"
] | null | null | null | credentials.py | Koncealed/python-eth-texter | 0000947c86a3dc7778caea751290d54d3223f4ba | [
"MIT"
] | null | null | null | account_sid = "ACd10eb49b2bd0d718494da26646090e25"
auth_token = "e620df6c67af5f7fd8742b71cabf8f49"
my_cell = "+17186124059"
my_twilio = "+12014313585" | 37.5 | 50 | 0.833333 | 12 | 150 | 10.083333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.438849 | 0.073333 | 150 | 4 | 51 | 37.5 | 0.431655 | 0 | 0 | 0 | 0 | 0 | 0.596026 | 0.437086 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f449a011e95dfb45eb5b6e25ff5aa0aeb2880719 | 29 | py | Python | JanggiGame/SocketServer/channels/__init__.py | MohamedAl-Hussein/janggi-game | 0664a408563b824c0b665d755ff9b232b6f24644 | [
"MIT"
] | 1 | 2018-07-07T11:56:44.000Z | 2018-07-07T11:56:44.000Z | JanggiGame/SocketServer/channels/__init__.py | MohamedAl-Hussein/janggi-game | 0664a408563b824c0b665d755ff9b232b6f24644 | [
"MIT"
] | null | null | null | JanggiGame/SocketServer/channels/__init__.py | MohamedAl-Hussein/janggi-game | 0664a408563b824c0b665d755ff9b232b6f24644 | [
"MIT"
] | null | null | null | from .channel import Channel
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
be8275e57af6832180eaa42b9d4bfed85479a20f | 5,024 | py | Python | tests/Integration/GridSearch/test_base.py | nielsuit227/AutoML | 51e2076d52d76dc84a190293b5bb59da2833df89 | [
"MIT"
] | 2 | 2021-06-16T22:09:01.000Z | 2021-09-06T20:26:42.000Z | tests/Integration/GridSearch/test_base.py | nielsuit227/AutoML | 51e2076d52d76dc84a190293b5bb59da2833df89 | [
"MIT"
] | 1 | 2021-06-04T08:22:02.000Z | 2021-06-04T08:22:02.000Z | tests/Integration/GridSearch/test_base.py | nielsuit227/AutoML | 51e2076d52d76dc84a190293b5bb59da2833df89 | [
"MIT"
] | 1 | 2021-09-15T08:34:20.000Z | 2021-09-15T08:34:20.000Z | import unittest
import pandas as pd
from sklearn.model_selection import KFold
from sklearn.model_selection import StratifiedKFold
from sklearn.datasets import make_classification
from sklearn.datasets import make_regression
from Amplo.GridSearch import BaseGridSearch
from Amplo.AutoML import Modeller
class TestBaseGr... | 54.021505 | 118 | 0.468949 | 449 | 5,024 | 5.028953 | 0.191537 | 0.053144 | 0.079717 | 0.100974 | 0.855182 | 0.802037 | 0.802037 | 0.802037 | 0.802037 | 0.695748 | 0 | 0.015471 | 0.433917 | 5,024 | 92 | 119 | 54.608696 | 0.778481 | 0.004578 | 0 | 0.675325 | 0 | 0 | 0.099279 | 0 | 0 | 0 | 0 | 0 | 0.155844 | 1 | 0.064935 | false | 0 | 0.103896 | 0 | 0.181818 | 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 |
beb3bd3a7019f771c3be89a5156fa432a891c431 | 67 | py | Python | adclassifier/lemmatization.py | BoudhayanBanerjee/political-ad-classifier | e7b7bd76eadd4bde536862449e71370903d22114 | [
"MIT"
] | 2 | 2017-06-20T19:18:20.000Z | 2017-06-30T19:01:44.000Z | adclassifier/lemmatization.py | BoudhayanBanerjee/political-ad-classifier | e7b7bd76eadd4bde536862449e71370903d22114 | [
"MIT"
] | null | null | null | adclassifier/lemmatization.py | BoudhayanBanerjee/political-ad-classifier | e7b7bd76eadd4bde536862449e71370903d22114 | [
"MIT"
] | null | null | null | from nltk.stem import WordNetLemmatizer
# TODO
# implement wordnet | 16.75 | 39 | 0.820896 | 8 | 67 | 6.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134328 | 67 | 4 | 40 | 16.75 | 0.948276 | 0.328358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 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 |
fe3bd70c938de1276714b06aaad95cefbc3251dd | 229 | py | Python | astroquery/sdss/__init__.py | jdnc/astroquery | a89dcc5f4132bc2e9d72da1aa583dbc9e7e8216f | [
"BSD-3-Clause"
] | 1 | 2019-12-17T00:43:56.000Z | 2019-12-17T00:43:56.000Z | astroquery/sdss/__init__.py | jdnc/astroquery | a89dcc5f4132bc2e9d72da1aa583dbc9e7e8216f | [
"BSD-3-Clause"
] | null | null | null | astroquery/sdss/__init__.py | jdnc/astroquery | a89dcc5f4132bc2e9d72da1aa583dbc9e7e8216f | [
"BSD-3-Clause"
] | null | null | null | # Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
SDSS Spectra/Image/SpectralTemplate Archive Query Tool
-----------------------------------
:Author: Jordan Mirocha (mirochaj@gmail.com)
"""
from .core import *
| 25.444444 | 63 | 0.637555 | 27 | 229 | 5.407407 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004975 | 0.122271 | 229 | 8 | 64 | 28.625 | 0.721393 | 0.868996 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fe6faa6561dc2b2931ad6239a91df14192c38a68 | 15,761 | py | Python | app/test/test_listenbot.py | VikashKothary/market-information-service | 0ea241acc5a02fd7ecc5e499f130da2c518275b7 | [
"MIT"
] | null | null | null | app/test/test_listenbot.py | VikashKothary/market-information-service | 0ea241acc5a02fd7ecc5e499f130da2c518275b7 | [
"MIT"
] | null | null | null | app/test/test_listenbot.py | VikashKothary/market-information-service | 0ea241acc5a02fd7ecc5e499f130da2c518275b7 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
"""
test_listenbot.py - Tests for listenbot.py
"""
from flask_testing import TestCase
from app import _create_app, _create_db, app
from listenbot import listenbot
from chatbot import chatbot
from models import User, Product
class TestListenbot(TestCase):
def create_app(self):
#ap... | 46.492625 | 231 | 0.656811 | 1,909 | 15,761 | 5.336826 | 0.075432 | 0.076561 | 0.067138 | 0.108166 | 0.863369 | 0.828426 | 0.80055 | 0.770907 | 0.727719 | 0.710836 | 0 | 0.009991 | 0.206205 | 15,761 | 338 | 232 | 46.630178 | 0.804332 | 0.079246 | 0 | 0.551282 | 0 | 0.029915 | 0.192143 | 0.055817 | 0 | 0 | 0 | 0 | 0.371795 | 1 | 0.055556 | false | 0 | 0.025641 | 0 | 0.089744 | 0.012821 | 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 |
fe79f9eeb566e8de50a96071c797b542f66d2cbf | 185 | py | Python | app/main.py | grostaco/CoreHDF | f3acf7792e99994a7c1f0a3be797ae873b04a0b6 | [
"MIT"
] | 1 | 2021-03-25T06:00:15.000Z | 2021-03-25T06:00:15.000Z | app/main.py | grostaco/CoreHDF | f3acf7792e99994a7c1f0a3be797ae873b04a0b6 | [
"MIT"
] | 3 | 2021-03-22T07:58:25.000Z | 2021-03-23T11:06:55.000Z | app/main.py | grostaco/CoreHDF | f3acf7792e99994a7c1f0a3be797ae873b04a0b6 | [
"MIT"
] | 2 | 2021-03-22T07:54:06.000Z | 2021-03-23T09:09:57.000Z | from fastapi import FastAPI
from .routers import users, token, query
app = FastAPI()
app.include_router(users.router)
app.include_router(token.router)
app.include_router(query.router) | 23.125 | 40 | 0.810811 | 27 | 185 | 5.444444 | 0.37037 | 0.204082 | 0.326531 | 0.29932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091892 | 185 | 8 | 41 | 23.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
fe9f5cd268240662d0d7a6753e58a7fbedecad4e | 121 | py | Python | webdriver/tests/conftest.py | meyerweb/wpt | f04261533819893c71289614c03434c06856c13e | [
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | webdriver/tests/conftest.py | meyerweb/wpt | f04261533819893c71289614c03434c06856c13e | [
"BSD-3-Clause"
] | 7,642 | 2018-05-28T09:38:03.000Z | 2022-03-31T20:55:48.000Z | webdriver/tests/conftest.py | meyerweb/wpt | f04261533819893c71289614c03434c06856c13e | [
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | pytest_plugins = (
"tests.support.fixtures",
"tests.support.fixtures_bidi",
"tests.support.fixtures_http",
)
| 20.166667 | 34 | 0.694215 | 13 | 121 | 6.230769 | 0.538462 | 0.444444 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157025 | 121 | 5 | 35 | 24.2 | 0.794118 | 0 | 0 | 0 | 0 | 0 | 0.628099 | 0.628099 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
22eb3cbd4a1b380a8e2b5e30bfe1896222eba35d | 36 | py | Python | je_editor/ui/ui_event/__init__.py | JE-Chen/je_editor | 2f18dedb6f0eb27c38668dc53f520739c8d5c6c6 | [
"MIT"
] | 1 | 2021-12-10T14:57:15.000Z | 2021-12-10T14:57:15.000Z | je_editor/ui/ui_event/__init__.py | JE-Chen/je_editor | 2f18dedb6f0eb27c38668dc53f520739c8d5c6c6 | [
"MIT"
] | null | null | null | je_editor/ui/ui_event/__init__.py | JE-Chen/je_editor | 2f18dedb6f0eb27c38668dc53f520739c8d5c6c6 | [
"MIT"
] | null | null | null | from je_editor.ui.ui_event import *
| 18 | 35 | 0.805556 | 7 | 36 | 3.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.84375 | 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 |
fe01189b5fae2dac74abeb17110d04071deb3c53 | 93 | py | Python | src/libs/__init__.py | Aofusa/minecraft-discord-bot | e2d93273c5d1acefbe2e47a4b31d557bdad0bc2d | [
"Apache-2.0"
] | null | null | null | src/libs/__init__.py | Aofusa/minecraft-discord-bot | e2d93273c5d1acefbe2e47a4b31d557bdad0bc2d | [
"Apache-2.0"
] | 1 | 2020-05-23T03:10:10.000Z | 2020-05-23T03:10:10.000Z | src/libs/__init__.py | Aofusa/minecraft-discord-bot | e2d93273c5d1acefbe2e47a4b31d557bdad0bc2d | [
"Apache-2.0"
] | null | null | null | from .utils import *
from .components import *
from .standup import *
from .shutdown import * | 23.25 | 25 | 0.752688 | 12 | 93 | 5.833333 | 0.5 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 4 | 26 | 23.25 | 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 |
a3c38d433aa3cb636772101e157fadc2990e2b28 | 2,154 | py | Python | data_roadmap/bash_prepare_sample_all.py | Hongyang449/Ocelot | 73932383e6d3863fd9fa4aada12488550ce98b45 | [
"MIT"
] | 5 | 2021-10-05T22:05:01.000Z | 2022-01-14T02:11:07.000Z | data_roadmap/bash_prepare_sample_all.py | Hongyang449/Ocelot | 73932383e6d3863fd9fa4aada12488550ce98b45 | [
"MIT"
] | null | null | null | data_roadmap/bash_prepare_sample_all.py | Hongyang449/Ocelot | 73932383e6d3863fd9fa4aada12488550ce98b45 | [
"MIT"
] | null | null | null | import os
import time
tier0=['H3K4me1','H3K4me3','H3K36me3','H3K27me3','H3K9me3']
tier1=['H3K27ac','H3K9ac','DNase']
tier2=['H3K4me2','H2A.Z','H3K79me2','H4K20me1']
tier3=['H2AK5ac','H2BK120ac','H2BK5ac','H3K18ac','H3K23ac',\
'H3K4ac','H3K79me1','H4K8ac','H2BK12ac','H3K14ac',\
'H4K91ac','H2BK15ac','H3K9me1','H... | 36.508475 | 103 | 0.614206 | 317 | 2,154 | 3.990536 | 0.277603 | 0.066403 | 0.094862 | 0.142292 | 0.746245 | 0.746245 | 0.746245 | 0.746245 | 0.746245 | 0.746245 | 0 | 0.075758 | 0.203343 | 2,154 | 58 | 104 | 37.137931 | 0.661422 | 0.032033 | 0 | 0.727273 | 0 | 0 | 0.379211 | 0.101059 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.045455 | 0.090909 | 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 |
a3cfd1a4138c73a09bf5536525017feefc05ab40 | 37 | py | Python | client-portal/apis/therapist/__init__.py | oakbani/ksdp-portal | 8f44b3cb0081a7f31b9c8121883dd51945a05520 | [
"MIT"
] | null | null | null | client-portal/apis/therapist/__init__.py | oakbani/ksdp-portal | 8f44b3cb0081a7f31b9c8121883dd51945a05520 | [
"MIT"
] | null | null | null | client-portal/apis/therapist/__init__.py | oakbani/ksdp-portal | 8f44b3cb0081a7f31b9c8121883dd51945a05520 | [
"MIT"
] | 1 | 2021-09-19T10:58:17.000Z | 2021-09-19T10:58:17.000Z | from .therapist import therapist_api
| 18.5 | 36 | 0.864865 | 5 | 37 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 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 |
a3f489080d6fe7f8758bdcc80a48591afdaaae19 | 38 | py | Python | w2020/w12/w12_14/test_study_id_obtain.py | abrance/mine | d4067bf6fb158ebaea3eb7a516ae372dcb8cf419 | [
"MIT"
] | null | null | null | w2020/w12/w12_14/test_study_id_obtain.py | abrance/mine | d4067bf6fb158ebaea3eb7a516ae372dcb8cf419 | [
"MIT"
] | null | null | null | w2020/w12/w12_14/test_study_id_obtain.py | abrance/mine | d4067bf6fb158ebaea3eb7a516ae372dcb8cf419 | [
"MIT"
] | null | null | null |
def test_study_id_obtain():
pass
| 9.5 | 27 | 0.710526 | 6 | 38 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 38 | 3 | 28 | 12.666667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
4325113b825a9cefed4ac49604e1edf44683e2b8 | 27 | py | Python | wrapspawner/__init__.py | KrisztianPora/wrapspawner | 66518cb62f831035763bf02d394d5120a6682ac0 | [
"BSD-3-Clause"
] | 50 | 2016-09-23T15:57:56.000Z | 2022-03-04T22:27:12.000Z | wrapspawner/__init__.py | KrisztianPora/wrapspawner | 66518cb62f831035763bf02d394d5120a6682ac0 | [
"BSD-3-Clause"
] | 46 | 2016-09-21T21:52:28.000Z | 2022-03-04T23:36:26.000Z | wrapspawner/__init__.py | KrisztianPora/wrapspawner | 66518cb62f831035763bf02d394d5120a6682ac0 | [
"BSD-3-Clause"
] | 54 | 2016-10-25T18:53:56.000Z | 2022-03-11T22:48:41.000Z | from .wrapspawner import *
| 13.5 | 26 | 0.777778 | 3 | 27 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 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 |
4330fa36b0846f55827247c5da6df5fb763e05f3 | 123 | py | Python | {{cookiecutter.company_name}}-cli/test/conftest.py | farooq-teqniqly/cli-cookiecutter | e9a8262d5f11d6bfc313e906fad4e683950e52c3 | [
"MIT"
] | 5 | 2021-12-14T08:32:39.000Z | 2022-03-17T11:02:25.000Z | tests/conftest.py | iamgodot/py-tldr | 9bd4be89d1806770c2a8060d76bbad6b51da6b9d | [
"MIT"
] | null | null | null | tests/conftest.py | iamgodot/py-tldr | 9bd4be89d1806770c2a8060d76bbad6b51da6b9d | [
"MIT"
] | null | null | null | import pytest
from click.testing import CliRunner
@pytest.fixture(scope="function")
def runner():
return CliRunner()
| 15.375 | 35 | 0.756098 | 15 | 123 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138211 | 123 | 7 | 36 | 17.571429 | 0.877358 | 0 | 0 | 0 | 0 | 0 | 0.065041 | 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 |
4a3bfd9e44fe6141dfe2bc77bb10cb0010779e1c | 8,421 | py | Python | scattering.py | yano404/A5tools | a318b6d529b8de0f780d0682b7e0051989f9587a | [
"MIT"
] | null | null | null | scattering.py | yano404/A5tools | a318b6d529b8de0f780d0682b7e0051989f9587a | [
"MIT"
] | null | null | null | scattering.py | yano404/A5tools | a318b6d529b8de0f780d0682b7e0051989f9587a | [
"MIT"
] | null | null | null | """
functions to find theoretical value of differential cross-section
"""
import numpy as np
import uncertainties
from uncertainties import umath
import uncertainties.unumpy as unp
from .constants import *
from . import cm2lab
from . import lab2cm
def rutherford(theta, T, Zi, Zt, which="inc"):
"""
Rutherford... | 38.452055 | 105 | 0.548866 | 1,293 | 8,421 | 3.54447 | 0.093581 | 0.028366 | 0.041239 | 0.03142 | 0.828497 | 0.804277 | 0.780275 | 0.745145 | 0.726598 | 0.699978 | 0 | 0.05073 | 0.300083 | 8,421 | 218 | 106 | 38.62844 | 0.726841 | 0.332265 | 0 | 0.390476 | 0 | 0 | 0.029599 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038095 | false | 0 | 0.066667 | 0 | 0.257143 | 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 |
4a6147a45c42e12a26ac99ca5a846f149d0662fb | 2,111 | py | Python | epytope/Data/pssms/tepitopepan/mat/DRB1_0716_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/tepitopepan/mat/DRB1_0716_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/tepitopepan/mat/DRB1_0716_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | DRB1_0716_9 = {0: {'A': -999.0, 'E': -999.0, 'D': -999.0, 'G': -999.0, 'F': -0.004754, 'I': -0.99525, 'H': -999.0, 'K': -999.0, 'M': -0.99525, 'L': -0.99525, 'N': -999.0, 'Q': -999.0, 'P': -999.0, 'S': -999.0, 'R': -999.0, 'T': -999.0, 'W': -0.004754, 'V': -0.99525, 'Y': -0.004754}, 1: {'A': 0.0, 'E': 0.1, 'D': -1.3, '... | 2,111 | 2,111 | 0.383231 | 525 | 2,111 | 1.537143 | 0.177143 | 0.121437 | 0.02974 | 0.039653 | 0.231722 | 0.151177 | 0.151177 | 0.151177 | 0.141264 | 0.141264 | 0 | 0.359864 | 0.166746 | 2,111 | 1 | 2,111 | 2,111 | 0.09892 | 0 | 0 | 0 | 0 | 0 | 0.080966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4a78d2e36a7f7aff5f16e9c3e96b007791241774 | 168 | py | Python | Code Examples/Feb12Conditionals.py | bensk/cs11 | 58658bc308be61167324a7f051b03497440f7e7f | [
"MIT"
] | null | null | null | Code Examples/Feb12Conditionals.py | bensk/cs11 | 58658bc308be61167324a7f051b03497440f7e7f | [
"MIT"
] | null | null | null | Code Examples/Feb12Conditionals.py | bensk/cs11 | 58658bc308be61167324a7f051b03497440f7e7f | [
"MIT"
] | null | null | null | # Which string prints?
if 5<2:
print "I am right"
else:
print "I am wrong"
# Which string prints?
if 5>2:
print "I am wrong"
else:
print "I am right"
| 12.923077 | 22 | 0.607143 | 30 | 168 | 3.4 | 0.4 | 0.235294 | 0.313725 | 0.372549 | 0.568627 | 0.568627 | 0.568627 | 0.568627 | 0.568627 | 0 | 0 | 0.033333 | 0.285714 | 168 | 12 | 23 | 14 | 0.816667 | 0.244048 | 0 | 0.75 | 0 | 0 | 0.325203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
4a9461f20ffda6e12bd15f2ef9cc64000f8a68f1 | 134 | py | Python | h/api/__init__.py | gergely-ujvari/h | e77fc33dbabdb7e399ff78b584eb2050c71eddab | [
"MIT"
] | null | null | null | h/api/__init__.py | gergely-ujvari/h | e77fc33dbabdb7e399ff78b584eb2050c71eddab | [
"MIT"
] | null | null | null | h/api/__init__.py | gergely-ujvari/h | e77fc33dbabdb7e399ff78b584eb2050c71eddab | [
"MIT"
] | null | null | null | def includeme(config):
"""Include the annotator-store API."""
config.include('h.api.store')
config.include('h.api.token')
| 26.8 | 42 | 0.664179 | 18 | 134 | 4.944444 | 0.555556 | 0.438202 | 0.314607 | 0.382022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149254 | 134 | 4 | 43 | 33.5 | 0.780702 | 0.238806 | 0 | 0 | 0 | 0 | 0.229167 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4a94b443bb248cc95e3874edd3ae74bf2492e052 | 22,940 | bzl | Python | prometheus/internal/defaults.bzl | 5h4d0w4rt/bazel_prometheus | 69553b8837b7cdde79a5327d33fd757c0d1fbd9d | [
"MIT"
] | null | null | null | prometheus/internal/defaults.bzl | 5h4d0w4rt/bazel_prometheus | 69553b8837b7cdde79a5327d33fd757c0d1fbd9d | [
"MIT"
] | null | null | null | prometheus/internal/defaults.bzl | 5h4d0w4rt/bazel_prometheus | 69553b8837b7cdde79a5327d33fd757c0d1fbd9d | [
"MIT"
] | null | null | null | load(
"@io_bazel_rules_prometheus//prometheus/internal:providers.bzl",
"AlertmanagerBinaryInfo",
"PrometheusBinaryInfo",
"PrometheusPackageInfo",
"PrometheusPlatformInfo",
"PrometheusPlatformsInfo",
)
_DEFAULT_LIST_OF_PLATFORMS = (
"darwin-amd64",
"darwin-arm64",
"dragonfly-amd64",
... | 71.021672 | 120 | 0.768352 | 1,532 | 22,940 | 11.432768 | 0.185379 | 0.005824 | 0.007765 | 0.00668 | 0.025464 | 0.020325 | 0.019069 | 0.005938 | 0.005938 | 0.005938 | 0 | 0.426264 | 0.093112 | 22,940 | 322 | 121 | 71.242236 | 0.415641 | 0.034133 | 0 | 0.006803 | 0 | 0 | 0.750305 | 0.571751 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4a9d7258cedaa54b3a99a8a0b4c14e694b127a61 | 156 | py | Python | pureskillgg_makenew_pyskill/todo_test.py | pureskillgg/makenew-pyskill | 3045f0639506fcaefd3191dada76277598bbb1eb | [
"MIT"
] | 6 | 2019-04-30T16:44:20.000Z | 2021-12-25T23:23:41.000Z | pureskillgg_makenew_pyskill/todo_test.py | pureskillgg/makenew-pyskill | 3045f0639506fcaefd3191dada76277598bbb1eb | [
"MIT"
] | 15 | 2020-03-28T20:29:38.000Z | 2021-09-11T07:19:46.000Z | makenew_pypackage/todo_test.py | makenew/pypackage | 3b29c8a9a1a7442f1d6742ae8ec1eb2b92033039 | [
"MIT"
] | 3 | 2019-11-21T08:29:14.000Z | 2021-01-10T17:22:41.000Z | # pylint: disable=missing-docstring
# pylint: disable=unused-import
import pytest
from .todo import todo
def test_todo():
assert todo(True) is True
| 14.181818 | 35 | 0.74359 | 22 | 156 | 5.227273 | 0.636364 | 0.226087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 156 | 10 | 36 | 15.6 | 0.884615 | 0.403846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4aa1c7d3e45d567c68e550747b7057af2e5888db | 3,351 | py | Python | cvnets/models/classification/config/resnet.py | apple/ml-cvnets | 84d992f413e52c0468f86d23196efd9dad885e6f | [
"AML"
] | 209 | 2021-10-30T08:32:10.000Z | 2022-03-31T16:18:03.000Z | cvnets/models/classification/config/resnet.py | apple/ml-cvnets | 84d992f413e52c0468f86d23196efd9dad885e6f | [
"AML"
] | 12 | 2021-12-04T10:47:11.000Z | 2022-03-31T15:39:40.000Z | cvnets/models/classification/config/resnet.py | apple/ml-cvnets | 84d992f413e52c0468f86d23196efd9dad885e6f | [
"AML"
] | 50 | 2021-11-01T08:15:02.000Z | 2022-03-29T08:17:34.000Z | #
# For licensing see accompanying LICENSE file.
# Copyright (C) 2022 Apple Inc. All Rights Reserved.
#
from typing import Dict
from utils import logger
def get_configuration(opts) -> Dict:
depth = getattr(opts, "model.classification.resnet.depth", 50)
resnet_config = dict()
if depth == 18:
res... | 27.694215 | 104 | 0.452402 | 304 | 3,351 | 4.766447 | 0.246711 | 0.149068 | 0.077295 | 0.110421 | 0.732229 | 0.710835 | 0.710835 | 0.710835 | 0.710835 | 0.710835 | 0 | 0.059151 | 0.409728 | 3,351 | 120 | 105 | 27.925 | 0.673407 | 0.02835 | 0 | 0.711712 | 0 | 0 | 0.306367 | 0.020917 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009009 | false | 0 | 0.018018 | 0 | 0.036036 | 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 |
4ac6aa0c064d6e9151cebd584ec27921fd340495 | 236 | py | Python | tests/__init__.py | lmbringas/NeuralMap | 0a8787e79f3985bb188b1b041e3ec7e558c4a742 | [
"MIT"
] | 4 | 2020-10-02T11:46:48.000Z | 2021-05-14T18:20:41.000Z | tests/__init__.py | lmbringas/NeuralMap | 0a8787e79f3985bb188b1b041e3ec7e558c4a742 | [
"MIT"
] | 1 | 2021-06-21T18:46:39.000Z | 2021-06-21T18:46:39.000Z | tests/__init__.py | lmbringas/NeuralMap | 0a8787e79f3985bb188b1b041e3ec7e558c4a742 | [
"MIT"
] | 1 | 2021-06-13T19:58:19.000Z | 2021-06-13T19:58:19.000Z | """
Test suite for NeuralMap.
Modules
-------
test_neural_map:
Basic tests for main class
test_decay_functions:
Tests decay functions
tests_neighbourhood_functions:
Tests neighbourhood functions
""" | 18.153846 | 37 | 0.677966 | 25 | 236 | 6.16 | 0.56 | 0.272727 | 0.246753 | 0.467532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 236 | 13 | 38 | 18.153846 | 0.870057 | 0.961864 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
435c1f4e82aaef91c8fb8fe19b226482cf691213 | 9,715 | py | Python | reference/sketchbook/metatoo/bootstrap.py | JaDogg/__py_playground | 416f88db10e03f5380bcb5cfcad0bca50ffa657c | [
"MIT"
] | 1 | 2015-10-28T00:00:16.000Z | 2015-10-28T00:00:16.000Z | reference/sketchbook/metatoo/bootstrap.py | JaDogg/__py_playground | 416f88db10e03f5380bcb5cfcad0bca50ffa657c | [
"MIT"
] | null | null | null | reference/sketchbook/metatoo/bootstrap.py | JaDogg/__py_playground | 416f88db10e03f5380bcb5cfcad0bca50ffa657c | [
"MIT"
] | null | null | null | """
Bootstrap the metatoo compiler by compiling the metatoo grammar
using a hand-translation of itself into peglet.
"""
import sys
from peglet import Parser, join
meta_grammar = r"""
main = main_start
_ rules !.
rules = rule rules
|
rule = id /=/ _ alts [.] _ rule_do
alts ... | 32.932203 | 89 | 0.535255 | 1,320 | 9,715 | 3.829545 | 0.069697 | 0.153709 | 0.087438 | 0.114342 | 0.806924 | 0.779031 | 0.747181 | 0.711771 | 0.672997 | 0.655193 | 0 | 0.001001 | 0.280391 | 9,715 | 294 | 90 | 33.044218 | 0.722071 | 0.750798 | 0 | 0.064516 | 0 | 0 | 0.548564 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.129032 | false | 0 | 0.048387 | 0.129032 | 0.306452 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
435da6fe69bcaf98d6c4f9bfae675a11271386e9 | 96 | py | Python | venv/lib/python3.8/site-packages/jedi/inference/value/namespace.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/jedi/inference/value/namespace.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/jedi/inference/value/namespace.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/02/de/cf/10caee22d2245749029f54597ea81219bbc645f188d9b6ee82065e944d | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 96 | 1 | 96 | 96 | 0.458333 | 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 |
4388020bc537520366a8855075030df4c61f78ad | 186 | py | Python | music/admin.py | chetanya-shrimali/music-website-django | 475a68487b6d8311b75acb8d500b3b3d48e7e373 | [
"MIT"
] | 1 | 2017-10-07T08:31:37.000Z | 2017-10-07T08:31:37.000Z | music/admin.py | chetanya-shrimali/music-webiste-django | 475a68487b6d8311b75acb8d500b3b3d48e7e373 | [
"MIT"
] | 2 | 2017-10-13T05:34:27.000Z | 2017-10-13T22:40:46.000Z | music/admin.py | chetanya-shrimali/music-webiste-django | 475a68487b6d8311b75acb8d500b3b3d48e7e373 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.contrib import admin
from .models import Record, Song
admin.site.register(Record)
admin.site.register(Song)
| 20.666667 | 39 | 0.774194 | 26 | 186 | 5.346154 | 0.615385 | 0.129496 | 0.244604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006098 | 0.11828 | 186 | 8 | 40 | 23.25 | 0.841463 | 0.112903 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
43c4178e7ba41a174802705fab49c500b707efa1 | 19 | py | Python | vgc/DinosaursVsAirplanes/__init__.py | reedessick/video-game-camp | 09a324279c5ea9de87080f122fe27e1ef83d5373 | [
"MIT"
] | null | null | null | vgc/DinosaursVsAirplanes/__init__.py | reedessick/video-game-camp | 09a324279c5ea9de87080f122fe27e1ef83d5373 | [
"MIT"
] | null | null | null | vgc/DinosaursVsAirplanes/__init__.py | reedessick/video-game-camp | 09a324279c5ea9de87080f122fe27e1ef83d5373 | [
"MIT"
] | null | null | null | from . import game
| 9.5 | 18 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.933333 | 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 |
43c4dba56e838339f6274349bcc1ceecb1ad118e | 8,205 | py | Python | madminer/plotting/morphing.py | rbarrue/madminer | e1d17b2d6be48cc5686b5cbe5d01f62f6cd2450c | [
"MIT"
] | 46 | 2019-06-29T14:56:00.000Z | 2021-08-02T06:05:41.000Z | madminer/plotting/morphing.py | Sinclert/madminer | 6556f164725baab6b79e5ffa2a64913a0ac50f7a | [
"MIT"
] | 52 | 2019-06-18T18:42:58.000Z | 2021-10-04T14:56:39.000Z | madminer/plotting/morphing.py | Sinclert/madminer | 6556f164725baab6b79e5ffa2a64913a0ac50f7a | [
"MIT"
] | 20 | 2019-06-17T15:29:49.000Z | 2021-09-22T18:14:35.000Z | import logging
import matplotlib
import numpy as np
from matplotlib import pyplot as plt
logger = logging.getLogger(__name__)
def plot_1d_morphing_basis(morpher, xlabel=r"$\theta$", xrange=(-1.0, 1.0), resolution=100):
"""
Visualizes a morphing basis and morphing errors for problems with a two-dimensional pa... | 30.054945 | 116 | 0.599391 | 1,098 | 8,205 | 4.384335 | 0.14663 | 0.049439 | 0.024927 | 0.024927 | 0.822185 | 0.809098 | 0.775239 | 0.724969 | 0.706273 | 0.698587 | 0 | 0.030142 | 0.268129 | 8,205 | 272 | 117 | 30.165441 | 0.771524 | 0.299939 | 0 | 0.553719 | 0 | 0 | 0.068303 | 0 | 0 | 0 | 0 | 0 | 0.049587 | 1 | 0.033058 | false | 0 | 0.033058 | 0 | 0.099174 | 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 |
78e84a3a923eaf156fe09b709af1233ccb4ae967 | 23,115 | py | Python | Final_Project/source code/TicTacToeGUI.py | taoyichen/CS110-Assignments-Python | f2e4e485c820b835981e2e4b8bd0a26cc31cfe73 | [
"MIT"
] | null | null | null | Final_Project/source code/TicTacToeGUI.py | taoyichen/CS110-Assignments-Python | f2e4e485c820b835981e2e4b8bd0a26cc31cfe73 | [
"MIT"
] | null | null | null | Final_Project/source code/TicTacToeGUI.py | taoyichen/CS110-Assignments-Python | f2e4e485c820b835981e2e4b8bd0a26cc31cfe73 | [
"MIT"
] | 1 | 2020-06-06T08:21:18.000Z | 2020-06-06T08:21:18.000Z | #Author: Yichen Tao
from tkinter import *
from tkinter import messagebox
from tkinter import simpledialog
from tictactoe import *
class TicTacToeGUI:
def __init__(self):
self.__game_new = TicTacToe()
self.__game_new.set_name_cross_player("No name1")
self.__game_new.set_name_oval_player("No name2")
s... | 47.077393 | 119 | 0.704175 | 3,315 | 23,115 | 4.369834 | 0.041931 | 0.082839 | 0.113144 | 0.099544 | 0.873464 | 0.830802 | 0.750863 | 0.736711 | 0.717796 | 0.69902 | 0 | 0.020615 | 0.175254 | 23,115 | 490 | 120 | 47.173469 | 0.739247 | 0.057538 | 0 | 0.529563 | 0 | 0 | 0.067805 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041131 | false | 0 | 0.010283 | 0 | 0.056555 | 0.002571 | 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 |
60292f6b88d6d00e5b5f042250a22a1db21fc964 | 186 | py | Python | Django_UCSD/Registration/admin.py | yotohoshi/UCSDweb_design | eb6e9b61b78b33456c083bb3cb910b00fd527665 | [
"MIT"
] | null | null | null | Django_UCSD/Registration/admin.py | yotohoshi/UCSDweb_design | eb6e9b61b78b33456c083bb3cb910b00fd527665 | [
"MIT"
] | null | null | null | Django_UCSD/Registration/admin.py | yotohoshi/UCSDweb_design | eb6e9b61b78b33456c083bb3cb910b00fd527665 | [
"MIT"
] | null | null | null | from django.contrib import admin
from Registration.models import AccountManager, Account
# Register your models here.
# admin.site.register(AccountManager)
admin.site.register(Account)
| 26.571429 | 55 | 0.827957 | 23 | 186 | 6.695652 | 0.565217 | 0.116883 | 0.220779 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 186 | 6 | 56 | 31 | 0.916667 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 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 |
60467701e46d7d52630c8400d74ef1675ca9dcba | 78 | py | Python | py_tdlib/constructors/notification_group_type_mentions.py | Mr-TelegramBot/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 24 | 2018-10-05T13:04:30.000Z | 2020-05-12T08:45:34.000Z | py_tdlib/constructors/notification_group_type_mentions.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 3 | 2019-06-26T07:20:20.000Z | 2021-05-24T13:06:56.000Z | py_tdlib/constructors/notification_group_type_mentions.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 5 | 2018-10-05T14:29:28.000Z | 2020-08-11T15:04:10.000Z | from ..factory import Type
class notificationGroupTypeMentions(Type):
pass
| 13 | 42 | 0.807692 | 8 | 78 | 7.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 78 | 5 | 43 | 15.6 | 0.926471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
60700c2b40027a0fadb18aa778a09335a19debe6 | 138 | py | Python | src/reactivestate/__init__.py | k-groenbroek/reactivestate | c228085dc2ca014c4aae4216e655f9cfa1d59fc5 | [
"MIT"
] | null | null | null | src/reactivestate/__init__.py | k-groenbroek/reactivestate | c228085dc2ca014c4aae4216e655f9cfa1d59fc5 | [
"MIT"
] | null | null | null | src/reactivestate/__init__.py | k-groenbroek/reactivestate | c228085dc2ca014c4aae4216e655f9cfa1d59fc5 | [
"MIT"
] | null | null | null | from .api.observable import observable
from .api.computed import computed
from .api.observe import observe
from .api.action import action
| 27.6 | 38 | 0.826087 | 20 | 138 | 5.7 | 0.35 | 0.245614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 138 | 4 | 39 | 34.5 | 0.934426 | 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 |
60790ee51eb5360c605853759324156dc486761f | 15 | py | Python | lab1/es3/main.py | haraldmeister/Programming_for_IoT_applications | 04ec13689caee1fca28bf4fb6a261c318ebd374d | [
"Apache-2.0"
] | null | null | null | lab1/es3/main.py | haraldmeister/Programming_for_IoT_applications | 04ec13689caee1fca28bf4fb6a261c318ebd374d | [
"Apache-2.0"
] | null | null | null | lab1/es3/main.py | haraldmeister/Programming_for_IoT_applications | 04ec13689caee1fca28bf4fb6a261c318ebd374d | [
"Apache-2.0"
] | null | null | null | import json
| 5 | 12 | 0.666667 | 2 | 15 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 15 | 2 | 13 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
60b99ebe839d6c97ddf58cab3cdaffe8ef4eb6b2 | 140 | py | Python | success/views.py | gtoffoli/commons-success | fcd2b5fe9ebdc592841e6fe0e07a1d80c7284295 | [
"Apache-2.0"
] | null | null | null | success/views.py | gtoffoli/commons-success | fcd2b5fe9ebdc592841e6fe0e07a1d80c7284295 | [
"Apache-2.0"
] | null | null | null | success/views.py | gtoffoli/commons-success | fcd2b5fe9ebdc592841e6fe0e07a1d80c7284295 | [
"Apache-2.0"
] | null | null | null | from django.http import HttpResponse, HttpResponseRedirect
def home(request):
return HttpResponseRedirect('/project/success-erasmus/')
| 28 | 60 | 0.807143 | 14 | 140 | 8.071429 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 140 | 4 | 61 | 35 | 0.896825 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 0.178571 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
60bad5cdcdf6fa5b5cabd96d20730737067804bd | 4,611 | py | Python | core/semantic_test.py | zilON/hayaku | 18feb81a6801513f6fbddb5eb537d8a15d64bd67 | [
"MIT"
] | null | null | null | core/semantic_test.py | zilON/hayaku | 18feb81a6801513f6fbddb5eb537d8a15d64bd67 | [
"MIT"
] | null | null | null | core/semantic_test.py | zilON/hayaku | 18feb81a6801513f6fbddb5eb537d8a15d64bd67 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import unittest
from probe import hayaku_extract
class SematicAbbrTests(unittest.TestCase):
def test_0(self):
self.assertEqual(hayaku_extract('fs'), 'font-size')
def test_1(self):
self.assertEqual(hayaku_extract('fst'), 'font-style')
def test_2(self):
self... | 29 | 78 | 0.635437 | 601 | 4,611 | 4.677205 | 0.241265 | 0.235859 | 0.337958 | 0.444682 | 0.611526 | 0.259338 | 0.092494 | 0.064746 | 0.036286 | 0.036286 | 0 | 0.052803 | 0.199089 | 4,611 | 158 | 79 | 29.183544 | 0.708367 | 0.004554 | 0 | 0.019048 | 0 | 0 | 0.168701 | 0 | 0 | 0 | 0 | 0 | 0.47619 | 1 | 0.47619 | false | 0 | 0.019048 | 0 | 0.504762 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
880f42db95f8ec0bc3b663981c73826157fefa94 | 2,625 | py | Python | Python/libraries/recognizers-sequence/recognizers_sequence/resources/base_phone_numbers.py | Irrelevances/Recognizers-Text | 630ce12bb47e201f663d72c31c680f6d40171962 | [
"MIT"
] | null | null | null | Python/libraries/recognizers-sequence/recognizers_sequence/resources/base_phone_numbers.py | Irrelevances/Recognizers-Text | 630ce12bb47e201f663d72c31c680f6d40171962 | [
"MIT"
] | null | null | null | Python/libraries/recognizers-sequence/recognizers_sequence/resources/base_phone_numbers.py | Irrelevances/Recognizers-Text | 630ce12bb47e201f663d72c31c680f6d40171962 | [
"MIT"
] | null | null | null | # ------------------------------------------------------------------------------
# <auto-generated>
# This code was generated by a tool.
# Changes to this file may cause incorrect behavior and will be lost if
# the code is regenerated.
# </auto-generated>
# --------------------------------------------------... | 87.5 | 248 | 0.351238 | 382 | 2,625 | 2.413613 | 0.204188 | 0.056399 | 0.045553 | 0.02603 | 0.12039 | 0.079176 | 0.042299 | 0.019523 | 0.019523 | 0 | 0 | 0.062834 | 0.072381 | 2,625 | 29 | 249 | 90.517241 | 0.315811 | 0.149714 | 0 | 0 | 1 | 0.631579 | 0.725473 | 0.69847 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
7180d498d9ab482d82ca2bff31f2f58b020bc1bb | 347 | py | Python | tests/plots/test_dependence.py | santanaangel/shap | 1c1c4a45440f3475b8544251f9d9e5b43977cd0e | [
"MIT"
] | 13 | 2019-07-04T11:40:24.000Z | 2021-09-10T09:54:36.000Z | tests/plots/test_dependence.py | santanaangel/shap | 1c1c4a45440f3475b8544251f9d9e5b43977cd0e | [
"MIT"
] | 3 | 2022-02-13T19:32:27.000Z | 2022-02-27T09:45:10.000Z | tests/plots/test_dependence.py | santanaangel/shap | 1c1c4a45440f3475b8544251f9d9e5b43977cd0e | [
"MIT"
] | 10 | 2019-09-09T13:56:49.000Z | 2021-10-01T20:08:35.000Z | import matplotlib
import numpy as np
matplotlib.use('Agg')
import shap
def test_random_dependence():
shap.dependence_plot(0, np.random.randn(20, 5), np.random.randn(20, 5), show=False)
def test_random_dependence_no_interaction():
shap.dependence_plot(0, np.random.randn(20, 5), np.random.randn(20, 5), show=Fal... | 34.7 | 111 | 0.763689 | 56 | 347 | 4.571429 | 0.410714 | 0.125 | 0.203125 | 0.234375 | 0.46875 | 0.46875 | 0.46875 | 0.46875 | 0.46875 | 0.46875 | 0 | 0.044872 | 0.100865 | 347 | 10 | 111 | 34.7 | 0.775641 | 0 | 0 | 0 | 0 | 0 | 0.008621 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.375 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
71ceba7eae281bb4aa1a2acce189dcbfcb6a7674 | 16,016 | py | Python | tests/test_pyPodcastParser.py | iheartradio/pyPodcastParser | 23545d487299ce1c5059f34f73dc87f72eb0172b | [
"MIT"
] | null | null | null | tests/test_pyPodcastParser.py | iheartradio/pyPodcastParser | 23545d487299ce1c5059f34f73dc87f72eb0172b | [
"MIT"
] | 1 | 2020-07-15T15:19:01.000Z | 2020-07-15T15:19:01.000Z | tests/test_pyPodcastParser.py | iheartradio/pyPodcastParser | 23545d487299ce1c5059f34f73dc87f72eb0172b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import datetime
import os
import unittest
from pypodcastparser import Podcast
# py.test test_pypodcastparser.py
#######
# coverage run --source pypodcastparser -m py.test
#######
# py.test --cov=pypodcastparser tests/
#######
# py.test -v --capture=sys tests/test_pypodcastparser.py
class ... | 36.988453 | 115 | 0.714036 | 2,058 | 16,016 | 5.292031 | 0.078231 | 0.115141 | 0.144798 | 0.198145 | 0.815995 | 0.787256 | 0.750987 | 0.712882 | 0.659719 | 0.577817 | 0 | 0.0057 | 0.178384 | 16,016 | 432 | 116 | 37.074074 | 0.821035 | 0.012238 | 0 | 0.533333 | 0 | 0 | 0.078516 | 0.012221 | 0 | 0 | 0 | 0 | 0.36 | 1 | 0.34 | false | 0 | 0.013333 | 0 | 0.39 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e085c00cd7dd3bcf2030ad2845a511202300013d | 43 | py | Python | python_solutions/sum whole number.py | ersincebi/hackerrank | 9475c8e88e9071544c10a939fe7307c8e62fe3a0 | [
"MIT"
] | null | null | null | python_solutions/sum whole number.py | ersincebi/hackerrank | 9475c8e88e9071544c10a939fe7307c8e62fe3a0 | [
"MIT"
] | null | null | null | python_solutions/sum whole number.py | ersincebi/hackerrank | 9475c8e88e9071544c10a939fe7307c8e62fe3a0 | [
"MIT"
] | null | null | null | n = 123456
print(sum(map(int,str(12345)))) | 14.333333 | 31 | 0.674419 | 8 | 43 | 3.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.282051 | 0.093023 | 43 | 3 | 31 | 14.333333 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e09e8e6f92e85e3a94d6b3d1e2b9995680f40aeb | 105 | py | Python | rl_botics/common/__init__,py.py | Suman7495/rl-botics | 79423ead1fea8ab08eab74c5dc3ae51c4c96a0ac | [
"MIT"
] | 18 | 2019-05-05T09:10:59.000Z | 2021-09-20T05:47:22.000Z | rl_botics/common/__init__,py.py | Suman7495/rl-botics | 79423ead1fea8ab08eab74c5dc3ae51c4c96a0ac | [
"MIT"
] | null | null | null | rl_botics/common/__init__,py.py | Suman7495/rl-botics | 79423ead1fea8ab08eab74c5dc3ae51c4c96a0ac | [
"MIT"
] | 6 | 2020-01-21T13:51:02.000Z | 2021-01-16T09:09:34.000Z | from .approximators import *
from .data_collection import *
from .logger import *
from .policies import * | 26.25 | 30 | 0.780952 | 13 | 105 | 6.230769 | 0.538462 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 105 | 4 | 31 | 26.25 | 0.9 | 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 |
e0c18d5a8c686c3ac1c55bc3e7b4cd6e4790dba3 | 14,059 | py | Python | tests/providers/google/marketing_platform/hooks/test_display_video.py | wegamekinglc/incubator-airflow | fc174635b0729253a86e8c877d6d8551a815a2cb | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSD-3-Clause"
] | 7 | 2018-11-19T12:05:13.000Z | 2020-01-17T08:30:38.000Z | tests/providers/google/marketing_platform/hooks/test_display_video.py | wegamekinglc/incubator-airflow | fc174635b0729253a86e8c877d6d8551a815a2cb | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSD-3-Clause"
] | 4 | 2021-06-28T20:57:42.000Z | 2022-02-26T02:11:11.000Z | tests/providers/google/marketing_platform/hooks/test_display_video.py | wegamekinglc/incubator-airflow | fc174635b0729253a86e8c877d6d8551a815a2cb | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSD-3-Clause"
] | 1 | 2021-03-03T01:44:08.000Z | 2021-03-03T01:44:08.000Z | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not... | 37.793011 | 109 | 0.694715 | 1,600 | 14,059 | 5.711875 | 0.121875 | 0.096291 | 0.032498 | 0.045519 | 0.838166 | 0.827005 | 0.809169 | 0.776124 | 0.763103 | 0.740125 | 0 | 0.007004 | 0.218081 | 14,059 | 371 | 110 | 37.894879 | 0.824343 | 0.059535 | 0 | 0.526316 | 0 | 0 | 0.256253 | 0.194179 | 0 | 0 | 0 | 0 | 0.091228 | 1 | 0.077193 | false | 0 | 0.010526 | 0 | 0.091228 | 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 |
1cd7b951f9f10be7ea5ecb729e824a292d06cc6b | 101 | py | Python | features/steps/data/src/fails_pyright.py | ldamewood/ly-python-tools | 4c6e17357ddd0ce68dae539f4527ab3a40e58698 | [
"MIT"
] | null | null | null | features/steps/data/src/fails_pyright.py | ldamewood/ly-python-tools | 4c6e17357ddd0ce68dae539f4527ab3a40e58698 | [
"MIT"
] | null | null | null | features/steps/data/src/fails_pyright.py | ldamewood/ly-python-tools | 4c6e17357ddd0ce68dae539f4527ab3a40e58698 | [
"MIT"
] | null | null | null | # pylint: disable=all
# flake8: noqa
def plus_one(x: int) -> int:
return x + 1
plus_one("one")
| 12.625 | 28 | 0.623762 | 17 | 101 | 3.588235 | 0.705882 | 0.229508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025316 | 0.217822 | 101 | 7 | 29 | 14.428571 | 0.746835 | 0.316832 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e804eaf6ae03bac25998d7f8e9471cf3263e74e2 | 24 | py | Python | mdfmodels/__init__.py | alexji/mdfmodels | 4a1e7298d3f68e5bd0ef8372a6c201014eae0831 | [
"MIT"
] | 1 | 2021-01-05T19:19:23.000Z | 2021-01-05T19:19:23.000Z | mdfmodels/__init__.py | alexji/mdfmodels | 4a1e7298d3f68e5bd0ef8372a6c201014eae0831 | [
"MIT"
] | null | null | null | mdfmodels/__init__.py | alexji/mdfmodels | 4a1e7298d3f68e5bd0ef8372a6c201014eae0831 | [
"MIT"
] | null | null | null | from mdfmodels import *
| 12 | 23 | 0.791667 | 3 | 24 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 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 |
e80b5dd74b8b6439ecc2f55c5a5505f803543e8f | 969 | py | Python | numpy_operation/merge.py | lyw615/code_accumulation | 5b2a5c039a725def37e19f226906ed1087880118 | [
"MIT"
] | 3 | 2021-11-09T07:15:00.000Z | 2021-12-11T06:30:47.000Z | numpy_operation/merge.py | lyw615/code_accumulation | 5b2a5c039a725def37e19f226906ed1087880118 | [
"MIT"
] | null | null | null | numpy_operation/merge.py | lyw615/code_accumulation | 5b2a5c039a725def37e19f226906ed1087880118 | [
"MIT"
] | null | null | null | import numpy as np
def concatenate():
"""
数组的拼接,合并
np.append 虽然可读性好,灵活,但是内存占用大
np.concatenate则不会占内存大
Returns:
"""
"""
>>> a
array([0, 1, 2],
[3, 4, 5],
[6, 7, 8])
>>> b = a*2
>>> b
array([ 0, 2, 4],
[ 6, 8, 10],
[12, 14, 1... | 18.634615 | 36 | 0.298246 | 121 | 969 | 2.38843 | 0.322314 | 0.103806 | 0.041522 | 0.083045 | 0.318339 | 0.186851 | 0.186851 | 0.186851 | 0.186851 | 0.096886 | 0 | 0.192547 | 0.501548 | 969 | 52 | 37 | 18.634615 | 0.405797 | 0.069143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1c4ef7c2a95417ca4d80e14f4b09d173daf099b7 | 36 | py | Python | alexber/reqsync/__init__.py | alex-ber/PythonPackageSyncTool | 07b970dd7cb752cb7dfebc9baa06ad0210dfe9c1 | [
"BSD-2-Clause"
] | null | null | null | alexber/reqsync/__init__.py | alex-ber/PythonPackageSyncTool | 07b970dd7cb752cb7dfebc9baa06ad0210dfe9c1 | [
"BSD-2-Clause"
] | 2 | 2019-10-22T06:37:48.000Z | 2019-10-23T10:09:42.000Z | alexber/reqsync/__init__.py | alex-ber/PythonPackageSyncTool | 07b970dd7cb752cb7dfebc9baa06ad0210dfe9c1 | [
"BSD-2-Clause"
] | null | null | null | from alexber.reqsync.app import conf | 36 | 36 | 0.861111 | 6 | 36 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.939394 | 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 |
1c5906d9e23b4f83542ee5ff49b7d71a72d03c23 | 11,122 | py | Python | test/test_opsgenie.py | djmgit/flask-opsgenie | 1cdacbdfbd191c28950f5c07712882a265c987e5 | [
"MIT"
] | null | null | null | test/test_opsgenie.py | djmgit/flask-opsgenie | 1cdacbdfbd191c28950f5c07712882a265c987e5 | [
"MIT"
] | 9 | 2022-01-11T14:42:03.000Z | 2022-03-30T06:45:28.000Z | test/test_opsgenie.py | djmgit/flask-opsgenie | 1cdacbdfbd191c28950f5c07712882a265c987e5 | [
"MIT"
] | null | null | null | from logging import exception
import unittest
from flask import Flask
from unittest import mock
from flask_opsgenie import opsgenie
from flask_opsgenie.entities import OpsgenieAlertParams, AlertType
from flask_opsgenie.opsgenie import make_opsgenie_api_request, raise_manual_alert
from flask_opsgenie.opsgenie import (ra... | 58.230366 | 207 | 0.715878 | 1,348 | 11,122 | 5.462908 | 0.066766 | 0.120043 | 0.157387 | 0.146795 | 0.818034 | 0.78585 | 0.738865 | 0.731668 | 0.711706 | 0.691065 | 0 | 0.005129 | 0.19358 | 11,122 | 190 | 208 | 58.536842 | 0.815922 | 0 | 0 | 0.520468 | 0 | 0 | 0.145657 | 0.089552 | 0 | 0 | 0 | 0 | 0.25731 | 1 | 0.040936 | false | 0 | 0.046784 | 0 | 0.093567 | 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 |
1c783050ba0a1c5f34e41ddafb90444ccff1c0ba | 251 | py | Python | shps/admin.py | acdh-oeaw/histogis | cbe90e17a7e4f26849c7b97f453833e094d445b2 | [
"MIT"
] | 10 | 2018-12-08T09:34:33.000Z | 2022-02-16T02:47:53.000Z | shps/admin.py | acdh-oeaw/histogis | cbe90e17a7e4f26849c7b97f453833e094d445b2 | [
"MIT"
] | 31 | 2018-08-28T15:40:12.000Z | 2022-02-15T13:03:44.000Z | shps/admin.py | acdh-oeaw/histogis | cbe90e17a7e4f26849c7b97f453833e094d445b2 | [
"MIT"
] | null | null | null | from django.contrib.gis import admin
from leaflet.admin import LeafletGeoAdmin
from .models import *
admin.site.register(Source, LeafletGeoAdmin)
admin.site.register(TempSpatial, LeafletGeoAdmin)
admin.site.register(TempStatialRel, LeafletGeoAdmin)
| 27.888889 | 52 | 0.840637 | 29 | 251 | 7.275862 | 0.482759 | 0.127962 | 0.241706 | 0.303318 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079681 | 251 | 8 | 53 | 31.375 | 0.91342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
1c95ddf0e8487935c3a6042de58d79eab29dbb34 | 80 | py | Python | nid_validator/egyptian_validator/tests/__init__.py | mohamedmansor/Egyptian-national-ID-validator | 59ce1f69c916611fb2565c028301353ce5ebd91f | [
"MIT"
] | null | null | null | nid_validator/egyptian_validator/tests/__init__.py | mohamedmansor/Egyptian-national-ID-validator | 59ce1f69c916611fb2565c028301353ce5ebd91f | [
"MIT"
] | 25 | 2021-01-05T03:48:11.000Z | 2021-09-22T19:38:49.000Z | nid_validator/egyptian_validator/tests/__init__.py | mohamedmansor/Egyptian-national-ID-validator | 59ce1f69c916611fb2565c028301353ce5ebd91f | [
"MIT"
] | null | null | null | from .integration_test import NIDTestAPI
from .unit_test import TestNIDValidator | 40 | 40 | 0.8875 | 10 | 80 | 6.9 | 0.7 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0875 | 80 | 2 | 41 | 40 | 0.945205 | 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 |
c7066015b2c7c9fe6a4d29640d1d2869dc9952fe | 310 | py | Python | functions/artificial_generation/__init__.py | hsokooti/RegNet | 28a8b6132677bb58e9fc811c0dd15d78913c7e86 | [
"Apache-2.0"
] | 187 | 2018-01-08T11:37:12.000Z | 2022-03-03T06:26:43.000Z | functions/artificial_generation/__init__.py | hsokooti/RegNet | 28a8b6132677bb58e9fc811c0dd15d78913c7e86 | [
"Apache-2.0"
] | 15 | 2018-01-27T07:12:41.000Z | 2021-08-22T12:37:30.000Z | functions/artificial_generation/__init__.py | hsokooti/RegNet | 28a8b6132677bb58e9fc811c0dd15d78913c7e86 | [
"Apache-2.0"
] | 60 | 2018-01-09T13:00:32.000Z | 2021-06-15T03:02:36.000Z | from . import dvf_generation
from . import generate_read
from . import intensity_augmentation
from .generate_read import get_dvf_and_deformed_images
from .generate_read import check_all_images_exist
from .generate_read_seq import get_dvf_and_deformed_images_seq
__version__ = "0.3.0"
__author__ = "hsokooti"
| 28.181818 | 62 | 0.851613 | 46 | 310 | 5.152174 | 0.456522 | 0.202532 | 0.202532 | 0.185654 | 0.244726 | 0.244726 | 0 | 0 | 0 | 0 | 0 | 0.010791 | 0.103226 | 310 | 10 | 63 | 31 | 0.841727 | 0 | 0 | 0 | 1 | 0 | 0.041935 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c71cb49e266ab04bb99c48f6d72fe03f236790a8 | 306 | py | Python | fem/utilities/tables2/basic/__init__.py | mjredmond/FEMApp | dd8cc53acf80d0a1bb83ce9c89bcfd51e85c6be8 | [
"MIT"
] | 1 | 2019-08-03T21:40:26.000Z | 2019-08-03T21:40:26.000Z | fem/utilities/tables2/basic/__init__.py | mjredmond/FEMApp | dd8cc53acf80d0a1bb83ce9c89bcfd51e85c6be8 | [
"MIT"
] | null | null | null | fem/utilities/tables2/basic/__init__.py | mjredmond/FEMApp | dd8cc53acf80d0a1bb83ce9c89bcfd51e85c6be8 | [
"MIT"
] | null | null | null | from ._basic_table_view import BasicTableView
from ._basic_table_data import BasicTableData
from ._basic_table_model import BasicTableModel
from ._basic_table_data_list import BasicTableDataList
from ._basic_table_widget import BasicTableWidget
from ._basic_multi_table_widget import BasicMultiTableWidget
| 43.714286 | 60 | 0.901961 | 38 | 306 | 6.736842 | 0.421053 | 0.210938 | 0.273438 | 0.140625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 306 | 6 | 61 | 51 | 0.907801 | 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 |
c7358947bb15d6b53e1e71ff03bb770ca575185f | 308 | py | Python | python 2/koans/another_local_module.py | SEL-Columbia/python_koans | afb69f5d885d5ff73c8e98f7a611852d4471c070 | [
"MIT"
] | 4 | 2015-02-04T13:25:21.000Z | 2017-08-02T17:04:02.000Z | python 2/koans/another_local_module.py | namsral/python_koans | 976da9b5dcc8e9ff29db1da1fd8ab099c59a6690 | [
"MIT"
] | null | null | null | python 2/koans/another_local_module.py | namsral/python_koans | 976da9b5dcc8e9ff29db1da1fd8ab099c59a6690 | [
"MIT"
] | 10 | 2015-03-03T03:15:14.000Z | 2020-03-24T11:09:34.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
class Goose(object):
@property
def name(self):
return "Mr Stabby"
class Hamster(object):
@property
def name(self):
return "Phil"
class _SecretSquirrel(object):
@property
def name(self):
return "Mr Anonymous" | 18.117647 | 30 | 0.594156 | 36 | 308 | 5.055556 | 0.583333 | 0.230769 | 0.28022 | 0.346154 | 0.532967 | 0.532967 | 0.362637 | 0 | 0 | 0 | 0 | 0.004464 | 0.272727 | 308 | 17 | 31 | 18.117647 | 0.808036 | 0.136364 | 0 | 0.5 | 0 | 0 | 0.09434 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c751b719e685b855ae04d51f7d5f8338e2b9d376 | 52 | py | Python | challenge_0/python/zooks97/src/helloWorld.py | rchicoli/2017-challenges | 44f0b672e5dea34de1dde131b6df837d462f8e29 | [
"Apache-2.0"
] | 271 | 2017-01-01T22:58:36.000Z | 2021-11-28T23:05:29.000Z | challenge_0/python/zooks97/src/helloWorld.py | AakashOfficial/2017Challenges | a8f556f1d5b43c099a0394384c8bc2d826f9d287 | [
"Apache-2.0"
] | 283 | 2017-01-01T23:26:05.000Z | 2018-03-23T00:48:55.000Z | challenge_0/python/zooks97/src/helloWorld.py | AakashOfficial/2017Challenges | a8f556f1d5b43c099a0394384c8bc2d826f9d287 | [
"Apache-2.0"
] | 311 | 2017-01-01T22:59:23.000Z | 2021-09-23T00:29:12.000Z | print("Hello, World!") #print hello world statement
| 26 | 51 | 0.75 | 7 | 52 | 5.571429 | 0.571429 | 0.512821 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 52 | 1 | 52 | 52 | 0.847826 | 0.519231 | 0 | 0 | 0 | 0 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
c758b0e86a5becbd0ea8d5ae21f1df03ca4381cb | 574 | py | Python | deep_deformation/objects/skinning.py | vincentbonnetcg/DeepDeformation | cb3590586d1b2040d0096291c87fd789ecf0dfeb | [
"MIT"
] | 5 | 2021-09-21T17:31:59.000Z | 2022-01-28T07:02:32.000Z | deep_deformation/objects/skinning.py | vincentbonnetcg/DeepDeformation | cb3590586d1b2040d0096291c87fd789ecf0dfeb | [
"MIT"
] | null | null | null | deep_deformation/objects/skinning.py | vincentbonnetcg/DeepDeformation | cb3590586d1b2040d0096291c87fd789ecf0dfeb | [
"MIT"
] | 1 | 2021-12-04T16:25:09.000Z | 2021-12-04T16:25:09.000Z | """
@author: Vincent Bonnet
@description : Skinning algorithms. Implement the Linear Blend Skinning (LBS)
"""
from deep_deformation.objects.skeleton_data import SkeletonData
from deep_deformation.objects.skinning_data import SkinningData
from deep_deformation.objects.clip_data import ClipData
class Skinning:
de... | 27.333333 | 83 | 0.766551 | 68 | 574 | 6.176471 | 0.441176 | 0.114286 | 0.135714 | 0.185714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16899 | 574 | 20 | 84 | 28.7 | 0.880503 | 0.186411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0 | 1 | 0.222222 | false | 0.111111 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
c7cf4a54d0b9c5ad64161e8c18a0dcc9ea70f610 | 45 | py | Python | tree/parser/__init__.py | hiroara/tree-python | 269c796cd8fbbedd9591faf573e21f167959c093 | [
"MIT"
] | null | null | null | tree/parser/__init__.py | hiroara/tree-python | 269c796cd8fbbedd9591faf573e21f167959c093 | [
"MIT"
] | null | null | null | tree/parser/__init__.py | hiroara/tree-python | 269c796cd8fbbedd9591faf573e21f167959c093 | [
"MIT"
] | null | null | null | from .json_parser import parse as parse_json
| 22.5 | 44 | 0.844444 | 8 | 45 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 45 | 1 | 45 | 45 | 0.923077 | 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 |
c7d1f906482106950fff78f04de77e77f95057c6 | 19,611 | py | Python | tests/test_layers.py | p768lwy3/torecsys | 2251366268b4fbe6f8c3ab1628fa72a0db043dcd | [
"MIT"
] | 92 | 2019-08-15T11:03:50.000Z | 2022-03-12T01:21:05.000Z | tests/test_layers.py | p768lwy3/torecsys | 2251366268b4fbe6f8c3ab1628fa72a0db043dcd | [
"MIT"
] | 3 | 2020-03-11T08:57:50.000Z | 2021-01-06T01:39:47.000Z | tests/test_layers.py | p768lwy3/torecsys | 2251366268b4fbe6f8c3ab1628fa72a0db043dcd | [
"MIT"
] | 16 | 2019-10-12T11:28:53.000Z | 2022-03-28T14:04:12.000Z | import unittest
from math import comb
import torch
import torch.nn as nn
from parameterized import parameterized
from torch.nn import functional
from torchinfo import summary
from torecsys.layers import *
device = 'cuda:0' if torch.cuda.is_available() else 'cpu'
class AttentionalFactorizationMachineLayerTestCase(u... | 35.656364 | 110 | 0.617409 | 2,374 | 19,611 | 4.917439 | 0.062763 | 0.052424 | 0.02921 | 0.056964 | 0.807692 | 0.777625 | 0.749957 | 0.743533 | 0.724516 | 0.713723 | 0 | 0.025447 | 0.252562 | 19,611 | 549 | 111 | 35.721311 | 0.770978 | 0.045434 | 0 | 0.673219 | 0 | 0 | 0.142903 | 0.029609 | 0 | 0 | 0 | 0 | 0.04914 | 1 | 0.046683 | false | 0 | 0.019656 | 0 | 0.113022 | 0.095823 | 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 |
1bfc731129e38d921c235b5310d9774c62888586 | 45 | py | Python | roles/test/library/bar.py | sivel/ansible-role-plugins | 76b3df6a4f6fd8b66074ac1db6d33cdc784c95db | [
"Apache-2.0"
] | null | null | null | roles/test/library/bar.py | sivel/ansible-role-plugins | 76b3df6a4f6fd8b66074ac1db6d33cdc784c95db | [
"Apache-2.0"
] | null | null | null | roles/test/library/bar.py | sivel/ansible-role-plugins | 76b3df6a4f6fd8b66074ac1db6d33cdc784c95db | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
print '{"action": "BAR"}'
| 11.25 | 25 | 0.577778 | 6 | 45 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 3 | 26 | 15 | 0.65 | 0.355556 | 0 | 0 | 0 | 0 | 0.607143 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
400585acb0d721f729023260df7d2337da4bc5e8 | 90 | py | Python | Notebooks/tools/hypertriangle.py | sssleverlily/hyperNetworkZ | cc9c4828bf91d6bf8dbc4e73277c131ce45b2cf5 | [
"MIT"
] | null | null | null | Notebooks/tools/hypertriangle.py | sssleverlily/hyperNetworkZ | cc9c4828bf91d6bf8dbc4e73277c131ce45b2cf5 | [
"MIT"
] | null | null | null | Notebooks/tools/hypertriangle.py | sssleverlily/hyperNetworkZ | cc9c4828bf91d6bf8dbc4e73277c131ce45b2cf5 | [
"MIT"
] | null | null | null | import hypernetx as hnx
'''
找到超三角形
'''
def hypertriangle(hg : hnx.Hypergraph):
return | 12.857143 | 39 | 0.7 | 11 | 90 | 5.727273 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 90 | 7 | 40 | 12.857143 | 0.851351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
40218142dd9f5932982fd90829268afc7f1fbb2d | 265 | py | Python | participant/managers.py | Arpit8081/Phishtray_Edited_Version | 9f3342e6fd2620b7f01ad91ce5b36fa8ea111bc8 | [
"MIT"
] | 2 | 2020-03-31T12:38:10.000Z | 2022-01-21T22:21:06.000Z | participant/managers.py | Arpit8081/Phishtray_Edited_Version | 9f3342e6fd2620b7f01ad91ce5b36fa8ea111bc8 | [
"MIT"
] | 252 | 2018-05-24T14:55:24.000Z | 2022-02-26T13:02:10.000Z | participant/managers.py | Arpit8081/Phishtray_Edited_Version | 9f3342e6fd2620b7f01ad91ce5b36fa8ea111bc8 | [
"MIT"
] | 11 | 2018-06-23T14:54:42.000Z | 2021-02-19T11:33:44.000Z | from django.db.models import Manager
from .queryset import ParticipantQuerySet, OrganizationQuerySet
class ParticipantManager(Manager.from_queryset(ParticipantQuerySet)):
pass
class OrganizationManager(Manager.from_queryset(OrganizationQuerySet)):
pass
| 24.090909 | 71 | 0.837736 | 25 | 265 | 8.8 | 0.52 | 0.15 | 0.259091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101887 | 265 | 10 | 72 | 26.5 | 0.92437 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
4031e881708f5f6dc64b92fb98e77d0e12800a7b | 17,202 | py | Python | tests/integration/assignments/test_viewset.py | Intevation/OpenSlides | 4495985d4c752d9e56d1011a4396a7cb444070a6 | [
"MIT"
] | null | null | null | tests/integration/assignments/test_viewset.py | Intevation/OpenSlides | 4495985d4c752d9e56d1011a4396a7cb444070a6 | [
"MIT"
] | null | null | null | tests/integration/assignments/test_viewset.py | Intevation/OpenSlides | 4495985d4c752d9e56d1011a4396a7cb444070a6 | [
"MIT"
] | null | null | null | import pytest
from django.contrib.auth import get_user_model
from django.core.files.uploadedfile import SimpleUploadedFile
from django.urls import reverse
from rest_framework import status
from rest_framework.test import APIClient
from openslides.assignments.models import Assignment
from openslides.core.models import ... | 35.688797 | 86 | 0.65161 | 1,895 | 17,202 | 5.738259 | 0.103958 | 0.105573 | 0.058856 | 0.082674 | 0.817638 | 0.805499 | 0.801269 | 0.786095 | 0.784808 | 0.770278 | 0 | 0.014734 | 0.234566 | 17,202 | 481 | 87 | 35.762994 | 0.811119 | 0.039472 | 0 | 0.621918 | 0 | 0 | 0.116271 | 0.088422 | 0 | 0 | 0 | 0.002079 | 0.128767 | 1 | 0.10137 | false | 0.019178 | 0.032877 | 0 | 0.147945 | 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 |
40552e5e0d0820a48c216dacc532f36806239985 | 39 | py | Python | Python/py_module_discover/discover_dir/proto/__init__.py | egustafson/sandbox | 9804e966347b33558b0497a04edb1a591d2d7773 | [
"Apache-2.0"
] | 2 | 2019-09-27T21:25:26.000Z | 2019-12-29T11:26:54.000Z | Python/py_module_discover/discover_dir/proto/__init__.py | egustafson/sandbox | 9804e966347b33558b0497a04edb1a591d2d7773 | [
"Apache-2.0"
] | 7 | 2020-08-11T17:32:14.000Z | 2020-08-11T17:32:39.000Z | Python/py_module_discover/discover_dir/proto/__init__.py | egustafson/sandbox | 9804e966347b33558b0497a04edb1a591d2d7773 | [
"Apache-2.0"
] | 2 | 2016-07-18T10:55:50.000Z | 2020-08-19T01:46:08.000Z |
print("Package 'proto' initialized.")
| 13 | 37 | 0.717949 | 4 | 39 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 2 | 38 | 19.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
405ab5a123a1bd0d379c951d661fe03172b52cbf | 119 | py | Python | Lib/site-packages/Numeric/MA/__init__.py | raychorn/svn_Python-2.5.1 | 425005b1b489ba44ec0bb989e077297e8953d9be | [
"PSF-2.0"
] | null | null | null | Lib/site-packages/Numeric/MA/__init__.py | raychorn/svn_Python-2.5.1 | 425005b1b489ba44ec0bb989e077297e8953d9be | [
"PSF-2.0"
] | null | null | null | Lib/site-packages/Numeric/MA/__init__.py | raychorn/svn_Python-2.5.1 | 425005b1b489ba44ec0bb989e077297e8953d9be | [
"PSF-2.0"
] | null | null | null | from MA_version import version as __version__
from MA_version import version_info as __version_info__
from MA import *
| 29.75 | 55 | 0.857143 | 19 | 119 | 4.736842 | 0.315789 | 0.2 | 0.288889 | 0.422222 | 0.577778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134454 | 119 | 3 | 56 | 39.666667 | 0.873786 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
dc0872be2d5b205d5b09dc4e70d445e32b745ac5 | 42 | py | Python | turf/explode/__init__.py | malroc/pyturf | c89b6ea7094bd5ca26cf589d9dcd15bd819d82e9 | [
"MIT"
] | 11 | 2020-08-26T11:04:55.000Z | 2022-01-26T14:53:10.000Z | turf/explode/__init__.py | malroc/pyturf | c89b6ea7094bd5ca26cf589d9dcd15bd819d82e9 | [
"MIT"
] | 36 | 2020-04-09T16:49:05.000Z | 2020-06-01T14:39:37.000Z | turf/explode/__init__.py | malroc/pyturf | c89b6ea7094bd5ca26cf589d9dcd15bd819d82e9 | [
"MIT"
] | 5 | 2020-07-30T23:37:35.000Z | 2021-08-24T08:10:28.000Z | from turf.explode._explode import explode
| 21 | 41 | 0.857143 | 6 | 42 | 5.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.921053 | 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 |
dc17c51bdd1274df96bc9bc061dfc49c77bbb4c1 | 25 | py | Python | web_gantt8/__init__.py | agenterpgmbh/misc-addons | 27e36d119b1e73089a2ebfcd8d4cfc706c8f1f41 | [
"MIT"
] | null | null | null | web_gantt8/__init__.py | agenterpgmbh/misc-addons | 27e36d119b1e73089a2ebfcd8d4cfc706c8f1f41 | [
"MIT"
] | 1 | 2020-05-03T04:27:29.000Z | 2020-05-03T04:27:29.000Z | web_gantt8/__init__.py | eneldoserrata/misc-addons | 6f3b94d8a71d603d9ad449f96edfc66385e78080 | [
"MIT"
] | 2 | 2020-05-09T02:08:59.000Z | 2022-03-21T06:37:15.000Z | from . import web_gantt8
| 12.5 | 24 | 0.8 | 4 | 25 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.16 | 25 | 1 | 25 | 25 | 0.857143 | 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 |
904bfe4bf19fa67455441aadd2c6ba73355b631e | 137 | py | Python | mindhome_alpha/erpnext/patches/v12_0/remove_patient_medical_record_page.py | Mindhome/field_service | 3aea428815147903eb9af1d0c1b4b9fc7faed057 | [
"MIT"
] | 1 | 2021-04-29T14:55:29.000Z | 2021-04-29T14:55:29.000Z | mindhome_alpha/erpnext/patches/v12_0/remove_patient_medical_record_page.py | Mindhome/field_service | 3aea428815147903eb9af1d0c1b4b9fc7faed057 | [
"MIT"
] | null | null | null | mindhome_alpha/erpnext/patches/v12_0/remove_patient_medical_record_page.py | Mindhome/field_service | 3aea428815147903eb9af1d0c1b4b9fc7faed057 | [
"MIT"
] | 1 | 2021-04-29T14:39:01.000Z | 2021-04-29T14:39:01.000Z | # Copyright (c) 2019
from __future__ import unicode_literals
import frappe
def execute():
frappe.delete_doc("Page", "medical_record")
| 17.125 | 44 | 0.773723 | 18 | 137 | 5.5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.124088 | 137 | 7 | 45 | 19.571429 | 0.791667 | 0.131387 | 0 | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
90872415b53f69d5188412b891feb4c4cf641e84 | 134 | py | Python | nimare/annotate/__init__.py | JulioAPeraza/NiMARE | e8814c23b33c64a73de907bf56de852b13a9d56a | [
"MIT"
] | 112 | 2018-04-15T15:54:26.000Z | 2022-03-09T04:48:17.000Z | nimare/annotate/__init__.py | JulioAPeraza/NiMARE | e8814c23b33c64a73de907bf56de852b13a9d56a | [
"MIT"
] | 558 | 2018-01-19T17:26:42.000Z | 2022-03-31T16:42:50.000Z | nimare/annotate/__init__.py | JulioAPeraza/NiMARE | e8814c23b33c64a73de907bf56de852b13a9d56a | [
"MIT"
] | 41 | 2018-01-17T21:16:52.000Z | 2021-12-21T22:23:52.000Z | """Automated annotation tools."""
from . import cogat, gclda, lda, text, utils
__all__ = ["cogat", "gclda", "lda", "text", "utils"]
| 22.333333 | 52 | 0.634328 | 16 | 134 | 5.0625 | 0.6875 | 0.246914 | 0.320988 | 0.419753 | 0.54321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149254 | 134 | 5 | 53 | 26.8 | 0.710526 | 0.201493 | 0 | 0 | 0 | 0 | 0.217822 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
908763675c0f406b8b2d3d6c25f616fd6f6fe7fd | 40 | py | Python | transition_sampling/colvar/__init__.py | UWPRG/transition-sampling | 6602bd87a66b70fb74711685f0ecfcb2d7bcbfe9 | [
"MIT"
] | 2 | 2020-12-04T01:54:44.000Z | 2021-03-09T18:44:15.000Z | transition_sampling/colvar/__init__.py | UWPRG/transition-sampling | 6602bd87a66b70fb74711685f0ecfcb2d7bcbfe9 | [
"MIT"
] | 10 | 2020-11-26T18:32:43.000Z | 2021-03-14T00:09:24.000Z | transition_sampling/colvar/__init__.py | UWPRG/transition-sampling | 6602bd87a66b70fb74711685f0ecfcb2d7bcbfe9 | [
"MIT"
] | null | null | null | from .plumed_driver import PlumedDriver
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 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 |
90b11eccf71a69811faacbd15ae85fc9a54a2d0e | 137 | py | Python | pyot/utils/tft/routing.py | paaksing/Pyot | 0af13ff453ff3065427b93fadae0b92935b791c8 | [
"MIT"
] | 60 | 2020-08-29T02:04:31.000Z | 2022-03-20T14:51:24.000Z | pyot/utils/tft/routing.py | paaksing/Pyot | 0af13ff453ff3065427b93fadae0b92935b791c8 | [
"MIT"
] | 2 | 2021-04-08T03:06:01.000Z | 2022-02-04T15:27:16.000Z | pyot/utils/tft/routing.py | paaksing/Pyot | 0af13ff453ff3065427b93fadae0b92935b791c8 | [
"MIT"
] | 15 | 2020-11-30T23:31:11.000Z | 2022-02-11T13:31:13.000Z | from pyot.models.tft import base
def platform_to_region(platform: str) -> str:
return base.PyotRouting._platform2regions[platform]
| 22.833333 | 55 | 0.788321 | 18 | 137 | 5.833333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 0.124088 | 137 | 5 | 56 | 27.4 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
90bf0ad913f7238896befb623127f4b26415acdf | 125 | py | Python | gnnbench/models/__init__.py | cvignac/gnn_statistics | 2115b54397ed25412f1bc4d8c93e0acdab348e34 | [
"MIT"
] | 3 | 2020-04-03T07:23:35.000Z | 2021-05-26T06:25:28.000Z | gnnbench/models/__init__.py | cvignac/gnn_statistics | 2115b54397ed25412f1bc4d8c93e0acdab348e34 | [
"MIT"
] | 1 | 2022-02-09T23:36:48.000Z | 2022-02-09T23:36:48.000Z | gnnbench/models/__init__.py | cvignac/gnn_statistics | 2115b54397ed25412f1bc4d8c93e0acdab348e34 | [
"MIT"
] | null | null | null | from .base_model import *
from . import gcn
from . import sgc
from . import appnp
from . import sgcmlp
from . import appnpmlp | 20.833333 | 25 | 0.76 | 19 | 125 | 4.947368 | 0.473684 | 0.531915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184 | 125 | 6 | 26 | 20.833333 | 0.921569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
90c7d0674cf8e811739ef848d6552edca065329d | 5,079 | py | Python | tests/views/test_content.py | adamghill/coltrane | 73eb85f2468f10068691600a2a56f6a9b2717b5c | [
"MIT"
] | 28 | 2022-01-03T05:23:19.000Z | 2022-02-25T18:17:08.000Z | tests/views/test_content.py | adamghill/coltrane | 73eb85f2468f10068691600a2a56f6a9b2717b5c | [
"MIT"
] | 27 | 2022-01-04T04:01:46.000Z | 2022-02-26T23:24:54.000Z | tests/views/test_content.py | adamghill/coltrane | 73eb85f2468f10068691600a2a56f6a9b2717b5c | [
"MIT"
] | null | null | null | from pathlib import Path
from unittest.mock import call, patch
def test_404(client, settings, tmp_path: Path):
settings.BASE_DIR = tmp_path
(tmp_path / "content").mkdir()
response = client.get("/")
assert response.status_code == 404
def test_404_directory_parent_traversal(client, settings, tmp_path... | 30.969512 | 88 | 0.657019 | 667 | 5,079 | 4.772114 | 0.110945 | 0.096764 | 0.092366 | 0.098021 | 0.870248 | 0.809299 | 0.8071 | 0.801445 | 0.786365 | 0.786365 | 0 | 0.016642 | 0.195511 | 5,079 | 163 | 89 | 31.159509 | 0.762359 | 0.006104 | 0 | 0.663636 | 0 | 0 | 0.18553 | 0.032507 | 0 | 0 | 0 | 0 | 0.245455 | 1 | 0.1 | false | 0 | 0.018182 | 0 | 0.118182 | 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 |
90da157888547bf68580a2f7b5d3391b795d8311 | 91 | py | Python | Operators/ExampleQRCodeDetectOperator/__init__.py | Caius-Lu/Savior | 47c22e06c38cc9b5f7007d79f791015c8b2b76aa | [
"BSD-2-Clause"
] | 108 | 2021-03-19T03:45:48.000Z | 2022-03-29T12:19:38.000Z | Operators/ExampleQRCodeDetectOperator/__init__.py | Caius-Lu/Savior | 47c22e06c38cc9b5f7007d79f791015c8b2b76aa | [
"BSD-2-Clause"
] | 2 | 2021-05-12T07:26:21.000Z | 2021-07-16T12:53:52.000Z | Operators/ExampleQRCodeDetectOperator/__init__.py | Caius-Lu/Savior | 47c22e06c38cc9b5f7007d79f791015c8b2b76aa | [
"BSD-2-Clause"
] | 27 | 2021-03-19T05:50:26.000Z | 2021-12-28T07:13:09.000Z | from Operators.ExampleQRCodeDetectOperator.QRCodeDetectOperator import QRCodeDetectWithSSD
| 45.5 | 90 | 0.934066 | 6 | 91 | 14.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043956 | 91 | 1 | 91 | 91 | 0.977011 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
90feca94d1af63da6da955e3a82cdfcb166683b0 | 134 | py | Python | dqo/db/clients/__init__.py | danield137/deep_query_optimzation | 01a25c966338007f15d14dea1b37e388e47bcfe3 | [
"MIT"
] | null | null | null | dqo/db/clients/__init__.py | danield137/deep_query_optimzation | 01a25c966338007f15d14dea1b37e388e47bcfe3 | [
"MIT"
] | null | null | null | dqo/db/clients/__init__.py | danield137/deep_query_optimzation | 01a25c966338007f15d14dea1b37e388e47bcfe3 | [
"MIT"
] | null | null | null | from dqo.db.clients.base import DatabaseClient
from dqo.db.clients.fake import FakeClient
from dqo.db.clients.postgres import Postgres | 44.666667 | 46 | 0.850746 | 21 | 134 | 5.428571 | 0.47619 | 0.184211 | 0.236842 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08209 | 134 | 3 | 47 | 44.666667 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
292d394e837bd29c36a1a7910bae1eea614c987c | 104 | py | Python | src/python/artisynth_envs/envs/__init__.py | amir-abdi/artisynth-rl | be99072efb46cb0e3cbc19ef444efc699343a238 | [
"MIT"
] | 4 | 2020-03-28T16:29:48.000Z | 2021-09-07T12:06:24.000Z | src/python/artisynth_envs/envs/__init__.py | amir-abdi/artisynth-rl | be99072efb46cb0e3cbc19ef444efc699343a238 | [
"MIT"
] | 4 | 2020-11-10T23:52:14.000Z | 2021-12-14T21:36:48.000Z | src/python/artisynth_envs/envs/__init__.py | amir-abdi/artisynth-rl | be99072efb46cb0e3cbc19ef444efc699343a238 | [
"MIT"
] | 2 | 2021-09-07T12:07:29.000Z | 2021-11-07T04:47:31.000Z | from .spine_env import SpineEnv
from .point2point_env import Point2PointEnv
from .jaw_env import JawEnv
| 26 | 43 | 0.855769 | 15 | 104 | 5.733333 | 0.6 | 0.313953 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.115385 | 104 | 3 | 44 | 34.666667 | 0.913043 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.