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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e0604e5713f1319e78797d5008443063f5edc27c | 30,584 | py | Python | cinder/tests/unit/volume/drivers/netapp/test_utils.py | overcastcloud/cinder | ad977d456c5d50e992eee95ea40f4e3dd21981dc | [
"Apache-2.0"
] | null | null | null | cinder/tests/unit/volume/drivers/netapp/test_utils.py | overcastcloud/cinder | ad977d456c5d50e992eee95ea40f4e3dd21981dc | [
"Apache-2.0"
] | null | null | null | cinder/tests/unit/volume/drivers/netapp/test_utils.py | overcastcloud/cinder | ad977d456c5d50e992eee95ea40f4e3dd21981dc | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2014 Clinton Knight. All rights reserved.
# Copyright (c) 2015 Tom Barron. All rights reserved.
# 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 ... | 41.441734 | 79 | 0.695298 | 3,908 | 30,584 | 4.999744 | 0.068833 | 0.049081 | 0.062235 | 0.070526 | 0.840524 | 0.815702 | 0.792006 | 0.76314 | 0.750908 | 0.730232 | 0 | 0.006108 | 0.21848 | 30,584 | 737 | 80 | 41.497965 | 0.811355 | 0.031356 | 0 | 0.567468 | 0 | 0 | 0.085242 | 0.040172 | 0 | 0 | 0 | 0 | 0.268022 | 1 | 0.118299 | false | 0.001848 | 0.022181 | 0 | 0.177449 | 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 |
0ef056bcb1e47dda4f53a1d1ff6986ca19753e1c | 117 | py | Python | yaml/__init__.py | mattiasljungstrom/fips | 8775e299f710ae5b977d49dc0672b607f2a10378 | [
"MIT"
] | 429 | 2015-01-06T18:44:20.000Z | 2022-03-19T22:22:11.000Z | yaml/__init__.py | mattiasljungstrom/fips | 8775e299f710ae5b977d49dc0672b607f2a10378 | [
"MIT"
] | 254 | 2015-01-01T18:11:57.000Z | 2022-03-22T09:55:51.000Z | yaml/__init__.py | mattiasljungstrom/fips | 8775e299f710ae5b977d49dc0672b607f2a10378 | [
"MIT"
] | 102 | 2015-01-17T11:41:16.000Z | 2022-02-24T23:47:30.000Z | from sys import version_info
if version_info[0] < 3:
from yaml.yaml2 import *
else:
from yaml.yaml3 import *
| 19.5 | 28 | 0.709402 | 19 | 117 | 4.263158 | 0.631579 | 0.271605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.213675 | 117 | 5 | 29 | 23.4 | 0.836957 | 0 | 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 | 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 |
1641f5346dbf0ff5dd80ac31c99cb4142226029d | 52,090 | py | Python | tests.py | abmyii/pdf2image | d5094e3b9ea2ff62483093e3415dee1044fd9974 | [
"MIT"
] | null | null | null | tests.py | abmyii/pdf2image | d5094e3b9ea2ff62483093e3415dee1044fd9974 | [
"MIT"
] | null | null | null | tests.py | abmyii/pdf2image | d5094e3b9ea2ff62483093e3415dee1044fd9974 | [
"MIT"
] | null | null | null | import os
import sys
import errno
import pathlib
import tempfile
import unittest
import time
import shutil
import subprocess
from subprocess import Popen, PIPE
from tempfile import TemporaryDirectory
from memory_profiler import profile as profile_memory
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(... | 38.989521 | 118 | 0.606969 | 6,308 | 52,090 | 4.677077 | 0.03884 | 0.068061 | 0.058841 | 0.068637 | 0.941192 | 0.931804 | 0.922482 | 0.89862 | 0.889469 | 0.879673 | 0 | 0.019532 | 0.285448 | 52,090 | 1,335 | 119 | 39.018727 | 0.773112 | 0.014398 | 0 | 0.600336 | 0 | 0 | 0.168304 | 0.071752 | 0 | 0 | 0 | 0 | 0.074727 | 1 | 0.071369 | false | 0.002519 | 0.012594 | 0.00084 | 0.089001 | 0.06801 | 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 |
1650d598e0eb88f70dbb9f582275f1e837e6057e | 85 | py | Python | simple_ciphers/utils/strings.py | MarcDillar/python-cipher | 7a5e5a74c26b91e57d68b5a03aeb1c53be222da0 | [
"MIT"
] | null | null | null | simple_ciphers/utils/strings.py | MarcDillar/python-cipher | 7a5e5a74c26b91e57d68b5a03aeb1c53be222da0 | [
"MIT"
] | null | null | null | simple_ciphers/utils/strings.py | MarcDillar/python-cipher | 7a5e5a74c26b91e57d68b5a03aeb1c53be222da0 | [
"MIT"
] | null | null | null | import re
def remove_non_letters(s):
return re.compile('[^a-zA-Z]').sub('', s)
| 14.166667 | 45 | 0.623529 | 15 | 85 | 3.4 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152941 | 85 | 5 | 46 | 17 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0.105882 | 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 |
167f8de300bb62859fc9b7f4f45bacd759b25edf | 166 | py | Python | tests/helpers.py | bankroll-py/bankroll-broker-etrade | 3f8ba0abbbcdcf5d42ec88fbe618a6218fbf304b | [
"MIT"
] | 4 | 2019-10-08T18:18:56.000Z | 2022-02-10T19:23:51.000Z | tests/helpers.py | bankroll-py/bankroll-broker-etrade | 3f8ba0abbbcdcf5d42ec88fbe618a6218fbf304b | [
"MIT"
] | null | null | null | tests/helpers.py | bankroll-py/bankroll-broker-etrade | 3f8ba0abbbcdcf5d42ec88fbe618a6218fbf304b | [
"MIT"
] | null | null | null | from decimal import Decimal
from bankroll.model import Cash, Currency
def cashUSD(amount: Decimal) -> Cash:
return Cash(currency=Currency.USD, quantity=amount)
| 23.714286 | 55 | 0.777108 | 22 | 166 | 5.863636 | 0.590909 | 0.186047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138554 | 166 | 6 | 56 | 27.666667 | 0.902098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
16949c6492eb507a09848dc20bbfc0eb739c52a6 | 63 | py | Python | pyfuseki/syncFuseki/__init__.py | yubinCloud/pyfuseki | 15dcd8f313cdd346aadd62c9ab40f23ecc06e4bd | [
"Apache-2.0"
] | 21 | 2021-01-20T08:07:52.000Z | 2022-01-26T05:11:24.000Z | pyfuseki/syncFuseki/__init__.py | yubinCloud/pyfuseki | 15dcd8f313cdd346aadd62c9ab40f23ecc06e4bd | [
"Apache-2.0"
] | 1 | 2022-01-13T03:29:24.000Z | 2022-01-15T08:10:24.000Z | pyfuseki/syncFuseki/__init__.py | yubinCloud/pyfuseki | 15dcd8f313cdd346aadd62c9ab40f23ecc06e4bd | [
"Apache-2.0"
] | 3 | 2021-01-24T17:26:02.000Z | 2021-05-29T05:00:15.000Z | """
@Time: 2021/1/20 17:12
@Author:
@File: __init__.py.py
"""
| 9 | 22 | 0.587302 | 11 | 63 | 3 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203704 | 0.142857 | 63 | 6 | 23 | 10.5 | 0.407407 | 0.84127 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
16a6072c9d04b7ed615bcd226bb73d5ba351cd43 | 43,836 | py | Python | downstream/UNITER/model/pretrain_vcr.py | yeonseok-jeong-cm/multimodal_research | bb1140f13f76d4cda6175a072806a0ee0908bd0d | [
"MIT"
] | null | null | null | downstream/UNITER/model/pretrain_vcr.py | yeonseok-jeong-cm/multimodal_research | bb1140f13f76d4cda6175a072806a0ee0908bd0d | [
"MIT"
] | null | null | null | downstream/UNITER/model/pretrain_vcr.py | yeonseok-jeong-cm/multimodal_research | bb1140f13f76d4cda6175a072806a0ee0908bd0d | [
"MIT"
] | null | null | null | from .pretrain import UniterForPretraining
from torch import nn
from .layer import BertOnlyMLMHead
from collections import defaultdict
from torch.nn import functional as F
import torch
import numpy as np
from .do_calculus import Matcher, BoxCoder, BalancedPositiveNegativeSampler, FastRCNNLossComputation
from horovod im... | 49.757094 | 171 | 0.591295 | 5,172 | 43,836 | 4.591261 | 0.050657 | 0.018445 | 0.030742 | 0.038406 | 0.881622 | 0.868146 | 0.852228 | 0.840605 | 0.836899 | 0.828097 | 0 | 0.008016 | 0.334086 | 43,836 | 880 | 172 | 49.813636 | 0.805454 | 0.081691 | 0 | 0.669903 | 0 | 0 | 0.013499 | 0.000712 | 0 | 0 | 0 | 0 | 0.009709 | 1 | 0.04466 | false | 0.001942 | 0.017476 | 0 | 0.132039 | 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 |
16ab538ab9c32426ccd8e3a11b89e1a76b8ef291 | 25,621 | py | Python | tuesmon_ncurses/controllers/milestones.py | tuesmoncom/tuesmon-ncurses | 21cd4c39f2eed13e7fe42cac0e70d752f76382ca | [
"Apache-2.0"
] | null | null | null | tuesmon_ncurses/controllers/milestones.py | tuesmoncom/tuesmon-ncurses | 21cd4c39f2eed13e7fe42cac0e70d752f76382ca | [
"Apache-2.0"
] | null | null | null | tuesmon_ncurses/controllers/milestones.py | tuesmoncom/tuesmon-ncurses | 21cd4c39f2eed13e7fe42cac0e70d752f76382ca | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
tuesmon_ncurses.controllers.milestone
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"""
from concurrent.futures import wait
import functools
from tuesmon_ncurses.config import settings
from tuesmon_ncurses.ui import signals
from tuesmon_ncurses.ui.widgets.milestones import UserStoryEntry, TaskEntry... | 44.480903 | 111 | 0.691269 | 3,168 | 25,621 | 5.212753 | 0.044192 | 0.067821 | 0.055105 | 0.067821 | 0.863146 | 0.817609 | 0.76965 | 0.755177 | 0.726717 | 0.724234 | 0 | 0.001458 | 0.223645 | 25,621 | 575 | 112 | 44.558261 | 0.828767 | 0.00847 | 0 | 0.628019 | 0 | 0 | 0.037966 | 0 | 0 | 0 | 0 | 0.001739 | 0 | 1 | 0.089372 | false | 0 | 0.016908 | 0 | 0.108696 | 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 |
16bea6ecc5bee0324d0cf7d99003ac3083ccce9a | 400 | py | Python | python27/Basic/tempDel.py | userYKK/pythonTry | ecd36d4e49e12e5376e275159cfbc2eb6c7b64d2 | [
"Apache-2.0"
] | null | null | null | python27/Basic/tempDel.py | userYKK/pythonTry | ecd36d4e49e12e5376e275159cfbc2eb6c7b64d2 | [
"Apache-2.0"
] | null | null | null | python27/Basic/tempDel.py | userYKK/pythonTry | ecd36d4e49e12e5376e275159cfbc2eb6c7b64d2 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# -*- coding: UTF-8 -*-
# 变量类型
print "############################## 1. 多个变量赋值"
print "############################## 2. 标准数据类型"
print "############################## 3. 删除对象引用"
print "############################## 4. 字符串"
print "############################## 5. List列表"
print "#######... | 17.391304 | 49 | 0.2475 | 28 | 400 | 3.535714 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023188 | 0.1375 | 400 | 22 | 50 | 18.181818 | 0.263768 | 0.1075 | 0 | 0 | 0 | 0 | 0.779661 | 0.59322 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
bc7f4e0e3927de73171c25113e7ffa5a5e8a2518 | 19 | py | Python | l3ns/utils/__init__.py | OlegJakushkin/l3ns | 320184cb03837b9d6d13cb6ff006263ad1a99544 | [
"MIT"
] | 3 | 2021-04-02T11:05:54.000Z | 2021-12-17T17:46:02.000Z | l3ns/utils/__init__.py | OlegJakushkin/l3ns | 320184cb03837b9d6d13cb6ff006263ad1a99544 | [
"MIT"
] | 1 | 2020-10-31T08:36:11.000Z | 2020-10-31T08:36:11.000Z | l3ns/utils/__init__.py | OlegJakushkin/l3ns | 320184cb03837b9d6d13cb6ff006263ad1a99544 | [
"MIT"
] | 1 | 2020-06-08T03:48:58.000Z | 2020-06-08T03:48:58.000Z | from . import args
| 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 |
bcd77a40af468bcaae999faa06107f102b96e38a | 115 | py | Python | modules/dials/viewer/__init__.py | jorgediazjr/dials-dev20191018 | 77d66c719b5746f37af51ad593e2941ed6fbba17 | [
"BSD-3-Clause"
] | null | null | null | modules/dials/viewer/__init__.py | jorgediazjr/dials-dev20191018 | 77d66c719b5746f37af51ad593e2941ed6fbba17 | [
"BSD-3-Clause"
] | null | null | null | modules/dials/viewer/__init__.py | jorgediazjr/dials-dev20191018 | 77d66c719b5746f37af51ad593e2941ed6fbba17 | [
"BSD-3-Clause"
] | 1 | 2020-02-04T15:39:06.000Z | 2020-02-04T15:39:06.000Z | from __future__ import absolute_import, division, print_function
from dials_viewer_ext import * # special import
| 28.75 | 64 | 0.834783 | 15 | 115 | 5.866667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 115 | 3 | 65 | 38.333333 | 0.88 | 0.121739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
4c5558ad5a1c08cef60c689fc69c3143725161c4 | 29 | py | Python | enso/platform/win32/registry/__init__.py | blackdaemon/enso-launcher-continued | 346f82811e77caf73560619cdeb16afabfbf1fce | [
"BSD-3-Clause"
] | 7 | 2015-09-19T20:57:32.000Z | 2020-12-31T16:34:42.000Z | enso/platform/win32/registry/__init__.py | blackdaemon/enso-launcher-continued | 346f82811e77caf73560619cdeb16afabfbf1fce | [
"BSD-3-Clause"
] | 21 | 2015-11-03T23:15:25.000Z | 2018-10-11T21:57:45.000Z | enso/platform/win32/registry/__init__.py | blackdaemon/enso-launcher-continued | 346f82811e77caf73560619cdeb16afabfbf1fce | [
"BSD-3-Clause"
] | 4 | 2015-09-15T17:18:00.000Z | 2021-06-16T07:06:06.000Z | from WindowsRegistry import * | 29 | 29 | 0.862069 | 3 | 29 | 8.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.961538 | 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 |
4c5d079886cede3c243ff79d8d0f50eee07685b0 | 33 | py | Python | colormate/__init__.py | MrJakeSir/theming | fd572c871fb4fd67cc4f9517558570d652ad1f0c | [
"MIT"
] | 3 | 2021-10-02T02:23:50.000Z | 2021-10-02T16:03:33.000Z | colormate/__init__.py | MrJakeSir/themify | fd572c871fb4fd67cc4f9517558570d652ad1f0c | [
"MIT"
] | null | null | null | colormate/__init__.py | MrJakeSir/themify | fd572c871fb4fd67cc4f9517558570d652ad1f0c | [
"MIT"
] | null | null | null | from colormate.main import Theme
| 16.5 | 32 | 0.848485 | 5 | 33 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 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 |
d5de1331d127c8d42888667ea498f9bcad69aaef | 145 | py | Python | tests/builtin/any.py | Slater-Victoroff/pyjaco | 89c4e3c46399c5023b0e160005d855a01241c58a | [
"MIT"
] | 38 | 2015-01-01T18:08:59.000Z | 2022-02-18T08:57:27.000Z | tests/builtin/any.py | dusty-phillips/pyjaco | 066895ae38d1828498e529c1875cb88df6cbc54d | [
"MIT"
] | 1 | 2020-01-08T04:32:52.000Z | 2020-01-08T04:32:52.000Z | tests/builtin/any.py | Slater-Victoroff/pyjaco | 89c4e3c46399c5023b0e160005d855a01241c58a | [
"MIT"
] | 12 | 2016-03-07T09:30:49.000Z | 2021-09-05T20:38:47.000Z | x = [False, 0, 0.0, [], (), dict()]
print any([])
print any(x)
print any(x + [1])
try:
print any()
except TypeError, E:
print "Fail", E
| 14.5 | 35 | 0.531034 | 24 | 145 | 3.208333 | 0.5 | 0.415584 | 0.233766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036036 | 0.234483 | 145 | 9 | 36 | 16.111111 | 0.657658 | 0 | 0 | 0 | 0 | 0 | 0.027586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.625 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d5f0ac2403e0470d0b3950da372277c73acbeaf4 | 148 | py | Python | back/auth/__init__.py | jamalg/my_shops | ccba408aae3b7270ace57c608599a194fa9fe4c8 | [
"MIT"
] | null | null | null | back/auth/__init__.py | jamalg/my_shops | ccba408aae3b7270ace57c608599a194fa9fe4c8 | [
"MIT"
] | null | null | null | back/auth/__init__.py | jamalg/my_shops | ccba408aae3b7270ace57c608599a194fa9fe4c8 | [
"MIT"
] | null | null | null | from flask import Flask
from flask_bcrypt import Bcrypt
flask_bcrypt = Bcrypt()
def init_app(app: Flask) -> None:
flask_bcrypt.init_app(app)
| 16.444444 | 33 | 0.756757 | 23 | 148 | 4.652174 | 0.347826 | 0.308411 | 0.186916 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 148 | 8 | 34 | 18.5 | 0.862903 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
913b26072825587d1f96a3ab69d57ddf627eec99 | 43 | py | Python | infoicer/__init__.py | edkirin/infoicer | 809b26eb583d5725b5cccf62880a3137fed60a1a | [
"MIT"
] | 2 | 2020-08-17T19:02:36.000Z | 2022-01-07T20:28:59.000Z | infoicer/__init__.py | edkirin/infoicer | 809b26eb583d5725b5cccf62880a3137fed60a1a | [
"MIT"
] | null | null | null | infoicer/__init__.py | edkirin/infoicer | 809b26eb583d5725b5cccf62880a3137fed60a1a | [
"MIT"
] | null | null | null | from .infoicer import Invoice, InvoiceItem
| 21.5 | 42 | 0.837209 | 5 | 43 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 1 | 43 | 43 | 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 |
914e14686cb97fb685155cba7d062eec566eedec | 183 | py | Python | api/category/admin.py | Egor4ik325/rankrise | c4377237c9afbdda365c01453f73151189129aa9 | [
"MIT"
] | null | null | null | api/category/admin.py | Egor4ik325/rankrise | c4377237c9afbdda365c01453f73151189129aa9 | [
"MIT"
] | null | null | null | api/category/admin.py | Egor4ik325/rankrise | c4377237c9afbdda365c01453f73151189129aa9 | [
"MIT"
] | null | null | null | from django.contrib import admin
from mptt.admin import MPTTModelAdmin
from category.models import Category
@admin.register(Category)
class CategoryAdmin(MPTTModelAdmin):
pass
| 18.3 | 37 | 0.819672 | 22 | 183 | 6.818182 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125683 | 183 | 9 | 38 | 20.333333 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.5 | 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 |
e6927d9cfc0d9472d7f4d3dc0e626a429ffa44fd | 66 | py | Python | lib/data/__init__.py | vinbigdata-medical/endocv2020-seg | 91675391911a3d70a09c51edb0eeb73b1081b037 | [
"Apache-2.0"
] | 6 | 2021-02-13T18:41:59.000Z | 2021-06-01T09:29:06.000Z | lib/data/__init__.py | VinBDI-MedicalImagingTeam/endocv2020-seg | 91675391911a3d70a09c51edb0eeb73b1081b037 | [
"Apache-2.0"
] | 1 | 2020-11-24T03:25:21.000Z | 2020-11-24T03:25:21.000Z | lib/data/__init__.py | vinbigdata-medical/endocv2020-seg | 91675391911a3d70a09c51edb0eeb73b1081b037 | [
"Apache-2.0"
] | 1 | 2022-03-18T10:28:19.000Z | 2022-03-18T10:28:19.000Z | from .cutmix_mixup import cutmix_data, mixup_data, mixup_criterion | 66 | 66 | 0.878788 | 10 | 66 | 5.4 | 0.6 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075758 | 66 | 1 | 66 | 66 | 0.885246 | 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 |
e69fbbb35c232fe7c9cdab4d65f24b7d1dbd854e | 16,792 | py | Python | tests/integration/test_results_metadata.py | amlight/pathfinder | a2f219e15a2ab4a043723bfa4a5453796d4ba0bf | [
"MIT"
] | null | null | null | tests/integration/test_results_metadata.py | amlight/pathfinder | a2f219e15a2ab4a043723bfa4a5453796d4ba0bf | [
"MIT"
] | null | null | null | tests/integration/test_results_metadata.py | amlight/pathfinder | a2f219e15a2ab4a043723bfa4a5453796d4ba0bf | [
"MIT"
] | null | null | null | """Module to test the KytosGraph in graph.py."""
# module under test
from tests.integration.metadata_settings import MetadataSettings
class TestResultsMetadata(MetadataSettings):
"""Tests for the graph class.
Tests if the metadata in search result edges have passing values.
"""
def test_path_constr... | 36.425163 | 81 | 0.570391 | 1,777 | 16,792 | 5.230726 | 0.071469 | 0.054868 | 0.042604 | 0.046477 | 0.88596 | 0.829263 | 0.756966 | 0.729532 | 0.672727 | 0.617214 | 0 | 0.029103 | 0.308361 | 16,792 | 460 | 82 | 36.504348 | 0.771224 | 0.498511 | 0 | 0.736111 | 0 | 0 | 0.044442 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 1 | 0.125 | false | 0 | 0.006944 | 0 | 0.138889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 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 |
e6ac55840ac84712c644cee3cb25133e4c2b050b | 35 | py | Python | emailthreads/__init__.py | emersion/python-emailthreads | 99f1a04fa0dd2ce8a9c870016b067bf56f3d3bfd | [
"MIT"
] | 34 | 2018-06-14T09:30:29.000Z | 2022-03-13T20:56:06.000Z | emailthreads/__init__.py | emersion/python-emailreview | 99f1a04fa0dd2ce8a9c870016b067bf56f3d3bfd | [
"MIT"
] | 5 | 2019-12-01T20:20:51.000Z | 2022-01-26T08:42:37.000Z | emailthreads/__init__.py | emersion/python-emailreview | 99f1a04fa0dd2ce8a9c870016b067bf56f3d3bfd | [
"MIT"
] | 3 | 2019-06-21T20:31:42.000Z | 2021-12-18T00:09:07.000Z | from .threads import Thread, parse
| 17.5 | 34 | 0.8 | 5 | 35 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 1 | 35 | 35 | 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 |
e6b6e7254c3a0d1bc1a29baa8ca30b8a1aed1436 | 112 | py | Python | chat/views.py | aliPMPAINT/GoW | 4b2e4a2a02f6cc51e741a0e0f1ce561e3904dfbb | [
"MIT"
] | 4 | 2020-10-21T17:53:54.000Z | 2020-11-05T16:01:26.000Z | chat/views.py | aliPMPAINT/GoW | 4b2e4a2a02f6cc51e741a0e0f1ce561e3904dfbb | [
"MIT"
] | null | null | null | chat/views.py | aliPMPAINT/GoW | 4b2e4a2a02f6cc51e741a0e0f1ce561e3904dfbb | [
"MIT"
] | null | null | null | from django.shortcuts import render
def chatbot(request):
return render(request, 'chat/chatbot.html')
| 18.666667 | 47 | 0.732143 | 14 | 112 | 5.857143 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169643 | 112 | 5 | 48 | 22.4 | 0.88172 | 0 | 0 | 0 | 0 | 0 | 0.151786 | 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 |
e6f9c0f591964e6616110951ea0952f61f70d758 | 107 | py | Python | terrascript/cloudflare/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 4 | 2022-02-07T21:08:14.000Z | 2022-03-03T04:41:28.000Z | terrascript/cloudflare/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | null | null | null | terrascript/cloudflare/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 2 | 2022-02-06T01:49:42.000Z | 2022-02-08T14:15:00.000Z | # terrascript/cloudflare/__init__.py
import terrascript
class cloudflare(terrascript.Provider):
pass
| 15.285714 | 39 | 0.803738 | 11 | 107 | 7.454545 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121495 | 107 | 6 | 40 | 17.833333 | 0.87234 | 0.317757 | 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 |
5da398062452e7f8afe9bf6b8267f91a265a9e42 | 36 | py | Python | mrss-maker/generatemrss.py | riordan/brightsign-brown-shows | 723708db9d73738ce6ae1b1c7f974892bfe0a45d | [
"Apache-2.0"
] | 2 | 2017-11-14T12:04:08.000Z | 2019-09-25T01:04:28.000Z | mrss-maker/generatemrss.py | riordan/brightsign-brown-shows | 723708db9d73738ce6ae1b1c7f974892bfe0a45d | [
"Apache-2.0"
] | 2 | 2017-02-13T18:49:27.000Z | 2017-02-13T18:49:45.000Z | mrss-maker/generatemrss.py | riordan/brightsign-brown-shows | 723708db9d73738ce6ae1b1c7f974892bfe0a45d | [
"Apache-2.0"
] | null | null | null | import xml.etree.cElementTree as ET
| 18 | 35 | 0.833333 | 6 | 36 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 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 |
5dad55f6d1a1d44720bcfcf9fe18d92d1225499a | 32 | py | Python | YouTubeWrapped.py | PradaGoose/google-youtube-history-analytics | 287cb0f10005c5be8c8e617a036148dce95f0245 | [
"MIT"
] | null | null | null | YouTubeWrapped.py | PradaGoose/google-youtube-history-analytics | 287cb0f10005c5be8c8e617a036148dce95f0245 | [
"MIT"
] | null | null | null | YouTubeWrapped.py | PradaGoose/google-youtube-history-analytics | 287cb0f10005c5be8c8e617a036148dce95f0245 | [
"MIT"
] | null | null | null |
print("This is a test code")
| 6.4 | 28 | 0.625 | 6 | 32 | 3.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 32 | 4 | 29 | 8 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.655172 | 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 |
f8ed45e4dd540e0ae23f0ccff66b5f226b0eeb66 | 223 | py | Python | src/masonite/controllers/ViewController.py | josephmancuso/masonite | e9ed31331268bd4966609fbc1e5c55afa5cb0a79 | [
"MIT"
] | 35 | 2018-01-08T01:20:16.000Z | 2018-02-06T02:37:14.000Z | src/masonite/controllers/ViewController.py | josephmancuso/masonite | e9ed31331268bd4966609fbc1e5c55afa5cb0a79 | [
"MIT"
] | 55 | 2018-01-03T02:42:03.000Z | 2018-02-06T13:35:54.000Z | src/masonite/controllers/ViewController.py | josephmancuso/masonite | e9ed31331268bd4966609fbc1e5c55afa5cb0a79 | [
"MIT"
] | 4 | 2018-01-08T13:13:14.000Z | 2018-01-12T19:35:32.000Z | from ..facades import View
class ViewController:
def __init__(self, template, data):
self.template = template
self.data = data
def show(self):
return View.render(self.template, self.data)
| 20.272727 | 52 | 0.654709 | 27 | 223 | 5.259259 | 0.518519 | 0.253521 | 0.225352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.251121 | 223 | 10 | 53 | 22.3 | 0.850299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
5d13b42fa80875f1745baafa3ddd6a92242470f8 | 26 | py | Python | trump/extensions/source/tx-pydatacsv/__init__.py | Equitable/trump | a2802692bc642fa32096374159eea7ceca2947b4 | [
"BSD-3-Clause"
] | 8 | 2015-03-14T13:09:46.000Z | 2020-08-29T17:49:52.000Z | trump/extensions/source/tx-pydatacsv/__init__.py | Equitable/trump | a2802692bc642fa32096374159eea7ceca2947b4 | [
"BSD-3-Clause"
] | 64 | 2015-03-14T12:14:17.000Z | 2015-08-15T12:31:42.000Z | trump/extensions/source/tx-pydatacsv/__init__.py | Equitable/trump | a2802692bc642fa32096374159eea7ceca2947b4 | [
"BSD-3-Clause"
] | 10 | 2015-03-14T12:18:02.000Z | 2022-01-18T21:44:27.000Z | from pydatacsvext import * | 26 | 26 | 0.846154 | 3 | 26 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 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 |
5d34bdf8c26401b8c2b4f150fcd4e3c91e58abee | 368 | py | Python | rvk_simulator/rvk-simulator/src/controlvalve.py | N5GEH/n5geh.services.rvk_simulator | 4a2c2882ddfedd7fcb260be3a86b9088f29b17c6 | [
"MIT"
] | null | null | null | rvk_simulator/rvk-simulator/src/controlvalve.py | N5GEH/n5geh.services.rvk_simulator | 4a2c2882ddfedd7fcb260be3a86b9088f29b17c6 | [
"MIT"
] | null | null | null | rvk_simulator/rvk-simulator/src/controlvalve.py | N5GEH/n5geh.services.rvk_simulator | 4a2c2882ddfedd7fcb260be3a86b9088f29b17c6 | [
"MIT"
] | null | null | null |
########################################################################
class ThreeWayControlValve:
# constructor method with instance variables
def __init__(self, hub_position):
self.hub_position = hub_position
def set_hub(self, new_position):
self.hub_position = new_position
def ... | 24.533333 | 72 | 0.565217 | 36 | 368 | 5.416667 | 0.444444 | 0.282051 | 0.307692 | 0.235897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190217 | 368 | 14 | 73 | 26.285714 | 0.654362 | 0.11413 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.142857 | 0.714286 | 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 |
5398d0ff02b7c164dfb4e6290dde5f20bce73bfa | 23 | py | Python | src/searchnets/utils/__init__.py | NickleDave/visual-search-nets | 0d89e6eb00a97bd41cf037c18dc72b8759f7e012 | [
"BSD-3-Clause"
] | 5 | 2019-03-03T22:24:01.000Z | 2021-05-17T15:30:02.000Z | src/searchnets/utils/__init__.py | NickleDave/visual-search-nets | 0d89e6eb00a97bd41cf037c18dc72b8759f7e012 | [
"BSD-3-Clause"
] | 62 | 2019-02-04T18:55:26.000Z | 2021-07-27T03:24:16.000Z | src/searchnets/utils/__init__.py | NickleDave/visual-search-nets | 0d89e6eb00a97bd41cf037c18dc72b8759f7e012 | [
"BSD-3-Clause"
] | null | null | null | from . import general
| 7.666667 | 21 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 23 | 2 | 22 | 11.5 | 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 |
54dda175a11fe565d42ffa12c040ebefcac5dad4 | 74,929 | py | Python | lrs/tests/AuthTests.py | sponge-learning/ADL_LRS | 0a7e8146bf72376802f84113792a4180c7a86d03 | [
"Apache-2.0"
] | null | null | null | lrs/tests/AuthTests.py | sponge-learning/ADL_LRS | 0a7e8146bf72376802f84113792a4180c7a86d03 | [
"Apache-2.0"
] | null | null | null | lrs/tests/AuthTests.py | sponge-learning/ADL_LRS | 0a7e8146bf72376802f84113792a4180c7a86d03 | [
"Apache-2.0"
] | 3 | 2021-01-14T12:51:24.000Z | 2022-03-15T17:11:11.000Z | import json
import base64
import uuid
import urllib
import hashlib
from datetime import datetime, timedelta
from django.test import TestCase
from django.core.urlresolvers import reverse
from django.utils.timezone import utc
from django.conf import settings
from ..models import Statement, Agent, Verb, Activity, SubSta... | 66.603556 | 240 | 0.64054 | 8,735 | 74,929 | 5.362679 | 0.06743 | 0.07365 | 0.041885 | 0.0605 | 0.827765 | 0.794633 | 0.75356 | 0.717354 | 0.672032 | 0.640288 | 0 | 0.018852 | 0.171723 | 74,929 | 1,125 | 241 | 66.603556 | 0.735925 | 0.01771 | 0 | 0.402373 | 0 | 0.003236 | 0.316495 | 0.036178 | 0 | 0 | 0 | 0 | 0.317152 | 0 | null | null | 0.020496 | 0.014024 | null | null | 0.001079 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
54def8381a9d158f25ce1700c0f632a59c7ef8b5 | 2,135 | py | Python | ibm_i/datadog_checks/ibm_i/config_models/defaults.py | OuesFa/integrations-core | 0ffe4ca306580a2e775b515152384034c2dfdc03 | [
"BSD-3-Clause"
] | null | null | null | ibm_i/datadog_checks/ibm_i/config_models/defaults.py | OuesFa/integrations-core | 0ffe4ca306580a2e775b515152384034c2dfdc03 | [
"BSD-3-Clause"
] | null | null | null | ibm_i/datadog_checks/ibm_i/config_models/defaults.py | OuesFa/integrations-core | 0ffe4ca306580a2e775b515152384034c2dfdc03 | [
"BSD-3-Clause"
] | null | null | null | # (C) Datadog, Inc. 2021-present
# All rights reserved
# Licensed under a 3-clause BSD style license (see LICENSE)
# This file is autogenerated.
# To change this file you should edit assets/configuration/spec.yaml and then run the following commands:
# ddev -x validate config -s <INTEGRATION_NAME>
# ddev -x va... | 22.956989 | 105 | 0.728806 | 283 | 2,135 | 5.222615 | 0.360424 | 0.250338 | 0.194858 | 0.135318 | 0.449256 | 0.392422 | 0.34912 | 0.34912 | 0.34912 | 0.317997 | 0 | 0.009075 | 0.174239 | 2,135 | 92 | 106 | 23.206522 | 0.829268 | 0.159251 | 0 | 0.234043 | 1 | 0 | 0.098489 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.382979 | false | 0.021277 | 0.021277 | 0.382979 | 0.787234 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0733029afbb2c22e1af63d6a9fd161526d4a5f0a | 83 | py | Python | dynamicadmin/tests/tests_bundle_app/models.py | seht/django-dynamic-admin | 5b476da2875ef182339a07ae603bbcf5fa1d9adc | [
"BSD-3-Clause"
] | 1 | 2019-10-17T11:53:22.000Z | 2019-10-17T11:53:22.000Z | dynamicadmin/tests/tests_bundle_app/models.py | seht/django-dynamic-admin | 5b476da2875ef182339a07ae603bbcf5fa1d9adc | [
"BSD-3-Clause"
] | null | null | null | dynamicadmin/tests/tests_bundle_app/models.py | seht/django-dynamic-admin | 5b476da2875ef182339a07ae603bbcf5fa1d9adc | [
"BSD-3-Clause"
] | null | null | null | from dynamicadmin.models.bundle import Bundle
class TestBundle(Bundle):
pass
| 13.833333 | 45 | 0.783133 | 10 | 83 | 6.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156627 | 83 | 5 | 46 | 16.6 | 0.928571 | 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 |
075f6e770b752a04ce6d6a91056879d660757e4e | 184 | py | Python | tests/test_showcallstack.py | asweigart/showcallstack | 3a58769a292cc96fcf3f9bf121022be027d11d7f | [
"BSD-3-Clause"
] | 5 | 2020-10-29T07:18:27.000Z | 2020-10-30T11:45:04.000Z | tests/test_showcallstack.py | asweigart/showcallstack | 3a58769a292cc96fcf3f9bf121022be027d11d7f | [
"BSD-3-Clause"
] | null | null | null | tests/test_showcallstack.py | asweigart/showcallstack | 3a58769a292cc96fcf3f9bf121022be027d11d7f | [
"BSD-3-Clause"
] | null | null | null | from __future__ import division, print_function
import pytest
import showcallstack
def test_basic():
pass # TODO - add unit tests
if __name__ == "__main__":
pytest.main()
| 15.333333 | 47 | 0.728261 | 23 | 184 | 5.217391 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 184 | 11 | 48 | 16.727273 | 0.810811 | 0.11413 | 0 | 0 | 0 | 0 | 0.049689 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 1 | 0.142857 | true | 0.142857 | 0.428571 | 0 | 0.571429 | 0.142857 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
075fb0e62849f4b3bfb31c7f7cb8434191f679aa | 62 | py | Python | ir_attachment_s3/models/__init__.py | agenterpgmbh/misc-addons | 27e36d119b1e73089a2ebfcd8d4cfc706c8f1f41 | [
"MIT"
] | null | null | null | ir_attachment_s3/models/__init__.py | agenterpgmbh/misc-addons | 27e36d119b1e73089a2ebfcd8d4cfc706c8f1f41 | [
"MIT"
] | 1 | 2020-05-03T04:27:29.000Z | 2020-05-03T04:27:29.000Z | ir_attachment_s3/models/__init__.py | eneldoserrata/misc-addons | 6f3b94d8a71d603d9ad449f96edfc66385e78080 | [
"MIT"
] | 2 | 2020-05-09T02:08:59.000Z | 2022-03-21T06:37:15.000Z | from . import ir_attachment
from . import res_config_settings
| 20.666667 | 33 | 0.83871 | 9 | 62 | 5.444444 | 0.777778 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 62 | 2 | 34 | 31 | 0.907407 | 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 |
4afa7c5c57a25fb5165b8dab1cc8ebf97c4247ea | 93 | py | Python | build/lib/btreceptor/__init__.py | michael-swift/btreceptor | 78ffd7ae59ac87659ffc54bc14da945975ac90bf | [
"Apache-2.0"
] | null | null | null | build/lib/btreceptor/__init__.py | michael-swift/btreceptor | 78ffd7ae59ac87659ffc54bc14da945975ac90bf | [
"Apache-2.0"
] | null | null | null | build/lib/btreceptor/__init__.py | michael-swift/btreceptor | 78ffd7ae59ac87659ffc54bc14da945975ac90bf | [
"Apache-2.0"
] | 1 | 2020-07-19T20:25:40.000Z | 2020-07-19T20:25:40.000Z | from . import parsing
from . import sequences
from . import clustering
from . import drawing
| 18.6 | 24 | 0.784946 | 12 | 93 | 6.083333 | 0.5 | 0.547945 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172043 | 93 | 4 | 25 | 23.25 | 0.948052 | 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 |
ab469fc37f717f6194ba2eb99b66612205a534ff | 20 | py | Python | djangular/config/angularapp_template/tests/__init__.py | jianglb-alibaba/djangular-0.2.7 | d1e2d188cf4ab8ae757bd9bc3069ffef8f0fc753 | [
"Apache-2.0"
] | null | null | null | djangular/config/angularapp_template/tests/__init__.py | jianglb-alibaba/djangular-0.2.7 | d1e2d188cf4ab8ae757bd9bc3069ffef8f0fc753 | [
"Apache-2.0"
] | 3 | 2020-02-12T00:28:52.000Z | 2021-06-10T20:05:09.000Z | djangular/config/angularapp_template/tests/__init__.py | jianglb-alibaba/djangular-0.2.7 | d1e2d188cf4ab8ae757bd9bc3069ffef8f0fc753 | [
"Apache-2.0"
] | null | null | null | from simple import * | 20 | 20 | 0.8 | 3 | 20 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ab63d8d14626fea92597071e77badf0c5802c25f | 3,743 | py | Python | dstools/ml/cross_val_custom.py | DorimenUkraine/ds-tools | 34454a6054b9a81358f392f996b41f38895b15fd | [
"Apache-2.0"
] | null | null | null | dstools/ml/cross_val_custom.py | DorimenUkraine/ds-tools | 34454a6054b9a81358f392f996b41f38895b15fd | [
"Apache-2.0"
] | null | null | null | dstools/ml/cross_val_custom.py | DorimenUkraine/ds-tools | 34454a6054b9a81358f392f996b41f38895b15fd | [
"Apache-2.0"
] | null | null | null | import numpy as np
import pandas as pd
from sklearn.model_selection import KFold,StratifiedKFold
def cross_validation_score_statement(estimator,X,y,scoring,n_splits=5,statement=None,random_state=0):
"""
Evaluate a score by cross-validation.
The fit method will be performed on the entire train subset at eac... | 39.4 | 110 | 0.66444 | 519 | 3,743 | 4.684008 | 0.186898 | 0.040313 | 0.037022 | 0.023036 | 0.861785 | 0.780749 | 0.762238 | 0.762238 | 0.704237 | 0.704237 | 0 | 0.001412 | 0.243388 | 3,743 | 94 | 111 | 39.819149 | 0.856992 | 0.450975 | 0 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.078947 | 0 | 0.184211 | 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 |
db5b5684b46930ad9be0aba21be7e472122b3c22 | 75 | py | Python | bot/seasons/evergreen/__init__.py | martmists/seasonalbot | d81f6ba86eecea72bf8a980995333af3046e9680 | [
"MIT"
] | null | null | null | bot/seasons/evergreen/__init__.py | martmists/seasonalbot | d81f6ba86eecea72bf8a980995333af3046e9680 | [
"MIT"
] | null | null | null | bot/seasons/evergreen/__init__.py | martmists/seasonalbot | d81f6ba86eecea72bf8a980995333af3046e9680 | [
"MIT"
] | null | null | null | from bot.seasons import SeasonBase
class Evergreen(SeasonBase):
pass
| 12.5 | 34 | 0.773333 | 9 | 75 | 6.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173333 | 75 | 5 | 35 | 15 | 0.935484 | 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 |
db766e7956dff111b2ff98a8e63492b82edf882b | 49 | py | Python | newsapi/__init__.py | amitshankar97/real-news | fb8272b24475ef67534f3943649e4517f3a09dd6 | [
"0BSD"
] | 2 | 2020-05-20T23:10:31.000Z | 2020-12-09T13:00:06.000Z | newsapi/__init__.py | amitshankar97/real-news | fb8272b24475ef67534f3943649e4517f3a09dd6 | [
"0BSD"
] | 3 | 2020-04-27T18:13:30.000Z | 2020-04-27T18:16:00.000Z | flask/lib/python3.6/site-packages/newsapi/__init__.py | JOFLIX/grapevines | 34576e01184570d79cc140b42ffb71d322132da6 | [
"MIT",
"Unlicense"
] | null | null | null | from newsapi.newsapi_client import NewsApiClient
| 24.5 | 48 | 0.897959 | 6 | 49 | 7.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.955556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
db84862778b4403d602cc868e2cc13030df7ef74 | 1,503 | py | Python | rvpvp/isa/rvv/vxxx_vxm.py | ultrafive/riscv-pvp | 843e38422c3d545352b955764927d5e7847e5453 | [
"Unlicense"
] | 5 | 2021-05-10T09:57:00.000Z | 2021-10-05T14:39:20.000Z | rvpvp/isa/rvv/vxxx_vxm.py | ultrafive/riscv-pvp | 843e38422c3d545352b955764927d5e7847e5453 | [
"Unlicense"
] | null | null | null | rvpvp/isa/rvv/vxxx_vxm.py | ultrafive/riscv-pvp | 843e38422c3d545352b955764927d5e7847e5453 | [
"Unlicense"
] | 1 | 2021-05-14T20:24:11.000Z | 2021-05-14T20:24:11.000Z | from ...isa.inst import *
import numpy as np
class Vadc_vxm(Inst):
name = 'vadc.vxm'
# vadc.vxm vd, vs2, rs1, v0
def golden(self):
if self['vl']==0:
return self['ori']
result = self['ori'].copy()
vstart = self['vstart'] if 'vstart' in self else 0
mask = ... | 33.4 | 80 | 0.530273 | 206 | 1,503 | 3.854369 | 0.18932 | 0.06801 | 0.041562 | 0.041562 | 0.802267 | 0.802267 | 0.802267 | 0.802267 | 0.802267 | 0.802267 | 0 | 0.02262 | 0.294079 | 1,503 | 44 | 81 | 34.159091 | 0.72573 | 0.055223 | 0 | 0.685714 | 0 | 0 | 0.103399 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085714 | false | 0 | 0.057143 | 0 | 0.485714 | 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 |
dbc0390b0b420b1cf6059101342c34caed99808f | 35 | py | Python | toolcache/cachetypes/base_cache/__init__.py | sslivkoff/toolcache | 62fb3441adb03fdee4fdbca14605f0ecec2ad44c | [
"Apache-2.0"
] | null | null | null | toolcache/cachetypes/base_cache/__init__.py | sslivkoff/toolcache | 62fb3441adb03fdee4fdbca14605f0ecec2ad44c | [
"Apache-2.0"
] | null | null | null | toolcache/cachetypes/base_cache/__init__.py | sslivkoff/toolcache | 62fb3441adb03fdee4fdbca14605f0ecec2ad44c | [
"Apache-2.0"
] | null | null | null | from .base_cache import BaseCache
| 11.666667 | 33 | 0.828571 | 5 | 35 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 2 | 34 | 17.5 | 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 |
dbd4a186d47812480f69f1a275ca89ffaf637086 | 89 | py | Python | python-analysers/src/test/resources/org/jetbrains/research/lupa/pythonAnalysis/imports/analysis/psi/fromImportStatementsData/in_2_several_star_imports.py | JetBrains-Research/Lupa | c105487621564c60cae17395bf32eb40868ceb89 | [
"Apache-2.0"
] | 16 | 2022-01-11T00:32:20.000Z | 2022-03-25T21:40:52.000Z | python-analysers/src/test/resources/org/jetbrains/research/lupa/pythonAnalysis/imports/analysis/psi/fromImportStatementsData/in_2_several_star_imports.py | nbirillo/Kotlin-Analysis | 73c3b8a59bf40ed932bb512f30b0ff31f251af40 | [
"Apache-2.0"
] | 12 | 2021-07-05T11:42:01.000Z | 2021-12-23T07:57:54.000Z | python-analysers/src/test/resources/org/jetbrains/research/lupa/pythonAnalysis/imports/analysis/psi/fromImportStatementsData/in_2_several_star_imports.py | nbirillo/Kotlin-Analysis | 73c3b8a59bf40ed932bb512f30b0ff31f251af40 | [
"Apache-2.0"
] | 3 | 2021-09-10T13:21:54.000Z | 2021-11-23T11:37:55.000Z | from math import *
from cmath import *
from plotly.express import *
from pandas import *
| 17.8 | 28 | 0.764045 | 13 | 89 | 5.230769 | 0.538462 | 0.441176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179775 | 89 | 4 | 29 | 22.25 | 0.931507 | 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 |
91563cce06082f01305869c8321f2eb5894825fe | 20 | py | Python | gdeck/__init__.py | damiiegregorio/gdeck | fca2857b88ea7fbc41d148ad7efee2456c5e4e21 | [
"MIT"
] | null | null | null | gdeck/__init__.py | damiiegregorio/gdeck | fca2857b88ea7fbc41d148ad7efee2456c5e4e21 | [
"MIT"
] | null | null | null | gdeck/__init__.py | damiiegregorio/gdeck | fca2857b88ea7fbc41d148ad7efee2456c5e4e21 | [
"MIT"
] | null | null | null | from .gdeck import * | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
916d0b9e00472ebd1f20673c9679d2260e4b26a2 | 9,533 | py | Python | galileo/tests/tf/test_neighbor.py | YaoPu2021/galileo | 0ebee2052bf78205f93f8cbbe0e2884095dd7af7 | [
"Apache-2.0"
] | 115 | 2021-09-09T03:01:58.000Z | 2022-03-30T10:46:26.000Z | galileo/tests/tf/test_neighbor.py | Hacky-DH/galileo | e4d5021f0287dc879730dfa287b9a056f152f712 | [
"Apache-2.0"
] | 1 | 2021-12-09T07:34:41.000Z | 2021-12-20T06:24:27.000Z | galileo/tests/tf/test_neighbor.py | Hacky-DH/galileo | e4d5021f0287dc879730dfa287b9a056f152f712 | [
"Apache-2.0"
] | 28 | 2021-09-10T08:47:20.000Z | 2022-03-17T07:29:26.000Z | # Copyright 2020 JD.com, Inc. Galileo Authors. 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
#
# Unless required by a... | 40.565957 | 80 | 0.664009 | 1,300 | 9,533 | 4.65 | 0.108462 | 0.044665 | 0.042349 | 0.03871 | 0.823987 | 0.810753 | 0.787428 | 0.775517 | 0.758809 | 0.706038 | 0 | 0.045352 | 0.206651 | 9,533 | 234 | 81 | 40.739316 | 0.753934 | 0.069863 | 0 | 0.622951 | 0 | 0 | 0.045639 | 0.02779 | 0 | 0 | 0 | 0 | 0.289617 | 1 | 0.071038 | false | 0 | 0.032787 | 0 | 0.103825 | 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 |
9178cf2ff8c985edcc7730680e5fd14e612ee056 | 39 | py | Python | winch/__init__.py | dragonrobotics/2018-PowerUp | 0fb6be22420b1488ca3d6abb04588e8564d768b9 | [
"MIT"
] | 2 | 2018-02-08T23:29:21.000Z | 2018-12-27T22:45:12.000Z | winch/__init__.py | dragonrobotics/2018-PowerUp | 0fb6be22420b1488ca3d6abb04588e8564d768b9 | [
"MIT"
] | 2 | 2018-02-10T20:25:16.000Z | 2018-02-20T12:47:33.000Z | winch/__init__.py | dragonrobotics/2018-PowerUp | 0fb6be22420b1488ca3d6abb04588e8564d768b9 | [
"MIT"
] | 8 | 2018-01-15T14:53:52.000Z | 2018-02-14T22:34:30.000Z | from .winch import Winch # noqa: F401
| 19.5 | 38 | 0.717949 | 6 | 39 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0.205128 | 39 | 1 | 39 | 39 | 0.806452 | 0.25641 | 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 |
917cbf26fe31c646cac2e38d3520b360dfd7abe7 | 150 | py | Python | 01/HelloWorld.py | whuang022ai/AI-Tutorial-Python-Data-Science-Basic | 63689f8d1b2f2b4eedfcc913f7d61f17260f4713 | [
"Apache-2.0"
] | 1 | 2019-02-16T07:05:00.000Z | 2019-02-16T07:05:00.000Z | 01/HelloWorld.py | whuang022ai/AI-Tutorial-Python-Data-Science-Basic | 63689f8d1b2f2b4eedfcc913f7d61f17260f4713 | [
"Apache-2.0"
] | null | null | null | 01/HelloWorld.py | whuang022ai/AI-Tutorial-Python-Data-Science-Basic | 63689f8d1b2f2b4eedfcc913f7d61f17260f4713 | [
"Apache-2.0"
] | 1 | 2019-02-16T07:18:22.000Z | 2019-02-16T07:18:22.000Z |
print('Hello World') # print the 'Hello World\n' py3
print('Hello ', end="") # print the 'Hello ' py3
print('World ', end="") # print the 'World' py3 | 37.5 | 52 | 0.633333 | 23 | 150 | 4.130435 | 0.304348 | 0.252632 | 0.273684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024 | 0.166667 | 150 | 4 | 53 | 37.5 | 0.736 | 0.493333 | 0 | 0 | 0 | 0 | 0.319444 | 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 |
917fcfc1ea632a8fac6b190edc4a018a7ea98bb9 | 331 | py | Python | rasa_addons/core/channels/__init__.py | Amirali-Shirkh/rasa-for-botfront | 36aa24ad31241c5d1a180bbe34e1c8c50da40ff7 | [
"Apache-2.0"
] | 90 | 2018-04-11T11:54:57.000Z | 2019-05-26T09:52:40.000Z | rasa_addons/core/channels/__init__.py | Amirali-Shirkh/rasa-for-botfront | 36aa24ad31241c5d1a180bbe34e1c8c50da40ff7 | [
"Apache-2.0"
] | 25 | 2018-05-28T11:08:58.000Z | 2019-04-07T15:12:45.000Z | rasa_addons/core/channels/__init__.py | Amirali-Shirkh/rasa-for-botfront | 36aa24ad31241c5d1a180bbe34e1c8c50da40ff7 | [
"Apache-2.0"
] | 22 | 2018-06-06T19:16:42.000Z | 2019-05-31T14:36:28.000Z | from rasa_addons.core.channels.facebook_messenger import FBMessengerInput
from rasa_addons.core.channels.rest import BotfrontRestInput
from rasa_addons.core.channels.rest_plus import BotfrontRestPlusInput
from rasa_addons.core.channels.webchat import WebchatInput
from rasa_addons.core.channels.webchat_plus import Webch... | 66.2 | 73 | 0.897281 | 43 | 331 | 6.72093 | 0.372093 | 0.138408 | 0.242215 | 0.311419 | 0.525952 | 0.435986 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057402 | 331 | 5 | 74 | 66.2 | 0.926282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91b7a317e5857e6924cf9bca4e03635a5a450952 | 202 | py | Python | Chapter 12/ch12_2.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 12/ch12_2.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 12/ch12_2.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | class Human:
def __init__(self, name, age):
self.name = name
self.salary = age
def display(self):
print ("Name : ", self.name, ", Age: ", self.age)
e1 = Human("Ashu", 30)
e1.display()
| 20.2 | 52 | 0.594059 | 29 | 202 | 4 | 0.448276 | 0.206897 | 0.189655 | 0.258621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.227723 | 202 | 9 | 53 | 22.444444 | 0.717949 | 0 | 0 | 0 | 0 | 0 | 0.093264 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.375 | 0.125 | 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 |
91c486f7c7e1bfa6247d1a4d7f3024a5e55ba585 | 3,076 | py | Python | deepfence_backend/utils/es_query_utils.py | riddopic/ThreatMapper | 59bf7b5198b7fad609c78abfaf34887ef73ea652 | [
"Apache-2.0"
] | null | null | null | deepfence_backend/utils/es_query_utils.py | riddopic/ThreatMapper | 59bf7b5198b7fad609c78abfaf34887ef73ea652 | [
"Apache-2.0"
] | null | null | null | deepfence_backend/utils/es_query_utils.py | riddopic/ThreatMapper | 59bf7b5198b7fad609c78abfaf34887ef73ea652 | [
"Apache-2.0"
] | null | null | null | from utils.constants import CVE_INDEX, ES_TERMS_AGGR_SIZE, SECRET_SCAN_INDEX, CVE_ES_TYPE
from utils.esconn import ESConn
def get_latest_cve_scan_id():
# Deprecated: use utils.helper.get_recent_scan_ids
aggs = {
"cve_container_image": {
"terms": {
"field": "cve_container_im... | 33.802198 | 90 | 0.470741 | 289 | 3,076 | 4.567474 | 0.16609 | 0.1 | 0.060606 | 0.056818 | 0.807576 | 0.807576 | 0.807576 | 0.807576 | 0.807576 | 0.806061 | 0 | 0.001142 | 0.430429 | 3,076 | 90 | 91 | 34.177778 | 0.752283 | 0.031534 | 0 | 0.595238 | 0 | 0 | 0.165323 | 0.051411 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02381 | false | 0 | 0.02381 | 0 | 0.071429 | 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 |
91dbdce6fce8c76018752a14e02e9ae88c1c6196 | 219 | py | Python | ginga/canvas/mixins.py | Cadair/ginga | 5afdd8824f27c7ae7d8d82b5013b0ff0068bd8b8 | [
"BSD-3-Clause"
] | null | null | null | ginga/canvas/mixins.py | Cadair/ginga | 5afdd8824f27c7ae7d8d82b5013b0ff0068bd8b8 | [
"BSD-3-Clause"
] | 20 | 2021-05-03T18:02:23.000Z | 2022-03-12T12:01:04.000Z | Lib/site-packages/ginga/canvas/mixins.py | fochoao/cpython | 3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9 | [
"bzip2-1.0.6",
"0BSD"
] | null | null | null | #
# convenience module for importing canvas mixin classes
#
from ginga.canvas.CompoundMixin import CompoundMixin
from ginga.canvas.CanvasMixin import CanvasMixin
from ginga.canvas.DrawingMixin import DrawingMixin
#END
| 24.333333 | 55 | 0.844749 | 26 | 219 | 7.115385 | 0.538462 | 0.145946 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 219 | 8 | 56 | 27.375 | 0.948718 | 0.255708 | 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 |
37fe2fc5682d1e6f2c7bfc6771aaff6b6b910385 | 67 | py | Python | b_cfn_opensearch_index_tests/integration/fixtures/__init__.py | gkazla/B.CfnOpenSearchIndex | 4d40fc8beff8a719729994e8e626b3dfca08eaf5 | [
"Apache-2.0"
] | null | null | null | b_cfn_opensearch_index_tests/integration/fixtures/__init__.py | gkazla/B.CfnOpenSearchIndex | 4d40fc8beff8a719729994e8e626b3dfca08eaf5 | [
"Apache-2.0"
] | null | null | null | b_cfn_opensearch_index_tests/integration/fixtures/__init__.py | gkazla/B.CfnOpenSearchIndex | 4d40fc8beff8a719729994e8e626b3dfca08eaf5 | [
"Apache-2.0"
] | null | null | null | from .opensearch_client import *
from .generate_documents import *
| 22.333333 | 33 | 0.820896 | 8 | 67 | 6.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 67 | 2 | 34 | 33.5 | 0.898305 | 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 |
534cc902393cfadea68951b6575369f7c35b02de | 71 | py | Python | backend/movieassets/helpers.py | lahim/interview-starwars | 643eb0ad147faef1faf02ab2a88e130e4f3dcbaa | [
"MIT"
] | null | null | null | backend/movieassets/helpers.py | lahim/interview-starwars | 643eb0ad147faef1faf02ab2a88e130e4f3dcbaa | [
"MIT"
] | null | null | null | backend/movieassets/helpers.py | lahim/interview-starwars | 643eb0ad147faef1faf02ab2a88e130e4f3dcbaa | [
"MIT"
] | null | null | null | from pathlib import Path
def path(p: Path) -> str:
return str(p)
| 11.833333 | 25 | 0.647887 | 12 | 71 | 3.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.239437 | 71 | 5 | 26 | 14.2 | 0.851852 | 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 |
5360f245bf682a86ca6026138a96861cebe1efd5 | 25 | py | Python | mcdb/__main__.py | Arcensoth/mcdb | ad0b9422235027c0062512c26f2c18fb7c14fcf5 | [
"MIT"
] | 1 | 2018-09-23T05:16:59.000Z | 2018-09-23T05:16:59.000Z | mcdb/__main__.py | Arcensoth/mcdb | ad0b9422235027c0062512c26f2c18fb7c14fcf5 | [
"MIT"
] | null | null | null | mcdb/__main__.py | Arcensoth/mcdb | ad0b9422235027c0062512c26f2c18fb7c14fcf5 | [
"MIT"
] | null | null | null | from mcdb.cli import cli
| 12.5 | 24 | 0.8 | 5 | 25 | 4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
727ad311418c82707445d8624f9760e58e320a57 | 4,094 | py | Python | tests/unittests/test_postgresqlpoll.py | novaweb-mobi/nova-api | 2887118ff10d18f366ce661262bd25bb96648470 | [
"MIT"
] | 3 | 2020-09-08T23:33:41.000Z | 2021-12-24T20:50:13.000Z | tests/unittests/test_postgresqlpoll.py | novaweb-mobi/nova-api | 2887118ff10d18f366ce661262bd25bb96648470 | [
"MIT"
] | 39 | 2020-07-29T12:34:14.000Z | 2022-03-05T16:50:29.000Z | tests/unittests/test_postgresqlpoll.py | novaweb-mobi/nova-api | 2887118ff10d18f366ce661262bd25bb96648470 | [
"MIT"
] | 1 | 2021-03-05T19:41:58.000Z | 2021-03-05T19:41:58.000Z | from mock import call
from pytest import fixture
from nova_api.persistence.postgresql_pool import PostgreSQLPool
class TestPostgreSQLPoll:
@fixture
def pooling_mock(self, mocker):
return mocker.patch('nova_api.persistence.postgresql_pool.pool')
def test_get_instance_not_exist(self, pooling_mock... | 43.553191 | 79 | 0.538349 | 390 | 4,094 | 5.312821 | 0.146154 | 0.065637 | 0.07529 | 0.125965 | 0.802124 | 0.760135 | 0.725386 | 0.716699 | 0.669402 | 0.639479 | 0 | 0.008587 | 0.374206 | 4,094 | 93 | 80 | 44.021505 | 0.800156 | 0 | 0 | 0.658537 | 0 | 0 | 0.170005 | 0.043723 | 0 | 0 | 0 | 0 | 0.109756 | 1 | 0.097561 | false | 0.158537 | 0.036585 | 0.012195 | 0.158537 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
727b78b3d59268fa33d22bcc539dbb030dfc6fe1 | 1,648 | py | Python | python/_207.py | alanlou/leetcode-solutions | 42e87a50748b481209fde4b79d5d65169a425507 | [
"MIT"
] | 3 | 2021-01-03T01:17:18.000Z | 2021-12-15T06:17:15.000Z | python/_207.py | alanlou/leetcode-solutions | 42e87a50748b481209fde4b79d5d65169a425507 | [
"MIT"
] | null | null | null | python/_207.py | alanlou/leetcode-solutions | 42e87a50748b481209fde4b79d5d65169a425507 | [
"MIT"
] | 1 | 2021-09-29T11:07:23.000Z | 2021-09-29T11:07:23.000Z | # Solution 1. topo sort using BFS
# O(N) / O(N)
class Solution:
def canFinish(self, numCourses: int, prerequisites: List[List[int]]) -> bool:
# construct graph
graph = {i: [] for i in range(numCourses)}
in_degree = {i: 0 for i in range(numCourses)}
for u, v in prerequisites:
... | 32.96 | 81 | 0.496966 | 209 | 1,648 | 3.84689 | 0.191388 | 0.119403 | 0.044776 | 0.08209 | 0.788557 | 0.788557 | 0.788557 | 0.788557 | 0.788557 | 0.788557 | 0 | 0.014113 | 0.398058 | 1,648 | 50 | 82 | 32.96 | 0.796371 | 0.097694 | 0 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0 | 0 | 0.1875 | 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 |
72840d2036585d7b83b2266ffabf1bb5ba349211 | 1,693 | py | Python | built-in/TensorFlow/Official/cv/image_classification/ResnetVariant_for_TensorFlow/automl/evaluate_service/config.py | Ascend/modelzoo | f018cfed33dbb1cc2110b9ea2e233333f71cc509 | [
"Apache-2.0"
] | 12 | 2020-12-13T08:34:24.000Z | 2022-03-20T15:17:17.000Z | built-in/TensorFlow/Official/cv/image_classification/ResnetVariant_for_TensorFlow/automl/evaluate_service/config.py | Ascend/modelzoo | f018cfed33dbb1cc2110b9ea2e233333f71cc509 | [
"Apache-2.0"
] | 1 | 2022-01-20T03:11:05.000Z | 2022-01-20T06:53:39.000Z | built-in/TensorFlow/Official/cv/image_classification/ResnetVariant_for_TensorFlow/automl/evaluate_service/config.py | Ascend/modelzoo | f018cfed33dbb1cc2110b9ea2e233333f71cc509 | [
"Apache-2.0"
] | 2 | 2021-07-10T12:40:46.000Z | 2021-12-17T07:55:15.000Z | # coding=utf-8
# Copyright 2018 The TensorFlow Authors. 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
#
# Unless requ... | 43.410256 | 109 | 0.692853 | 241 | 1,693 | 4.825726 | 0.439834 | 0.103181 | 0.044712 | 0.05503 | 0.737747 | 0.715391 | 0.715391 | 0.715391 | 0.715391 | 0.715391 | 0 | 0.034028 | 0.149439 | 1,693 | 38 | 110 | 44.552632 | 0.773611 | 0.876551 | 0 | 0 | 0 | 0 | 0.196532 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
72a97bd2720347410531d7069722789dc608abc2 | 1,691 | py | Python | pyairwatch/mdm/mdm.py | llxp/PyVMwareAirWatch | 5953f3f21b0fece20f2ec027fef42d8a3eb29de1 | [
"MIT"
] | 2 | 2021-04-20T03:41:03.000Z | 2021-09-23T10:56:11.000Z | pyairwatch/mdm/mdm.py | llxp/PyVMwareAirWatch | 5953f3f21b0fece20f2ec027fef42d8a3eb29de1 | [
"MIT"
] | null | null | null | pyairwatch/mdm/mdm.py | llxp/PyVMwareAirWatch | 5953f3f21b0fece20f2ec027fef42d8a3eb29de1 | [
"MIT"
] | 1 | 2021-09-23T12:45:25.000Z | 2021-09-23T12:45:25.000Z | class MDM(object):
"""
Base MDM class
"""
def __init__(self, client):
self.client = client
def _get(self, module='mdm', path=None, version=None, params=None,
header=None):
"""GET requests for base mdm endpoints"""
return self.client.get(module=module, path=path... | 44.5 | 106 | 0.575991 | 196 | 1,691 | 4.923469 | 0.127551 | 0.072539 | 0.067358 | 0.088083 | 0.856995 | 0.856995 | 0.856995 | 0.856995 | 0.678756 | 0.678756 | 0 | 0 | 0.303962 | 1,691 | 37 | 107 | 45.702703 | 0.819881 | 0.09521 | 0 | 0.375 | 0 | 0 | 0.01004 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.041667 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f4143afc129936c009fe216fb380b9d039ffc205 | 4,072 | py | Python | Example_Cases/Evac_Stairs/Scripts/evac_flow_three_parameter_models.py | koverholt/bayes-fire | 4333cdf7b93bf77d8e021f0c4a1931a77056534d | [
"BSD-3-Clause"
] | 6 | 2016-06-19T12:44:22.000Z | 2021-12-21T07:01:38.000Z | Example_Cases/Evac_Stairs/Scripts/evac_flow_three_parameter_models.py | koverholt/bayes-fire | 4333cdf7b93bf77d8e021f0c4a1931a77056534d | [
"BSD-3-Clause"
] | null | null | null | Example_Cases/Evac_Stairs/Scripts/evac_flow_three_parameter_models.py | koverholt/bayes-fire | 4333cdf7b93bf77d8e021f0c4a1931a77056534d | [
"BSD-3-Clause"
] | 2 | 2017-10-15T02:37:25.000Z | 2022-03-04T16:22:44.000Z | #!/usr/bin/env python
"""Module for setting up statistical models"""
from __future__ import division
import numpy as np
import pymc as mc
import evac_flow_three_parameter_graphics as graphics
import data_evac
def model1():
"""
PyMC configuration with Model 1.
"""
# Priors
theta = mc.Uniform('th... | 33.105691 | 77 | 0.522839 | 468 | 4,072 | 4.354701 | 0.166667 | 0.054956 | 0.064769 | 0.141806 | 0.847399 | 0.834642 | 0.832679 | 0.832679 | 0.832679 | 0.823847 | 0 | 0.055789 | 0.357318 | 4,072 | 122 | 78 | 33.377049 | 0.722965 | 0.122544 | 0 | 0.641026 | 0 | 0 | 0.052181 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.064103 | 0.038462 | 0.217949 | 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 |
f42e222544a5922ec0bd84ade388663fcb6d9cfd | 34 | py | Python | pystaffo/__init__.py | Lcapelli/PyStaffo | f115d4002f30c3a1802069f36b5c0616da78fe8b | [
"MIT"
] | 2 | 2018-08-28T16:33:28.000Z | 2022-03-03T03:24:22.000Z | pystaffo/__init__.py | Lcapelli/PyStaffo | f115d4002f30c3a1802069f36b5c0616da78fe8b | [
"MIT"
] | null | null | null | pystaffo/__init__.py | Lcapelli/PyStaffo | f115d4002f30c3a1802069f36b5c0616da78fe8b | [
"MIT"
] | 2 | 2019-06-10T08:42:30.000Z | 2019-06-13T08:59:20.000Z | from .staffo import StaffoAccount
| 17 | 33 | 0.852941 | 4 | 34 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f46c339c9abbc490bf93eaede0de1fe1c9072c93 | 71 | py | Python | networks/__init__.py | wonkyunglee/MPNet | 3a6821a88a5e3db5bd97121761dbb361d9518bc2 | [
"MIT"
] | null | null | null | networks/__init__.py | wonkyunglee/MPNet | 3a6821a88a5e3db5bd97121761dbb361d9518bc2 | [
"MIT"
] | null | null | null | networks/__init__.py | wonkyunglee/MPNet | 3a6821a88a5e3db5bd97121761dbb361d9518bc2 | [
"MIT"
] | null | null | null | import networks.deeplabv3
import networks.pspnet
import networks.mpnet
| 17.75 | 25 | 0.873239 | 9 | 71 | 6.888889 | 0.555556 | 0.677419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.084507 | 71 | 3 | 26 | 23.666667 | 0.938462 | 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 |
be3ec3f998bc09640067576984730341926800be | 45 | py | Python | webapp/api/__init__.py | flyneat/microblog | 5703d20355bd2b596f1397fa26d7058aa2705e60 | [
"Apache-2.0"
] | null | null | null | webapp/api/__init__.py | flyneat/microblog | 5703d20355bd2b596f1397fa26d7058aa2705e60 | [
"Apache-2.0"
] | null | null | null | webapp/api/__init__.py | flyneat/microblog | 5703d20355bd2b596f1397fa26d7058aa2705e60 | [
"Apache-2.0"
] | null | null | null | from webapp.api import instruction, postfile
| 22.5 | 44 | 0.844444 | 6 | 45 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 1 | 45 | 45 | 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 |
be87079cbf8c5a8bdf2af2fea0c3581e906c3914 | 4,472 | py | Python | src/dcan/ScoreTest.py | DCAN-Labs/score-conners-3 | ad59627d4418491306c09830f76d1112d5dc83c3 | [
"BSD-3-Clause"
] | null | null | null | src/dcan/ScoreTest.py | DCAN-Labs/score-conners-3 | ad59627d4418491306c09830f76d1112d5dc83c3 | [
"BSD-3-Clause"
] | null | null | null | src/dcan/ScoreTest.py | DCAN-Labs/score-conners-3 | ad59627d4418491306c09830f76d1112d5dc83c3 | [
"BSD-3-Clause"
] | null | null | null | import unittest
import pandas as pd
from dcan.Score import do_total_scoring, get_t_score_from_raw_score
class ScoreTest(unittest.TestCase):
def test_do_total_scoring(self):
parents_score_file = "data/sample/inputdata_conners3parent.csv"
actual_results = do_total_scoring(parents_score_file, 9, "ma... | 50.247191 | 124 | 0.618292 | 643 | 4,472 | 4.004666 | 0.163297 | 0.075728 | 0.059806 | 0.025243 | 0.816311 | 0.79767 | 0.759223 | 0.759223 | 0.702524 | 0.659806 | 0 | 0.069533 | 0.224955 | 4,472 | 88 | 125 | 50.818182 | 0.673399 | 0.067755 | 0 | 0.547945 | 0 | 0 | 0.124159 | 0.073247 | 0 | 0 | 0 | 0 | 0.164384 | 1 | 0.09589 | false | 0 | 0.041096 | 0 | 0.150685 | 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 |
beb42b0e083330872f607549e756d2eda0676612 | 149,746 | py | Python | likeyoubot_icarus.py | dogfooter-master/dogfooter | e1e39375703fe3019af7976f97c44cf2cb7ca0fa | [
"MIT"
] | null | null | null | likeyoubot_icarus.py | dogfooter-master/dogfooter | e1e39375703fe3019af7976f97c44cf2cb7ca0fa | [
"MIT"
] | null | null | null | likeyoubot_icarus.py | dogfooter-master/dogfooter | e1e39375703fe3019af7976f97c44cf2cb7ca0fa | [
"MIT"
] | null | null | null | import likeyoubot_game as lybgame
import likeyoubot_icarus_scene as lybscene
from likeyoubot_configure import LYBConstant as lybconstant
import time
import sys
import tkinter
from tkinter import ttk
from tkinter import font
import copy
class LYBIcarus(lybgame.LYBGame):
work_list = [
'게임 시작',
'로그인',
'메인 퀘스트',... | 41.206935 | 172 | 0.744347 | 21,898 | 149,746 | 4.712439 | 0.031464 | 0.09144 | 0.098146 | 0.134951 | 0.958321 | 0.949105 | 0.945345 | 0.935315 | 0.915711 | 0.89228 | 0 | 0.009568 | 0.141513 | 149,746 | 3,633 | 173 | 41.218277 | 0.793085 | 0.014384 | 0 | 0.490791 | 0 | 0 | 0.118025 | 0.064914 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047749 | false | 0 | 0.00307 | 0 | 0.064461 | 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 |
fe2a6e3aa387f5e6c0048780663b36380bafe21f | 4,799 | py | Python | mayan/apps/document_states/tests/test_links.py | darrenflexxu/Mayan-EDMS | 6707365bfacd137e625ddc1b990168012246fa07 | [
"Apache-2.0"
] | null | null | null | mayan/apps/document_states/tests/test_links.py | darrenflexxu/Mayan-EDMS | 6707365bfacd137e625ddc1b990168012246fa07 | [
"Apache-2.0"
] | 5 | 2021-03-19T22:56:45.000Z | 2022-03-12T00:08:43.000Z | mayan/apps/document_states/tests/test_links.py | Sumit-Kumar-Jha/mayan | 5b7ddeccf080b9e41cc1074c70e27dfe447be19f | [
"Apache-2.0"
] | 1 | 2020-07-29T21:03:27.000Z | 2020-07-29T21:03:27.000Z | from __future__ import unicode_literals
from django.urls import reverse
from mayan.apps.documents.tests.base import GenericDocumentViewTestCase
from ..links import (
link_workflow_runtime_proxy_document_list,
link_workflow_runtime_proxy_list,
link_workflow_runtime_proxy_state_document_list,
link_work... | 33.559441 | 83 | 0.719108 | 575 | 4,799 | 5.476522 | 0.092174 | 0.088917 | 0.165132 | 0.106701 | 0.860273 | 0.860273 | 0.829152 | 0.814862 | 0.783106 | 0.772944 | 0 | 0 | 0.219629 | 4,799 | 142 | 84 | 33.795775 | 0.840854 | 0 | 0 | 0.578431 | 0 | 0 | 0.00125 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 1 | 0.088235 | false | 0 | 0.058824 | 0 | 0.156863 | 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 |
fe321a92bdbbf8f53fa5ccb4778ac1cbfd7bf8dc | 43,210 | py | Python | Visualize/plots.py | vageeshSaxena/TX-Ray | 80f96012bd7ab4c789b037bbfa996fa26c160701 | [
"MIT"
] | 1 | 2020-05-24T18:28:41.000Z | 2020-05-24T18:28:41.000Z | Visualize/plots.py | vageeshSaxena/TX-Ray | 80f96012bd7ab4c789b037bbfa996fa26c160701 | [
"MIT"
] | 5 | 2020-09-26T00:44:54.000Z | 2022-02-10T00:39:05.000Z | Visualize/plots.py | vageeshSaxena/TX-Ray | 80f96012bd7ab4c789b037bbfa996fa26c160701 | [
"MIT"
] | null | null | null | ########################################################################################################################
"""
Description : Contains methods for all the plots used in the paper TX-Ray.
Python version : 3.7.3
"""
############################################################################################... | 53.677019 | 132 | 0.635871 | 5,435 | 43,210 | 4.804232 | 0.05483 | 0.026426 | 0.020681 | 0.009957 | 0.883612 | 0.849182 | 0.834782 | 0.818774 | 0.797633 | 0.777182 | 0 | 0.025471 | 0.2486 | 43,210 | 805 | 133 | 53.677019 | 0.778736 | 0.164476 | 0 | 0.653257 | 0 | 0 | 0.085029 | 0.005903 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015326 | false | 0 | 0.022989 | 0 | 0.04023 | 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 |
fe7df7af8ab7202a62953a8d0f1ff8aa85d9686c | 407 | py | Python | doc/examples/named.py | aaronsewall/pytest-dependency | db34c5451891629ad54a18e8a5e6a45b7ec968f8 | [
"Apache-2.0"
] | 91 | 2017-01-30T16:05:13.000Z | 2022-03-29T12:17:35.000Z | doc/examples/named.py | aaronsewall/pytest-dependency | db34c5451891629ad54a18e8a5e6a45b7ec968f8 | [
"Apache-2.0"
] | 63 | 2016-04-21T19:30:32.000Z | 2022-03-30T13:17:42.000Z | doc/examples/named.py | aaronsewall/pytest-dependency | db34c5451891629ad54a18e8a5e6a45b7ec968f8 | [
"Apache-2.0"
] | 29 | 2017-09-24T17:22:02.000Z | 2022-03-30T20:39:49.000Z | import pytest
@pytest.mark.dependency(name="a")
@pytest.mark.xfail(reason="deliberate fail")
def test_a():
assert False
@pytest.mark.dependency(name="b")
def test_b():
pass
@pytest.mark.dependency(name="c", depends=["a"])
def test_c():
pass
@pytest.mark.dependency(name="d", depends=["b"])
def test_d():
... | 17.695652 | 53 | 0.660934 | 61 | 407 | 4.327869 | 0.327869 | 0.227273 | 0.378788 | 0.454545 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132678 | 407 | 22 | 54 | 18.5 | 0.747875 | 0 | 0 | 0.235294 | 0 | 0 | 0.058968 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 1 | 0.294118 | true | 0.235294 | 0.058824 | 0 | 0.352941 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
fe94157ed2ebb63e0df4a7d49fbcfd8453c908ca | 2,536 | py | Python | ramjet/models/single_layer_model.py | golmschenk/ramjet | 77fb4481a15088923308fda09804d80455d1a9cf | [
"Apache-2.0"
] | 3 | 2020-11-23T18:47:37.000Z | 2021-08-05T17:45:51.000Z | ramjet/models/single_layer_model.py | golmschenk/ramjet | 77fb4481a15088923308fda09804d80455d1a9cf | [
"Apache-2.0"
] | 5 | 2021-08-19T00:54:57.000Z | 2022-02-10T00:15:40.000Z | ramjet/models/single_layer_model.py | golmschenk/ramjet | 77fb4481a15088923308fda09804d80455d1a9cf | [
"Apache-2.0"
] | 3 | 2019-07-12T21:00:57.000Z | 2020-06-03T22:18:13.000Z | from tensorflow import sigmoid
from tensorflow.keras import Model
from tensorflow.keras.layers import Dense, Reshape, Flatten, Concatenate
class SingleLayerModel(Model):
def __init__(self):
super().__init__()
self.flatten = Flatten()
self.dense = Dense(1, activation=sigmoid)
def call(... | 34.27027 | 86 | 0.645505 | 308 | 2,536 | 5.146104 | 0.185065 | 0.025237 | 0.052997 | 0.04795 | 0.819558 | 0.819558 | 0.819558 | 0.819558 | 0.819558 | 0.819558 | 0 | 0.002701 | 0.27011 | 2,536 | 73 | 87 | 34.739726 | 0.853593 | 0.268139 | 0 | 0.675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15 | false | 0 | 0.075 | 0 | 0.375 | 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 |
fea9075f766fdeec6fca8be25d40e2d3675d2f15 | 81 | py | Python | asn1PERser/classes/data/builtin/UTF8String.py | erupikus/asn1PERser | 11dc2985107a9fbba00bea83c1021d2665e8f193 | [
"MIT"
] | 3 | 2021-06-14T03:29:37.000Z | 2021-11-15T09:45:11.000Z | asn1PERser/classes/data/builtin/UTF8String.py | erupikus/asn1PERser | 11dc2985107a9fbba00bea83c1021d2665e8f193 | [
"MIT"
] | null | null | null | asn1PERser/classes/data/builtin/UTF8String.py | erupikus/asn1PERser | 11dc2985107a9fbba00bea83c1021d2665e8f193 | [
"MIT"
] | null | null | null | from pyasn1.type.char import UTF8String
class UTF8String(UTF8String):
pass
| 13.5 | 39 | 0.777778 | 10 | 81 | 6.3 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.160494 | 81 | 5 | 40 | 16.2 | 0.867647 | 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 |
fea9d6630d6122d0e24cffd06c97c3797b16abc4 | 4,384 | py | Python | google/cloud/gaming_v1beta/types/__init__.py | Yingxin-Jiang/python-game-servers | 7b897b44024a8f06467ad8433bfe900feaee4b04 | [
"Apache-2.0"
] | null | null | null | google/cloud/gaming_v1beta/types/__init__.py | Yingxin-Jiang/python-game-servers | 7b897b44024a8f06467ad8433bfe900feaee4b04 | [
"Apache-2.0"
] | null | null | null | google/cloud/gaming_v1beta/types/__init__.py | Yingxin-Jiang/python-game-servers | 7b897b44024a8f06467ad8433bfe900feaee4b04 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | 30.444444 | 74 | 0.774863 | 227 | 4,384 | 14.920705 | 0.581498 | 0.017715 | 0.0124 | 0.009448 | 0.832005 | 0.832005 | 0.832005 | 0.832005 | 0.725125 | 0.559787 | 0 | 0.002442 | 0.159215 | 4,384 | 143 | 75 | 30.657343 | 0.916441 | 0.12979 | 0 | 0 | 0 | 0 | 0.370887 | 0.285338 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.040323 | 0 | 0.040323 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
feb280673713551b2143c79082d21a56f422c03b | 91 | py | Python | test.py | mayboyxxx/wafw00f | da24468f930b72274cf618066cd6b6bb98e3e3b3 | [
"BSD-3-Clause"
] | null | null | null | test.py | mayboyxxx/wafw00f | da24468f930b72274cf618066cd6b6bb98e3e3b3 | [
"BSD-3-Clause"
] | null | null | null | test.py | mayboyxxx/wafw00f | da24468f930b72274cf618066cd6b6bb98e3e3b3 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding:utf-8 -*-
#coding=utf-8
import sys
reload(sys)
sys.setdefaultencoding('utf8') | 15.166667 | 30 | 0.692308 | 13 | 91 | 4.846154 | 0.615385 | 0.285714 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036585 | 0.098901 | 91 | 6 | 30 | 15.166667 | 0.731707 | 0.351648 | 0 | 0 | 0 | 0 | 0.070175 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
228cb2d42081d1ac5e199344124c6632d606e385 | 14,777 | py | Python | tests/test_invoice.py | ComFreight/cmft-stripe-integration | 85a2e14dcd6fffd24e999b1f383dd7eb006606e0 | [
"MIT"
] | null | null | null | tests/test_invoice.py | ComFreight/cmft-stripe-integration | 85a2e14dcd6fffd24e999b1f383dd7eb006606e0 | [
"MIT"
] | null | null | null | tests/test_invoice.py | ComFreight/cmft-stripe-integration | 85a2e14dcd6fffd24e999b1f383dd7eb006606e0 | [
"MIT"
] | null | null | null | """
.. module:: dj-stripe.tests.test_invoice
:synopsis: dj-stripe Invoice Model Tests.
.. moduleauthor:: Alex Kavanaugh (@kavdev)
.. moduleauthor:: Lee Skillen (@lskillen)
"""
from __future__ import absolute_import, division, print_function, unicode_literals
from copy import deepcopy
from django.conf import sett... | 49.754209 | 112 | 0.730527 | 1,704 | 14,777 | 6.004108 | 0.076878 | 0.06236 | 0.07057 | 0.085427 | 0.822305 | 0.806471 | 0.796696 | 0.780373 | 0.773531 | 0.763562 | 0 | 0.001222 | 0.169588 | 14,777 | 296 | 113 | 49.922297 | 0.832532 | 0.01949 | 0 | 0.642857 | 0 | 0 | 0.131312 | 0.108931 | 0 | 0 | 0 | 0 | 0.245536 | 1 | 0.089286 | false | 0 | 0.040179 | 0 | 0.133929 | 0.004464 | 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 |
22a71f13cb6c7fae2355cf93d41793e0012eec3e | 11,141 | py | Python | vegans/utils/loading.py | unit8co/vegans | 46ceebe917c3a58fec7a87644c3945a148cfc7c9 | [
"MIT"
] | 459 | 2019-01-30T17:04:40.000Z | 2022-03-23T08:28:24.000Z | vegans/utils/loading.py | unit8co/vegans | 46ceebe917c3a58fec7a87644c3945a148cfc7c9 | [
"MIT"
] | 7 | 2019-01-31T03:58:31.000Z | 2021-12-14T15:30:28.000Z | vegans/utils/loading.py | unit8co/vegans | 46ceebe917c3a58fec7a87644c3945a148cfc7c9 | [
"MIT"
] | 34 | 2019-01-30T18:20:33.000Z | 2022-01-25T06:24:26.000Z | import torchvision
from vegans.utils.architectures.mnist import (
preprocess_mnist, load_mnist_generator, load_mnist_adversary,
load_mnist_encoder, load_mnist_decoder, load_mnist_autoencoder
)
from vegans.utils.architectures.example import (
load_example_generator, load_example_adversary, load_example_enco... | 47.611111 | 134 | 0.687191 | 1,529 | 11,141 | 4.894702 | 0.128188 | 0.016034 | 0.023383 | 0.016034 | 0.826029 | 0.808391 | 0.800641 | 0.783137 | 0.764832 | 0.73116 | 0 | 0.004169 | 0.224935 | 11,141 | 233 | 135 | 47.815451 | 0.862536 | 0.596805 | 0 | 0.4875 | 0 | 0 | 0.121581 | 0.010638 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075 | false | 0 | 0.0625 | 0 | 0.3125 | 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 |
22e11204bc8f0befcd2b1feed56ed266880c9b5f | 17,437 | py | Python | database/tests.py | gbriones1/django-skelleton | ee067594e3994f1bac5bf754f618d365bb5248d8 | [
"BSD-3-Clause"
] | null | null | null | database/tests.py | gbriones1/django-skelleton | ee067594e3994f1bac5bf754f618d365bb5248d8 | [
"BSD-3-Clause"
] | 10 | 2020-06-05T16:38:25.000Z | 2022-03-11T23:12:12.000Z | database/tests.py | gbriones1/django-skelleton | ee067594e3994f1bac5bf754f618d365bb5248d8 | [
"BSD-3-Clause"
] | null | null | null | from django.test import TestCase
from django.test.client import RequestFactory
from database.serializers import *
from database.models import *
rf = RequestFactory()
class ProductTestCase(TestCase):
PRODUCTS_DATA = [
{
"code": "0000",
"name": "TEST",
"providerName": "T... | 34.804391 | 114 | 0.558353 | 1,859 | 17,437 | 5.133943 | 0.083378 | 0.07544 | 0.080469 | 0.120704 | 0.80899 | 0.774099 | 0.74979 | 0.729254 | 0.716262 | 0.656643 | 0 | 0.029736 | 0.303779 | 17,437 | 501 | 115 | 34.804391 | 0.756425 | 0 | 0 | 0.610753 | 0 | 0 | 0.098119 | 0.002409 | 0 | 0 | 0 | 0 | 0.227957 | 1 | 0.043011 | false | 0 | 0.008602 | 0 | 0.073118 | 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 |
22ec9f51b4438959086a7bbe0ce25f58cede6d8b | 27 | py | Python | 1.py | subline-collab/Bacchus | 8ef34bdaac7c86bc63b1573ad64824eb1219680a | [
"Apache-2.0"
] | null | null | null | 1.py | subline-collab/Bacchus | 8ef34bdaac7c86bc63b1573ad64824eb1219680a | [
"Apache-2.0"
] | null | null | null | 1.py | subline-collab/Bacchus | 8ef34bdaac7c86bc63b1573ad64824eb1219680a | [
"Apache-2.0"
] | null | null | null | print('I can use github!')
| 13.5 | 26 | 0.666667 | 5 | 27 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0.62963 | 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 |
22f47630ffa4977dcf140fb67703b870cf2ea61c | 55 | py | Python | src/data/__init__.py | qway/nerfmeshes | d983dcbbcfec1337c9f2040969213c6d1ea0c39e | [
"MIT"
] | 113 | 2020-10-30T11:27:43.000Z | 2022-03-28T04:28:36.000Z | mesh/src/data/__init__.py | ashwinpn/Computer-Vision | 9dc3abfe416385171b76e2bad6872e10f36a12b4 | [
"MIT"
] | 11 | 2020-09-07T07:15:56.000Z | 2022-02-26T19:21:00.000Z | mesh/src/data/__init__.py | ashwinpn/Computer-Vision | 9dc3abfe416385171b76e2bad6872e10f36a12b4 | [
"MIT"
] | 17 | 2020-11-05T06:24:07.000Z | 2022-03-18T21:30:35.000Z | from data.loaders import *
from .data_helpers import *
| 18.333333 | 27 | 0.781818 | 8 | 55 | 5.25 | 0.625 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 55 | 2 | 28 | 27.5 | 0.893617 | 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 |
fe03313c52ed8c374fd58896fa2bcbda7d620436 | 160 | py | Python | contracts/clear_program.py | dezzydez007/Algo-single-transaction-hackathon | 3d37b4c9a4750fbbc2c604cb1980a234792c9425 | [
"MIT"
] | 1 | 2022-03-22T21:14:15.000Z | 2022-03-22T21:14:15.000Z | contracts/clear_program.py | dezzydez007/Algo-single-transaction-hackathon | 3d37b4c9a4750fbbc2c604cb1980a234792c9425 | [
"MIT"
] | null | null | null | contracts/clear_program.py | dezzydez007/Algo-single-transaction-hackathon | 3d37b4c9a4750fbbc2c604cb1980a234792c9425 | [
"MIT"
] | null | null | null | from pyteal import *
def clear_program():
return Int(1)
if __name__ == "__main__":
print(compileTeal(clear_program(), Mode.Application, version=6))
| 16 | 68 | 0.7 | 20 | 160 | 5.1 | 0.9 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015038 | 0.16875 | 160 | 9 | 69 | 17.777778 | 0.75188 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0 | 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 |
fe185af40767e373cf9d84cccd16699dd1a841ef | 179 | py | Python | smsymer/evm/exception/invalidOperationException.py | Troublor/smSymer | 05ec597325a72d9338306a7aba6cd07d4b4c6011 | [
"MIT"
] | 3 | 2019-06-02T15:30:47.000Z | 2021-01-05T06:15:55.000Z | smsymer/evm/exception/invalidOperationException.py | Troublor/smSymer | 05ec597325a72d9338306a7aba6cd07d4b4c6011 | [
"MIT"
] | 1 | 2021-06-12T17:03:33.000Z | 2021-06-12T17:03:33.000Z | smsymer/evm/exception/invalidOperationException.py | Troublor/smSymer | 05ec597325a72d9338306a7aba6cd07d4b4c6011 | [
"MIT"
] | 1 | 2020-12-04T01:51:29.000Z | 2020-12-04T01:51:29.000Z | class InvalidOperationException(Exception):
def __init__(self, byte):
self.byte = byte
def __str__(self):
return "Invalid bytecode: {0}".format(self.byte) | 29.833333 | 56 | 0.670391 | 20 | 179 | 5.6 | 0.65 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007092 | 0.212291 | 179 | 6 | 56 | 29.833333 | 0.787234 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 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 |
fe1b1b396f7fad69eb68cd6d4051dc7df9511b76 | 111 | py | Python | model/__init__.py | AdrienBenamira/k_coloring_graph_AlphaZeroGo | c8f3271a2b117c95616b5752e134114ee8b20294 | [
"MIT"
] | 1 | 2020-04-05T03:12:22.000Z | 2020-04-05T03:12:22.000Z | model/__init__.py | AdrienBenamira/k_coloring_graph_AlphaZeroGo | c8f3271a2b117c95616b5752e134114ee8b20294 | [
"MIT"
] | null | null | null | model/__init__.py | AdrienBenamira/k_coloring_graph_AlphaZeroGo | c8f3271a2b117c95616b5752e134114ee8b20294 | [
"MIT"
] | null | null | null | from .Arena import *
from .Coach import *
from .MCTS import *
from .NeuralNet import *
from .GraphNNet import * | 22.2 | 24 | 0.738739 | 15 | 111 | 5.466667 | 0.466667 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171171 | 111 | 5 | 25 | 22.2 | 0.891304 | 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 |
a3ade82f9e282f844770b8a610cfcbb17ce12b71 | 16,411 | py | Python | api/resources_portal/test/views/test_material.py | AlexsLemonade/resources-portal | d91c6c8d6135461faccbc78ef2b0be3f9b358f21 | [
"BSD-3-Clause"
] | null | null | null | api/resources_portal/test/views/test_material.py | AlexsLemonade/resources-portal | d91c6c8d6135461faccbc78ef2b0be3f9b358f21 | [
"BSD-3-Clause"
] | 536 | 2019-11-13T15:49:03.000Z | 2022-03-28T20:17:24.000Z | api/resources_portal/test/views/test_material.py | AlexsLemonade/resources-portal | d91c6c8d6135461faccbc78ef2b0be3f9b358f21 | [
"BSD-3-Clause"
] | 1 | 2020-04-03T02:07:29.000Z | 2020-04-03T02:07:29.000Z | from django.forms.models import model_to_dict
from django.urls import reverse
from rest_framework import status
from rest_framework.test import APITestCase
from faker import Faker
from guardian.shortcuts import assign_perm
from resources_portal.models import Material, MaterialShareEvent, Notification
from resources_p... | 39.640097 | 99 | 0.694839 | 1,894 | 16,411 | 5.759768 | 0.095565 | 0.065084 | 0.080117 | 0.085067 | 0.815198 | 0.776331 | 0.743881 | 0.732973 | 0.721148 | 0.691264 | 0 | 0.010012 | 0.20273 | 16,411 | 413 | 100 | 39.736077 | 0.823754 | 0.019743 | 0 | 0.596721 | 0 | 0 | 0.067414 | 0.010779 | 0 | 0 | 0 | 0 | 0.193443 | 1 | 0.104918 | false | 0 | 0.098361 | 0 | 0.209836 | 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 |
a3b3cdf1e4740ddc05016d9609c33d8293b1a4f2 | 8,883 | py | Python | tests/test_blackouts.py | richerve/alerta | 6dd83aa09fa8b951611382c3250ef561f7ddc26d | [
"Apache-2.0"
] | 1 | 2019-02-07T14:37:12.000Z | 2019-02-07T14:37:12.000Z | tests/test_blackouts.py | francopeapea/alerta | dce18f0ab93a1feff518289d51261cccf151d3e8 | [
"Apache-2.0"
] | null | null | null | tests/test_blackouts.py | francopeapea/alerta | dce18f0ab93a1feff518289d51261cccf151d3e8 | [
"Apache-2.0"
] | null | null | null |
import json
import unittest
from alerta.app import create_app, db, plugins
from alerta.exceptions import BlackoutPeriod
from alerta.models.key import ApiKey
from alerta.plugins import PluginBase
class BlackoutsTestCase(unittest.TestCase):
def setUp(self):
test_config = {
'TESTING': True,
... | 39.132159 | 142 | 0.62569 | 1,002 | 8,883 | 5.481038 | 0.113772 | 0.080117 | 0.06555 | 0.080117 | 0.838128 | 0.825747 | 0.825747 | 0.810452 | 0.810452 | 0.810452 | 0 | 0.01145 | 0.233142 | 8,883 | 226 | 143 | 39.30531 | 0.794774 | 0.083305 | 0 | 0.651899 | 0 | 0 | 0.135312 | 0 | 0 | 0 | 0 | 0 | 0.208861 | 1 | 0.063291 | false | 0 | 0.037975 | 0.025316 | 0.158228 | 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 |
a3c1b1a3c3f915fec60edb7723b8e7991fea8698 | 539 | py | Python | src/sentry/tasks/__init__.py | Casecommons/sentry | b69a2373a658c5c775671fe9985c3fa4f2eafcfd | [
"BSD-3-Clause"
] | null | null | null | src/sentry/tasks/__init__.py | Casecommons/sentry | b69a2373a658c5c775671fe9985c3fa4f2eafcfd | [
"BSD-3-Clause"
] | null | null | null | src/sentry/tasks/__init__.py | Casecommons/sentry | b69a2373a658c5c775671fe9985c3fa4f2eafcfd | [
"BSD-3-Clause"
] | null | null | null | """
sentry.tasks
~~~~~~~~~~~~
:copyright: (c) 2010-2014 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
import sentry.tasks.check_alerts # NOQA
import sentry.tasks.check_update # NOQA
import sentry.tasks.cleanup # NOQA
import sentry.tasks.deletion # NOQA
import s... | 28.368421 | 75 | 0.749536 | 77 | 539 | 5.181818 | 0.402597 | 0.303258 | 0.426065 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.139147 | 539 | 18 | 76 | 29.944444 | 0.842672 | 0.367347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a3e539df8ecc04f78a757ff6a642fbe8f528167b | 98 | py | Python | src/app/forms.py | Gabscurioshop/trentaudio | 7ad62908c9e280f6142832e08ab62ade65a475e7 | [
"MIT"
] | null | null | null | src/app/forms.py | Gabscurioshop/trentaudio | 7ad62908c9e280f6142832e08ab62ade65a475e7 | [
"MIT"
] | 9 | 2021-05-08T03:24:16.000Z | 2021-05-08T03:30:35.000Z | src/app/forms.py | Gabscurioshop/trentaudio | 7ad62908c9e280f6142832e08ab62ade65a475e7 | [
"MIT"
] | null | null | null | from wtforms import StringField
from wtforms.validators import DataRequired
#class SearchForm():
| 19.6 | 43 | 0.836735 | 11 | 98 | 7.454545 | 0.727273 | 0.268293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112245 | 98 | 4 | 44 | 24.5 | 0.942529 | 0.193878 | 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 |
433ff39c95c9317aadd97b372e157611b96d9314 | 73 | py | Python | tests/unit/test_create_user.py | mwanjajoel/django-momoapi | b932117007a06e6c729e9ddb289fa615dbf583c5 | [
"MIT"
] | 10 | 2020-02-18T13:00:47.000Z | 2021-12-09T16:21:25.000Z | tests/unit/test_create_user.py | mwanjajoel/django-momoapi | b932117007a06e6c729e9ddb289fa615dbf583c5 | [
"MIT"
] | 17 | 2020-02-18T12:56:22.000Z | 2021-09-22T18:36:42.000Z | tests/unit/test_create_user.py | mwanjajoel/django-momoapi | b932117007a06e6c729e9ddb289fa615dbf583c5 | [
"MIT"
] | 6 | 2020-02-18T13:01:04.000Z | 2022-02-22T19:42:56.000Z | import pytest
# create a simple Pytest
def test_user_create():
pass | 14.6 | 25 | 0.739726 | 11 | 73 | 4.727273 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205479 | 73 | 5 | 26 | 14.6 | 0.896552 | 0.30137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | 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 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
4a2d5f0302931bc1eb725aaa95c7182716d70485 | 14,615 | py | Python | tests/api/app_test.py | bretttegart/treadmill | 812109e31c503a6eddaee2d3f2e1faf2833b6aaf | [
"Apache-2.0"
] | 2 | 2017-10-31T18:48:20.000Z | 2018-03-04T20:35:20.000Z | tests/api/app_test.py | bretttegart/treadmill | 812109e31c503a6eddaee2d3f2e1faf2833b6aaf | [
"Apache-2.0"
] | null | null | null | tests/api/app_test.py | bretttegart/treadmill | 812109e31c503a6eddaee2d3f2e1faf2833b6aaf | [
"Apache-2.0"
] | null | null | null | """Cell API tests.
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import unittest
import mock
from jsonschema import exceptions as jexceptions
from treadmill import admin
from treadmill.api import app
class A... | 31.91048 | 75 | 0.435785 | 1,289 | 14,615 | 4.815361 | 0.106284 | 0.0261 | 0.043499 | 0.030127 | 0.874335 | 0.859352 | 0.84888 | 0.822781 | 0.780409 | 0.757048 | 0 | 0.02065 | 0.400274 | 14,615 | 457 | 76 | 31.980306 | 0.687507 | 0.046938 | 0 | 0.679293 | 0 | 0.027778 | 0.243255 | 0.103088 | 0 | 0 | 0 | 0 | 0.058081 | 1 | 0.032828 | false | 0.012626 | 0.022727 | 0 | 0.058081 | 0.002525 | 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 |
4a69f00aaa8e4da2eee34bb5b1865d3eb9c06900 | 57 | py | Python | plugins/ListPlugins.py | thomas10-10/az | 84fc6082083a1f8a3a2b26e1556f069ef539dd24 | [
"MIT"
] | 4 | 2021-06-17T21:54:22.000Z | 2021-06-23T15:20:49.000Z | plugins/ListPlugins.py | starterTree/starterTree | bc13f5178915f6b561a450446768719509b09832 | [
"MIT"
] | 10 | 2021-11-29T22:44:27.000Z | 2021-12-01T16:29:06.000Z | plugins/ListPlugins.py | starterTree/starterTree | bc13f5178915f6b561a450446768719509b09832 | [
"MIT"
] | null | null | null | import plugins.ssh
import plugins.www
import plugins.cmd
| 14.25 | 18 | 0.842105 | 9 | 57 | 5.333333 | 0.555556 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 57 | 3 | 19 | 19 | 0.941176 | 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 |
4abaaf41cc57ed3af5ed955f97f841a672799c4e | 233 | py | Python | estimation/unidimensional/dichotomous/__init__.py | eribean/GIRTH | daf22773aa9cd1c819bf732e1061ebf5cc4dc40e | [
"MIT"
] | null | null | null | estimation/unidimensional/dichotomous/__init__.py | eribean/GIRTH | daf22773aa9cd1c819bf732e1061ebf5cc4dc40e | [
"MIT"
] | null | null | null | estimation/unidimensional/dichotomous/__init__.py | eribean/GIRTH | daf22773aa9cd1c819bf732e1061ebf5cc4dc40e | [
"MIT"
] | null | null | null | from .rasch_conditional import *
from .rasch_mml import *
from .twopl_mml import *
from .twopl_mml_eap import *
from .threepl_mml import *
from .jml_methods import *
from .ability_estimation import *
from .ability_threepl import * | 21.181818 | 33 | 0.785408 | 33 | 233 | 5.272727 | 0.363636 | 0.402299 | 0.224138 | 0.206897 | 0.224138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145923 | 233 | 11 | 34 | 21.181818 | 0.874372 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
435a6b8bb611c03e4a0fd36938ce38357c0ef419 | 30 | py | Python | neuronit/back_end/__init__.py | neuronit/pfa | 6483f23de3ac43ae1121760ab44a2cae1f2cc901 | [
"MIT"
] | null | null | null | neuronit/back_end/__init__.py | neuronit/pfa | 6483f23de3ac43ae1121760ab44a2cae1f2cc901 | [
"MIT"
] | null | null | null | neuronit/back_end/__init__.py | neuronit/pfa | 6483f23de3ac43ae1121760ab44a2cae1f2cc901 | [
"MIT"
] | null | null | null | from multinetworking import *
| 15 | 29 | 0.833333 | 3 | 30 | 8.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 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 |
6050ed5ad6b500eba6e6a5d1f1e466119998e8a4 | 135 | py | Python | 2.Python/test.py | sgeek28/Data-Science | ea0bfd6eeb78f534ab89fc9d4c306adb0087e07e | [
"MIT"
] | null | null | null | 2.Python/test.py | sgeek28/Data-Science | ea0bfd6eeb78f534ab89fc9d4c306adb0087e07e | [
"MIT"
] | null | null | null | 2.Python/test.py | sgeek28/Data-Science | ea0bfd6eeb78f534ab89fc9d4c306adb0087e07e | [
"MIT"
] | null | null | null | #import hello
from hello import *
#hello.sayHi("Sneha")
#hello.sayHello("Sneha","Shukla")
sayHi("Sneha")
sayHello("Sneha","Shukla")
| 13.5 | 33 | 0.696296 | 17 | 135 | 5.529412 | 0.411765 | 0.234043 | 0.404255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096296 | 135 | 9 | 34 | 15 | 0.770492 | 0.474074 | 0 | 0 | 0 | 0 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
605de176898ffc0de377d9b56ee96189755de084 | 47 | py | Python | tests/_site/apps/catalogue/admin.py | izi-core/izi-core | 21176be2d41f0cf54ca954f294209c585f643dba | [
"BSD-3-Clause"
] | null | null | null | tests/_site/apps/catalogue/admin.py | izi-core/izi-core | 21176be2d41f0cf54ca954f294209c585f643dba | [
"BSD-3-Clause"
] | null | null | null | tests/_site/apps/catalogue/admin.py | izi-core/izi-core | 21176be2d41f0cf54ca954f294209c585f643dba | [
"BSD-3-Clause"
] | null | null | null | from izi.apps.catalogue.admin import * # noqa
| 23.5 | 46 | 0.744681 | 7 | 47 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 1 | 47 | 47 | 0.875 | 0.085106 | 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 |
60b8276d9181fe90fb2bbca9a730748b76736ecd | 28 | py | Python | webapp/frontend/__init__.py | aleksandergurin/news | 9e7d3c35857600445cb6df42ba18d289dc0e37a9 | [
"BSD-3-Clause"
] | 3 | 2015-08-20T11:08:28.000Z | 2018-01-28T21:22:53.000Z | webapp/frontend/__init__.py | aleksandergurin/news | 9e7d3c35857600445cb6df42ba18d289dc0e37a9 | [
"BSD-3-Clause"
] | null | null | null | webapp/frontend/__init__.py | aleksandergurin/news | 9e7d3c35857600445cb6df42ba18d289dc0e37a9 | [
"BSD-3-Clause"
] | null | null | null |
from .views import frontend | 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 2 | 27 | 14 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
71837e60b4bb6bec3cebdd94540a6deff88b0174 | 213 | py | Python | {{ cookiecutter.project_slug }}/{{ cookiecutter.project_module }}/settings/__init__.py | uisautomation/django-boilerplate | 62a1162e38fba263021dc39d872cb071533d9cc1 | [
"MIT"
] | null | null | null | {{ cookiecutter.project_slug }}/{{ cookiecutter.project_module }}/settings/__init__.py | uisautomation/django-boilerplate | 62a1162e38fba263021dc39d872cb071533d9cc1 | [
"MIT"
] | 26 | 2018-01-18T11:20:34.000Z | 2019-03-10T13:46:52.000Z | {{ cookiecutter.project_slug }}/{{ cookiecutter.project_module }}/settings/__init__.py | uisautomation/django-boilerplate | 62a1162e38fba263021dc39d872cb071533d9cc1 | [
"MIT"
] | 2 | 2018-01-11T20:55:44.000Z | 2019-03-11T16:51:23.000Z | """
The default :py:mod:`{{ cookiecutter.project_module }}.settings` module contains settings which are
common to most deployment environments.
"""
# Import base settings
from .base import * # noqa: F401, F403
| 23.666667 | 99 | 0.737089 | 27 | 213 | 5.777778 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033149 | 0.150235 | 213 | 8 | 100 | 26.625 | 0.828729 | 0.835681 | 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 |
71bd2b1d8fbecd02c92360684365c170d6bf74d0 | 128 | py | Python | app/logic/benchmark/controllers/__init__.py | imvu/bluesteel | ab52133249a693b3cd2d8593c5d47408a3b0fce6 | [
"MIT"
] | 10 | 2017-01-13T06:28:04.000Z | 2020-11-18T13:00:26.000Z | app/logic/benchmark/controllers/__init__.py | imvu/bluesteel | ab52133249a693b3cd2d8593c5d47408a3b0fce6 | [
"MIT"
] | null | null | null | app/logic/benchmark/controllers/__init__.py | imvu/bluesteel | ab52133249a693b3cd2d8593c5d47408a3b0fce6 | [
"MIT"
] | 2 | 2018-03-29T14:10:53.000Z | 2019-11-20T08:21:57.000Z | """ Automatic file """
from app.logic.benchmark.controllers.BenchmarkDefinitionController import BenchmarkDefinitionController
| 32 | 103 | 0.851563 | 10 | 128 | 10.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070313 | 128 | 3 | 104 | 42.666667 | 0.915966 | 0.109375 | 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 |
e08569f935f61e251c4dcf11611004b323b95035 | 24 | py | Python | rplugin/python3/konbu/__init__.py | miyanokomiya/konbu.nvim | e3d30e23eee371b8f0bcbf6003a438a2783f47d3 | [
"MIT"
] | null | null | null | rplugin/python3/konbu/__init__.py | miyanokomiya/konbu.nvim | e3d30e23eee371b8f0bcbf6003a438a2783f47d3 | [
"MIT"
] | null | null | null | rplugin/python3/konbu/__init__.py | miyanokomiya/konbu.nvim | e3d30e23eee371b8f0bcbf6003a438a2783f47d3 | [
"MIT"
] | null | null | null | from .main import Konbu
| 12 | 23 | 0.791667 | 4 | 24 | 4.75 | 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 |
e099b507594213b3826d2c0da5a237cd73dc685d | 162 | py | Python | gdc/gdc/doctype/teilnehmerin/test_teilnehmerin.py | motzmose/gdcvw | 356cb094b70219ccda060c4c0ba9fcca842162ff | [
"MIT"
] | null | null | null | gdc/gdc/doctype/teilnehmerin/test_teilnehmerin.py | motzmose/gdcvw | 356cb094b70219ccda060c4c0ba9fcca842162ff | [
"MIT"
] | null | null | null | gdc/gdc/doctype/teilnehmerin/test_teilnehmerin.py | motzmose/gdcvw | 356cb094b70219ccda060c4c0ba9fcca842162ff | [
"MIT"
] | null | null | null | # Copyright (c) 2022, didaktik-aktuell e.V. and Contributors
# See license.txt
# import frappe
import unittest
class TestTeilnehmerin(unittest.TestCase):
pass
| 18 | 60 | 0.777778 | 21 | 162 | 6 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.135802 | 162 | 8 | 61 | 20.25 | 0.871429 | 0.54321 | 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 |
e0ac39d0b51e9335aa7cda28d42d41d900ef7512 | 10,805 | py | Python | repos/system_upgrade/el8toel9/actors/checkvdo/tests/unit_test_checkvdo.py | AsM0DeUz/leapp-repository | b67a395ee3d67d3d628037c250a210bb52e9187c | [
"Apache-2.0"
] | null | null | null | repos/system_upgrade/el8toel9/actors/checkvdo/tests/unit_test_checkvdo.py | AsM0DeUz/leapp-repository | b67a395ee3d67d3d628037c250a210bb52e9187c | [
"Apache-2.0"
] | null | null | null | repos/system_upgrade/el8toel9/actors/checkvdo/tests/unit_test_checkvdo.py | AsM0DeUz/leapp-repository | b67a395ee3d67d3d628037c250a210bb52e9187c | [
"Apache-2.0"
] | null | null | null | import functools
from leapp import reporting
from leapp.libraries.actor import checkvdo
from leapp.libraries.common.testutils import create_report_mocked, CurrentActorMocked
from leapp.libraries.stdlib import api
from leapp.models import (
VdoConversionInfo,
VdoConversionPostDevice,
VdoConversionPreDevice,... | 46.175214 | 98 | 0.714114 | 1,140 | 10,805 | 6.413158 | 0.101754 | 0.113254 | 0.155109 | 0.09602 | 0.841472 | 0.826152 | 0.818766 | 0.79907 | 0.79907 | 0.758993 | 0 | 0.005322 | 0.200093 | 10,805 | 233 | 99 | 46.373391 | 0.840565 | 0.015548 | 0 | 0.61413 | 0 | 0 | 0.065876 | 0 | 0 | 0 | 0 | 0 | 0.201087 | 1 | 0.11413 | false | 0 | 0.038043 | 0.016304 | 0.184783 | 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 |
e0cf54e514dd3f90dea6296e1ff5f69b2295f783 | 39 | py | Python | vnpy_rohon/gateway/__init__.py | Edanflame/vnpy_rohon | c7ca0033d1f9f0e8fab02b65279accde867a2225 | [
"MIT"
] | 2 | 2021-08-17T15:44:19.000Z | 2021-11-11T09:03:58.000Z | vnpy_rohon/gateway/__init__.py | Edanflame/vnpy_rohon | c7ca0033d1f9f0e8fab02b65279accde867a2225 | [
"MIT"
] | null | null | null | vnpy_rohon/gateway/__init__.py | Edanflame/vnpy_rohon | c7ca0033d1f9f0e8fab02b65279accde867a2225 | [
"MIT"
] | 3 | 2021-05-20T08:28:34.000Z | 2022-02-08T06:37:24.000Z | from .rohon_gateway import RohonGateway | 39 | 39 | 0.897436 | 5 | 39 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 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 |
e0ec3bfc577913e225b720ba06a6663aba50b414 | 43 | py | Python | mtgdata/util/__init__.py | nmichlo/mtg-dataset | 6503b835e4593f7198d45d565fdfae863bc98b45 | [
"MIT"
] | null | null | null | mtgdata/util/__init__.py | nmichlo/mtg-dataset | 6503b835e4593f7198d45d565fdfae863bc98b45 | [
"MIT"
] | null | null | null | mtgdata/util/__init__.py | nmichlo/mtg-dataset | 6503b835e4593f7198d45d565fdfae863bc98b45 | [
"MIT"
] | null | null | null |
from mtgdata.util.hdf5 import Hdf5Dataset
| 14.333333 | 41 | 0.837209 | 6 | 43 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.116279 | 43 | 2 | 42 | 21.5 | 0.894737 | 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 |
e0f442e13c535c42a0f86c79c6103246fcdf05bc | 36 | py | Python | multiband_melgan/__init__.py | AppleHolic/multiband_melgan | e0864d0fc205c3bdf5e19c77753e105e29a2641b | [
"MIT"
] | 41 | 2020-06-24T08:07:23.000Z | 2022-01-24T16:39:54.000Z | multiband_melgan/__init__.py | AppleHolic/multiband_melgan | e0864d0fc205c3bdf5e19c77753e105e29a2641b | [
"MIT"
] | 2 | 2020-06-24T08:02:15.000Z | 2020-11-23T02:56:42.000Z | multiband_melgan/__init__.py | AppleHolic/multiband_melgan | e0864d0fc205c3bdf5e19c77753e105e29a2641b | [
"MIT"
] | 5 | 2020-07-03T04:00:50.000Z | 2020-11-04T03:24:48.000Z | from multiband_melgan import models
| 18 | 35 | 0.888889 | 5 | 36 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
460af2f6fdf53e83bfe842d7ca292f8aeb0c5e14 | 27,888 | py | Python | arnold/experiment.py | davidbhr/arnold | 2ea777f25f8b5e1cf68e0e41c86997a1554c2cbe | [
"MIT"
] | 2 | 2019-06-25T12:44:55.000Z | 2022-02-28T04:26:29.000Z | arnold/experiment.py | davidbhr/arnold | 2ea777f25f8b5e1cf68e0e41c86997a1554c2cbe | [
"MIT"
] | null | null | null | arnold/experiment.py | davidbhr/arnold | 2ea777f25f8b5e1cf68e0e41c86997a1554c2cbe | [
"MIT"
] | 1 | 2020-06-22T12:35:59.000Z | 2020-06-22T12:35:59.000Z | from __future__ import print_function, division
from time import sleep
import arnold as ar
from subprocess import Popen
import os
import numpy as np
import pandas as pd
def mesh_and_show(mesh_file, d_cyl, l_cyl, r_outer, length_factor=0.4):
"""
Creates a spherical bulk mesh with a centered cylindrical i... | 52.322702 | 245 | 0.626004 | 3,573 | 27,888 | 4.767982 | 0.089561 | 0.013501 | 0.016025 | 0.026415 | 0.862879 | 0.848439 | 0.835583 | 0.819735 | 0.798251 | 0.788448 | 0 | 0.011154 | 0.283097 | 27,888 | 532 | 246 | 52.421053 | 0.840944 | 0.516997 | 0 | 0.444444 | 0 | 0 | 0.125069 | 0.039089 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.061111 | 0 | 0.138889 | 0.066667 | 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 |
460b712452670a1f77501add9c9d6d1b63a66caf | 1,975 | py | Python | firsttest/models/plotresults.py | charlos1204/firsttest | 2c66385ae7149d1403071c2bf6da997873350556 | [
"MIT"
] | null | null | null | firsttest/models/plotresults.py | charlos1204/firsttest | 2c66385ae7149d1403071c2bf6da997873350556 | [
"MIT"
] | null | null | null | firsttest/models/plotresults.py | charlos1204/firsttest | 2c66385ae7149d1403071c2bf6da997873350556 | [
"MIT"
] | null | null | null | import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
"""
Author: Carlos Garcia-Perez
Date: 25.06.2019 add support for save images in hosts without Display support
18.06.2019 first version of the script
"""
def plot_acc_loss(history, opt):
if opt == 'plot':
loss = history.histor... | 30.384615 | 77 | 0.598987 | 252 | 1,975 | 4.623016 | 0.238095 | 0.060086 | 0.08927 | 0.054936 | 0.792275 | 0.792275 | 0.792275 | 0.792275 | 0.792275 | 0.792275 | 0 | 0.016338 | 0.256203 | 1,975 | 65 | 78 | 30.384615 | 0.776719 | 0 | 0 | 0.808511 | 0 | 0 | 0.223872 | 0.039604 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021277 | false | 0 | 0.042553 | 0 | 0.06383 | 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 |
1ca23355ff0fac7f94a85cada9e2e92793892062 | 4,436 | py | Python | tests/web/admin/test_admin_receipts_controller.py | zakharovadaria/receipts | a1ac0936d8df4191c5500b605341e6380276595d | [
"MIT"
] | 2 | 2020-02-01T17:42:23.000Z | 2020-02-01T18:09:00.000Z | tests/web/admin/test_admin_receipts_controller.py | zakharovadaria/receipts | a1ac0936d8df4191c5500b605341e6380276595d | [
"MIT"
] | null | null | null | tests/web/admin/test_admin_receipts_controller.py | zakharovadaria/receipts | a1ac0936d8df4191c5500b605341e6380276595d | [
"MIT"
] | null | null | null | from flask.testing import FlaskClient
from app.models.receipt import Receipt
from db import session
from schemas import ReceiptClientSchema
from tests.test_receipts import prepare_create_receipt
def test_status_without_auth(test_client: FlaskClient):
response = test_client.get('/api/admin/v1/receipts/')
actu... | 28.805195 | 105 | 0.687782 | 495 | 4,436 | 5.947475 | 0.135354 | 0.054348 | 0.061141 | 0.077446 | 0.831861 | 0.774796 | 0.740489 | 0.727582 | 0.714334 | 0.671875 | 0 | 0.01122 | 0.196348 | 4,436 | 153 | 106 | 28.993464 | 0.814586 | 0 | 0 | 0.627273 | 0 | 0 | 0.087692 | 0.050271 | 0 | 0 | 0 | 0 | 0.072727 | 1 | 0.072727 | false | 0 | 0.045455 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.