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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
837a0bb769f9dacf5e6c21e166f2f3b79470fd14 | 14,009 | py | Python | BanDiTS/breakpoint_functions.py | jziemer1996/BanDiTS | f6a2b2fda4363f83de18059366381c4fbe7f1e5b | [
"WTFPL"
] | null | null | null | BanDiTS/breakpoint_functions.py | jziemer1996/BanDiTS | f6a2b2fda4363f83de18059366381c4fbe7f1e5b | [
"WTFPL"
] | null | null | null | BanDiTS/breakpoint_functions.py | jziemer1996/BanDiTS | f6a2b2fda4363f83de18059366381c4fbe7f1e5b | [
"WTFPL"
] | null | null | null | def stdev_time(arr1d, stdev):
"""
detects breakpoints through multiple standard deviations and divides breakpoints into timely separated sections
(wanted_parts)
- if sigma = 1 -> 68.3%
- if sigma = 2 -> 95.5%
- if sigma = 2.5 -> 99.0%
- if sigma = 3 -> 99.7%... | 42.323263 | 119 | 0.648654 | 2,092 | 14,009 | 4.274379 | 0.112811 | 0.065981 | 0.083874 | 0.056363 | 0.837285 | 0.828674 | 0.81805 | 0.807314 | 0.807314 | 0.790539 | 0 | 0.056585 | 0.272111 | 14,009 | 330 | 120 | 42.451515 | 0.820339 | 0.658719 | 0 | 0.669725 | 0 | 0 | 0.012033 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.091743 | false | 0 | 0.100917 | 0 | 0.348624 | 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 |
83d57e06dd53c4f3e84d0b28240b91c1aed3e04d | 159 | py | Python | dlfairness/original_code/nifr/nifr/models/__init__.py | lin-tan/fairness-variance | 7f6aee23160707ffe78f429e5d960022ea1c9fe4 | [
"BSD-3-Clause"
] | null | null | null | dlfairness/original_code/nifr/nifr/models/__init__.py | lin-tan/fairness-variance | 7f6aee23160707ffe78f429e5d960022ea1c9fe4 | [
"BSD-3-Clause"
] | null | null | null | dlfairness/original_code/nifr/nifr/models/__init__.py | lin-tan/fairness-variance | 7f6aee23160707ffe78f429e5d960022ea1c9fe4 | [
"BSD-3-Clause"
] | null | null | null | from . import configs
from .autoencoder import *
from .base import *
from .classifier import *
from .factory import *
from .inn import *
from .masker import *
| 19.875 | 26 | 0.742138 | 21 | 159 | 5.619048 | 0.428571 | 0.423729 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176101 | 159 | 7 | 27 | 22.714286 | 0.900763 | 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 |
83d761f889e2d13ad261360bfa34ec15b420444b | 113 | py | Python | suchutils/__init__.py | Yyonging/dyqutils | 62d7a54510a7207f39f25846e4bb4a157febfa22 | [
"MIT"
] | null | null | null | suchutils/__init__.py | Yyonging/dyqutils | 62d7a54510a7207f39f25846e4bb4a157febfa22 | [
"MIT"
] | null | null | null | suchutils/__init__.py | Yyonging/dyqutils | 62d7a54510a7207f39f25846e4bb4a157febfa22 | [
"MIT"
] | null | null | null | from .structs import generate_nodes, generate_tree, print_nodes, print_tree, \
nodes_render, tree_render
| 37.666667 | 78 | 0.778761 | 15 | 113 | 5.466667 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159292 | 113 | 2 | 79 | 56.5 | 0.863158 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
86077c91c4c2c09aa01ba438657378161b8f0ce7 | 361 | py | Python | mappi/presets.py | akx/mappi | d49310a95dadf581911a91ff0a769b074924548c | [
"MIT"
] | null | null | null | mappi/presets.py | akx/mappi | d49310a95dadf581911a91ff0a769b074924548c | [
"MIT"
] | null | null | null | mappi/presets.py | akx/mappi | d49310a95dadf581911a91ff0a769b074924548c | [
"MIT"
] | null | null | null | PRESET_FUNCTIONS = {
"abc": "(x << a) & b ^ c",
"ab": "(x << a) & b",
"x+a-b": "x+a-b",
"x+a+b": "x+a+b",
"x*a+b": "x*a+b",
"x*a-b": "x*a-b",
"xorshift2": "x ^ x << a ^ (x ^ x << a) >> b",
"xorshift3": "x ^ (x << a) >> b",
"xorshift": "x ^ (x << a) ^ ((x ^ (x << a)) >> b) ^ ((x ^ (x ... | 30.083333 | 103 | 0.288089 | 64 | 361 | 1.609375 | 0.171875 | 0.330097 | 0.407767 | 0.349515 | 0.466019 | 0.466019 | 0.466019 | 0.262136 | 0.262136 | 0.262136 | 0 | 0.008097 | 0.315789 | 361 | 11 | 104 | 32.818182 | 0.408907 | 0 | 0 | 0 | 0 | 0.090909 | 0.637119 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f7c8916499dd6803d9100deeeb0c62aaaa871200 | 5,459 | py | Python | python/sensei/unpaired.py | KChen-lab/sensei | 591f5214b598f60e2ea21bb8b9955cc529f67eee | [
"MIT"
] | null | null | null | python/sensei/unpaired.py | KChen-lab/sensei | 591f5214b598f60e2ea21bb8b9955cc529f67eee | [
"MIT"
] | null | null | null | python/sensei/unpaired.py | KChen-lab/sensei | 591f5214b598f60e2ea21bb8b9955cc529f67eee | [
"MIT"
] | 1 | 2022-01-08T16:34:49.000Z | 2022-01-08T16:34:49.000Z | import scipy.stats
from .utils import *
from scipy.stats import mannwhitneyu, ttest_ind, betabinom
def calc_wilcoxon_fn(M, N, m, s, alpha = 0.05, n_sim = 10_000):
"""
:param M: number of patients, as a list
:param N: number of cells, as a list
:param m: mean for both groups, as a list
:param s... | 27.024752 | 115 | 0.495329 | 966 | 5,459 | 2.70911 | 0.115942 | 0.01452 | 0.019488 | 0.025984 | 0.811998 | 0.727551 | 0.727551 | 0.701185 | 0.677493 | 0.655713 | 0 | 0.058088 | 0.296758 | 5,459 | 202 | 116 | 27.024752 | 0.6236 | 0.242902 | 0 | 0.787879 | 0 | 0 | 0.045396 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050505 | false | 0 | 0.030303 | 0 | 0.161616 | 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 |
f701144532a32d57093b84a8487c8cd5c89881c1 | 166,327 | py | Python | eventstore_grpc/proto/ClientMessageDtos_pb2.py | jmshnds/eventstore_grpc | cf6a5978bcdf5bb725a569b7373ce15ee4babb25 | [
"MIT"
] | 6 | 2021-02-04T15:48:28.000Z | 2021-12-26T03:04:26.000Z | eventstore_grpc/proto/ClientMessageDtos_pb2.py | jmshnds/eventstore_grpc | cf6a5978bcdf5bb725a569b7373ce15ee4babb25 | [
"MIT"
] | 1 | 2021-04-14T00:06:25.000Z | 2021-04-14T07:28:34.000Z | eventstore_grpc/proto/ClientMessageDtos_pb2.py | jmshnds/eventstore_grpc | cf6a5978bcdf5bb725a569b7373ce15ee4babb25 | [
"MIT"
] | 1 | 2021-04-14T17:22:54.000Z | 2021-04-14T17:22:54.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: ClientMessageDtos.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from goo... | 47.671826 | 14,798 | 0.775046 | 19,451 | 166,327 | 6.300653 | 0.031875 | 0.044976 | 0.078137 | 0.068737 | 0.793479 | 0.769473 | 0.716313 | 0.697064 | 0.687036 | 0.680769 | 0 | 0.035942 | 0.113439 | 166,327 | 3,488 | 14,799 | 47.685493 | 0.795163 | 0.026003 | 0 | 0.729746 | 1 | 0.000917 | 0.239668 | 0.204464 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.001529 | 0 | 0.001529 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f70fad449b902120499a1dec1a4d6c495074a31f | 607 | py | Python | venv/Lib/site-packages/tensorflow/python/keras/api/_v2/keras/applications/resnet/__init__.py | rexliu3/StockTradingBotCloud | 46b732b9c05f73bc0e856a3c4a16854b6d12e18e | [
"MIT"
] | null | null | null | venv/Lib/site-packages/tensorflow/python/keras/api/_v2/keras/applications/resnet/__init__.py | rexliu3/StockTradingBotCloud | 46b732b9c05f73bc0e856a3c4a16854b6d12e18e | [
"MIT"
] | null | null | null | venv/Lib/site-packages/tensorflow/python/keras/api/_v2/keras/applications/resnet/__init__.py | rexliu3/StockTradingBotCloud | 46b732b9c05f73bc0e856a3c4a16854b6d12e18e | [
"MIT"
] | 1 | 2020-06-28T11:47:47.000Z | 2020-06-28T11:47:47.000Z | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
"""ResNet models for Keras.
"""
from __future__ import print_function as _print_function
import sys as _sys
from tensorflow.python.keras.applications.resnet import ResNet101
from tensorfl... | 35.705882 | 82 | 0.84514 | 81 | 607 | 6.160494 | 0.45679 | 0.192385 | 0.200401 | 0.250501 | 0.490982 | 0.490982 | 0.490982 | 0 | 0 | 0 | 0 | 0.014493 | 0.09061 | 607 | 16 | 83 | 37.9375 | 0.889493 | 0.248764 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.875 | 0 | 0.875 | 0.25 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f713163dddd2cb0d284f77fcefb7c00d732eeea7 | 23,328 | py | Python | test/programytest/test_bot.py | motazsaad/fit-bot-fb-clt | 580477aa1ec91855b621d9ae276f2705962f6a87 | [
"MIT"
] | null | null | null | test/programytest/test_bot.py | motazsaad/fit-bot-fb-clt | 580477aa1ec91855b621d9ae276f2705962f6a87 | [
"MIT"
] | null | null | null | test/programytest/test_bot.py | motazsaad/fit-bot-fb-clt | 580477aa1ec91855b621d9ae276f2705962f6a87 | [
"MIT"
] | 4 | 2019-04-01T15:42:23.000Z | 2020-11-05T08:14:27.000Z | import unittest.mock
from programy.brain import Brain
from programy.bot import BrainFactory
from programy.bot import Bot
from programy.config.bot.bot import BotConfiguration
from programy.config.programy import ProgramyConfiguration
from programy.clients.events.console.config import ConsoleConfiguration
from programy.... | 36.223602 | 136 | 0.70126 | 2,523 | 23,328 | 6.188268 | 0.066191 | 0.084161 | 0.114136 | 0.063409 | 0.83629 | 0.801704 | 0.776276 | 0.740152 | 0.715558 | 0.672324 | 0 | 0.005158 | 0.21052 | 23,328 | 643 | 137 | 36.279938 | 0.842591 | 0 | 0 | 0.623656 | 0 | 0 | 0.080847 | 0.026835 | 0 | 0 | 0 | 0 | 0.335484 | 1 | 0.113978 | false | 0 | 0.021505 | 0.002151 | 0.146237 | 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 |
f71b5dd3b2f1f6ba21eafc9f59670a50d9efc222 | 207 | py | Python | sciencer/expanders/__init__.py | SciencerIO/sciencer-toolkit | f17c4a5dfb6cc5dbabefe03b13eb1e5345f7b1b9 | [
"MIT"
] | 2 | 2022-03-28T17:27:21.000Z | 2022-03-29T22:27:15.000Z | sciencer/expanders/__init__.py | SciencerIO/sciencer-toolkit | f17c4a5dfb6cc5dbabefe03b13eb1e5345f7b1b9 | [
"MIT"
] | null | null | null | sciencer/expanders/__init__.py | SciencerIO/sciencer-toolkit | f17c4a5dfb6cc5dbabefe03b13eb1e5345f7b1b9 | [
"MIT"
] | 1 | 2022-03-28T14:47:53.000Z | 2022-03-28T14:47:53.000Z | """Sciencer Expanders"""
from .expander import Expander
from .expand_by_authors import ExpandByAuthors
from .expand_by_references import ExpandByReferences
from .expand_by_citations import ExpandByCitations
| 34.5 | 52 | 0.864734 | 24 | 207 | 7.208333 | 0.541667 | 0.17341 | 0.208092 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 207 | 5 | 53 | 41.4 | 0.915344 | 0.086957 | 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 |
f760054283a7579592e44d1416bea11375a21cc3 | 36 | py | Python | tests/indexer/__init__.py | 2kodevs/Search-Engine | 840001f825d9632c6c7a5fd24151b79ca1a9a06b | [
"MIT"
] | null | null | null | tests/indexer/__init__.py | 2kodevs/Search-Engine | 840001f825d9632c6c7a5fd24151b79ca1a9a06b | [
"MIT"
] | null | null | null | tests/indexer/__init__.py | 2kodevs/Search-Engine | 840001f825d9632c6c7a5fd24151b79ca1a9a06b | [
"MIT"
] | null | null | null | from ._tests import IndexerTestCase
| 18 | 35 | 0.861111 | 4 | 36 | 7.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 |
f765d480c233cfc84857c2e2f3928c8daab084da | 10,302 | py | Python | txpipe/theory.py | Lhior/TXPipe | 58fd7612326779d4c1b0e499157dddc9e3b524c0 | [
"BSD-3-Clause"
] | 9 | 2018-03-17T02:07:52.000Z | 2022-02-23T20:25:48.000Z | txpipe/theory.py | Lhior/TXPipe | 58fd7612326779d4c1b0e499157dddc9e3b524c0 | [
"BSD-3-Clause"
] | 162 | 2018-03-06T16:18:23.000Z | 2022-03-21T18:11:37.000Z | txpipe/theory.py | Lhior/TXPipe | 58fd7612326779d4c1b0e499157dddc9e3b524c0 | [
"BSD-3-Clause"
] | 7 | 2018-07-26T11:49:46.000Z | 2022-02-23T22:14:48.000Z | from .base_stage import PipelineStage
from .data_types import FiducialCosmology, SACCFile
import numpy as np
class TXTwoPointTheoryReal(PipelineStage):
"""
Compute theory in CCL in real space and save to a sacc file.
"""
name = "TXTwoPointTheoryReal"
inputs = [
("twopoint_data_real", SACC... | 34.804054 | 93 | 0.553096 | 1,300 | 10,302 | 4.163077 | 0.124615 | 0.032336 | 0.023651 | 0.014967 | 0.82391 | 0.769401 | 0.754065 | 0.728381 | 0.705285 | 0.673688 | 0 | 0.006436 | 0.336342 | 10,302 | 295 | 94 | 34.922034 | 0.78514 | 0.098525 | 0 | 0.517949 | 0 | 0 | 0.162982 | 0.03446 | 0 | 0 | 0 | 0.00678 | 0 | 1 | 0.035897 | false | 0 | 0.051282 | 0 | 0.153846 | 0.071795 | 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 |
f79b145aa24809bca7ef1d373ece84c32e2ebc85 | 49 | py | Python | Utils/__init__.py | alexgonzl/TreeMazeAnalyses2 | 9bd20328368a915a0d9b81c02ae7af37c5c0c839 | [
"MIT"
] | null | null | null | Utils/__init__.py | alexgonzl/TreeMazeAnalyses2 | 9bd20328368a915a0d9b81c02ae7af37c5c0c839 | [
"MIT"
] | null | null | null | Utils/__init__.py | alexgonzl/TreeMazeAnalyses2 | 9bd20328368a915a0d9b81c02ae7af37c5c0c839 | [
"MIT"
] | null | null | null | from Utils import filter_functions, robust_stats
| 24.5 | 48 | 0.877551 | 7 | 49 | 5.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 1 | 49 | 49 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
541825b4eb738cb8dbe692f43b505cd31d2b2857 | 11,649 | py | Python | tests/utils/test_utils.py | NESCAU-UFLA/FuzzyingTool | ee0a3c149fb9839fb269cc0f254fb3234058e6af | [
"MIT"
] | null | null | null | tests/utils/test_utils.py | NESCAU-UFLA/FuzzyingTool | ee0a3c149fb9839fb269cc0f254fb3234058e6af | [
"MIT"
] | null | null | null | tests/utils/test_utils.py | NESCAU-UFLA/FuzzyingTool | ee0a3c149fb9839fb269cc0f254fb3234058e6af | [
"MIT"
] | null | null | null | import unittest
from unittest.mock import Mock, patch
from src.fuzzingtool.utils.utils import *
from src.fuzzingtool.utils.utils import _get_letter_range, _get_number_range
from src.fuzzingtool.utils.consts import FUZZING_MARK, FUZZING_MARK_LEN, MAX_PAYLOAD_LENGTH_TO_OUTPUT
class TestUtils(unittest.TestCase):
de... | 43.958491 | 101 | 0.699116 | 1,407 | 11,649 | 5.348259 | 0.095238 | 0.15309 | 0.126512 | 0.13608 | 0.873223 | 0.854485 | 0.819136 | 0.809302 | 0.793621 | 0.776346 | 0 | 0.014644 | 0.208602 | 11,649 | 264 | 102 | 44.125 | 0.801605 | 0.001202 | 0 | 0.548246 | 0 | 0 | 0.060432 | 0.020287 | 0 | 0 | 0 | 0 | 0.315789 | 1 | 0.149123 | false | 0 | 0.02193 | 0 | 0.175439 | 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 |
542b5806c4a13f0aaa38eda82badbe8c249801d5 | 121 | py | Python | encoding/__init__.py | yohan-pg/stylegan2-ada-pytorch | e1225b08d55ff5ca38e1646fa430d3c3c3bb3c68 | [
"BSD-Source-Code"
] | null | null | null | encoding/__init__.py | yohan-pg/stylegan2-ada-pytorch | e1225b08d55ff5ca38e1646fa430d3c3c3bb3c68 | [
"BSD-Source-Code"
] | null | null | null | encoding/__init__.py | yohan-pg/stylegan2-ada-pytorch | e1225b08d55ff5ca38e1646fa430d3c3c3bb3c68 | [
"BSD-Source-Code"
] | null | null | null | from .stylegan_encoder_network import *
from .encoder import *
from .encoding_dataset import *
from .tensorboard import * | 30.25 | 39 | 0.809917 | 15 | 121 | 6.333333 | 0.533333 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123967 | 121 | 4 | 40 | 30.25 | 0.896226 | 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 |
584143a0a5e82c07c39dd167cfe8ab785a46e87b | 79 | py | Python | roiextractors/extractors/numpyextractors/__init__.py | cechava/roiextractors | 4a5348ce89f879eb6e068ab4640c50c42979e634 | [
"BSD-3-Clause"
] | 4 | 2020-09-23T00:01:08.000Z | 2021-11-16T11:49:58.000Z | roiextractors/extractors/numpyextractors/__init__.py | cechava/roiextractors | 4a5348ce89f879eb6e068ab4640c50c42979e634 | [
"BSD-3-Clause"
] | 50 | 2020-08-14T17:12:24.000Z | 2022-03-01T22:20:37.000Z | roiextractors/extractors/numpyextractors/__init__.py | cechava/roiextractors | 4a5348ce89f879eb6e068ab4640c50c42979e634 | [
"BSD-3-Clause"
] | 1 | 2020-12-15T22:57:54.000Z | 2020-12-15T22:57:54.000Z | from .numpyextractors import NumpyImagingExtractor, NumpySegmentationExtractor
| 39.5 | 78 | 0.911392 | 5 | 79 | 14.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063291 | 79 | 1 | 79 | 79 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
58582c50593e6dc855bd744ad19aeda18eddaac4 | 496 | py | Python | website/admins/__init__.py | LKKTGB/lkk-website | d9cd2f5a11f2b4316ea4b242c5e09981207abdfb | [
"MIT"
] | null | null | null | website/admins/__init__.py | LKKTGB/lkk-website | d9cd2f5a11f2b4316ea4b242c5e09981207abdfb | [
"MIT"
] | null | null | null | website/admins/__init__.py | LKKTGB/lkk-website | d9cd2f5a11f2b4316ea4b242c5e09981207abdfb | [
"MIT"
] | null | null | null | from website.admins.headline_admin import HeadlineAdmin
from website.admins.home_tab import HomeTabAdmin
from website.admins.post_admin import PostAdmin
from website.admins.salon_admin import SalonAdmin
from website.admins.salon_registration_admin import SalonRegistrationAdmin
from website.admins.user_profile_admin imp... | 55.111111 | 89 | 0.903226 | 61 | 496 | 7.131148 | 0.377049 | 0.202299 | 0.312644 | 0.101149 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 496 | 8 | 90 | 62 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
58a97e49d8376acda88d094c999ce867701256a3 | 94 | py | Python | apps/restApi/setting/__init__.py | unripedata/mangement_for_flask | ade2f854f7a8238e318dd847661b7b0e22e0addf | [
"MIT"
] | null | null | null | apps/restApi/setting/__init__.py | unripedata/mangement_for_flask | ade2f854f7a8238e318dd847661b7b0e22e0addf | [
"MIT"
] | null | null | null | apps/restApi/setting/__init__.py | unripedata/mangement_for_flask | ade2f854f7a8238e318dd847661b7b0e22e0addf | [
"MIT"
] | null | null | null | from setting.config import config
from setting.code import ReqMsg, ReqCode
import setting.web | 23.5 | 40 | 0.840426 | 14 | 94 | 5.642857 | 0.571429 | 0.278481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117021 | 94 | 4 | 41 | 23.5 | 0.951807 | 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 |
547c271fcfbd8e38d1b320bf3e9fc5cd9aae3df1 | 2,442 | py | Python | test.py | foliant-docs/foliantcontrib.yaml_include | 7a5cf05f829ad42d98f5b3e4e1b27c6d095fa21f | [
"MIT"
] | null | null | null | test.py | foliant-docs/foliantcontrib.yaml_include | 7a5cf05f829ad42d98f5b3e4e1b27c6d095fa21f | [
"MIT"
] | null | null | null | test.py | foliant-docs/foliantcontrib.yaml_include | 7a5cf05f829ad42d98f5b3e4e1b27c6d095fa21f | [
"MIT"
] | null | null | null | from unittest import TestCase
from unittest.mock import patch, mock_open, Mock
from foliant_test.config_extension import ConfigExtensionTestFramework
class TestInclude(TestCase):
def setUp(self):
self.ctf = ConfigExtensionTestFramework('include')
def test_include_simple(self):
source = 'param... | 38.761905 | 93 | 0.621212 | 292 | 2,442 | 4.989726 | 0.167808 | 0.062457 | 0.065889 | 0.093342 | 0.8442 | 0.840082 | 0.809883 | 0.809883 | 0.809883 | 0.760467 | 0 | 0.013194 | 0.255119 | 2,442 | 62 | 94 | 39.387097 | 0.787795 | 0 | 0 | 0.615385 | 0 | 0 | 0.19697 | 0.046683 | 0 | 0 | 0 | 0 | 0 | 1 | 0.096154 | false | 0 | 0.057692 | 0 | 0.173077 | 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 |
54b8dc5ccb3d990661e14d130af1d290142a6841 | 10,374 | py | Python | beangulp_coinbase/tests.py | ThomasdenH/beangulp-importers | 25c4ee7d0394383a1007579c1227c05f8ea51809 | [
"Apache-2.0",
"MIT"
] | null | null | null | beangulp_coinbase/tests.py | ThomasdenH/beangulp-importers | 25c4ee7d0394383a1007579c1227c05f8ea51809 | [
"Apache-2.0",
"MIT"
] | null | null | null | beangulp_coinbase/tests.py | ThomasdenH/beangulp-importers | 25c4ee7d0394383a1007579c1227c05f8ea51809 | [
"Apache-2.0",
"MIT"
] | null | null | null | from beangulp_coinbase import importer
from beancount.parser import cmptest
from beancount.utils.test_utils import docfile
from beangulp import extract
class StringOutput:
def __init__(self) -> None:
self.s = ""
def write(self, s: str):
self.s = self.s + s
def get(self) -> str:
... | 35.285714 | 242 | 0.67862 | 1,265 | 10,374 | 5.485375 | 0.116996 | 0.039343 | 0.057501 | 0.019167 | 0.850699 | 0.837296 | 0.820579 | 0.801845 | 0.783975 | 0.768987 | 0 | 0.088372 | 0.212454 | 10,374 | 293 | 243 | 35.406143 | 0.760465 | 0.37247 | 0 | 0.694656 | 0 | 0 | 0.132317 | 0.031301 | 0 | 0 | 0 | 0 | 0.053435 | 1 | 0.076336 | false | 0 | 0.137405 | 0 | 0.229008 | 0.053435 | 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 |
54be552c0e9ea4e49dee1c0f70219e601e39276b | 135 | py | Python | my_utils/train_and_eval/__init__.py | Ryou0634/my_utils | 0b6a3f8694d504d2a12595950cbf9408f4ba5dc3 | [
"Apache-2.0"
] | null | null | null | my_utils/train_and_eval/__init__.py | Ryou0634/my_utils | 0b6a3f8694d504d2a12595950cbf9408f4ba5dc3 | [
"Apache-2.0"
] | null | null | null | my_utils/train_and_eval/__init__.py | Ryou0634/my_utils | 0b6a3f8694d504d2a12595950cbf9408f4ba5dc3 | [
"Apache-2.0"
] | null | null | null | from .cross_validator import *
from .data_loader import *
from .evaluator import *
from .trainer import *
from .score_monitor import *
| 22.5 | 30 | 0.777778 | 18 | 135 | 5.666667 | 0.555556 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 135 | 5 | 31 | 27 | 0.886957 | 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 |
49b47be78e5961cdee828d1059f96619e3af50c8 | 6,049 | py | Python | tests/test_gateddirective.py | vincentxavier/sphinx-exercise | f555d7260bd7d79261012bd3cfc959bc5f717ca6 | [
"MIT"
] | null | null | null | tests/test_gateddirective.py | vincentxavier/sphinx-exercise | f555d7260bd7d79261012bd3cfc959bc5f717ca6 | [
"MIT"
] | 4 | 2020-09-24T15:41:25.000Z | 2020-10-08T10:19:55.000Z | tests/test_gateddirective.py | najuzilu/sphinx-exercise | f555d7260bd7d79261012bd3cfc959bc5f717ca6 | [
"MIT"
] | null | null | null | import os
import pytest
import shutil
from bs4 import BeautifulSoup
from sphinx.errors import ExtensionError
from sphinx.testing.util import strip_escseq
@pytest.mark.sphinx("html", testroot="gateddirective")
@pytest.mark.parametrize("docname", ["exercise-gated.html"])
def test_gated_exercise_build(app, docname, fil... | 30.094527 | 144 | 0.640436 | 721 | 6,049 | 5.223301 | 0.153953 | 0.037175 | 0.042485 | 0.053107 | 0.845459 | 0.792087 | 0.780138 | 0.780138 | 0.780138 | 0.780138 | 0 | 0.021037 | 0.237725 | 6,049 | 200 | 145 | 30.245 | 0.795706 | 0.026781 | 0 | 0.666667 | 0 | 0.011905 | 0.228085 | 0.059404 | 0 | 0 | 0 | 0 | 0.107143 | 1 | 0.065476 | false | 0 | 0.035714 | 0.005952 | 0.107143 | 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 |
49d9e964a03ae6eee3f76f82e83f3109c6f4b27b | 369 | py | Python | rlcard/games/wizard_ms_trickpreds/__init__.py | MagnusWagner/rlcard | 1a3aaef76e78968ebc68eb5b92e57be4709f7e38 | [
"MIT"
] | null | null | null | rlcard/games/wizard_ms_trickpreds/__init__.py | MagnusWagner/rlcard | 1a3aaef76e78968ebc68eb5b92e57be4709f7e38 | [
"MIT"
] | null | null | null | rlcard/games/wizard_ms_trickpreds/__init__.py | MagnusWagner/rlcard | 1a3aaef76e78968ebc68eb5b92e57be4709f7e38 | [
"MIT"
] | null | null | null | from rlcard.games.wizard_ms_trickpreds.dealer import WizardDealer as Dealer
from rlcard.games.wizard_ms_trickpreds.judger import WizardJudger as Judger
from rlcard.games.wizard_ms_trickpreds.player import WizardPlayer as Player
from rlcard.games.wizard_ms_trickpreds.card import WizardCard as Card
from rlcard.games.wiza... | 52.714286 | 75 | 0.875339 | 55 | 369 | 5.690909 | 0.327273 | 0.159744 | 0.239617 | 0.335463 | 0.527157 | 0.527157 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084011 | 369 | 6 | 76 | 61.5 | 0.926036 | 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 |
b711222871ac03647397b0d2fe94685315ff67ef | 10,037 | py | Python | test/test_md001.py | jackdewinter/pymarkdown | 7ae408ba0b24506fa07552ffe520750bbff38c53 | [
"MIT"
] | 20 | 2021-01-14T17:39:09.000Z | 2022-03-14T08:35:22.000Z | test/test_md001.py | jackdewinter/pymarkdown | 7ae408ba0b24506fa07552ffe520750bbff38c53 | [
"MIT"
] | 304 | 2020-08-15T23:24:00.000Z | 2022-03-31T23:34:03.000Z | test/test_md001.py | jackdewinter/pymarkdown | 7ae408ba0b24506fa07552ffe520750bbff38c53 | [
"MIT"
] | 3 | 2021-08-11T10:26:26.000Z | 2021-11-02T20:41:27.000Z | """
Module to provide tests related to the MD001 rule.
"""
from test.markdown_scanner import MarkdownScanner
import pytest
@pytest.mark.rules
def test_md001_all_samples():
"""
Test to make sure we get the expected behavior after scanning all the files in the
test/resources/rules/md001 directory. Note th... | 30.323263 | 226 | 0.685265 | 1,203 | 10,037 | 5.497091 | 0.126351 | 0.049902 | 0.054438 | 0.06956 | 0.892182 | 0.887948 | 0.876153 | 0.864661 | 0.855739 | 0.839105 | 0 | 0.025549 | 0.220086 | 10,037 | 330 | 227 | 30.415152 | 0.819239 | 0.170569 | 0 | 0.692708 | 0 | 0.026042 | 0.378743 | 0.230141 | 0 | 0 | 0 | 0 | 0.052083 | 1 | 0.052083 | false | 0 | 0.010417 | 0 | 0.0625 | 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 |
3f8b77d62f0e449b2707bafb3bc8d946b90933c8 | 308 | py | Python | python/graphscope/experimental/nx/tests/algorithms/forward/centrality/test_subgraph.py | wenyuanyu/GraphScope | a40ccaf70557e608d8b091eb25ab04477f99ce21 | [
"Apache-2.0"
] | 2 | 2020-12-15T08:42:10.000Z | 2022-01-14T09:13:16.000Z | python/graphscope/experimental/nx/tests/algorithms/forward/centrality/test_subgraph.py | wenyuanyu/GraphScope | a40ccaf70557e608d8b091eb25ab04477f99ce21 | [
"Apache-2.0"
] | 1 | 2020-12-22T13:15:40.000Z | 2020-12-22T13:15:40.000Z | python/graphscope/experimental/nx/tests/algorithms/forward/centrality/test_subgraph.py | wenyuanyu/GraphScope | a40ccaf70557e608d8b091eb25ab04477f99ce21 | [
"Apache-2.0"
] | 1 | 2021-11-23T03:40:43.000Z | 2021-11-23T03:40:43.000Z | import networkx.algorithms.centrality.tests.test_subgraph
import pytest
from graphscope.experimental.nx.utils.compat import import_as_graphscope_nx
import_as_graphscope_nx(networkx.algorithms.centrality.tests.test_subgraph,
decorators=pytest.mark.usefixtures("graphscope_session"))
| 38.5 | 81 | 0.811688 | 36 | 308 | 6.694444 | 0.527778 | 0.149378 | 0.232365 | 0.273859 | 0.373444 | 0.373444 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116883 | 308 | 7 | 82 | 44 | 0.886029 | 0 | 0 | 0 | 0 | 0 | 0.058442 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 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 |
b754cc1ef1e24d83a93f480477c65f6505c8a555 | 116 | py | Python | utilities/constants.py | lwhjon/repo-labels-cli | 5a16638f45f0b13e9fdddc59b1a0952f3ba51287 | [
"MIT"
] | 1 | 2021-07-14T06:32:50.000Z | 2021-07-14T06:32:50.000Z | utilities/constants.py | lwhjon/repo-labels-cli | 5a16638f45f0b13e9fdddc59b1a0952f3ba51287 | [
"MIT"
] | 2 | 2021-08-31T18:14:03.000Z | 2021-12-29T18:14:25.000Z | utilities/constants.py | lwhjon/repo-labels-cli | 5a16638f45f0b13e9fdddc59b1a0952f3ba51287 | [
"MIT"
] | null | null | null | from enum import Enum
class ImportModes(Enum):
IMPORT_LABELS = 'IMPORT'
DEL_ALL_LABELS = 'DEL_ALL_LABELS'
| 16.571429 | 37 | 0.732759 | 16 | 116 | 5 | 0.5 | 0.25 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189655 | 116 | 6 | 38 | 19.333333 | 0.851064 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 1.5 | 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 |
b767e5a5a5f23024bbb372c98a30bfa1d6f44357 | 39 | py | Python | loader/config/costs-template-getter.py | jsoldani/ship-to | 92ff47d4c44278778e9e75892ba90eb8e34f0181 | [
"Apache-2.0"
] | null | null | null | loader/config/costs-template-getter.py | jsoldani/ship-to | 92ff47d4c44278778e9e75892ba90eb8e34f0181 | [
"Apache-2.0"
] | null | null | null | loader/config/costs-template-getter.py | jsoldani/ship-to | 92ff47d4c44278778e9e75892ba90eb8e34f0181 | [
"Apache-2.0"
] | null | null | null | def cost(node):
return costs[node]
| 13 | 22 | 0.666667 | 6 | 39 | 4.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 39 | 2 | 23 | 19.5 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b76cb657d6b36df4780dde4e7db40edcb59ba27b | 8,075 | py | Python | back-end/www/tests/question_tests.py | TUD-KInD/COCTEAU | 8ea4f546397feaaf22b4e9958b509324b5b332aa | [
"MIT"
] | null | null | null | back-end/www/tests/question_tests.py | TUD-KInD/COCTEAU | 8ea4f546397feaaf22b4e9958b509324b5b332aa | [
"MIT"
] | 1 | 2021-11-15T11:40:04.000Z | 2021-11-15T11:40:04.000Z | back-end/www/tests/question_tests.py | TUD-KInD/COCTEAU | 8ea4f546397feaaf22b4e9958b509324b5b332aa | [
"MIT"
] | 2 | 2021-07-14T13:07:22.000Z | 2022-01-25T23:58:06.000Z | from basic_tests import BasicTest
from models.model_operations import scenario_operations
from models.model_operations import topic_operations
from models.model_operations import question_operations
from models.model import db
import unittest
class QuestionTest(BasicTest):
"""Test case for questions."""
def s... | 30.703422 | 136 | 0.628731 | 916 | 8,075 | 5.218341 | 0.076419 | 0.106695 | 0.057741 | 0.066946 | 0.843096 | 0.816109 | 0.794351 | 0.78682 | 0.746444 | 0.746444 | 0 | 0.008282 | 0.282229 | 8,075 | 262 | 137 | 30.820611 | 0.816425 | 0.002972 | 0 | 0.6875 | 0 | 0 | 0.037042 | 0 | 0 | 0 | 0 | 0 | 0.135417 | 1 | 0.046875 | false | 0 | 0.03125 | 0 | 0.083333 | 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 |
b799f048759cfd4d955759a0d90084bd9ca7262c | 15,871 | py | Python | gym_minigrid/envs/keycorridor.py | TheNeeloy/ma-minigrid | 797228b096518d6cae0a7b45266a0209e7a3ed4e | [
"Apache-2.0"
] | null | null | null | gym_minigrid/envs/keycorridor.py | TheNeeloy/ma-minigrid | 797228b096518d6cae0a7b45266a0209e7a3ed4e | [
"Apache-2.0"
] | null | null | null | gym_minigrid/envs/keycorridor.py | TheNeeloy/ma-minigrid | 797228b096518d6cae0a7b45266a0209e7a3ed4e | [
"Apache-2.0"
] | null | null | null | from gym_minigrid.roomgrid import RoomGrid, MARoomGrid, CommMARoomGrid
from gym_minigrid.register import register
from gym_minigrid.minigrid import IDX_TO_COLOR, COLOR_NAMES, Door, Goal
class KeyCorridor(RoomGrid):
"""
A ball is behind a locked door, the key is placed in a
random room.
"""
def __i... | 28.544964 | 112 | 0.60809 | 1,981 | 15,871 | 4.571933 | 0.084301 | 0.03478 | 0.030363 | 0.046925 | 0.837143 | 0.813735 | 0.813735 | 0.783372 | 0.699128 | 0.699128 | 0 | 0.026634 | 0.290278 | 15,871 | 555 | 113 | 28.596396 | 0.777433 | 0.06975 | 0 | 0.705882 | 0 | 0 | 0.111663 | 0.101314 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072941 | false | 0 | 0.007059 | 0 | 0.145882 | 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 |
b7a3bfdaeb3e67128c6d014b616e2aeab2807601 | 14,012 | py | Python | tests/test_set_config.py | ChameleonCloud/kolla | 5827aaae1f89809ae6398c833ce401f94c477d30 | [
"Apache-2.0"
] | 1 | 2020-12-09T09:05:16.000Z | 2020-12-09T09:05:16.000Z | tests/test_set_config.py | RSE-Cambridge/kolla | c1d85d290a188bec0d21e41dbab7ff4d1189cace | [
"Apache-2.0"
] | 9 | 2019-02-28T09:15:43.000Z | 2021-03-16T14:34:31.000Z | tests/test_set_config.py | RSE-Cambridge/kolla | c1d85d290a188bec0d21e41dbab7ff4d1189cace | [
"Apache-2.0"
] | null | null | null | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under th... | 42.332326 | 79 | 0.599272 | 1,666 | 14,012 | 4.705882 | 0.104442 | 0.091837 | 0.043495 | 0.067219 | 0.804592 | 0.784949 | 0.775255 | 0.757526 | 0.743622 | 0.72551 | 0 | 0.004013 | 0.288681 | 14,012 | 330 | 80 | 42.460606 | 0.782583 | 0.041607 | 0 | 0.629482 | 0 | 0 | 0.14833 | 0.079085 | 0 | 0 | 0 | 0 | 0.163347 | 1 | 0.063745 | false | 0 | 0.027888 | 0 | 0.103586 | 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 |
b7b4fd32913bbc497d60b86b19e4d8841d4e6b17 | 44,787 | py | Python | tests/test_elements.py | raycharius/blockkit | 8148159761959e35ecc7fc16c31a258853c01b6f | [
"MIT"
] | 13 | 2020-02-12T21:03:11.000Z | 2021-02-14T03:03:25.000Z | tests/test_elements.py | raycharius/blockkit | 8148159761959e35ecc7fc16c31a258853c01b6f | [
"MIT"
] | 8 | 2020-05-18T13:31:51.000Z | 2020-12-16T03:23:07.000Z | tests/test_elements.py | raycharius/blockkit | 8148159761959e35ecc7fc16c31a258853c01b6f | [
"MIT"
] | 2 | 2020-05-23T17:48:36.000Z | 2020-11-22T18:12:41.000Z | import pytest
from blockkit.elements import (
Button,
ChannelsSelect,
Checkboxes,
ConversationsSelect,
DatePicker,
ExternalSelect,
Image,
MultiChannelsSelect,
MultiConversationsSelect,
MultiExternalSelect,
MultiStaticSelect,
MultiUsersSelect,
Overflow,
PlainTextIn... | 33.423134 | 88 | 0.595932 | 4,289 | 44,787 | 5.943577 | 0.036139 | 0.099953 | 0.060254 | 0.116743 | 0.94002 | 0.927781 | 0.906794 | 0.881845 | 0.863094 | 0.834262 | 0 | 0.013242 | 0.263134 | 44,787 | 1,339 | 89 | 33.448096 | 0.759196 | 0 | 0 | 0.650407 | 0 | 0 | 0.167549 | 0.003863 | 0 | 0 | 0 | 0 | 0.018067 | 1 | 0.104788 | false | 0 | 0.003613 | 0 | 0.108401 | 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 |
4d057a203df694ed726bdba5ef0950f88c1cf0ea | 22 | py | Python | utils/__init__.py | CapnS/uwu-bot | 3c06badaa3c76d3f2f6949fbcc20c7b0e33a5e04 | [
"MIT"
] | 11 | 2019-03-18T23:45:11.000Z | 2020-09-19T07:18:35.000Z | tests/__init__.py | brianjbuck/robie | d16c9fd83c5710e9f54e0150c3bea846d0e254e0 | [
"MIT"
] | null | null | null | tests/__init__.py | brianjbuck/robie | d16c9fd83c5710e9f54e0150c3bea846d0e254e0 | [
"MIT"
] | 5 | 2019-03-02T03:05:22.000Z | 2019-09-09T20:18:46.000Z | from . import context
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 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 |
4d92b2f96ba04ccfa16689dc9d0e3a495da319a2 | 41 | py | Python | fhirstore/schema/__init__.py | arkhn/pyfhirstore | dd43b6d7db600f95d81dc83ae0a6e6de78ff02c6 | [
"Apache-2.0"
] | 15 | 2019-10-04T14:29:42.000Z | 2021-12-27T09:15:07.000Z | fhirstore/schema/__init__.py | arkhn/pyfhirstore | dd43b6d7db600f95d81dc83ae0a6e6de78ff02c6 | [
"Apache-2.0"
] | 34 | 2019-10-08T16:37:26.000Z | 2020-11-30T17:51:59.000Z | fhirstore/schema/__init__.py | arkhn/pyfhirstore | dd43b6d7db600f95d81dc83ae0a6e6de78ff02c6 | [
"Apache-2.0"
] | 1 | 2020-12-14T06:13:19.000Z | 2020-12-14T06:13:19.000Z | from .parser import SchemaParser # noqa
| 20.5 | 40 | 0.780488 | 5 | 41 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 41 | 1 | 41 | 41 | 0.941176 | 0.097561 | 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 |
4df37a01528b0491bd5a21abc2396fcbb2ef4507 | 42 | py | Python | professor/core/quiz.py | dominictarro/ProfessorLib | 4f2fae0028f97cee1ce3cd6dd10de9749e7f8073 | [
"MIT"
] | null | null | null | professor/core/quiz.py | dominictarro/ProfessorLib | 4f2fae0028f97cee1ce3cd6dd10de9749e7f8073 | [
"MIT"
] | null | null | null | professor/core/quiz.py | dominictarro/ProfessorLib | 4f2fae0028f97cee1ce3cd6dd10de9749e7f8073 | [
"MIT"
] | 1 | 2021-06-09T14:31:12.000Z | 2021-06-09T14:31:12.000Z | from professor.core.base import QuizBase
| 14 | 40 | 0.833333 | 6 | 42 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 2 | 41 | 21 | 0.945946 | 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 |
15166f0bbe1852e6a73cf52ebaae8f3db7c4ac81 | 45 | py | Python | mautic/models/models.py | hdknr/django-mautic | aa2e5304936541c9266215df00469576142ee906 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2021-02-20T08:48:05.000Z | 2021-02-20T08:48:05.000Z | mautic/models/models.py | hdknr/django-mautic | aa2e5304936541c9266215df00469576142ee906 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | mautic/models/models.py | hdknr/django-mautic | aa2e5304936541c9266215df00469576142ee906 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | from .mautic_models import * # NOQA | 45 | 45 | 0.6 | 5 | 45 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 45 | 1 | 45 | 45 | 0.866667 | 0.088889 | 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 |
12d638199ca7a0f3879aae105b520d1c3839e3c1 | 373 | py | Python | obosthan/__init__.py | imamhs/obosthan | 89946e9917b13863041cd45288a4f91f958576c7 | [
"Zlib"
] | 1 | 2020-06-27T16:13:57.000Z | 2020-06-27T16:13:57.000Z | obosthan/__init__.py | imamhs/obosthan | 89946e9917b13863041cd45288a4f91f958576c7 | [
"Zlib"
] | 1 | 2019-03-18T07:51:49.000Z | 2019-03-18T07:51:49.000Z | obosthan/__init__.py | imamhs/obosthan | 89946e9917b13863041cd45288a4f91f958576c7 | [
"Zlib"
] | null | null | null | from .point2d import OPoint2D
from .vector2d import OVector2D
from .line2d import OLine2D
from .polygon2d import OPolygon
from .collision2d import ocircle2
from .collision2d import oline2
from .collision2d import oline_circle
from .collision2d import obox2
from .collision2d import obox_circle
from .collision2d... | 31.083333 | 38 | 0.823056 | 47 | 373 | 6.468085 | 0.425532 | 0.345395 | 0.483553 | 0.177632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 0.147453 | 373 | 11 | 39 | 33.909091 | 0.899371 | 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 |
42076cdbc5ad3e4b3accdda2b7f57fccbb34ff3f | 60 | py | Python | nozoki/__init__.py | Ruin0x11/nozoki | b303900a39d15cb876905d6abf65a841881a6eaa | [
"MIT"
] | null | null | null | nozoki/__init__.py | Ruin0x11/nozoki | b303900a39d15cb876905d6abf65a841881a6eaa | [
"MIT"
] | null | null | null | nozoki/__init__.py | Ruin0x11/nozoki | b303900a39d15cb876905d6abf65a841881a6eaa | [
"MIT"
] | null | null | null | from nozoki.process import *
from nozoki.keystroke import *
| 20 | 30 | 0.8 | 8 | 60 | 6 | 0.625 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 60 | 2 | 31 | 30 | 0.923077 | 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 |
422232d8dc02fa8395634ff9fbb3d0ed8e7711c8 | 58 | py | Python | ipynb/01-Intro1/iwi131_code/ejemplo1.py | sebastiandres/iwi131 | f47797cfaff9ebb732f20d9a2475975b73210bfc | [
"CC0-1.0"
] | null | null | null | ipynb/01-Intro1/iwi131_code/ejemplo1.py | sebastiandres/iwi131 | f47797cfaff9ebb732f20d9a2475975b73210bfc | [
"CC0-1.0"
] | null | null | null | ipynb/01-Intro1/iwi131_code/ejemplo1.py | sebastiandres/iwi131 | f47797cfaff9ebb732f20d9a2475975b73210bfc | [
"CC0-1.0"
] | null | null | null | a, b = 0, 1
while b < 200:
print b,
a, b = b, a+b
| 11.6 | 17 | 0.413793 | 14 | 58 | 1.714286 | 0.5 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 0.413793 | 58 | 4 | 18 | 14.5 | 0.558824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.25 | 1 | 0 | 1 | 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 | 0 | 0 | 6 |
4245b3cc06ede689c2e099e4d4321792937805f2 | 48,922 | py | Python | src/config/vnc_openstack/vnc_openstack/tests/test_firewall.py | pawelzny/contrail-controller | 4950d3144cb8c422264ddb2a926cf4fe9e40b14d | [
"Apache-2.0"
] | null | null | null | src/config/vnc_openstack/vnc_openstack/tests/test_firewall.py | pawelzny/contrail-controller | 4950d3144cb8c422264ddb2a926cf4fe9e40b14d | [
"Apache-2.0"
] | null | null | null | src/config/vnc_openstack/vnc_openstack/tests/test_firewall.py | pawelzny/contrail-controller | 4950d3144cb8c422264ddb2a926cf4fe9e40b14d | [
"Apache-2.0"
] | null | null | null | # Copyright 2018 Juniper Networks. 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 ... | 37.661278 | 79 | 0.582396 | 5,578 | 48,922 | 4.744174 | 0.057727 | 0.058194 | 0.052073 | 0.032649 | 0.838794 | 0.808752 | 0.76367 | 0.732646 | 0.701961 | 0.67464 | 0 | 0.009294 | 0.30939 | 48,922 | 1,298 | 80 | 37.690293 | 0.77396 | 0.024795 | 0 | 0.623365 | 0 | 0 | 0.099818 | 0.025757 | 0 | 0 | 0 | 0 | 0.133391 | 1 | 0.038361 | false | 0.000872 | 0.017437 | 0 | 0.062772 | 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 |
42758e589cf447125d082ac07859ac50a845ca9e | 121 | py | Python | automechanic_old/parse/rere/__init__.py | avcopan/automechanic-history-save | 3140694950150d49c06545905413d9eeb163ff2d | [
"Apache-2.0"
] | null | null | null | automechanic_old/parse/rere/__init__.py | avcopan/automechanic-history-save | 3140694950150d49c06545905413d9eeb163ff2d | [
"Apache-2.0"
] | null | null | null | automechanic_old/parse/rere/__init__.py | avcopan/automechanic-history-save | 3140694950150d49c06545905413d9eeb163ff2d | [
"Apache-2.0"
] | null | null | null | """ interface to the re module
"""
from . import pattern
from . import pattern_lib
__all__ = ['pattern', 'pattern_lib']
| 17.285714 | 36 | 0.702479 | 16 | 121 | 4.9375 | 0.625 | 0.253165 | 0.43038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165289 | 121 | 6 | 37 | 20.166667 | 0.782178 | 0.214876 | 0 | 0 | 0 | 0 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
42770ca9172e02bde4105ca88c696aea607b3a5e | 75 | py | Python | asyncio_amp/__init__.py | jonathanslenders/asyncio-amp | 904d3411e69955e7804187a69adfde8fa3768f64 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2018-01-31T03:57:55.000Z | 2018-01-31T03:57:55.000Z | asyncio_amp/__init__.py | jonathanslenders/asyncio-amp | 904d3411e69955e7804187a69adfde8fa3768f64 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | asyncio_amp/__init__.py | jonathanslenders/asyncio-amp | 904d3411e69955e7804187a69adfde8fa3768f64 | [
"BSD-2-Clause-FreeBSD"
] | 2 | 2018-12-04T11:38:01.000Z | 2018-12-18T11:31:48.000Z | from .arguments import *
from .exceptions import *
from .protocol import *
| 18.75 | 25 | 0.76 | 9 | 75 | 6.333333 | 0.555556 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 75 | 3 | 26 | 25 | 0.904762 | 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 |
4284d1e9e03d63272cb37b546280f1186e071eab | 847 | py | Python | src/media/rfc2361.py | sffjunkie/media | 819912d776aa1440b533e7de0e9befb27f135ecc | [
"Apache-2.0"
] | null | null | null | src/media/rfc2361.py | sffjunkie/media | 819912d776aa1440b533e7de0e9befb27f135ecc | [
"Apache-2.0"
] | null | null | null | src/media/rfc2361.py | sffjunkie/media | 819912d776aa1440b533e7de0e9befb27f135ecc | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2009-2014 Simon Kennedy <sffjunkie+code@gmail.com>
AudioCodecs = {
'00000000-0000-0010-8000-00AA00389B71': 'Microsoft Unknown',
'00000001-0000-0010-8000-00AA00389B71': 'Microsoft PCM',
'00000002-0000-0010-8000-00AA00389B71': 'Microsoft ADPCM',
'00000003-0000-0010-8000-00AA00389B71': 'IE... | 49.823529 | 77 | 0.720189 | 101 | 847 | 6.039604 | 0.465347 | 0.157377 | 0.236066 | 0.472131 | 0.270492 | 0 | 0 | 0 | 0 | 0 | 0 | 0.475936 | 0.116883 | 847 | 16 | 78 | 52.9375 | 0.339572 | 0.075561 | 0 | 0 | 0 | 0 | 0.740077 | 0.553137 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
35ef16cf3130c104a422df64921e2f88a0169a52 | 973 | py | Python | ark_nlp/model/ner/crf_bert/__init__.py | Zrealshadow/ark-nlp | 159045d17747524bd4e9af7f65f1d0283e8098e6 | [
"Apache-2.0"
] | 258 | 2021-09-04T14:01:13.000Z | 2022-03-31T16:34:52.000Z | ark_nlp/model/ner/crf_bert/__init__.py | yubuyuabc/ark-nlp | 165d35cfacd7476791c0aeba19bf43f4f8079553 | [
"Apache-2.0"
] | 17 | 2022-01-13T04:46:02.000Z | 2022-03-31T16:34:07.000Z | ark_nlp/model/ner/crf_bert/__init__.py | yubuyuabc/ark-nlp | 165d35cfacd7476791c0aeba19bf43f4f8079553 | [
"Apache-2.0"
] | 36 | 2021-11-17T06:18:45.000Z | 2022-03-30T11:32:26.000Z | from ark_nlp.dataset import BIONERDataset as Dataset
from ark_nlp.dataset import BIONERDataset as CrfBertNERDataset
from ark_nlp.processor.tokenizer.transfomer import TokenTokenizer as Tokenizer
from ark_nlp.processor.tokenizer.transfomer import TokenTokenizer as CrfBertNERTokenizer
from ark_nlp.nn import BertConfig ... | 48.65 | 102 | 0.879753 | 145 | 973 | 5.675862 | 0.227586 | 0.119077 | 0.170109 | 0.123937 | 0.834751 | 0.804374 | 0.804374 | 0.639125 | 0.425273 | 0.279465 | 0 | 0 | 0.089414 | 973 | 20 | 103 | 48.65 | 0.928894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
35efdcbd5dec38aa9fefe03ec5c1bc6fe2f4cd1c | 90 | py | Python | app/term_bp/__init__.py | atindale/business-glossary | 34f610faa6c8f6a93d29fcc4d2505404a8f007be | [
"Apache-2.0"
] | 3 | 2019-03-18T12:34:56.000Z | 2021-07-23T23:23:20.000Z | app/term_bp/__init__.py | atindale/business-glossary | 34f610faa6c8f6a93d29fcc4d2505404a8f007be | [
"Apache-2.0"
] | 4 | 2018-01-18T11:47:31.000Z | 2019-09-21T11:11:21.000Z | app/term_bp/__init__.py | atindale/business-glossary | 34f610faa6c8f6a93d29fcc4d2505404a8f007be | [
"Apache-2.0"
] | 1 | 2019-08-19T20:09:01.000Z | 2019-08-19T20:09:01.000Z | from flask import Blueprint
term_bp = Blueprint('term_bp', __name__)
from . import views | 18 | 40 | 0.777778 | 13 | 90 | 4.923077 | 0.615385 | 0.40625 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144444 | 90 | 5 | 41 | 18 | 0.831169 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
c44b3692718be377b8ff5eb2aeec1a3c9e530935 | 32 | py | Python | Bake.py | ikeavin/robot-xd | e872a3e7fc5b48a9d6310db110e0b6dc18bb008d | [
"MIT"
] | null | null | null | Bake.py | ikeavin/robot-xd | e872a3e7fc5b48a9d6310db110e0b6dc18bb008d | [
"MIT"
] | null | null | null | Bake.py | ikeavin/robot-xd | e872a3e7fc5b48a9d6310db110e0b6dc18bb008d | [
"MIT"
] | null | null | null | def main():
print("In Bake") | 16 | 20 | 0.5625 | 5 | 32 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 32 | 2 | 20 | 16 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
c4698ee6cda29a552a6cd07cf0fdf3cdcf5c12b2 | 119,151 | py | Python | src/config/api-server/vnc_cfg_api_server/tests/resources/test_firewall.py | Dmitry-Eremeev/contrail-controller | 1238bcff697981662225ec5a15bc4d3d2237ae93 | [
"Apache-2.0"
] | null | null | null | src/config/api-server/vnc_cfg_api_server/tests/resources/test_firewall.py | Dmitry-Eremeev/contrail-controller | 1238bcff697981662225ec5a15bc4d3d2237ae93 | [
"Apache-2.0"
] | null | null | null | src/config/api-server/vnc_cfg_api_server/tests/resources/test_firewall.py | Dmitry-Eremeev/contrail-controller | 1238bcff697981662225ec5a15bc4d3d2237ae93 | [
"Apache-2.0"
] | null | null | null | #
# Copyright (c) 2016 Juniper Networks, Inc. All rights reserved.
#
import abc
import logging
from mock import patch
from sandesh_common.vns import constants
import six
from testtools import ExpectedException
from vnc_api.exceptions import BadRequest
from vnc_api.exceptions import HttpError
from vnc_api.exceptions im... | 44.228285 | 79 | 0.639961 | 14,562 | 119,151 | 4.920409 | 0.031932 | 0.051583 | 0.051918 | 0.033147 | 0.868822 | 0.83809 | 0.798914 | 0.767386 | 0.736877 | 0.697227 | 0 | 0.00878 | 0.258244 | 119,151 | 2,693 | 80 | 44.244709 | 0.801926 | 0.032555 | 0 | 0.686326 | 0 | 0 | 0.03981 | 0.002205 | 0 | 0 | 0 | 0 | 0.101354 | 1 | 0.044998 | false | 0.010922 | 0.015291 | 0.000874 | 0.067715 | 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 |
c480ddd4f56c51c2ec156f778e27bb0f928e2b90 | 238 | py | Python | src/test_fizzbuzz.py | baez90/unit-test-101-python | 9703a349367775c61ccaee2a9b1c9992b183449a | [
"MIT"
] | null | null | null | src/test_fizzbuzz.py | baez90/unit-test-101-python | 9703a349367775c61ccaee2a9b1c9992b183449a | [
"MIT"
] | null | null | null | src/test_fizzbuzz.py | baez90/unit-test-101-python | 9703a349367775c61ccaee2a9b1c9992b183449a | [
"MIT"
] | null | null | null | from fizzbuzz import fizz_buzz
def test_3():
assert fizz_buzz(3) == "fizz"
def test_5():
assert fizz_buzz(5) == "buzz"
def test_15():
assert fizz_buzz(15) == "fizzbuzz"
def test_30():
assert fizz_buzz(30) == "fizzbuzz" | 18.307692 | 38 | 0.651261 | 37 | 238 | 3.945946 | 0.324324 | 0.273973 | 0.383562 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062827 | 0.197479 | 238 | 13 | 39 | 18.307692 | 0.701571 | 0 | 0 | 0 | 0 | 0 | 0.100418 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.444444 | true | 0 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
672834ce4cb424f9ce7c65cd36b8d15c85515da4 | 386 | py | Python | modules/__init__.py | pgmikhael/NutriNet | f11a0e013479b25a010df4c65f4ef16aa74963d8 | [
"Apache-2.0"
] | null | null | null | modules/__init__.py | pgmikhael/NutriNet | f11a0e013479b25a010df4c65f4ef16aa74963d8 | [
"Apache-2.0"
] | null | null | null | modules/__init__.py | pgmikhael/NutriNet | f11a0e013479b25a010df4c65f4ef16aa74963d8 | [
"Apache-2.0"
] | null | null | null | # lightning
import modules.lightning.base
# models
import modules.models.mlp
import modules.models.recurrent
import modules.models.transformer
# optimizers
import modules.learning.optimizers.basic
import modules.learning.optimizers.lars
# schedulers
import modules.learning.schedulers.basic
# losses
import modules.learn... | 22.705882 | 40 | 0.84456 | 47 | 386 | 6.93617 | 0.319149 | 0.358896 | 0.322086 | 0.190184 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080311 | 386 | 16 | 41 | 24.125 | 0.91831 | 0.137306 | 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 |
6758b5fba90b39a02cb321ff0f82a19e5fcd60b1 | 54 | py | Python | pyportable_crypto/cipher_gen/__init__.py | likianta/pyportable-crypto | 020041798b1323d3a97b5ee47e201d1f7ac7a1b4 | [
"MIT"
] | null | null | null | pyportable_crypto/cipher_gen/__init__.py | likianta/pyportable-crypto | 020041798b1323d3a97b5ee47e201d1f7ac7a1b4 | [
"MIT"
] | null | null | null | pyportable_crypto/cipher_gen/__init__.py | likianta/pyportable-crypto | 020041798b1323d3a97b5ee47e201d1f7ac7a1b4 | [
"MIT"
] | null | null | null | from .generator import generate_custom_cipher_package
| 27 | 53 | 0.907407 | 7 | 54 | 6.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 54 | 1 | 54 | 54 | 0.92 | 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 |
676bd99dec86968925c3a1dc7008b848e576ef79 | 124 | py | Python | python/run.py | tkerns1965/tk_docker_webapp2 | 42eb0d9f11257fc9746b4d752217c5ec2b120645 | [
"MIT"
] | null | null | null | python/run.py | tkerns1965/tk_docker_webapp2 | 42eb0d9f11257fc9746b4d752217c5ec2b120645 | [
"MIT"
] | null | null | null | python/run.py | tkerns1965/tk_docker_webapp2 | 42eb0d9f11257fc9746b4d752217c5ec2b120645 | [
"MIT"
] | null | null | null | from project import app
from project.models import *
from project.views import *
if __name__ == '__main__':
app.run()
| 15.5 | 28 | 0.717742 | 17 | 124 | 4.764706 | 0.588235 | 0.407407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185484 | 124 | 7 | 29 | 17.714286 | 0.80198 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 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 |
676f3bc1abc53dead06a85faa377d8cb745b8966 | 80 | py | Python | wxpy/mp.py | daimajia/wxpy | 2b56fb67b9ccb072538fd778a27a8fef8d9c93e6 | [
"MIT"
] | 34 | 2017-03-01T06:32:04.000Z | 2021-11-16T12:48:46.000Z | wxpy/mp.py | daimajia/wxpy | 2b56fb67b9ccb072538fd778a27a8fef8d9c93e6 | [
"MIT"
] | null | null | null | wxpy/mp.py | daimajia/wxpy | 2b56fb67b9ccb072538fd778a27a8fef8d9c93e6 | [
"MIT"
] | 17 | 2017-03-01T08:41:22.000Z | 2021-09-16T06:25:43.000Z | from wxpy.user import User
class MP(User):
"""
公众号对象
"""
pass
| 8.888889 | 26 | 0.525 | 10 | 80 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.35 | 80 | 8 | 27 | 10 | 0.807692 | 0.0625 | 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 |
67b6530efc9af7e007fa9f85d2af7f518b444518 | 179 | py | Python | user_address/admin.py | mathase/peachpayments | 81a7f6bc71d4e72c7ba0ae1d8f34cf76acac4f4b | [
"MIT"
] | null | null | null | user_address/admin.py | mathase/peachpayments | 81a7f6bc71d4e72c7ba0ae1d8f34cf76acac4f4b | [
"MIT"
] | 3 | 2020-02-12T02:57:26.000Z | 2021-06-10T21:40:11.000Z | user_address/admin.py | mathase/peachpayments | 81a7f6bc71d4e72c7ba0ae1d8f34cf76acac4f4b | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import User_Address
# Register your models here.
class Admin(admin.ModelAdmin):
pass
admin.site.register(User_Address, Admin)
| 17.9 | 40 | 0.787709 | 25 | 179 | 5.56 | 0.6 | 0.158273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139665 | 179 | 9 | 41 | 19.888889 | 0.902597 | 0.145251 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
67f2630d6d2559ea60a82bb994bdf46956da0b3b | 22 | py | Python | pox/lib/recoco/__init__.py | korrigans84/pox_network | cd58d95d97c94b3d139bc2026fd1be0a30987911 | [
"Apache-2.0"
] | 416 | 2015-01-05T18:16:36.000Z | 2022-03-28T21:44:26.000Z | pox/lib/recoco/__init__.py | korrigans84/pox_network | cd58d95d97c94b3d139bc2026fd1be0a30987911 | [
"Apache-2.0"
] | 140 | 2015-01-18T23:32:34.000Z | 2022-03-17T05:40:24.000Z | pox/lib/recoco/__init__.py | korrigans84/pox_network | cd58d95d97c94b3d139bc2026fd1be0a30987911 | [
"Apache-2.0"
] | 344 | 2015-01-08T06:44:23.000Z | 2022-03-26T04:06:27.000Z | from .recoco import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
db2c270b4904db976d654dcd7c8ca2695c495149 | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_vendor/packaging/tags.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_vendor/packaging/tags.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_vendor/packaging/tags.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/6a/42/1e/ad8c3c5b4b33e0e5bd1c7a3381ac169dbb7618638f9b7b2f896d23a306 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
db31ec966177d3fcfcd809fa6c245e7143b3ec90 | 250 | py | Python | scope/util/__init__.py | drew-sinha/rpc-scope | 268864097b5b7d123a842f216adc446ec6b32d01 | [
"MIT"
] | 1 | 2017-11-10T17:23:11.000Z | 2017-11-10T17:23:11.000Z | scope/util/__init__.py | drew-sinha/rpc-scope | 268864097b5b7d123a842f216adc446ec6b32d01 | [
"MIT"
] | 5 | 2018-08-01T03:05:35.000Z | 2018-11-29T22:11:25.000Z | scope/util/__init__.py | drew-sinha/rpc-scope | 268864097b5b7d123a842f216adc446ec6b32d01 | [
"MIT"
] | 3 | 2016-05-25T18:58:35.000Z | 2018-11-29T23:40:45.000Z | class Condition:
def __init__(self):
self.condition = False
def __bool__(self):
return self.condition
def __enter__(self):
self.condition = True
def __exit__(self, *exc_info):
self.condition = False
| 19.230769 | 34 | 0.62 | 28 | 250 | 4.928571 | 0.464286 | 0.376812 | 0.246377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.292 | 250 | 12 | 35 | 20.833333 | 0.779661 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0 | 0.111111 | 0.666667 | 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 |
e1d9140c57ad1111f845ee4ee63f3c0663f3771a | 263 | py | Python | gdal/swig/python/scripts/gcps2vec.py | Sokigo-GLS/gdal | 595f74bf60dff89fc5df53f9f4c3e40fc835e909 | [
"MIT"
] | null | null | null | gdal/swig/python/scripts/gcps2vec.py | Sokigo-GLS/gdal | 595f74bf60dff89fc5df53f9f4c3e40fc835e909 | [
"MIT"
] | null | null | null | gdal/swig/python/scripts/gcps2vec.py | Sokigo-GLS/gdal | 595f74bf60dff89fc5df53f9f4c3e40fc835e909 | [
"MIT"
] | null | null | null | import sys
# import osgeo.utils.gcps2vec as a convenience to use as a script
from osgeo.utils.gcps2vec import * # noqa
from osgeo.utils.gcps2vec import main
from osgeo.gdal import deprecation_warn
deprecation_warn('gcps2vec', 'utils')
sys.exit(main(sys.argv))
| 26.3 | 65 | 0.787072 | 41 | 263 | 5 | 0.463415 | 0.146341 | 0.263415 | 0.214634 | 0.273171 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017391 | 0.125475 | 263 | 9 | 66 | 29.222222 | 0.873913 | 0.258555 | 0 | 0 | 0 | 0 | 0.067708 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 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 |
e1fc340bb6864669579a3b970ec3ff84e02c13e5 | 22,943 | py | Python | oneflow/python/test/modules/test_math_ops.py | MaoXianXin/oneflow | 6caa52f3c5ba11a1d67f183bac4c1559b2a58ef5 | [
"Apache-2.0"
] | null | null | null | oneflow/python/test/modules/test_math_ops.py | MaoXianXin/oneflow | 6caa52f3c5ba11a1d67f183bac4c1559b2a58ef5 | [
"Apache-2.0"
] | null | null | null | oneflow/python/test/modules/test_math_ops.py | MaoXianXin/oneflow | 6caa52f3c5ba11a1d67f183bac4c1559b2a58ef5 | [
"Apache-2.0"
] | null | null | null | """
Copyright 2020 The OneFlow 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 applicable law or agr... | 32.589489 | 93 | 0.623284 | 3,434 | 22,943 | 3.935644 | 0.075131 | 0.063337 | 0.054606 | 0.060673 | 0.806511 | 0.755235 | 0.741028 | 0.735035 | 0.718165 | 0.694044 | 0 | 0.03702 | 0.228828 | 22,943 | 703 | 94 | 32.635846 | 0.726841 | 0.03038 | 0 | 0.527051 | 0 | 0 | 0.037237 | 0 | 0 | 0 | 0 | 0.001422 | 0.071553 | 1 | 0.085515 | false | 0 | 0.010471 | 0 | 0.120419 | 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 |
c00d58687fc5c40cb815ac3c8f8c54787535cded | 49 | py | Python | formwizard/tests/wizardtests/__init__.py | djangsters/django-formwizard | 7b35165f0340aae4e8302d5b05b0cb443f6c9904 | [
"BSD-3-Clause"
] | 4 | 2015-02-05T00:12:55.000Z | 2017-08-14T10:37:20.000Z | formwizard/tests/wizardtests/__init__.py | djangsters/django-formwizard | 7b35165f0340aae4e8302d5b05b0cb443f6c9904 | [
"BSD-3-Clause"
] | 2 | 2017-05-18T20:21:03.000Z | 2017-08-16T14:33:28.000Z | formwizard/tests/wizardtests/__init__.py | djangsters/django-formwizard | 7b35165f0340aae4e8302d5b05b0cb443f6c9904 | [
"BSD-3-Clause"
] | 4 | 2015-01-20T00:19:22.000Z | 2017-11-24T15:17:02.000Z | from formwizard.tests.wizardtests.tests import *
| 49 | 49 | 0.836735 | 6 | 49 | 6.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.911111 | 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 |
c01008df53dc09545136e80c247a7d4a4ac7ed78 | 187 | py | Python | hmcli/local/cmd_group.py | JarbasHiveMind/hmcli | 2b85d465d19aaaef38a0fcb2eaa2319de1f87520 | [
"Apache-2.0"
] | null | null | null | hmcli/local/cmd_group.py | JarbasHiveMind/hmcli | 2b85d465d19aaaef38a0fcb2eaa2319de1f87520 | [
"Apache-2.0"
] | 3 | 2021-12-13T22:59:46.000Z | 2021-12-13T23:00:11.000Z | hmcli/local/cmd_group.py | JarbasHiveMind/hmcli | 2b85d465d19aaaef38a0fcb2eaa2319de1f87520 | [
"Apache-2.0"
] | 1 | 2021-12-01T23:16:28.000Z | 2021-12-01T23:16:28.000Z | from hmcli.base import hmcli_cmds
@hmcli_cmds.group("local", help="LocalHive controls")
def localhive_cmds():
"""
the subcommand 'hivemind local', a Click command group
"""
| 20.777778 | 58 | 0.700535 | 24 | 187 | 5.333333 | 0.708333 | 0.140625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 187 | 8 | 59 | 23.375 | 0.831169 | 0.28877 | 0 | 0 | 0 | 0 | 0.196581 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c03a3663977e103c54a0e00ec5e30578ee4a54f4 | 283 | py | Python | cracking_the_coding_interview_qs/8.3/find_magic_index_test.py | angelusualle/algorithms | 86286a49db2a755bc57330cb455bcbd8241ea6be | [
"Apache-2.0"
] | null | null | null | cracking_the_coding_interview_qs/8.3/find_magic_index_test.py | angelusualle/algorithms | 86286a49db2a755bc57330cb455bcbd8241ea6be | [
"Apache-2.0"
] | null | null | null | cracking_the_coding_interview_qs/8.3/find_magic_index_test.py | angelusualle/algorithms | 86286a49db2a755bc57330cb455bcbd8241ea6be | [
"Apache-2.0"
] | null | null | null | from find_magic_index import find_magic_index
import unittest
class Test_Case_Find_Magic_Index(unittest.TestCase):
def test_find_magic_index(self):
self.assertEqual(find_magic_index([-33, -10, 2, 40, 50, 60,70]), 2)
self.assertIsNone(find_magic_index([1,2,3,4])) | 40.428571 | 75 | 0.749117 | 46 | 283 | 4.282609 | 0.521739 | 0.274112 | 0.426396 | 0.203046 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073469 | 0.134276 | 283 | 7 | 76 | 40.428571 | 0.730612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c05c37b0d0f74fe804d8087eb3fc48b6f8b115fb | 1,524 | py | Python | python3-virtualenv/Lib/python3.6/site-packages/alembic/testing/__init__.py | LindaNayeli104/mlh-orientation-hackathon-project | d86b58f76721a9d5f3374399bfc6d3b1445d16ca | [
"MIT"
] | null | null | null | python3-virtualenv/Lib/python3.6/site-packages/alembic/testing/__init__.py | LindaNayeli104/mlh-orientation-hackathon-project | d86b58f76721a9d5f3374399bfc6d3b1445d16ca | [
"MIT"
] | null | null | null | python3-virtualenv/Lib/python3.6/site-packages/alembic/testing/__init__.py | LindaNayeli104/mlh-orientation-hackathon-project | d86b58f76721a9d5f3374399bfc6d3b1445d16ca | [
"MIT"
] | 1 | 2021-06-20T19:28:37.000Z | 2021-06-20T19:28:37.000Z | from sqlalchemy.testing import config # noqa
from sqlalchemy.testing import emits_warning # noqa
from sqlalchemy.testing import engines # noqa
from sqlalchemy.testing import exclusions # noqa
from sqlalchemy.testing import mock # noqa
from sqlalchemy.testing import provide_metadata # noqa
from sqlalchemy.te... | 41.189189 | 71 | 0.787402 | 193 | 1,524 | 6.067358 | 0.259067 | 0.184458 | 0.230572 | 0.30743 | 0.653288 | 0.335611 | 0.085397 | 0 | 0 | 0 | 0 | 0.001582 | 0.170604 | 1,524 | 36 | 72 | 42.333333 | 0.924842 | 0.091207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.441176 | 1 | 0 | true | 0.029412 | 0.882353 | 0 | 0.882353 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c068bb952046f793e9e6612e02e0b79c72f2e990 | 90 | py | Python | python/metan/__init__.py | akiwoRM/metan | edc6c839e42bbec9fd08a74d67baed30ab70add8 | [
"MIT"
] | 14 | 2017-03-27T02:21:30.000Z | 2021-07-05T02:28:33.000Z | python/metan/__init__.py | akiwoRM/metan | edc6c839e42bbec9fd08a74d67baed30ab70add8 | [
"MIT"
] | 11 | 2017-03-28T23:17:05.000Z | 2017-04-10T10:19:55.000Z | python/metan/__init__.py | akiwoRM/metan | edc6c839e42bbec9fd08a74d67baed30ab70add8 | [
"MIT"
] | 3 | 2017-03-27T01:56:46.000Z | 2020-09-30T16:00:19.000Z | # -*- coding:utf-8 -*-
from __future__ import print_function, absolute_import, division
| 18 | 64 | 0.744444 | 11 | 90 | 5.545455 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 0.133333 | 90 | 4 | 65 | 22.5 | 0.769231 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
227bb5de6feb8b1c5ba61b50fd1e09591373a68f | 2,426 | py | Python | config/dev_local.py | a1136395507/Blog | e890dbe24bd2c3a82dad55e90f717db59a3e51a1 | [
"Unlicense"
] | null | null | null | config/dev_local.py | a1136395507/Blog | e890dbe24bd2c3a82dad55e90f717db59a3e51a1 | [
"Unlicense"
] | null | null | null | config/dev_local.py | a1136395507/Blog | e890dbe24bd2c3a82dad55e90f717db59a3e51a1 | [
"Unlicense"
] | null | null | null | import pymysql
from dbutils.pooled_db import PooledDB
class DBINFO_MYSQL:
server = "127.0.0.1"
password = "ZwLcYfk3AALPkLGE"
db = "sm_stat"
user = "sm_stat"
port = 3306
class DBINFO_REDIS:
pass
class DB_USER_INFO_MYSQL:
PYMYSQL_POOL = PooledDB(
creator=pymysql, # 使用链接数据库的模块
... | 36.208955 | 165 | 0.659934 | 277 | 2,426 | 5.65704 | 0.375451 | 0.042119 | 0.021698 | 0.030632 | 0.731334 | 0.731334 | 0.731334 | 0.731334 | 0.731334 | 0.654754 | 0 | 0.03953 | 0.228359 | 2,426 | 66 | 166 | 36.757576 | 0.797543 | 0.406018 | 0 | 0.538462 | 0 | 0 | 0.1622 | 0.083921 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.115385 | 0.038462 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
97d61eb6eb97abaa1eeee9186fd59dba2ce30858 | 48 | py | Python | labelatory/__main__.py | fedotovdanil570/labelatory | d4fcf1d422e2ab2eb804818caa68413a89b17aa7 | [
"MIT"
] | null | null | null | labelatory/__main__.py | fedotovdanil570/labelatory | d4fcf1d422e2ab2eb804818caa68413a89b17aa7 | [
"MIT"
] | null | null | null | labelatory/__main__.py | fedotovdanil570/labelatory | d4fcf1d422e2ab2eb804818caa68413a89b17aa7 | [
"MIT"
] | null | null | null | from .labelatory import create_app
create_app() | 16 | 34 | 0.833333 | 7 | 48 | 5.428571 | 0.714286 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 48 | 3 | 35 | 16 | 0.883721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
97de97713ffd6e8058c61f34e3d5ee51e4867dbd | 226 | py | Python | Challenges/Challenge_One.py | NSO2008/Python-Projects | 9fec181d2cb48b49b04432085f01307e49ef4a83 | [
"MIT"
] | null | null | null | Challenges/Challenge_One.py | NSO2008/Python-Projects | 9fec181d2cb48b49b04432085f01307e49ef4a83 | [
"MIT"
] | null | null | null | Challenges/Challenge_One.py | NSO2008/Python-Projects | 9fec181d2cb48b49b04432085f01307e49ef4a83 | [
"MIT"
] | null | null | null | #This is a simple poem...
print("There was once a movie star icon, \nWho preferred to sleep with the light on, \nThey learned how to code, \nA device that sure glowed, \nAnd lit up the night using Python \n\t-Anonymous...")
| 75.333333 | 198 | 0.725664 | 41 | 226 | 4 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176991 | 226 | 2 | 199 | 113 | 0.88172 | 0.106195 | 0 | 0 | 0 | 1 | 0.944724 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
97f387f24d08cd7665041c2be8975ea79740ea9c | 226 | py | Python | djbraintree/context_processors.py | iconfinder/djbraintree | d241e957e5c8cc319ee66934862211d241a4f66c | [
"BSD-3-Clause"
] | 1 | 2015-10-30T17:48:03.000Z | 2015-10-30T17:48:03.000Z | djbraintree/context_processors.py | techdragon/djbraintree | d241e957e5c8cc319ee66934862211d241a4f66c | [
"BSD-3-Clause"
] | 1 | 2015-10-30T17:43:02.000Z | 2015-10-30T17:43:02.000Z | djbraintree/context_processors.py | techdragon/djbraintree | d241e957e5c8cc319ee66934862211d241a4f66c | [
"BSD-3-Clause"
] | null | null | null | from django.conf import settings
def braintree_client_side_encryption_key(request):
return {
'BRAINTREE_CLIENT_SIDE_ENCRYPTION_KEY':
getattr(settings, 'BRAINTREE_CLIENT_SIDE_ENCRYPTION_KEY', None),
}
| 25.111111 | 72 | 0.756637 | 26 | 226 | 6.115385 | 0.576923 | 0.283019 | 0.358491 | 0.54717 | 0.603774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172566 | 226 | 8 | 73 | 28.25 | 0.850267 | 0 | 0 | 0 | 0 | 0 | 0.318584 | 0.318584 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
97ffbc8b06bf137fb0fbf81e13dee6042e527a69 | 8,037 | py | Python | tests/test_header_footer.py | MichaelWalker/directory-components | 9dac4e9d7fd477cd272e09440f2c9b7d1ef76e1e | [
"MIT"
] | null | null | null | tests/test_header_footer.py | MichaelWalker/directory-components | 9dac4e9d7fd477cd272e09440f2c9b7d1ef76e1e | [
"MIT"
] | null | null | null | tests/test_header_footer.py | MichaelWalker/directory-components | 9dac4e9d7fd477cd272e09440f2c9b7d1ef76e1e | [
"MIT"
] | null | null | null | from bs4 import BeautifulSoup
from directory_constants import urls
import pytest
from django.template.loader import render_to_string
from directory_components import context_processors
@pytest.mark.parametrize('template_name', [
'directory_components/header_footer/international_header.html',
'directory_comp... | 28.806452 | 77 | 0.677865 | 902 | 8,037 | 5.748337 | 0.104213 | 0.071745 | 0.067502 | 0.083703 | 0.860559 | 0.839151 | 0.816586 | 0.725554 | 0.703568 | 0.691225 | 0 | 0.000159 | 0.215006 | 8,037 | 278 | 78 | 28.910072 | 0.821683 | 0 | 0 | 0.62249 | 0 | 0 | 0.227697 | 0.111484 | 0 | 0 | 0 | 0 | 0.088353 | 1 | 0.044177 | false | 0 | 0.02008 | 0 | 0.064257 | 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 |
3f5edae812a07e690962a85121101bff9602723a | 5,031 | py | Python | google/ads/google_ads/v6/proto/services/feed_service_pb2_grpc.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | null | null | null | google/ads/google_ads/v6/proto/services/feed_service_pb2_grpc.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | null | null | null | google/ads/google_ads/v6/proto/services/feed_service_pb2_grpc.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from google.ads.google_ads.v6.proto.resources import feed_pb2 as google_dot_ads_dot_googleads_dot_v6_dot_resources_dot_feed__pb2
from google.ads.google_ads.v6.pr... | 44.522124 | 150 | 0.714172 | 557 | 5,031 | 5.998205 | 0.201077 | 0.037713 | 0.050284 | 0.062855 | 0.770727 | 0.770727 | 0.759054 | 0.708171 | 0.708171 | 0.674648 | 0 | 0.00941 | 0.218446 | 5,031 | 112 | 151 | 44.919643 | 0.840285 | 0.109123 | 0 | 0.438356 | 1 | 0 | 0.085466 | 0.060329 | 0 | 0 | 0 | 0 | 0 | 1 | 0.082192 | false | 0 | 0.041096 | 0.027397 | 0.191781 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
58be690b607fbd9c26b610ad0178a21d43a36530 | 106 | py | Python | tests/test_package.py | kratsg/pylibmagic | 1e7756084bf7327633a69ef935fcc74937a5a506 | [
"BSD-3-Clause"
] | 2 | 2022-03-21T02:05:16.000Z | 2022-03-21T06:16:09.000Z | tests/test_package.py | kratsg/pylibmagic | 1e7756084bf7327633a69ef935fcc74937a5a506 | [
"BSD-3-Clause"
] | 1 | 2022-03-21T07:28:04.000Z | 2022-03-21T07:28:04.000Z | tests/test_package.py | kratsg/pylibmagic | 1e7756084bf7327633a69ef935fcc74937a5a506 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import annotations
import pylibmagic as m
def test_version():
assert m.__version__
| 13.25 | 34 | 0.783019 | 14 | 106 | 5.285714 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179245 | 106 | 7 | 35 | 15.142857 | 0.850575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
452f9a7286d94572df160ea22ca19f47439de728 | 105 | py | Python | virtual/lib/python3.6/site-packages/pylint/test/functional/invalid_star_assignment_target.py | drewheathens/The-Moringa-Tribune | 98ee4d63c9df6f1f7497fc6876960a822d914500 | [
"MIT"
] | 463 | 2015-01-15T08:17:42.000Z | 2022-03-28T15:10:20.000Z | virtual/lib/python3.6/site-packages/pylint/test/functional/invalid_star_assignment_target.py | drewheathens/The-Moringa-Tribune | 98ee4d63c9df6f1f7497fc6876960a822d914500 | [
"MIT"
] | 52 | 2015-01-06T02:43:59.000Z | 2022-03-14T11:15:21.000Z | virtual/lib/python3.6/site-packages/pylint/test/functional/invalid_star_assignment_target.py | drewheathens/The-Moringa-Tribune | 98ee4d63c9df6f1f7497fc6876960a822d914500 | [
"MIT"
] | 249 | 2015-01-07T22:49:49.000Z | 2022-03-18T02:32:06.000Z | """Test for *a = b """
*FIRST = [1, 2, 3] # [invalid-star-assignment-target]
(*FIRST, ) = [1, 2, 3]
| 21 | 54 | 0.495238 | 16 | 105 | 3.25 | 0.75 | 0.230769 | 0.269231 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.228571 | 105 | 4 | 55 | 26.25 | 0.567901 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1896386c7b7aabe22b752e21fa2f239150f37912 | 33 | py | Python | mmic_docking/components/__init__.py | MolSSI/MMComponents_docking | a532026c2953e8a7167541b36974998c0e9c26c1 | [
"BSD-3-Clause"
] | 5 | 2021-02-05T21:28:52.000Z | 2021-08-22T14:55:51.000Z | mmic_docking/components/__init__.py | MolSSI/MMComponents_docking | a532026c2953e8a7167541b36974998c0e9c26c1 | [
"BSD-3-Clause"
] | 1 | 2021-04-14T14:45:03.000Z | 2021-04-14T14:45:03.000Z | mmic_docking/components/__init__.py | MolSSI/MMComponents_docking | a532026c2953e8a7167541b36974998c0e9c26c1 | [
"BSD-3-Clause"
] | 1 | 2021-12-28T20:54:02.000Z | 2021-12-28T20:54:02.000Z | from .docking_component import *
| 16.5 | 32 | 0.818182 | 4 | 33 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.896552 | 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 |
18e41609cad2fd0eb045c99ff67e8af5a09a44e6 | 56 | py | Python | configs/ipython/startup/50-copy.py | shauryapatel1995/dotfiles | de7504ee8e6b5208a1a73958523bdbb04fa099ed | [
"MIT"
] | null | null | null | configs/ipython/startup/50-copy.py | shauryapatel1995/dotfiles | de7504ee8e6b5208a1a73958523bdbb04fa099ed | [
"MIT"
] | null | null | null | configs/ipython/startup/50-copy.py | shauryapatel1995/dotfiles | de7504ee8e6b5208a1a73958523bdbb04fa099ed | [
"MIT"
] | null | null | null | def copy(t):
import pyperclip
pyperclip.copy(t)
| 14 | 21 | 0.660714 | 8 | 56 | 4.625 | 0.625 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232143 | 56 | 3 | 22 | 18.666667 | 0.860465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e13f185225bee6e1c25e07261b7517c0800eb4a6 | 6,440 | py | Python | tests/test_permissions.py | aleontiev/dynamic-rest | d4635f2163e1ae90c3c4fd680ef59ceb048d7cf7 | [
"MIT"
] | null | null | null | tests/test_permissions.py | aleontiev/dynamic-rest | d4635f2163e1ae90c3c4fd680ef59ceb048d7cf7 | [
"MIT"
] | null | null | null | tests/test_permissions.py | aleontiev/dynamic-rest | d4635f2163e1ae90c3c4fd680ef59ceb048d7cf7 | [
"MIT"
] | 3 | 2018-05-08T16:34:39.000Z | 2019-05-22T04:21:18.000Z | import json
from django.contrib.auth.models import User
from tests.setup import create_fixture
from rest_framework.test import APITestCase
class TestPermissionsUsersAPI(APITestCase):
def setUp(self):
self.fixture = create_fixture()
self.maxDiff = None
self.default_user = User.objects.fil... | 33.195876 | 70 | 0.561335 | 693 | 6,440 | 5.11544 | 0.116883 | 0.076164 | 0.116784 | 0.046544 | 0.823695 | 0.816643 | 0.776587 | 0.767842 | 0.707475 | 0.686601 | 0 | 0.014421 | 0.31087 | 6,440 | 193 | 71 | 33.367876 | 0.784362 | 0.032143 | 0 | 0.693252 | 0 | 0 | 0.080341 | 0 | 0 | 0 | 0 | 0 | 0.165644 | 1 | 0.030675 | false | 0 | 0.02454 | 0 | 0.06135 | 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 |
e16b3fa99c19b2f042f7079454317874c7a77f85 | 968 | py | Python | src/genie/libs/parser/iosxe/tests/ShowRunPolicyMap/cli/equal/golden_output3_expected.py | vkoulermos/genieparser | c38bb7edeee3cf9a0131497d1bddbd37a8cad5f3 | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/tests/ShowRunPolicyMap/cli/equal/golden_output3_expected.py | vkoulermos/genieparser | c38bb7edeee3cf9a0131497d1bddbd37a8cad5f3 | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/tests/ShowRunPolicyMap/cli/equal/golden_output3_expected.py | vkoulermos/genieparser | c38bb7edeee3cf9a0131497d1bddbd37a8cad5f3 | [
"Apache-2.0"
] | null | null | null | expected_output = {
'policy_map': {
'child': {
'class': {
'class-default': {
'target_shape_rate': '2000000000',
},
'tc1': {
'target_shape_rate': '1000000000',
},
'tc2':... | 28.470588 | 54 | 0.293388 | 47 | 968 | 5.659574 | 0.404255 | 0.330827 | 0.451128 | 0.657895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216418 | 0.584711 | 968 | 33 | 55 | 29.333333 | 0.445274 | 0 | 0 | 0.21875 | 0 | 0 | 0.279214 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e16e0806101b5822c35a2fe510635735b700dbcd | 47 | py | Python | vnpy/api/lbank/__init__.py | hzypage/TestPy | 2646bbd07b90c8a1795001a6712e1d5d1aabda90 | [
"MIT"
] | 18 | 2019-02-21T05:42:41.000Z | 2022-03-31T10:17:51.000Z | vnpy/api/lbank/__init__.py | Haocodingisfun/vnpy | 2646bbd07b90c8a1795001a6712e1d5d1aabda90 | [
"MIT"
] | null | null | null | vnpy/api/lbank/__init__.py | Haocodingisfun/vnpy | 2646bbd07b90c8a1795001a6712e1d5d1aabda90 | [
"MIT"
] | 5 | 2017-12-20T09:57:17.000Z | 2021-08-01T19:47:14.000Z | # encoding: UTF-8
from vnlbank import LbankApi | 15.666667 | 28 | 0.787234 | 7 | 47 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.148936 | 47 | 3 | 28 | 15.666667 | 0.9 | 0.319149 | 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 |
e172a8fd37dc9e5f0332356037c5509198bbbfb6 | 185 | py | Python | Model&Data/GCM-CF/survae/flows/__init__.py | LiangjunFeng/Generative-Any-Shot-Learning | 693c4ab92f2eb04cc453c870782710a982f98e80 | [
"Apache-2.0"
] | null | null | null | Model&Data/GCM-CF/survae/flows/__init__.py | LiangjunFeng/Generative-Any-Shot-Learning | 693c4ab92f2eb04cc453c870782710a982f98e80 | [
"Apache-2.0"
] | null | null | null | Model&Data/GCM-CF/survae/flows/__init__.py | LiangjunFeng/Generative-Any-Shot-Learning | 693c4ab92f2eb04cc453c870782710a982f98e80 | [
"Apache-2.0"
] | null | null | null | from .flow import Flow, FlowComponent, DataPriorFlow
from .inverse_flow import InverseFlow
from .cond_flow import ConditionalFlow
from .cond_inverse_flow import ConditionalInverseFlow
| 30.833333 | 53 | 0.864865 | 22 | 185 | 7.090909 | 0.454545 | 0.25641 | 0.217949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102703 | 185 | 5 | 54 | 37 | 0.939759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
beda473f9f38fae0a59c1c4411952601df370b9a | 3,851 | py | Python | tests/test_xrt.py | farzamgl/PYNQ | 6f3cb705c54e6eecc2a8574631ba947ca3765a11 | [
"BSD-3-Clause"
] | 1,537 | 2016-09-26T22:51:50.000Z | 2022-03-31T13:33:54.000Z | tests/test_xrt.py | farzamgl/PYNQ | 6f3cb705c54e6eecc2a8574631ba947ca3765a11 | [
"BSD-3-Clause"
] | 414 | 2016-10-03T21:12:10.000Z | 2022-03-21T14:55:02.000Z | tests/test_xrt.py | farzamgl/PYNQ | 6f3cb705c54e6eecc2a8574631ba947ca3765a11 | [
"BSD-3-Clause"
] | 826 | 2016-09-23T22:29:43.000Z | 2022-03-29T11:02:09.000Z | import importlib
import pynq._3rdparty.xrt
import ctypes
import os
class FakeXrt:
def __init__(self, path):
self.path = path
def xclProbe(self):
return 0
def __getattr__(self, key):
return FakeXrt(self.path + '.' + key)
def test_xrt_none(monkeypatch, recwarn):
monkeypatch.de... | 35.009091 | 72 | 0.69047 | 516 | 3,851 | 4.947674 | 0.149225 | 0.042303 | 0.081864 | 0.08774 | 0.893459 | 0.884058 | 0.884058 | 0.879749 | 0.857031 | 0.829612 | 0 | 0.013284 | 0.159439 | 3,851 | 109 | 73 | 35.330275 | 0.775409 | 0 | 0 | 0.688889 | 0 | 0 | 0.153207 | 0.016359 | 0 | 0 | 0 | 0 | 0.188889 | 1 | 0.122222 | false | 0 | 0.2 | 0.022222 | 0.355556 | 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 |
834cf9f0372b437b5b3979e955960c71cef2ef9c | 43 | py | Python | xgi/linalg/__init__.py | ComplexGroupInteractions/xgi | 67107dd01459e687a4356566ee40865ceca8e72c | [
"BSD-3-Clause"
] | 24 | 2021-11-18T00:04:11.000Z | 2022-01-19T01:52:55.000Z | xgi/linalg/__init__.py | ComplexGroupInteractions/xgi | 67107dd01459e687a4356566ee40865ceca8e72c | [
"BSD-3-Clause"
] | 52 | 2021-11-21T17:33:34.000Z | 2022-03-30T17:20:43.000Z | xgi/linalg/__init__.py | ComplexGroupInteractions/xgi | 67107dd01459e687a4356566ee40865ceca8e72c | [
"BSD-3-Clause"
] | null | null | null | from . import matrix
from .matrix import *
| 14.333333 | 21 | 0.744186 | 6 | 43 | 5.333333 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 2 | 22 | 21.5 | 0.914286 | 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 |
365f03a1f04b5197f7c89b65f58275fc8a992783 | 9,474 | py | Python | test/test_guid_lookup.py | davidhwyllie/findNeighbour4 | d42e10711e59e93ebf0e798fbb1598929f662c9c | [
"MIT"
] | null | null | null | test/test_guid_lookup.py | davidhwyllie/findNeighbour4 | d42e10711e59e93ebf0e798fbb1598929f662c9c | [
"MIT"
] | 14 | 2021-11-26T14:43:25.000Z | 2022-03-22T00:39:17.000Z | test/test_guid_lookup.py | davidhwyllie/findNeighbour4 | d42e10711e59e93ebf0e798fbb1598929f662c9c | [
"MIT"
] | null | null | null | """ runs unittest for guidLookup
A component of the findNeighbour4 system for bacterial relatedness monitoring
Copyright (C) 2021 David Wyllie david.wyllie@phe.gov.uk
repo: https://github.com/davidhwyllie/findNeighbour4
This program is free software: you can redistribute it and/or modify
it under the terms of the MIT... | 30.463023 | 132 | 0.587714 | 1,189 | 9,474 | 4.609756 | 0.174937 | 0.106732 | 0.079183 | 0.073892 | 0.775406 | 0.740923 | 0.740923 | 0.740923 | 0.73545 | 0.727787 | 0 | 0.031636 | 0.265991 | 9,474 | 310 | 133 | 30.56129 | 0.756543 | 0.140384 | 0 | 0.745 | 0 | 0 | 0.059894 | 0 | 0 | 0 | 0 | 0 | 0.205 | 1 | 0.07 | false | 0 | 0.035 | 0 | 0.175 | 0.025 | 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 |
3686aeadfb971a5b0ad3efa8e0696e45427054ba | 156 | py | Python | Dev/Tests/LED_Array_Test.py | parallaxinc/cyberbot | f7c4d355ee0310dcfef81027802cc41ac6ce90e1 | [
"MIT"
] | 4 | 2019-03-18T20:49:41.000Z | 2022-03-24T01:44:36.000Z | Dev/Tests/LED_Array_Test.py | parallaxinc/cyberbot | f7c4d355ee0310dcfef81027802cc41ac6ce90e1 | [
"MIT"
] | 5 | 2019-06-07T18:09:27.000Z | 2021-04-08T17:16:55.000Z | Dev/Tests/LED_Array_Test.py | parallaxinc/cyberbot | f7c4d355ee0310dcfef81027802cc41ac6ce90e1 | [
"MIT"
] | null | null | null | from cyberbot import *
bot(22).tone(2000, 300)
dim = Image("55555:"
"55555:"
"55555:"
"55555:"
"55555")
display.show(dim)
bot().detach() | 12 | 23 | 0.576923 | 20 | 156 | 4.5 | 0.7 | 0.444444 | 0.5 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.278689 | 0.217949 | 156 | 13 | 24 | 12 | 0.459016 | 0 | 0 | 0.333333 | 0 | 0 | 0.184713 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
36ca2b14c28c0438a9d18357d9b58e5770d58f62 | 120 | py | Python | evotor/landing/views.py | trukanduk/evotor_hackathon | 5aeec1886c9ca5dbb2d08d535885701062464fb0 | [
"MIT"
] | null | null | null | evotor/landing/views.py | trukanduk/evotor_hackathon | 5aeec1886c9ca5dbb2d08d535885701062464fb0 | [
"MIT"
] | null | null | null | evotor/landing/views.py | trukanduk/evotor_hackathon | 5aeec1886c9ca5dbb2d08d535885701062464fb0 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def landing_view(request):
return render(request, "landing/landing.html", {})
| 20 | 54 | 0.75 | 15 | 120 | 5.933333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 120 | 5 | 55 | 24 | 0.855769 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 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 |
36d9de300bec37951eb3b9b8e8b954b92dc28f1b | 44 | py | Python | pynisher/__init__.py | PhiPhiper/pynisher | 712fae20520e1fda3053bc648f2b42824d717f84 | [
"MIT"
] | 47 | 2015-06-14T16:24:55.000Z | 2022-02-21T18:28:35.000Z | pynisher/__init__.py | PhiPhiper/pynisher | 712fae20520e1fda3053bc648f2b42824d717f84 | [
"MIT"
] | 7 | 2015-07-21T14:01:39.000Z | 2020-08-07T23:59:04.000Z | pynisher/__init__.py | PhiPhiper/pynisher | 712fae20520e1fda3053bc648f2b42824d717f84 | [
"MIT"
] | 13 | 2015-05-19T08:22:36.000Z | 2020-08-28T07:55:09.000Z | from pynisher.limit_function_call import *
| 14.666667 | 42 | 0.840909 | 6 | 44 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 2 | 43 | 22 | 0.897436 | 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 |
36df1c9943c9baf8e4fcc8817e8349ead115339c | 40 | py | Python | inspera/__init__.py | ph10m/inspera-reader | 29bd16a563f0053f436d207afbbb58c48c278aaa | [
"MIT"
] | null | null | null | inspera/__init__.py | ph10m/inspera-reader | 29bd16a563f0053f436d207afbbb58c48c278aaa | [
"MIT"
] | null | null | null | inspera/__init__.py | ph10m/inspera-reader | 29bd16a563f0053f436d207afbbb58c48c278aaa | [
"MIT"
] | null | null | null | from inspera.reader import InsperaReader | 40 | 40 | 0.9 | 5 | 40 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
36e99eec614fd067e26caa839905313d7a9ff3bf | 6,633 | py | Python | pyifx/hsl.py | Video-Lab/pyifx | 9b9aaa690059f3148833041eebdc4de7cc8d5459 | [
"MIT"
] | null | null | null | pyifx/hsl.py | Video-Lab/pyifx | 9b9aaa690059f3148833041eebdc4de7cc8d5459 | [
"MIT"
] | null | null | null | pyifx/hsl.py | Video-Lab/pyifx | 9b9aaa690059f3148833041eebdc4de7cc8d5459 | [
"MIT"
] | null | null | null | import pyifx.INTERNAL as INTERNAL
import pyifx.misc as misc
def brighten(img_paths,percent=45, write=True):
""" brighten(img_paths, percent=45, write=True)
Takes image(s) and brightens them.
:type img_paths: pyifx.misc.PyifxImage, pyifx.misc.ImageVolume, list
:param img_paths: The image(s) to be brightened.
... | 38.789474 | 184 | 0.748681 | 974 | 6,633 | 5.007187 | 0.120123 | 0.059053 | 0.070125 | 0.059053 | 0.834734 | 0.818536 | 0.789215 | 0.751897 | 0.718064 | 0.692229 | 0 | 0.020071 | 0.151214 | 6,633 | 171 | 185 | 38.789474 | 0.846181 | 0.593849 | 0 | 0.468085 | 0 | 0 | 0.159399 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.12766 | false | 0 | 0.042553 | 0 | 0.297872 | 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 |
7fc4064adb255f0164f340399440816aaf9db610 | 23 | py | Python | simulator/simp_py/ubinascii.py | kcfkwok2003/Simp_py | f75e66da01b45dc8688dda602f8b33d4258f0c31 | [
"MIT"
] | null | null | null | simulator/simp_py/ubinascii.py | kcfkwok2003/Simp_py | f75e66da01b45dc8688dda602f8b33d4258f0c31 | [
"MIT"
] | null | null | null | simulator/simp_py/ubinascii.py | kcfkwok2003/Simp_py | f75e66da01b45dc8688dda602f8b33d4258f0c31 | [
"MIT"
] | 1 | 2022-03-20T03:19:25.000Z | 2022-03-20T03:19:25.000Z | from binascii import *
| 11.5 | 22 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7fd112d46229b902669c48ea7f77f5265b967a18 | 196 | py | Python | macropy/core/test/macros/not_imported_macro.py | CyberFlameGO/macropy | a815f5a58231d8fa65386cd71ff0d15d09fe9fa3 | [
"Unlicense",
"MIT"
] | 2,061 | 2015-01-02T16:53:18.000Z | 2022-03-31T12:01:07.000Z | macropy/core/test/macros/not_imported_macro.py | CyberFlameGO/macropy | a815f5a58231d8fa65386cd71ff0d15d09fe9fa3 | [
"Unlicense",
"MIT"
] | 41 | 2015-02-25T02:54:46.000Z | 2022-01-28T19:08:45.000Z | macropy/core/test/macros/not_imported_macro.py | CyberFlameGO/macropy | a815f5a58231d8fa65386cd71ff0d15d09fe9fa3 | [
"Unlicense",
"MIT"
] | 151 | 2015-01-01T22:07:55.000Z | 2022-03-03T07:55:20.000Z | import ast
import macropy.core.macros
macros = macropy.core.macros.Macros()
@macros.expr
def g(tree, **kw):
return ast.Num(n = 0)
@macros.expr
def f(tree, **kw):
return ast.Num(n = 0)
| 14 | 37 | 0.658163 | 33 | 196 | 3.909091 | 0.454545 | 0.27907 | 0.263566 | 0.356589 | 0.310078 | 0.310078 | 0.310078 | 0 | 0 | 0 | 0 | 0.012422 | 0.178571 | 196 | 13 | 38 | 15.076923 | 0.78882 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.222222 | 0.666667 | 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 |
3d197a8a3c7cc7321bb0cebee825cf3148a40d6b | 143 | py | Python | utils/__init__.py | Theia-4869/U-RISC | c493b11ab525b39a5ac029c3f83e059d703abaae | [
"MIT"
] | null | null | null | utils/__init__.py | Theia-4869/U-RISC | c493b11ab525b39a5ac029c3f83e059d703abaae | [
"MIT"
] | null | null | null | utils/__init__.py | Theia-4869/U-RISC | c493b11ab525b39a5ac029c3f83e059d703abaae | [
"MIT"
] | null | null | null | from .dataset import *
from .loss import *
from .lr_scheduler import *
from .metric import *
from .options import *
from .pre_process import *
| 20.428571 | 27 | 0.748252 | 20 | 143 | 5.25 | 0.5 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167832 | 143 | 6 | 28 | 23.833333 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3d5a32c56d9e2793b14da73a9b2da792729be2ba | 14,452 | py | Python | downloads/migrations/0001_initial.py | benhoyt/pythondotorg | 954865291a8e4a4c4a4adb269b505d6dbab0eb5f | [
"Apache-2.0"
] | null | null | null | downloads/migrations/0001_initial.py | benhoyt/pythondotorg | 954865291a8e4a4c4a4adb269b505d6dbab0eb5f | [
"Apache-2.0"
] | null | null | null | downloads/migrations/0001_initial.py | benhoyt/pythondotorg | 954865291a8e4a4c4a4adb269b505d6dbab0eb5f | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'OS'
db.create_table('downloads_os', (
('id', self.gf('django.db.models.fields.Au... | 83.057471 | 197 | 0.597357 | 1,569 | 14,452 | 5.369025 | 0.087954 | 0.102564 | 0.177825 | 0.254036 | 0.813034 | 0.801876 | 0.783357 | 0.739316 | 0.696581 | 0.640195 | 0 | 0.008006 | 0.170288 | 14,452 | 174 | 198 | 83.057471 | 0.694521 | 0.011279 | 0 | 0.277419 | 0 | 0 | 0.554194 | 0.330906 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012903 | false | 0.006452 | 0.025806 | 0 | 0.058065 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
184779c9b8310cd49c695042349f13a5e93f9129 | 27 | py | Python | 12_module_basic/11_package/pack1/pack2/__init__.py | hemuke/python | bc99f2b5aee997083ae31f59a2b33db48c8255f3 | [
"Apache-2.0"
] | null | null | null | 12_module_basic/11_package/pack1/pack2/__init__.py | hemuke/python | bc99f2b5aee997083ae31f59a2b33db48c8255f3 | [
"Apache-2.0"
] | null | null | null | 12_module_basic/11_package/pack1/pack2/__init__.py | hemuke/python | bc99f2b5aee997083ae31f59a2b33db48c8255f3 | [
"Apache-2.0"
] | null | null | null | print('pack2 __init__.py')
| 13.5 | 26 | 0.740741 | 4 | 27 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.074074 | 27 | 1 | 27 | 27 | 0.6 | 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 |
18601be5df2170f3b6cd93ceb531f54d71ad6d8c | 12,421 | py | Python | tests/test_bottle_sniffer.py | qdamian/htmlviz | 15997663c442995145f3a3f6b800d1bc371bd4d5 | [
"MIT"
] | null | null | null | tests/test_bottle_sniffer.py | qdamian/htmlviz | 15997663c442995145f3a3f6b800d1bc371bd4d5 | [
"MIT"
] | null | null | null | tests/test_bottle_sniffer.py | qdamian/htmlviz | 15997663c442995145f3a3f6b800d1bc371bd4d5 | [
"MIT"
] | null | null | null | import json
import time
import bottle
import pytest
import webtest
from htmlvis import BottleSniffer, HTTPSniffer, Transaction
app = bottle.Bottle()
CAPTURE_START_TIME = 0.123
SUCCESS_PROCESSING_TIME = 0.100
ERROR_PROCESSING_TIME = 0.050
@pytest.fixture(autouse=True)
def mock_time(mocker):
mocker.patch('time.t... | 36.42522 | 76 | 0.658482 | 1,429 | 12,421 | 5.522043 | 0.104969 | 0.049677 | 0.047903 | 0.071854 | 0.802687 | 0.791535 | 0.775567 | 0.767076 | 0.707261 | 0.64808 | 0 | 0.011931 | 0.230738 | 12,421 | 340 | 77 | 36.532353 | 0.813919 | 0.013525 | 0 | 0.663158 | 0 | 0 | 0.087191 | 0 | 0 | 0 | 0 | 0 | 0.119298 | 1 | 0.122807 | false | 0 | 0.021053 | 0 | 0.164912 | 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 |
43fdd1c5f234f983357730fae026d578e4b49b90 | 200 | py | Python | Part_3_advanced/m08_abstract_protocol/protocol/example_1/tax_calculator/calculation.py | Mikma03/InfoShareacademy_Python_Courses | 3df1008c8c92831bebf1625f960f25b39d6987e6 | [
"MIT"
] | null | null | null | Part_3_advanced/m08_abstract_protocol/protocol/example_1/tax_calculator/calculation.py | Mikma03/InfoShareacademy_Python_Courses | 3df1008c8c92831bebf1625f960f25b39d6987e6 | [
"MIT"
] | null | null | null | Part_3_advanced/m08_abstract_protocol/protocol/example_1/tax_calculator/calculation.py | Mikma03/InfoShareacademy_Python_Courses | 3df1008c8c92831bebf1625f960f25b39d6987e6 | [
"MIT"
] | null | null | null | from typing import Sequence
from tax_calculator.income import Taxable
def calculate_overall_tax_value(incomes: Sequence[Taxable]) -> int:
return sum([income.tax_value() for income in incomes])
| 25 | 67 | 0.79 | 28 | 200 | 5.464286 | 0.642857 | 0.104575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | 200 | 7 | 68 | 28.571429 | 0.87931 | 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 |
a1018bd833e11101d8fe868f7942ec2aec59fe1c | 124,219 | py | Python | etl/parsers/etw/Microsoft_Windows_Kernel_Power.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 104 | 2020-03-04T14:31:31.000Z | 2022-03-28T02:59:36.000Z | etl/parsers/etw/Microsoft_Windows_Kernel_Power.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 7 | 2020-04-20T09:18:39.000Z | 2022-03-19T17:06:19.000Z | etl/parsers/etw/Microsoft_Windows_Kernel_Power.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 16 | 2020-03-05T18:55:59.000Z | 2022-03-01T10:19:28.000Z | # -*- coding: utf-8 -*-
"""
Microsoft-Windows-Kernel-Power
GUID : 331c3b3a-2005-44c2-ac5e-77220c37d6b4
"""
from construct import Int8sl, Int8ul, Int16ul, Int16sl, Int32sl, Int32ul, Int64sl, Int64ul, Bytes, Double, Float32l, Struct
from etl.utils import WString, CString, SystemTime, Guid
from etl.dtyp import Sid
from et... | 32.206119 | 123 | 0.657395 | 11,782 | 124,219 | 6.752674 | 0.071635 | 0.064555 | 0.088763 | 0.108937 | 0.901885 | 0.898957 | 0.880681 | 0.728155 | 0.710571 | 0.706272 | 0 | 0.133162 | 0.221947 | 124,219 | 3,856 | 124 | 32.214471 | 0.690023 | 0.000781 | 0 | 0.603115 | 0 | 0 | 0.295569 | 0.145988 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.004361 | 0.001246 | 0 | 0.200623 | 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 |
a11183bff55f01b3dfb5ab834db8052ec77da3c9 | 19 | py | Python | shopyo/modules/vlab.py | mghall25/shopyo-1 | 43a8d7faefd8f9689430cf2d21d3cb201d0f4ff4 | [
"MIT"
] | null | null | null | shopyo/modules/vlab.py | mghall25/shopyo-1 | 43a8d7faefd8f9689430cf2d21d3cb201d0f4ff4 | [
"MIT"
] | null | null | null | shopyo/modules/vlab.py | mghall25/shopyo-1 | 43a8d7faefd8f9689430cf2d21d3cb201d0f4ff4 | [
"MIT"
] | 1 | 2020-02-20T19:53:45.000Z | 2020-02-20T19:53:45.000Z | from .app import db | 19 | 19 | 0.789474 | 4 | 19 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 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 |
a124c9bda77fa71b16f8480e6a7f9a142397e8da | 46 | py | Python | MinimumSpanningTree/prim.py | GPapazachariou/MINIMUM_SPANNING_TREE | 9225cbbcf6f6510130136fbfca131fa80da4c68b | [
"Unlicense"
] | null | null | null | MinimumSpanningTree/prim.py | GPapazachariou/MINIMUM_SPANNING_TREE | 9225cbbcf6f6510130136fbfca131fa80da4c68b | [
"Unlicense"
] | null | null | null | MinimumSpanningTree/prim.py | GPapazachariou/MINIMUM_SPANNING_TREE | 9225cbbcf6f6510130136fbfca131fa80da4c68b | [
"Unlicense"
] | null | null | null | import networkx as nx
print(nx.__version__) | 15.333333 | 22 | 0.782609 | 7 | 46 | 4.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 3 | 23 | 15.333333 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
a1333105cd0380196422e6b779d725cb8a772e2c | 27 | py | Python | svgd/__init__.py | marcuskaiser/projects | 4841bb3adcd8625681d50bc8a2eed599eae44305 | [
"MIT"
] | 1 | 2020-04-20T20:05:00.000Z | 2020-04-20T20:05:00.000Z | svgd/__init__.py | marcuskaiser/projects | 4841bb3adcd8625681d50bc8a2eed599eae44305 | [
"MIT"
] | null | null | null | svgd/__init__.py | marcuskaiser/projects | 4841bb3adcd8625681d50bc8a2eed599eae44305 | [
"MIT"
] | null | null | null | from svgd.svgd import SVGD
| 13.5 | 26 | 0.814815 | 5 | 27 | 4.4 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 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 |
a1674613bb54701d84c83073e84a0890f57b451e | 88 | py | Python | main/authentication/__init__.py | pprats/um-tdd | d63063c33e38a89688d89a04ab7a174b58d4ca97 | [
"MIT"
] | null | null | null | main/authentication/__init__.py | pprats/um-tdd | d63063c33e38a89688d89a04ab7a174b58d4ca97 | [
"MIT"
] | null | null | null | main/authentication/__init__.py | pprats/um-tdd | d63063c33e38a89688d89a04ab7a174b58d4ca97 | [
"MIT"
] | null | null | null | from .routes import auth as auth_blueprint
from .decorators import admin_login_required
| 29.333333 | 44 | 0.863636 | 13 | 88 | 5.615385 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 88 | 2 | 45 | 44 | 0.935897 | 0 | 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 |
a1ab6fd360630c4e445f1118475365e373cbd132 | 106 | py | Python | python/0035. searchInsert.py | whtahy/leetcode | a2955123d203b155455ceefe38514fd0077d6db9 | [
"CC0-1.0"
] | 1 | 2017-12-09T05:37:51.000Z | 2017-12-09T05:37:51.000Z | python/0035. searchInsert.py | whtahy/leetcode | a2955123d203b155455ceefe38514fd0077d6db9 | [
"CC0-1.0"
] | null | null | null | python/0035. searchInsert.py | whtahy/leetcode | a2955123d203b155455ceefe38514fd0077d6db9 | [
"CC0-1.0"
] | null | null | null | class Solution:
def searchInsert(self, nums, target):
return bisect.bisect_left(nums, target)
| 26.5 | 47 | 0.707547 | 13 | 106 | 5.692308 | 0.769231 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198113 | 106 | 3 | 48 | 35.333333 | 0.870588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
62ace2683f9f994eab5b01ac0de3296d6b3b96fd | 33 | py | Python | two-red-hearts/2rh-server/scripts/job.py | cPolaris/school-is-fun | 423495df43803fc98e0adccb24ecc26eaceb419f | [
"MIT"
] | null | null | null | two-red-hearts/2rh-server/scripts/job.py | cPolaris/school-is-fun | 423495df43803fc98e0adccb24ecc26eaceb419f | [
"MIT"
] | null | null | null | two-red-hearts/2rh-server/scripts/job.py | cPolaris/school-is-fun | 423495df43803fc98e0adccb24ecc26eaceb419f | [
"MIT"
] | null | null | null | import content_filter
import wtf
| 11 | 21 | 0.878788 | 5 | 33 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 2 | 22 | 16.5 | 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 |
62b8d2c1f06f53a0385f946bde424c92451040d4 | 26 | py | Python | whatsapp/__init__.py | davidgarciaMontreal/whatsapp | 47c8e7d9523eef2a4add19ced588b257d62b8d4c | [
"MIT"
] | 1 | 2019-03-24T22:38:03.000Z | 2019-03-24T22:38:03.000Z | whatsapp/__init__.py | davidgarciaMontreal/whatsapp | 47c8e7d9523eef2a4add19ced588b257d62b8d4c | [
"MIT"
] | null | null | null | whatsapp/__init__.py | davidgarciaMontreal/whatsapp | 47c8e7d9523eef2a4add19ced588b257d62b8d4c | [
"MIT"
] | null | null | null | from .core import WhatsApp | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 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 |
62c9f452a1910888dfef5e9b27cd0189f1b028c7 | 181 | py | Python | test.py | rusty1s/tensorflow-graph-plugin | 2282888e74ab59c288d329c426a80f735c5163a1 | [
"MIT"
] | null | null | null | test.py | rusty1s/tensorflow-graph-plugin | 2282888e74ab59c288d329c426a80f735c5163a1 | [
"MIT"
] | null | null | null | test.py | rusty1s/tensorflow-graph-plugin | 2282888e74ab59c288d329c426a80f735c5163a1 | [
"MIT"
] | null | null | null | import tensorflow as tf
from sparse_ops import sparse_subtract
a = tf.SparseTensorValue(indices=[[0, 0]])
b = tf.SparseTensorValue(indices=[[0, 0], [1, 1], [2, 2]])
print('hihi')
| 22.625 | 58 | 0.696133 | 28 | 181 | 4.428571 | 0.607143 | 0.306452 | 0.419355 | 0.435484 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050633 | 0.127072 | 181 | 7 | 59 | 25.857143 | 0.734177 | 0 | 0 | 0 | 0 | 0 | 0.022099 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.2 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
62f022715113f559b8e5e1370af816b650db39fd | 192 | py | Python | aggregatedValue/python/errorPrinter.py | jonyzp/parallelGames | ba9895971dcf0c6e77a0738113ffae3a01596e6e | [
"Apache-2.0"
] | null | null | null | aggregatedValue/python/errorPrinter.py | jonyzp/parallelGames | ba9895971dcf0c6e77a0738113ffae3a01596e6e | [
"Apache-2.0"
] | null | null | null | aggregatedValue/python/errorPrinter.py | jonyzp/parallelGames | ba9895971dcf0c6e77a0738113ffae3a01596e6e | [
"Apache-2.0"
] | null | null | null | #We have this code to print in a better way the error of every method
from __future__ import print_function
import sys
def eprint(*args, **kwargs):
print(*args, file=sys.stderr, **kwargs)
| 32 | 69 | 0.75 | 32 | 192 | 4.34375 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161458 | 192 | 5 | 70 | 38.4 | 0.863354 | 0.354167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0.75 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.