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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ffdc73fd40b7e3f26a71711d0393b4951fcf7276 | 112 | py | Python | clover/index/__init__.py | JCL2017/clover | d074e5038c6a1a6b0333b14ff45bb35ac290f90f | [
"Apache-2.0"
] | 18 | 2019-07-01T04:49:33.000Z | 2022-03-11T03:15:09.000Z | clover/index/__init__.py | JCL2017/clover | d074e5038c6a1a6b0333b14ff45bb35ac290f90f | [
"Apache-2.0"
] | 64 | 2019-11-20T09:33:21.000Z | 2021-11-16T06:34:32.000Z | clover/index/__init__.py | JCL2017/clover | d074e5038c6a1a6b0333b14ff45bb35ac290f90f | [
"Apache-2.0"
] | 9 | 2019-10-18T08:28:26.000Z | 2020-05-25T15:38:12.000Z | #coding=utf-8
from flask import Blueprint
index = Blueprint('index', __name__)
from clover.index import views | 16 | 36 | 0.776786 | 16 | 112 | 5.1875 | 0.6875 | 0.337349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.133929 | 112 | 7 | 37 | 16 | 0.845361 | 0.107143 | 0 | 0 | 0 | 0 | 0.05 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
ffeabd7cc6e451e0ab93b462fec92e7076be7bff | 34 | py | Python | electricityLoadForecasting/preprocessing/detection/__init__.py | BCD65/electricityLoadForecasting | 07a6ed060afaf7cc2906c0389b5c9e9b0fede193 | [
"MIT"
] | null | null | null | electricityLoadForecasting/preprocessing/detection/__init__.py | BCD65/electricityLoadForecasting | 07a6ed060afaf7cc2906c0389b5c9e9b0fede193 | [
"MIT"
] | null | null | null | electricityLoadForecasting/preprocessing/detection/__init__.py | BCD65/electricityLoadForecasting | 07a6ed060afaf7cc2906c0389b5c9e9b0fede193 | [
"MIT"
] | null | null | null |
from .detection_tools import *
| 6.8 | 30 | 0.735294 | 4 | 34 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 34 | 4 | 31 | 8.5 | 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 |
083d5ef965afc77d6a863478c2098f0ade7b75f4 | 152 | py | Python | RPLCD/__init__.py | jknofe/pi_monitor | 1424017c8e25ced8fcd42b155d06ef5e14f70b75 | [
"MIT"
] | null | null | null | RPLCD/__init__.py | jknofe/pi_monitor | 1424017c8e25ced8fcd42b155d06ef5e14f70b75 | [
"MIT"
] | null | null | null | RPLCD/__init__.py | jknofe/pi_monitor | 1424017c8e25ced8fcd42b155d06ef5e14f70b75 | [
"MIT"
] | null | null | null | from .lcd import CharLCD
from .lcd import Alignment, CursorMode, ShiftMode
from .contextmanagers import cursor, cleared
from .lcd import BacklightMode
| 25.333333 | 49 | 0.822368 | 19 | 152 | 6.578947 | 0.578947 | 0.168 | 0.312 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 152 | 5 | 50 | 30.4 | 0.94697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f256c3a85409c1153917a0a440c5ea950f34376a | 58,695 | py | Python | robopy/tests/test_transforms.py | rodosha98/FRPGitHomework | 0905c79ccc28d33f9385c09c03e8e18d8c720787 | [
"MIT"
] | 214 | 2017-10-30T04:36:09.000Z | 2022-03-27T06:05:53.000Z | robopy/tests/test_transforms.py | rodosha98/FRPGitHomework | 0905c79ccc28d33f9385c09c03e8e18d8c720787 | [
"MIT"
] | 16 | 2017-11-28T08:07:04.000Z | 2020-05-12T22:15:10.000Z | robopy/tests/test_transforms.py | rodosha98/FRPGitHomework | 0905c79ccc28d33f9385c09c03e8e18d8c720787 | [
"MIT"
] | 57 | 2017-11-28T02:17:53.000Z | 2021-02-18T14:32:51.000Z | # Created by: Jack Button, Aditya Dua
# 10 June, 2017
import unittest
import numpy as np
from math import pi
from .test_common import matrices_equal, matrix_mismatch_string_builder
from ..base import transforms
# ---------------------------------------------------------------------------------------#
# ... | 43.445596 | 109 | 0.640872 | 7,433 | 58,695 | 4.719494 | 0.021929 | 0.02862 | 0.025228 | 0.017674 | 0.970468 | 0.96126 | 0.91394 | 0.866334 | 0.797121 | 0.776397 | 0 | 0.045942 | 0.228282 | 58,695 | 1,350 | 110 | 43.477778 | 0.728519 | 0.043189 | 0 | 0.587185 | 0 | 0 | 0.00585 | 0 | 0 | 0 | 0 | 0 | 0.069328 | 1 | 0.184874 | false | 0 | 0.005252 | 0 | 0.205882 | 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 |
f285c34e8c7c1687aedcf675a8c87f3989c79a09 | 186 | py | Python | torchgan/__init__.py | shubhsherl/torchgan | 3dd3757dfed7c1f95aa71a7cd71f199390eb5d6d | [
"MIT"
] | 1 | 2019-01-21T12:53:50.000Z | 2019-01-21T12:53:50.000Z | torchgan/__init__.py | shubhsherl/torchgan | 3dd3757dfed7c1f95aa71a7cd71f199390eb5d6d | [
"MIT"
] | null | null | null | torchgan/__init__.py | shubhsherl/torchgan | 3dd3757dfed7c1f95aa71a7cd71f199390eb5d6d | [
"MIT"
] | null | null | null | from torchgan import losses
from torchgan import models
from torchgan import trainer
from torchgan import metrics
from torchgan import logging
__version__ = 'v0.0.2'
name = "torchgan"
| 18.6 | 28 | 0.806452 | 26 | 186 | 5.615385 | 0.5 | 0.410959 | 0.616438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018987 | 0.150538 | 186 | 9 | 29 | 20.666667 | 0.905063 | 0 | 0 | 0 | 0 | 0 | 0.075269 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.714286 | 0 | 0.714286 | 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 |
4b31b918bb223798711dae59c5004d78b0768b10 | 18 | py | Python | cvc5_z3py_compat/__init__.py | aniemetz/cvc5_pythonic_api | 57d8c9d67e030a13296a94cf6ad7241f59192574 | [
"BSD-3-Clause"
] | null | null | null | cvc5_z3py_compat/__init__.py | aniemetz/cvc5_pythonic_api | 57d8c9d67e030a13296a94cf6ad7241f59192574 | [
"BSD-3-Clause"
] | null | null | null | cvc5_z3py_compat/__init__.py | aniemetz/cvc5_pythonic_api | 57d8c9d67e030a13296a94cf6ad7241f59192574 | [
"BSD-3-Clause"
] | null | null | null | from .z3 import *
| 9 | 17 | 0.666667 | 3 | 18 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.222222 | 18 | 1 | 18 | 18 | 0.785714 | 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 |
4b7b35fce0bf989f98afc3a36c319585cb8a33fd | 9,761 | py | Python | bayesian_inference/probability/unit_test.py | yakuza8/bayesian-inference | a639e147c153cad85286ba7a04801164b5c82ac2 | [
"MIT"
] | 3 | 2020-06-19T05:37:44.000Z | 2022-02-02T02:15:45.000Z | bayesian_inference/probability/unit_test.py | yakuza8/bayesian-inference | a639e147c153cad85286ba7a04801164b5c82ac2 | [
"MIT"
] | null | null | null | bayesian_inference/probability/unit_test.py | yakuza8/bayesian-inference | a639e147c153cad85286ba7a04801164b5c82ac2 | [
"MIT"
] | null | null | null | from unittest import TestCase
from .probability import query_parser, QueryVariable
from ..exceptions.exceptions import NonUniqueRandomVariablesInQuery, RandomVariableNotInContext
__all__ = []
class TestProbabilityParser(TestCase):
def test_valid_expression_1(self):
query = 'A'
value, queries, e... | 39.840816 | 99 | 0.569921 | 1,159 | 9,761 | 4.655738 | 0.062985 | 0.069311 | 0.09785 | 0.128428 | 0.924203 | 0.89066 | 0.878058 | 0.871386 | 0.82487 | 0.799666 | 0 | 0.005425 | 0.263498 | 9,761 | 244 | 100 | 40.004098 | 0.745166 | 0 | 0 | 0.535354 | 0 | 0.035354 | 0.087389 | 0 | 0 | 0 | 0 | 0 | 0.292929 | 1 | 0.166667 | false | 0 | 0.015152 | 0 | 0.186869 | 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 |
4b9a975edb897ebaa2736161c7849bc0b94b62cb | 900 | py | Python | test/test_setuptools.py | douardda/tidypy | 9d4c6470af8e0ca85209333a99787290f36498d4 | [
"MIT"
] | null | null | null | test/test_setuptools.py | douardda/tidypy | 9d4c6470af8e0ca85209333a99787290f36498d4 | [
"MIT"
] | null | null | null | test/test_setuptools.py | douardda/tidypy | 9d4c6470af8e0ca85209333a99787290f36498d4 | [
"MIT"
] | null | null | null |
import sys
import subprocess
import pytest
@pytest.mark.skipif(sys.platform == 'win32', reason='windows hates setuptools')
def test_default():
proc = subprocess.Popen(
['python', 'setup.py', 'tidypy'],
cwd='test/project1',
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
u... | 25 | 92 | 0.648889 | 100 | 900 | 5.8 | 0.44 | 0.096552 | 0.055172 | 0.065517 | 0.865517 | 0.865517 | 0.865517 | 0.734483 | 0.734483 | 0.734483 | 0 | 0.011236 | 0.208889 | 900 | 35 | 93 | 25.714286 | 0.803371 | 0 | 0 | 0.538462 | 0 | 0 | 0.202673 | 0.03118 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.076923 | false | 0 | 0.115385 | 0 | 0.192308 | 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 |
4ba1b42e2017e44331fb938675e1b792a9190d02 | 24,662 | py | Python | figure2_plot.py | arminbahl/drosophila_phototaxis_paper | e01dc95675f835926c9104b34bf6cfd7244dee2b | [
"MIT"
] | null | null | null | figure2_plot.py | arminbahl/drosophila_phototaxis_paper | e01dc95675f835926c9104b34bf6cfd7244dee2b | [
"MIT"
] | null | null | null | figure2_plot.py | arminbahl/drosophila_phototaxis_paper | e01dc95675f835926c9104b34bf6cfd7244dee2b | [
"MIT"
] | null | null | null | import pandas as pd
from pathlib import Path
import pylab as pl
import my_figure as myfig
from scipy.stats import ttest_ind, ttest_1samp
import numpy as np
from sklearn.linear_model import LinearRegression
root_path = Path("/Users/arminbahl/Desktop/preprocessed data/maxwell_paper")
# df = pd.read_hdf(root_path / "all... | 55.420225 | 234 | 0.629957 | 3,688 | 24,662 | 3.933297 | 0.077278 | 0.051496 | 0.054047 | 0.05708 | 0.898938 | 0.871295 | 0.83462 | 0.800221 | 0.775059 | 0.767958 | 0 | 0.059317 | 0.226178 | 24,662 | 445 | 235 | 55.420225 | 0.700744 | 0.051902 | 0 | 0.490446 | 0 | 0.012739 | 0.243949 | 0.142396 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022293 | 0 | 0.022293 | 0.006369 | 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 |
4b0ce5a490a04b990f270b040b32dc932b4140c9 | 181 | py | Python | main/pcse/crop/nutrients/__init__.py | jajberni/pcse_web | 284b35270061fee61040f41df419cbf9eea32a2e | [
"Apache-2.0"
] | 3 | 2017-09-19T10:38:50.000Z | 2019-10-07T03:47:02.000Z | main/pcse/crop/nutrients/__init__.py | jajberni/pcse_web | 284b35270061fee61040f41df419cbf9eea32a2e | [
"Apache-2.0"
] | null | null | null | main/pcse/crop/nutrients/__init__.py | jajberni/pcse_web | 284b35270061fee61040f41df419cbf9eea32a2e | [
"Apache-2.0"
] | 1 | 2019-10-31T01:11:06.000Z | 2019-10-31T01:11:06.000Z | from .npk_stress import NPK_Stress
from .npk_demand_uptake import NPK_Demand_Uptake
from .npk_translocation import NPK_Translocation
from .npk_soil_dynamics import NPK_Soil_Dynamics | 45.25 | 48 | 0.895028 | 28 | 181 | 5.357143 | 0.321429 | 0.186667 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082873 | 181 | 4 | 49 | 45.25 | 0.903614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d99ec45fe2e564b1d9b99285f9bce968bca3dee1 | 1,130 | py | Python | examples/example_without_CommandSet/my_commands.py | LeConstellationniste/DiscordFramework | 24d4b9b7cb0a21d3cec9d5362ab0828c5e15a3af | [
"CC0-1.0"
] | 1 | 2021-01-27T14:55:03.000Z | 2021-01-27T14:55:03.000Z | examples/example_without_CommandSet/my_commands.py | LeConstellationniste/DiscordFramework | 24d4b9b7cb0a21d3cec9d5362ab0828c5e15a3af | [
"CC0-1.0"
] | null | null | null | examples/example_without_CommandSet/my_commands.py | LeConstellationniste/DiscordFramework | 24d4b9b7cb0a21d3cec9d5362ab0828c5e15a3af | [
"CC0-1.0"
] | null | null | null | import asyncio
import discord
# Just function to add to the bot
async def hello(message):
await message.channel.send(f"Hello {message.author.mention}!", reference=message.to_reference())
async def admin(message):
await message.channel.send(f"Hello {message.author.mention}! You are administrator!", reference=messag... | 36.451613 | 120 | 0.746903 | 161 | 1,130 | 5.186335 | 0.254658 | 0.057485 | 0.136527 | 0.165269 | 0.708982 | 0.708982 | 0.708982 | 0.708982 | 0.708982 | 0.708982 | 0 | 0 | 0.1 | 1,130 | 31 | 121 | 36.451613 | 0.821042 | 0.060177 | 0 | 0.666667 | 0 | 0 | 0.216981 | 0.09434 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d9a34cde8f8fd485bd0bfabaa246df7d01603a41 | 32,869 | py | Python | recognition/symbol/fresnet.py | zzdang/match_fashion | fb08b2f42d382a947b40bf197def85ea9ddd26af | [
"MIT"
] | 4 | 2020-05-14T03:10:17.000Z | 2021-07-07T03:10:22.000Z | recognition/symbol/fresnet.py | zzdang/match_fashion | fb08b2f42d382a947b40bf197def85ea9ddd26af | [
"MIT"
] | null | null | null | recognition/symbol/fresnet.py | zzdang/match_fashion | fb08b2f42d382a947b40bf197def85ea9ddd26af | [
"MIT"
] | null | null | null | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 50.645609 | 119 | 0.610301 | 4,656 | 32,869 | 4.131229 | 0.075172 | 0.0549 | 0.023395 | 0.037432 | 0.822771 | 0.804367 | 0.795581 | 0.786899 | 0.784507 | 0.77229 | 0 | 0.041585 | 0.255225 | 32,869 | 648 | 120 | 50.723765 | 0.744159 | 0.135416 | 0 | 0.647191 | 0 | 0 | 0.059522 | 0 | 0 | 0 | 0 | 0 | 0.006742 | 1 | 0.022472 | false | 0 | 0.024719 | 0 | 0.08764 | 0.008989 | 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 |
8a1110f3dc64ccdaef7a1555b9cbcf9cf6d139ec | 2,519 | py | Python | isic/core/tests/test_permissions.py | ImageMarkup/isic | 607b2b103d0d2a67adb61f8ea88f1461c85ec8f3 | [
"Apache-2.0"
] | null | null | null | isic/core/tests/test_permissions.py | ImageMarkup/isic | 607b2b103d0d2a67adb61f8ea88f1461c85ec8f3 | [
"Apache-2.0"
] | 18 | 2021-06-10T05:14:34.000Z | 2022-03-22T02:15:59.000Z | isic/core/tests/test_permissions.py | ImageMarkup/isic | 607b2b103d0d2a67adb61f8ea88f1461c85ec8f3 | [
"Apache-2.0"
] | null | null | null | from django.urls.base import reverse
import pytest
from pytest_django.asserts import assertQuerysetEqual
@pytest.mark.django_db
def test_core_stats(client):
r = client.get(reverse('core/stats'))
assert r.status_code == 200
@pytest.mark.django_db
def test_core_api_stats(client):
r = client.get(reverse('c... | 35.478873 | 97 | 0.745137 | 332 | 2,519 | 5.445783 | 0.141566 | 0.06969 | 0.123894 | 0.154867 | 0.859513 | 0.839602 | 0.814712 | 0.753319 | 0.752765 | 0.714602 | 0 | 0.014952 | 0.123859 | 2,519 | 70 | 98 | 35.985714 | 0.804259 | 0 | 0 | 0.42 | 0 | 0 | 0.131004 | 0.052402 | 0 | 0 | 0 | 0 | 0.36 | 1 | 0.12 | false | 0 | 0.06 | 0 | 0.18 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8a3a1a84f8c5fe040e093def84496da5d902ecf3 | 15,828 | py | Python | causalml/metrics/visualize.py | LeihuaYe/causalml | 900df2de0e5a3e999c290f5849c2cb3367f5ad5a | [
"Apache-2.0"
] | 1 | 2019-12-29T03:05:10.000Z | 2019-12-29T03:05:10.000Z | causalml/metrics/visualize.py | CZZLEGEND/causalml | 900df2de0e5a3e999c290f5849c2cb3367f5ad5a | [
"Apache-2.0"
] | null | null | null | causalml/metrics/visualize.py | CZZLEGEND/causalml | 900df2de0e5a3e999c290f5849c2cb3367f5ad5a | [
"Apache-2.0"
] | null | null | null | from matplotlib import pyplot as plt
import numpy as np
import pandas as pd
import seaborn as sns
plt.style.use('fivethirtyeight')
sns.set_palette("Paired")
RANDOM_COL = 'Random'
def plot(df, kind='gain', n=100, figsize=(8, 8), *args, **kwarg):
"""Plot one of the lift/gain/Qini charts of model estimates.
A... | 46.011628 | 114 | 0.688148 | 2,298 | 15,828 | 4.618799 | 0.086162 | 0.089033 | 0.072923 | 0.03844 | 0.875636 | 0.860467 | 0.853966 | 0.831826 | 0.822593 | 0.822593 | 0 | 0.009812 | 0.220874 | 15,828 | 343 | 115 | 46.145773 | 0.850876 | 0.578153 | 0 | 0.436364 | 0 | 0 | 0.061422 | 0 | 0 | 0 | 0 | 0 | 0.027273 | 1 | 0.081818 | false | 0 | 0.036364 | 0 | 0.163636 | 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 |
8a4b31ceac3c808a44db96d402dab6e0defd6a9a | 20 | py | Python | virtual/lib/python3.6/site-packages/pylint/test/regrtest_data/wildcard.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/regrtest_data/wildcard.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/regrtest_data/wildcard.py | drewheathens/The-Moringa-Tribune | 98ee4d63c9df6f1f7497fc6876960a822d914500 | [
"MIT"
] | 249 | 2015-01-07T22:49:49.000Z | 2022-03-18T02:32:06.000Z | from empty import *
| 10 | 19 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 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 |
8a5ea175f297869f9ed46e6e0b9d5f17eaf5f804 | 89 | py | Python | src/python/stup/ring/__init__.py | Wizmann/STUP-Protocol | e06a3442082e5061d2be32be3ffd681675e7ffb5 | [
"MIT"
] | 14 | 2017-05-06T10:14:32.000Z | 2018-07-17T02:58:00.000Z | src/python/stup/ring/__init__.py | Wizmann/STUP-Protocol | e06a3442082e5061d2be32be3ffd681675e7ffb5 | [
"MIT"
] | 2 | 2017-06-13T05:40:18.000Z | 2017-06-13T16:23:01.000Z | src/python/stup/ring/__init__.py | Wizmann/STUP-Protocol | e06a3442082e5061d2be32be3ffd681675e7ffb5 | [
"MIT"
] | 4 | 2017-06-09T20:20:54.000Z | 2018-07-17T02:58:10.000Z | #coding=utf-8
from .buffer import *
from .window import *
from .container.item import *
| 14.833333 | 29 | 0.730337 | 13 | 89 | 5 | 0.692308 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013333 | 0.157303 | 89 | 5 | 30 | 17.8 | 0.853333 | 0.134831 | 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 |
8ab1deccf00c19cf05eafb4ebc9e32a689914006 | 152 | py | Python | mayan/apps/folders/tests/literals.py | nadwiabd/insight_edms | 90a09d7ca77cb111c791e307b55a603e82042dfe | [
"Apache-2.0"
] | 1 | 2020-07-15T02:56:02.000Z | 2020-07-15T02:56:02.000Z | mayan/apps/folders/tests/literals.py | kyper999/mayan-edms | ca7b8301a1f68548e8e718d42a728a500d67286e | [
"Apache-2.0"
] | null | null | null | mayan/apps/folders/tests/literals.py | kyper999/mayan-edms | ca7b8301a1f68548e8e718d42a728a500d67286e | [
"Apache-2.0"
] | 2 | 2020-02-24T21:02:31.000Z | 2021-01-05T23:52:01.000Z | from __future__ import absolute_import, unicode_literals
TEST_FOLDER_LABEL = 'test folder label'
TEST_FOLDER_EDITED_LABEL = 'test folder edited label'
| 30.4 | 56 | 0.842105 | 21 | 152 | 5.571429 | 0.47619 | 0.34188 | 0.384615 | 0.324786 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111842 | 152 | 4 | 57 | 38 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.269737 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
76fb550626136b4595fa8dfbdb8d64cd8e6640e4 | 5,955 | py | Python | tests/test_gradient_estimation.py | ColCarroll/SGMCMCJax | de1dbf234577fa46ecc98c7c7de4ef547cef52ea | [
"Apache-2.0"
] | null | null | null | tests/test_gradient_estimation.py | ColCarroll/SGMCMCJax | de1dbf234577fa46ecc98c7c7de4ef547cef52ea | [
"Apache-2.0"
] | null | null | null | tests/test_gradient_estimation.py | ColCarroll/SGMCMCJax | de1dbf234577fa46ecc98c7c7de4ef547cef52ea | [
"Apache-2.0"
] | null | null | null | import jax.numpy as jnp
import numpy as np
import pytest
from jax import random
from models import X_data, loglikelihood_array, logprior_array
from sgmcmcjax.gradient_estimation import (
build_gradient_estimation_fn,
build_gradient_estimation_fn_CV,
build_gradient_estimation_fn_SVRG,
)
from sgmcmcjax.types... | 38.668831 | 109 | 0.732662 | 829 | 5,955 | 4.984318 | 0.089264 | 0.075508 | 0.061229 | 0.058083 | 0.839061 | 0.790658 | 0.768151 | 0.768151 | 0.759439 | 0.759439 | 0 | 0.009096 | 0.16927 | 5,955 | 153 | 110 | 38.921569 | 0.826157 | 0.098237 | 0 | 0.587302 | 0 | 0 | 0.082921 | 0.014332 | 0 | 0 | 0 | 0 | 0.253968 | 1 | 0.055556 | false | 0 | 0.063492 | 0 | 0.119048 | 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 |
0a03a91cf647654e3f3983b873a54494132b534b | 116 | py | Python | sources/algorithms/queries/__init__.py | tipech/OverlapGraph | 0aa132802f2e174608ce33c6bfc24ff14551bf4a | [
"MIT"
] | null | null | null | sources/algorithms/queries/__init__.py | tipech/OverlapGraph | 0aa132802f2e174608ce33c6bfc24ff14551bf4a | [
"MIT"
] | 1 | 2018-10-07T08:06:01.000Z | 2018-10-07T08:06:01.000Z | sources/algorithms/queries/__init__.py | tipech/OverlapGraph | 0aa132802f2e174608ce33c6bfc24ff14551bf4a | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from .enumerate import *
from .mrqenum import *
from .srqenum import *
from .rqenum import *
| 16.571429 | 24 | 0.724138 | 16 | 116 | 5.25 | 0.625 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163793 | 116 | 6 | 25 | 19.333333 | 0.865979 | 0.172414 | 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 |
0a06c5a0c7b812160d7a0ea884c2f42e4f1210d2 | 72,652 | py | Python | data/agent/stagers/http.py | lex0tanl/Empire | c8217e87cf333797eb363b782f769cc4b2f64b0b | [
"BSD-3-Clause"
] | 3 | 2018-01-05T03:59:44.000Z | 2020-02-11T03:25:46.000Z | data/agent/stagers/http.py | lex0tanl/Empire | c8217e87cf333797eb363b782f769cc4b2f64b0b | [
"BSD-3-Clause"
] | null | null | null | data/agent/stagers/http.py | lex0tanl/Empire | c8217e87cf333797eb363b782f769cc4b2f64b0b | [
"BSD-3-Clause"
] | 1 | 2018-07-31T15:57:02.000Z | 2018-07-31T15:57:02.000Z | #!/usr/bin/env python
# AES code from https://github.com/ricmoo/pyaes
# DH code from Directly from: https://github.com/lowazo/pyDHE
# See README.md for complete citations and sources
import copy
import sys
import struct
import os
import pwd
import hashlib
import random
import string
import hmac
import urllib2
impor... | 83.41217 | 3,081 | 0.734419 | 6,843 | 72,652 | 7.75917 | 0.412977 | 0.000904 | 0.002147 | 0.003616 | 0.071568 | 0.059421 | 0.046783 | 0.04377 | 0.039193 | 0.035163 | 0 | 0.396735 | 0.163533 | 72,652 | 870 | 3,082 | 83.508046 | 0.476971 | 0.039063 | 0 | 0.27853 | 0 | 0.001934 | 0.015824 | 0.000527 | 0 | 1 | 0.593224 | 0 | 0 | 0 | null | null | 0.001934 | 0.030948 | null | null | 0.009671 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0a26d509ef395cda8929c87d0681831d3d8b0272 | 182 | py | Python | pkgs/clean-pkg/src/genie/libs/clean/stages/nxos/n3k/image_handler.py | jbronikowski/genielibs | 200a34e5fe4838a27b5a80d5973651b2e34ccafb | [
"Apache-2.0"
] | 94 | 2018-04-30T20:29:15.000Z | 2022-03-29T13:40:31.000Z | pkgs/clean-pkg/src/genie/libs/clean/stages/nxos/n3k/image_handler.py | jbronikowski/genielibs | 200a34e5fe4838a27b5a80d5973651b2e34ccafb | [
"Apache-2.0"
] | 67 | 2018-12-06T21:08:09.000Z | 2022-03-29T18:00:46.000Z | pkgs/clean-pkg/src/genie/libs/clean/stages/nxos/n3k/image_handler.py | jbronikowski/genielibs | 200a34e5fe4838a27b5a80d5973651b2e34ccafb | [
"Apache-2.0"
] | 49 | 2018-06-29T18:59:03.000Z | 2022-03-10T02:07:59.000Z | '''NXOS N3K: Image Handler Class'''
# Genie
from genie.libs.clean.stages.nxos.n9k.image_handler import ImageHandler as N9KImageHandler
class ImageHandler(N9KImageHandler):
pass | 26 | 90 | 0.791209 | 23 | 182 | 6.217391 | 0.695652 | 0.167832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024845 | 0.115385 | 182 | 7 | 91 | 26 | 0.863354 | 0.197802 | 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 |
0a32df7796aa5a70685547140b2fb5181786706c | 29 | py | Python | graphlearning/__init__.py | jwcalder/GraphLearningOld | 04bece45cd512cf1a3bcddb163b767ca44a746e1 | [
"MIT"
] | 46 | 2019-11-06T22:05:56.000Z | 2022-03-30T07:02:36.000Z | graphlearning/__init__.py | jwcalder/GraphLearningOld | 04bece45cd512cf1a3bcddb163b767ca44a746e1 | [
"MIT"
] | 2 | 2020-10-08T16:36:04.000Z | 2021-09-30T19:37:23.000Z | graphlearning/__init__.py | jwcalder/GraphLearningOld | 04bece45cd512cf1a3bcddb163b767ca44a746e1 | [
"MIT"
] | 15 | 2020-08-25T00:57:18.000Z | 2022-02-02T14:42:31.000Z | from .graphlearning import *
| 14.5 | 28 | 0.793103 | 3 | 29 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 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 |
0a81ddff283dc565e12ebf0176547c03276464c1 | 176 | py | Python | programs/pyeos/tests/python/codestore/math.py | learnforpractice/pyeos | 4f04eb982c86c1fdb413084af77c713a6fda3070 | [
"MIT"
] | 144 | 2017-10-18T16:38:51.000Z | 2022-01-09T12:43:57.000Z | programs/pyeos/tests/python/codestore/math.py | openchatproject/safeos | 2c8dbf57d186696ef6cfcbb671da9705b8f3d9f7 | [
"MIT"
] | 60 | 2017-10-11T13:07:43.000Z | 2019-03-26T04:33:27.000Z | programs/pyeos/tests/python/codestore/math.py | learnforpractice/pyeos | 4f04eb982c86c1fdb413084af77c713a6fda3070 | [
"MIT"
] | 38 | 2017-12-05T01:13:56.000Z | 2022-01-07T07:06:53.000Z | def auth(func):
def func_wrapper(*args):
print('TODO: authorization check')
return func(*args)
return func_wrapper
@auth
def add(a, b):
return a+b
| 17.6 | 42 | 0.619318 | 25 | 176 | 4.28 | 0.52 | 0.205607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261364 | 176 | 9 | 43 | 19.555556 | 0.823077 | 0 | 0 | 0 | 0 | 0 | 0.142045 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.125 | 0.75 | 0.125 | 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 |
0a849c605d4aef02c69f467436194d1bfba06c3c | 188 | py | Python | sst/tests/static/comments_before_markdown.py | Adamage/tutorials | b6600c052613909dbec378fea4a69deff46004dc | [
"MIT"
] | null | null | null | sst/tests/static/comments_before_markdown.py | Adamage/tutorials | b6600c052613909dbec378fea4a69deff46004dc | [
"MIT"
] | 78 | 2021-09-20T11:48:08.000Z | 2021-10-21T07:10:39.000Z | sst/tests/static/comments_before_markdown.py | Adamage/tutorials | b6600c052613909dbec378fea4a69deff46004dc | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# Comments should work here
"""
Example first cell
"""
def hello(name):
print(f'Hello {name}!') #hello
"""
Example second cell
"""
# comments should work here
| 13.428571 | 34 | 0.664894 | 26 | 188 | 4.807692 | 0.653846 | 0.224 | 0.288 | 0.352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006452 | 0.175532 | 188 | 13 | 35 | 14.461538 | 0.8 | 0.515957 | 0 | 0 | 0 | 0 | 0.245283 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0a85e108460545b246badaf1a46b4e18a4a85665 | 39 | py | Python | basic_types/__init__.py | Octavian-ai/synthetic-graph-data | b327cfb06d420d216a5377f2ce953355089e0e6b | [
"MIT"
] | 16 | 2018-09-06T09:27:03.000Z | 2021-05-28T01:35:44.000Z | basic_types/__init__.py | Octavian-ai/generate-data | b327cfb06d420d216a5377f2ce953355089e0e6b | [
"MIT"
] | 1 | 2021-02-10T00:02:43.000Z | 2021-02-10T00:02:43.000Z | basic_types/__init__.py | Octavian-ai/generate-data | b327cfb06d420d216a5377f2ce953355089e0e6b | [
"MIT"
] | 7 | 2018-07-23T08:39:54.000Z | 2021-02-08T16:24:54.000Z | from .nano_type import NanoType, NanoID | 39 | 39 | 0.846154 | 6 | 39 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 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 |
0aa66c017e50135145fb85893df0e757705b1dbd | 58 | py | Python | tests/exam/mod2.py | Mieschendahl/assignment-final-stub | 19eea657fcc4f8a455c42028f34b918628514cc0 | [
"MIT"
] | null | null | null | tests/exam/mod2.py | Mieschendahl/assignment-final-stub | 19eea657fcc4f8a455c42028f34b918628514cc0 | [
"MIT"
] | 1 | 2022-03-20T11:08:45.000Z | 2022-03-20T11:08:45.000Z | tests/exam/mod2.py | Mieschendahl/assignment-final-stub | 19eea657fcc4f8a455c42028f34b918628514cc0 | [
"MIT"
] | 6 | 2022-03-13T13:10:25.000Z | 2022-03-28T22:18:12.000Z | #in=-23801594708
#golden=-42
print(input_int() % 2345678)
| 14.5 | 28 | 0.724138 | 8 | 58 | 5.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.377358 | 0.086207 | 58 | 3 | 29 | 19.333333 | 0.396226 | 0.431034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0abad766ca7d6167e7a9cfb991c13b3c1c24d798 | 72 | py | Python | src/__init__.py | MattHartshorn/aes-encryption | b06b11b90b4f9d850db602198e5ff404aadb47da | [
"MIT"
] | null | null | null | src/__init__.py | MattHartshorn/aes-encryption | b06b11b90b4f9d850db602198e5ff404aadb47da | [
"MIT"
] | null | null | null | src/__init__.py | MattHartshorn/aes-encryption | b06b11b90b4f9d850db602198e5ff404aadb47da | [
"MIT"
] | null | null | null | from . import actions
from . import aescypher
from . import keygenerator | 24 | 26 | 0.805556 | 9 | 72 | 6.444444 | 0.555556 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152778 | 72 | 3 | 26 | 24 | 0.95082 | 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 |
0ac1230b9c716e556f67b6ecfee406f1fc10d82a | 101 | py | Python | site/thicc/apps/wow/views.py | aldenjenkins/ThiccGaming | 4790d2568b019438d1569d0fe4e9f9aba008b737 | [
"BSD-3-Clause"
] | null | null | null | site/thicc/apps/wow/views.py | aldenjenkins/ThiccGaming | 4790d2568b019438d1569d0fe4e9f9aba008b737 | [
"BSD-3-Clause"
] | 9 | 2020-03-24T16:20:31.000Z | 2022-03-11T23:32:38.000Z | site/thicc/apps/wow/views.py | aldenjenkins/ThiccGaming | 4790d2568b019438d1569d0fe4e9f9aba008b737 | [
"BSD-3-Clause"
] | null | null | null | from django.shortcuts import render
def index(request):
return render(request, 'wow/wow.html')
| 16.833333 | 42 | 0.742574 | 14 | 101 | 5.357143 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148515 | 101 | 5 | 43 | 20.2 | 0.872093 | 0 | 0 | 0 | 0 | 0 | 0.118812 | 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 |
0ac30575054767f1ee2c1dea7fe3d5eb8a972fc8 | 35,542 | py | Python | biosys/apps/main/tests/api/test_schema_inference.py | parksandwildlife/biosys | 0682cf1b4055e7cae59fb53045fa441af6d48f5e | [
"Apache-2.0"
] | 2 | 2018-04-09T04:02:30.000Z | 2019-08-20T03:12:55.000Z | biosys/apps/main/tests/api/test_schema_inference.py | parksandwildlife/biosys | 0682cf1b4055e7cae59fb53045fa441af6d48f5e | [
"Apache-2.0"
] | 29 | 2016-01-20T08:14:15.000Z | 2017-07-13T07:17:32.000Z | biosys/apps/main/tests/api/test_schema_inference.py | parksandwildlife/biosys | 0682cf1b4055e7cae59fb53045fa441af6d48f5e | [
"Apache-2.0"
] | 5 | 2016-01-14T23:02:36.000Z | 2016-09-21T05:35:03.000Z | import datetime as dt
from os import path
import json
from datapackage import Package
from django.core.exceptions import ValidationError
from django.shortcuts import reverse
from django.utils import six
from rest_framework import status
from rest_framework.authtoken.models import Token
from rest_framework.test import ... | 44.763224 | 131 | 0.610686 | 3,993 | 35,542 | 5.271225 | 0.075131 | 0.071978 | 0.02328 | 0.026606 | 0.816372 | 0.79485 | 0.771095 | 0.749572 | 0.712847 | 0.683438 | 0 | 0.016165 | 0.288138 | 35,542 | 793 | 132 | 44.819672 | 0.815739 | 0.165438 | 0 | 0.68984 | 0 | 0 | 0.103054 | 0.000833 | 0 | 0 | 0 | 0 | 0.327986 | 1 | 0.032086 | false | 0 | 0.026738 | 0 | 0.065954 | 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 |
0ac8c36f6e8b9e52b5bb988abdadbb1aea3a0a96 | 140 | py | Python | Data Scientist Career Path/5. Data Manipulation with Pandas/1. Python Lambda Function/4. double or zero.py | myarist/Codecademy | 2ba0f104bc67ab6ef0f8fb869aa12aa02f5f1efb | [
"MIT"
] | 23 | 2021-06-06T15:35:55.000Z | 2022-03-21T06:53:42.000Z | Data Scientist Career Path/5. Data Manipulation with Pandas/1. Python Lambda Function/4. double or zero.py | shivaniverma1/Data-Scientist | f82939a411484311171465591455880c8e354750 | [
"MIT"
] | null | null | null | Data Scientist Career Path/5. Data Manipulation with Pandas/1. Python Lambda Function/4. double or zero.py | shivaniverma1/Data-Scientist | f82939a411484311171465591455880c8e354750 | [
"MIT"
] | 9 | 2021-06-08T01:32:04.000Z | 2022-03-18T15:38:09.000Z | #Write your lambda function here
double_or_zero = lambda num: num * 2 if num > 10 else 0
print(double_or_zero(15))
print(double_or_zero(5)) | 28 | 55 | 0.764286 | 27 | 140 | 3.740741 | 0.62963 | 0.237624 | 0.356436 | 0.336634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058333 | 0.142857 | 140 | 5 | 56 | 28 | 0.783333 | 0.221429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
7c15638be80d927ab67a1b4aef2c874b667d134c | 120 | py | Python | popmon/version.py | sbrugman-ing/popmon | a2ede6b7d56772404e9921545b83886e1a9b3806 | [
"MIT"
] | null | null | null | popmon/version.py | sbrugman-ing/popmon | a2ede6b7d56772404e9921545b83886e1a9b3806 | [
"MIT"
] | null | null | null | popmon/version.py | sbrugman-ing/popmon | a2ede6b7d56772404e9921545b83886e1a9b3806 | [
"MIT"
] | null | null | null | """THIS FILE IS AUTO-GENERATED BY SETUP.PY."""
name = "popmon"
version = "0.3.8"
full_version = "0.3.8"
release = True
| 17.142857 | 46 | 0.65 | 21 | 120 | 3.666667 | 0.809524 | 0.207792 | 0.233766 | 0.25974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059406 | 0.158333 | 120 | 6 | 47 | 20 | 0.70297 | 0.333333 | 0 | 0 | 1 | 0 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7c5cfed5b79c43e29cdf264d93a36a6deb2aaf67 | 127 | py | Python | tests/unittests/broken_functions/invalid_in_anno/main.py | yojagad/azure-functions-python-worker | d5a1587a4ccf56af64f211a64f0b7a3d6cf976c9 | [
"MIT"
] | 1 | 2018-11-28T22:31:27.000Z | 2018-11-28T22:31:27.000Z | tests/unittests/broken_functions/invalid_in_anno/main.py | yojagad/azure-functions-python-worker | d5a1587a4ccf56af64f211a64f0b7a3d6cf976c9 | [
"MIT"
] | null | null | null | tests/unittests/broken_functions/invalid_in_anno/main.py | yojagad/azure-functions-python-worker | d5a1587a4ccf56af64f211a64f0b7a3d6cf976c9 | [
"MIT"
] | 1 | 2018-04-22T18:03:52.000Z | 2018-04-22T18:03:52.000Z | import azure.functions as azf
def main(req: azf.HttpResponse): # should be azf.HttpRequest
return 'trust me, it is OK!'
| 21.166667 | 61 | 0.716535 | 20 | 127 | 4.55 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188976 | 127 | 5 | 62 | 25.4 | 0.883495 | 0.19685 | 0 | 0 | 0 | 0 | 0.19 | 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 |
7c9120b70f1c809d76ec44f20faa5c83949fea3b | 77 | py | Python | farmer/ncc/callbacks/__init__.py | tamahassam/farmer | 512c6fcd5dc5aa223a0fad02527d8000a4cc9ab4 | [
"Apache-2.0"
] | 10 | 2019-04-04T07:32:47.000Z | 2021-01-07T00:40:50.000Z | farmer/ncc/callbacks/__init__.py | tamahassam/farmer | 512c6fcd5dc5aa223a0fad02527d8000a4cc9ab4 | [
"Apache-2.0"
] | 59 | 2019-04-18T05:44:31.000Z | 2021-05-02T10:33:02.000Z | farmer/ncc/callbacks/__init__.py | tamahassam/farmer | 512c6fcd5dc5aa223a0fad02527d8000a4cc9ab4 | [
"Apache-2.0"
] | 4 | 2020-01-23T14:01:43.000Z | 2021-02-11T04:16:14.000Z | from .keras_callbacks import *
from .keras_prune import KerasPruningCallback
| 25.666667 | 45 | 0.857143 | 9 | 77 | 7.111111 | 0.666667 | 0.28125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 77 | 2 | 46 | 38.5 | 0.927536 | 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 |
7cb2d47d70fd778410377b005cdfdddfe2b3c597 | 5,524 | py | Python | tests/test_delay.py | adhorn/aws-lambda-failure-injection | a6d10af49ea823dc0d24998fe6d5f5544327fc03 | [
"MIT"
] | 74 | 2019-07-17T09:55:09.000Z | 2022-02-04T02:27:59.000Z | tests/test_delay.py | adhorn/aws-lambda-chaos-injection | 294956d50199eee6b42524b75915e6f5b1da93ca | [
"MIT"
] | 16 | 2019-07-17T07:10:51.000Z | 2021-09-28T07:52:38.000Z | tests/test_delay.py | adhorn/aws-lambda-failure-injection | a6d10af49ea823dc0d24998fe6d5f5544327fc03 | [
"MIT"
] | 9 | 2019-08-20T01:47:55.000Z | 2022-01-30T17:33:48.000Z | from chaos_lambda import inject_fault
from . import TestBase, ignore_warnings
import unittest
import logging
import pytest
import sys
@inject_fault
def handler(event, context):
return {
'statusCode': 200,
'body': 'Hello from Lambda!'
}
class TestDelayMethods(TestBase):
@pytest.fixture(a... | 34.962025 | 170 | 0.613505 | 619 | 5,524 | 5.171244 | 0.153473 | 0.071853 | 0.053108 | 0.034989 | 0.870665 | 0.861918 | 0.861918 | 0.850359 | 0.850359 | 0.850359 | 0 | 0.017137 | 0.25 | 5,524 | 157 | 171 | 35.184713 | 0.755491 | 0 | 0 | 0.679688 | 0 | 0 | 0.145004 | 0 | 0 | 0 | 0 | 0 | 0.101563 | 1 | 0.125 | false | 0 | 0.046875 | 0.007813 | 0.21875 | 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 |
6b1c34899520bddf6698b7e6ad21f752536d0d87 | 4,803 | py | Python | tests/loading/definition/schema/test_min_and_max_properties.py | maroux/flex | dfd7c6d79d065d7ce1b0c799e51e9bb5292612b2 | [
"MIT"
] | 160 | 2015-01-15T05:36:44.000Z | 2021-08-04T00:43:54.000Z | tests/loading/definition/schema/test_min_and_max_properties.py | maroux/flex | dfd7c6d79d065d7ce1b0c799e51e9bb5292612b2 | [
"MIT"
] | 151 | 2015-01-20T16:45:36.000Z | 2022-02-23T21:07:58.000Z | tests/loading/definition/schema/test_min_and_max_properties.py | maroux/flex | dfd7c6d79d065d7ce1b0c799e51e9bb5292612b2 | [
"MIT"
] | 90 | 2015-01-20T11:19:36.000Z | 2021-08-03T08:58:18.000Z | import pytest
from flex.constants import (
OBJECT,
STRING,
INTEGER,
)
from flex.error_messages import MESSAGES
from flex.exceptions import ValidationError
from flex.loading.definitions.schema import schema_validator
from tests.utils import (
assert_path_not_in_errors,
assert_message_in_errors,
)
... | 23.429268 | 74 | 0.634812 | 525 | 4,803 | 5.48 | 0.148571 | 0.04171 | 0.076469 | 0.058394 | 0.859576 | 0.811609 | 0.77407 | 0.77407 | 0.735488 | 0.717762 | 0 | 0.006154 | 0.255674 | 4,803 | 204 | 75 | 23.544118 | 0.798601 | 0.057256 | 0 | 0.649682 | 0 | 0 | 0.120439 | 0.031117 | 0 | 0 | 0 | 0 | 0.095541 | 1 | 0.070064 | false | 0 | 0.038217 | 0 | 0.10828 | 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 |
6b39c39456f7cc0317670f9afbae116f6c98cd85 | 80 | py | Python | app/main/__init__.py | jakhax/esp9266_rfid_lock | e9c25628a023c8d6005a136e240ca1a36589fd36 | [
"MIT"
] | 2 | 2020-11-10T09:16:21.000Z | 2021-12-15T07:27:17.000Z | app/main/__init__.py | jakhax/consecutive_normal_punches | e9c25628a023c8d6005a136e240ca1a36589fd36 | [
"MIT"
] | null | null | null | app/main/__init__.py | jakhax/consecutive_normal_punches | e9c25628a023c8d6005a136e240ca1a36589fd36 | [
"MIT"
] | null | null | null | from flask import Blueprint
main=Blueprint("main",__name__)
from . import views | 20 | 31 | 0.8 | 11 | 80 | 5.454545 | 0.636364 | 0.433333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1125 | 80 | 4 | 32 | 20 | 0.84507 | 0 | 0 | 0 | 0 | 0 | 0.049383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
865365ff6807936a1cfc53592eb7bd9714770c0c | 87 | py | Python | twelve/unsupervised/__init__.py | DSE512/twelve | 89ced1db394e5689c617edb4c819aec4138c48c3 | [
"BSD-3-Clause"
] | 3 | 2021-02-09T15:31:53.000Z | 2021-10-31T15:46:51.000Z | twelve/unsupervised/__init__.py | yngtodd/twelve | 89ced1db394e5689c617edb4c819aec4138c48c3 | [
"BSD-3-Clause"
] | null | null | null | twelve/unsupervised/__init__.py | yngtodd/twelve | 89ced1db394e5689c617edb4c819aec4138c48c3 | [
"BSD-3-Clause"
] | 1 | 2021-12-16T15:33:50.000Z | 2021-12-16T15:33:50.000Z | from .kmeans import Kmeans, kmeans_save
from .parallel_kmeans import KmeansDistributed
| 29 | 46 | 0.862069 | 11 | 87 | 6.636364 | 0.545455 | 0.328767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 87 | 2 | 47 | 43.5 | 0.935897 | 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 |
866118ea8c8a639f4d41f9fa1c66cc8f77cf8e29 | 27 | py | Python | test_python_import_issue/pacx/j.py | zengmeng1094/test-python | 79aa30789c2bb8700f660a4d6b13f06960e169e5 | [
"MIT"
] | null | null | null | test_python_import_issue/pacx/j.py | zengmeng1094/test-python | 79aa30789c2bb8700f660a4d6b13f06960e169e5 | [
"MIT"
] | null | null | null | test_python_import_issue/pacx/j.py | zengmeng1094/test-python | 79aa30789c2bb8700f660a4d6b13f06960e169e5 | [
"MIT"
] | null | null | null | def add():
print('add') | 13.5 | 16 | 0.518519 | 4 | 27 | 3.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 27 | 2 | 16 | 13.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 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 |
8676f34479e7f82fa07f938c4cb293147fc7bc93 | 15,831 | py | Python | tests/changes/api/test_diff_build_retry.py | vault-the/changes | 37e23c3141b75e4785cf398d015e3dbca41bdd56 | [
"Apache-2.0"
] | 443 | 2015-01-03T16:28:39.000Z | 2021-04-26T16:39:46.000Z | tests/changes/api/test_diff_build_retry.py | vault-the/changes | 37e23c3141b75e4785cf398d015e3dbca41bdd56 | [
"Apache-2.0"
] | 12 | 2015-07-30T19:07:16.000Z | 2016-11-07T23:11:21.000Z | tests/changes/api/test_diff_build_retry.py | vault-the/changes | 37e23c3141b75e4785cf398d015e3dbca41bdd56 | [
"Apache-2.0"
] | 47 | 2015-01-09T10:04:00.000Z | 2020-11-18T17:58:19.000Z | import mock
import yaml
from datetime import datetime
from changes.config import db
from changes.constants import Cause, Result, SelectiveTestingPolicy, Status
from changes.models.build import Build
from changes.models.job import Job
from changes.models.project import ProjectOption
from changes.testutils import APITe... | 32.844398 | 103 | 0.61588 | 1,962 | 15,831 | 4.759429 | 0.087156 | 0.040266 | 0.045941 | 0.049689 | 0.799636 | 0.790426 | 0.788392 | 0.782073 | 0.780788 | 0.769008 | 0 | 0.010677 | 0.278252 | 15,831 | 481 | 104 | 32.912682 | 0.806581 | 0.009412 | 0 | 0.70557 | 0 | 0 | 0.08075 | 0.065952 | 0 | 0 | 0 | 0 | 0.180371 | 1 | 0.04244 | false | 0.007958 | 0.026525 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
86abd0855dc3211ac3d645f9d6bd243a890c7ba9 | 844 | py | Python | Tashkeela_IST/app/models.py | mahsayedsalem/Tashkeela_IST | ac9960071e08a984d7dc6da477a147ab784bd3d8 | [
"MIT"
] | 1 | 2019-09-04T16:02:23.000Z | 2019-09-04T16:02:23.000Z | Tashkeela_IST/app/models.py | mahsayedsalem/Tashkeela_IST | ac9960071e08a984d7dc6da477a147ab784bd3d8 | [
"MIT"
] | null | null | null | Tashkeela_IST/app/models.py | mahsayedsalem/Tashkeela_IST | ac9960071e08a984d7dc6da477a147ab784bd3d8 | [
"MIT"
] | null | null | null | from app import db
class User(db.Model):
id = db.Column(db.Integer, primary_key = True)
name = db.Column(db.String(255))
email = db.Column(db.String(255), unique=True)
def __init__(self, name, email):
self.name = name
self.email = email
def __repr__(self):
return '<User %r... | 27.225806 | 50 | 0.618483 | 129 | 844 | 3.868217 | 0.24031 | 0.176353 | 0.220441 | 0.288577 | 0.907816 | 0.869739 | 0.693387 | 0.693387 | 0.693387 | 0.693387 | 0 | 0.049307 | 0.231043 | 844 | 30 | 51 | 28.133333 | 0.719569 | 0 | 0 | 0.666667 | 0 | 0 | 0.021327 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.041667 | 0.083333 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 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 | 1 | 0 | 0 | 6 |
86c7eab9a1398cdb9409c57fea1434045864ca38 | 151 | py | Python | satyrus/sat/types/symbols/__init__.py | lucasvg/Satyrus3-FinalProject-EspTopsOTM | 024785752abdc46e3463d8c94df7c3da873c354d | [
"MIT"
] | null | null | null | satyrus/sat/types/symbols/__init__.py | lucasvg/Satyrus3-FinalProject-EspTopsOTM | 024785752abdc46e3463d8c94df7c3da873c354d | [
"MIT"
] | null | null | null | satyrus/sat/types/symbols/__init__.py | lucasvg/Satyrus3-FinalProject-EspTopsOTM | 024785752abdc46e3463d8c94df7c3da873c354d | [
"MIT"
] | null | null | null | from .main import SYS_CONFIG, DEF_CONSTANT, DEF_ARRAY, DEF_CONSTRAINT, CONS_INT, CONS_OPT
from .main import PREC, DIR, LOAD, OUT, EPSILON, ALPHA, EXIT | 75.5 | 90 | 0.788079 | 25 | 151 | 4.52 | 0.76 | 0.141593 | 0.247788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125828 | 151 | 2 | 91 | 75.5 | 0.856061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
86d5583a7e3c678b81291c4fe151342d11161d67 | 153 | py | Python | plugins/raid/render/diff.py | dwieland/carnibot | 83d660cac151739b524c6f11e8e7fe0b068869d7 | [
"Apache-2.0"
] | 1 | 2018-08-02T06:27:37.000Z | 2018-08-02T06:27:37.000Z | plugins/raid/render/diff.py | dwieland/carnibot | 83d660cac151739b524c6f11e8e7fe0b068869d7 | [
"Apache-2.0"
] | 4 | 2018-08-02T06:35:07.000Z | 2018-08-02T06:37:14.000Z | plugins/raid/render/diff.py | dwieland/carnibot | 83d660cac151739b524c6f11e8e7fe0b068869d7 | [
"Apache-2.0"
] | null | null | null | class Diff:
def __init__(self, wrapped):
self.wrapped = wrapped
def __str__(self):
return "```diff\n{}```".format(self.wrapped)
| 21.857143 | 52 | 0.594771 | 18 | 153 | 4.611111 | 0.555556 | 0.39759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24183 | 153 | 6 | 53 | 25.5 | 0.715517 | 0 | 0 | 0 | 0 | 0 | 0.091503 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
86e47f34384c693d9b7709cd89a59571199f5091 | 25 | py | Python | hackerrank/test.py | rayguang/ratesbuddy | ec97f85201812967bb3380bba6de41bdb223eab6 | [
"MIT"
] | null | null | null | hackerrank/test.py | rayguang/ratesbuddy | ec97f85201812967bb3380bba6de41bdb223eab6 | [
"MIT"
] | null | null | null | hackerrank/test.py | rayguang/ratesbuddy | ec97f85201812967bb3380bba6de41bdb223eab6 | [
"MIT"
] | null | null | null |
l=[1,2,3]
print(len(l)) | 6.25 | 13 | 0.52 | 7 | 25 | 1.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0.12 | 25 | 4 | 13 | 6.25 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
811589c5ec25c65818812b76730c53ed53da0471 | 41,126 | py | Python | src/vtra/preprocess/transport_network_inputs.py | GFDRR/vietnam-transport | 71f6fc8cb7f1ca7bccb9a29d544869b442e68bfc | [
"MIT"
] | 3 | 2018-07-09T12:15:46.000Z | 2020-12-03T07:02:23.000Z | src/vtra/preprocess/transport_network_inputs.py | GFDRR/vietnam-transport | 71f6fc8cb7f1ca7bccb9a29d544869b442e68bfc | [
"MIT"
] | 1 | 2019-05-09T21:57:20.000Z | 2019-05-09T21:57:20.000Z | src/vtra/preprocess/transport_network_inputs.py | GFDRR/vietnam-transport | 71f6fc8cb7f1ca7bccb9a29d544869b442e68bfc | [
"MIT"
] | 2 | 2018-07-23T12:49:21.000Z | 2021-06-03T11:00:44.000Z | """Utility functions for transport networks
Purpose
-------
Helper functions to create post-processeed networks with attributes from specific types of input datasets
References
----------
1. Pant, R., Koks, E.E., Russell, T., Schoenmakers, R. & Hall, J.W. (2018).
Analysis and development of model for addressing cl... | 37.421292 | 127 | 0.670598 | 5,827 | 41,126 | 4.499571 | 0.060923 | 0.033563 | 0.016858 | 0.006865 | 0.820283 | 0.793318 | 0.778062 | 0.766887 | 0.734582 | 0.70201 | 0 | 0.012833 | 0.245879 | 41,126 | 1,098 | 128 | 37.455373 | 0.832559 | 0.388975 | 0 | 0.599174 | 0 | 0 | 0.099302 | 0.001009 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059917 | false | 0 | 0.016529 | 0 | 0.208678 | 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 |
d4a55659a3eb7beae33c6cf6c8edeb6517a35c90 | 30,485 | py | Python | api_tests/osf_groups/views/test_osf_group_members_list.py | gaybro8777/osf.io | 30408511510a40bc393565817b343ef5fd76ab14 | [
"Apache-2.0"
] | 628 | 2015-01-15T04:33:22.000Z | 2022-03-30T06:40:10.000Z | api_tests/osf_groups/views/test_osf_group_members_list.py | gaybro8777/osf.io | 30408511510a40bc393565817b343ef5fd76ab14 | [
"Apache-2.0"
] | 4,712 | 2015-01-02T01:41:53.000Z | 2022-03-30T14:18:40.000Z | api_tests/osf_groups/views/test_osf_group_members_list.py | gaybro8777/osf.io | 30408511510a40bc393565817b343ef5fd76ab14 | [
"Apache-2.0"
] | 371 | 2015-01-12T16:14:08.000Z | 2022-03-31T18:58:29.000Z | import pytest
from waffle.testutils import override_flag
from django.utils import timezone
from framework.auth.core import Auth
from api.base.settings.defaults import API_BASE
from osf.models import OSFUser
from osf.utils.permissions import MEMBER, MANAGE, MANAGER
from osf_tests.factories import (
AuthUserFactory... | 48.159558 | 138 | 0.62142 | 3,865 | 30,485 | 4.679431 | 0.05511 | 0.04556 | 0.048104 | 0.060931 | 0.855247 | 0.811622 | 0.78851 | 0.75998 | 0.72863 | 0.697224 | 0 | 0.013055 | 0.263802 | 30,485 | 632 | 139 | 48.235759 | 0.792808 | 0.04271 | 0 | 0.606186 | 0 | 0 | 0.106815 | 0.005288 | 0 | 0 | 0 | 0 | 0.36701 | 1 | 0.053608 | false | 0 | 0.018557 | 0.016495 | 0.107216 | 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 |
d4b39153a89ae94a6412365ffcfe98a2636e9c7a | 150 | py | Python | OpenGLCffi/GL/EXT/ARB/cl_event.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GL/EXT/ARB/cl_event.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GL/EXT/ARB/cl_event.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | from OpenGLCffi.GL import params
@params(api='gl', prms=['context', 'event', 'flags'])
def glCreateSyncFromCLeventARB(context, event, flags):
pass
| 21.428571 | 54 | 0.733333 | 18 | 150 | 6.111111 | 0.722222 | 0.218182 | 0.309091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 150 | 6 | 55 | 25 | 0.820896 | 0 | 0 | 0 | 0 | 0 | 0.128378 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d4c28b9248be7fb8ff32d2a2a06b195bfe772f12 | 21 | py | Python | h5Nastran/f06/tables/__init__.py | mjredmond/mrNastran | 4fa57c16e93622ad8be3fb2ed221415ed25c5635 | [
"BSD-3-Clause"
] | 3 | 2017-12-02T05:13:05.000Z | 2017-12-07T04:34:13.000Z | h5Nastran/f06/tables/__init__.py | mjredmond/mrNastran | 4fa57c16e93622ad8be3fb2ed221415ed25c5635 | [
"BSD-3-Clause"
] | null | null | null | h5Nastran/f06/tables/__init__.py | mjredmond/mrNastran | 4fa57c16e93622ad8be3fb2ed221415ed25c5635 | [
"BSD-3-Clause"
] | null | null | null | from . import nodal
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 21 | 1 | 21 | 21 | 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 |
d4d698a9b73884c023f65cf8861a8c7d67af3152 | 71 | py | Python | triangleArea.py | suyag/Unity.Library.eppz.Geometry | edd32571761100093902339773dd966ae690f9ef | [
"MIT"
] | null | null | null | triangleArea.py | suyag/Unity.Library.eppz.Geometry | edd32571761100093902339773dd966ae690f9ef | [
"MIT"
] | null | null | null | triangleArea.py | suyag/Unity.Library.eppz.Geometry | edd32571761100093902339773dd966ae690f9ef | [
"MIT"
] | null | null | null |
import math
def AreaOfTriangle(a,b,C):
return a*b*math.sin(C)/2 | 17.75 | 28 | 0.661972 | 14 | 71 | 3.357143 | 0.714286 | 0.085106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.183099 | 71 | 4 | 28 | 17.75 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
d4e6692add9b8ceaaa62b77279450d04787a05ee | 60 | py | Python | main/views/public/contact/__init__.py | tiberiucorbu/av-website | f26f44a367d718316442506b130a7034697670b8 | [
"MIT"
] | null | null | null | main/views/public/contact/__init__.py | tiberiucorbu/av-website | f26f44a367d718316442506b130a7034697670b8 | [
"MIT"
] | null | null | null | main/views/public/contact/__init__.py | tiberiucorbu/av-website | f26f44a367d718316442506b130a7034697670b8 | [
"MIT"
] | null | null | null | from contact_form import *
from contact_controller import *
| 20 | 32 | 0.833333 | 8 | 60 | 6 | 0.625 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 60 | 2 | 33 | 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 |
be2a7efa45e0df8dafe94e4decf964cd6b6f98ea | 10,934 | py | Python | tests/core/channels/test_twilio_voice.py | fintzd/rasa | 6359be5509c7d87cd29c2ab5149bc45e843fea85 | [
"Apache-2.0"
] | 9,701 | 2019-04-16T15:46:27.000Z | 2022-03-31T11:52:18.000Z | tests/core/channels/test_twilio_voice.py | fintzd/rasa | 6359be5509c7d87cd29c2ab5149bc45e843fea85 | [
"Apache-2.0"
] | 6,420 | 2019-04-16T15:58:22.000Z | 2022-03-31T17:54:35.000Z | tests/core/channels/test_twilio_voice.py | fintzd/rasa | 6359be5509c7d87cd29c2ab5149bc45e843fea85 | [
"Apache-2.0"
] | 3,063 | 2019-04-16T15:23:52.000Z | 2022-03-31T00:01:12.000Z | import logging
import pytest
from http import HTTPStatus
from rasa import server
from rasa.core.agent import Agent
from rasa.core.channels import channel
from rasa.shared.exceptions import InvalidConfigException, RasaException
from rasa.core.channels.twilio_voice import TwilioVoiceInput
from rasa.core.channels.twilio... | 32.933735 | 87 | 0.597768 | 1,105 | 10,934 | 5.732127 | 0.149321 | 0.05131 | 0.012314 | 0.018472 | 0.848753 | 0.817019 | 0.807547 | 0.774866 | 0.768235 | 0.768235 | 0 | 0.006535 | 0.258277 | 10,934 | 331 | 88 | 33.033233 | 0.774353 | 0.002104 | 0 | 0.620438 | 0 | 0 | 0.362086 | 0.138693 | 0 | 0 | 0 | 0 | 0.072993 | 1 | 0.00365 | false | 0 | 0.036496 | 0 | 0.040146 | 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 |
07851db85005579d4b212bad7904bf16717fe404 | 168 | py | Python | diff_cover/__init__.py | singingwolfboy/diff-cover | e270af76416a536de1c63e4dfcd0f9bd94762668 | [
"Apache-2.0"
] | null | null | null | diff_cover/__init__.py | singingwolfboy/diff-cover | e270af76416a536de1c63e4dfcd0f9bd94762668 | [
"Apache-2.0"
] | null | null | null | diff_cover/__init__.py | singingwolfboy/diff-cover | e270af76416a536de1c63e4dfcd0f9bd94762668 | [
"Apache-2.0"
] | null | null | null | VERSION = '0.7.3'
DESCRIPTION = 'Automatically find diff lines that need test coverage.'
QUALITY_DESCRIPTION = 'Automatically find diff lines with quality violations.'
| 42 | 78 | 0.791667 | 22 | 168 | 6 | 0.727273 | 0.363636 | 0.424242 | 0.484848 | 0.560606 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020548 | 0.130952 | 168 | 3 | 79 | 56 | 0.883562 | 0 | 0 | 0 | 0 | 0 | 0.672619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
07f83868dc7101b04b92dc93024bd5dd2fd8259a | 153 | py | Python | Django01/App/models.py | littlelittlepoint/LittleTeam | 6aebb6239e5d9cfc419adbd3c9117172be67c0f4 | [
"Apache-2.0"
] | 1 | 2018-08-17T12:11:38.000Z | 2018-08-17T12:11:38.000Z | Django01/App/models.py | littlelittlepoint/LittleTeam | 6aebb6239e5d9cfc419adbd3c9117172be67c0f4 | [
"Apache-2.0"
] | null | null | null | Django01/App/models.py | littlelittlepoint/LittleTeam | 6aebb6239e5d9cfc419adbd3c9117172be67c0f4 | [
"Apache-2.0"
] | null | null | null | from django.db import models
class Student(models.Model):
s_name = models.CharField(max_length=32),
s_class = models.CharField(max_length=16),
| 21.857143 | 46 | 0.745098 | 23 | 153 | 4.782609 | 0.652174 | 0.272727 | 0.327273 | 0.436364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030534 | 0.143791 | 153 | 6 | 47 | 25.5 | 0.80916 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 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 | 0 | 1 | 0 | 0 | 6 |
07fd15a558a55cbac4fa9c9b7704a2bbafd9c936 | 6,153 | py | Python | turbogears/tests/test_memory_profiler_setup.py | timmartin19/turbogears | b5420cb7e55757d418d8fadb512dbd7803c4279c | [
"MIT"
] | null | null | null | turbogears/tests/test_memory_profiler_setup.py | timmartin19/turbogears | b5420cb7e55757d418d8fadb512dbd7803c4279c | [
"MIT"
] | 9 | 2015-01-27T19:13:56.000Z | 2019-03-29T14:44:31.000Z | turbogears/tests/test_memory_profiler_setup.py | timmartin19/turbogears | b5420cb7e55757d418d8fadb512dbd7803c4279c | [
"MIT"
] | 13 | 2015-04-14T14:15:53.000Z | 2020-03-18T01:05:46.000Z | from unittest import TestCase
from turbogears.memory_profiler_setup import _get_state_from_pipe_command, MemoryProfilerState, _process_fifo_input, \
get_memory_profile_logging_on, _is_pympler_profiling_value_on, _set_pympler_profiling_value
from mock import MagicMock
from hamcrest import assert_that, equal_to
cla... | 53.043103 | 118 | 0.737039 | 783 | 6,153 | 5.302682 | 0.114943 | 0.105973 | 0.060694 | 0.080925 | 0.864403 | 0.782274 | 0.762524 | 0.703757 | 0.670761 | 0.670761 | 0 | 0.003317 | 0.167073 | 6,153 | 115 | 119 | 53.504348 | 0.806829 | 0.026491 | 0 | 0.430108 | 0 | 0 | 0.087444 | 0.037118 | 0 | 0 | 0 | 0 | 0.473118 | 1 | 0.096774 | false | 0 | 0.043011 | 0 | 0.150538 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6af1b72d366ebdf693f2b6c9861bf6b4a0aac8e1 | 1,528 | py | Python | google_or_tools/nonogram_pbn_bucks.py | Wikunia/hakank | 030bc928d2efe8dcbc5118bda3f8ae9575d0fd13 | [
"MIT"
] | 279 | 2015-01-10T09:55:35.000Z | 2022-03-28T02:34:03.000Z | google_or_tools/nonogram_pbn_bucks.py | Wikunia/hakank | 030bc928d2efe8dcbc5118bda3f8ae9575d0fd13 | [
"MIT"
] | 10 | 2017-10-05T15:48:50.000Z | 2021-09-20T12:06:52.000Z | google_or_tools/nonogram_pbn_bucks.py | Wikunia/hakank | 030bc928d2efe8dcbc5118bda3f8ae9575d0fd13 | [
"MIT"
] | 83 | 2015-01-20T03:44:00.000Z | 2022-03-13T23:53:06.000Z | # webpbn.com Puzzle #27: Party at the Right [Political]
# Copyright 2004 by Jan Wolter
#
rows = 23
row_rule_len = 8
row_rules = [
[0, 0, 0, 0, 0, 0, 0, 11],
[0, 0, 0, 0, 0, 0, 0, 17],
[0, 0, 0, 0, 3, 5, 5, 3],
[0, 0, 0, 0, 2, 2, 2, 1],
[0, 2, 1, 3, 1, 3, 1, 4],
[0, 0, 0, 0, 3, 3, 3, 3],
[0, ... | 24.253968 | 55 | 0.310864 | 376 | 1,528 | 1.24734 | 0.093085 | 0.45629 | 0.479744 | 0.400853 | 0.692964 | 0.573561 | 0.486141 | 0.434968 | 0.379531 | 0.341151 | 0 | 0.390608 | 0.38678 | 1,528 | 62 | 56 | 24.645161 | 0.109925 | 0.05301 | 0 | 0.310345 | 0 | 0 | 0 | 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 | 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 |
ed2b21fd06ec0808da42e448a2911351887fe8ed | 5,591 | py | Python | example_model/value/cnn/discrete.py | SunandBean/tensorflow_RL | a248cbfb99b2041f6f7cc008fcad53fb83ac486e | [
"MIT"
] | 60 | 2019-01-29T14:13:00.000Z | 2020-11-24T09:08:05.000Z | example_model/value/cnn/discrete.py | SunandBean/tensorflow_RL | a248cbfb99b2041f6f7cc008fcad53fb83ac486e | [
"MIT"
] | 2 | 2019-08-14T06:44:32.000Z | 2020-11-12T12:57:55.000Z | example_model/value/cnn/discrete.py | SunandBean/tensorflow_RL | a248cbfb99b2041f6f7cc008fcad53fb83ac486e | [
"MIT"
] | 37 | 2019-01-22T05:19:34.000Z | 2021-04-12T02:27:50.000Z | import tensorflow as tf
import numpy as np
class CNNQRDQN:
def __init__(self, name, window_size, obs_stack, output_size, num_support):
self.window_size = window_size
self.obs_stack = obs_stack
self.output_size = output_size
self.num_support = num_support
with tf.variable_sco... | 61.43956 | 156 | 0.66929 | 822 | 5,591 | 4.381995 | 0.113139 | 0.039978 | 0.058301 | 0.074958 | 0.838701 | 0.82593 | 0.772071 | 0.721544 | 0.721544 | 0.721544 | 0 | 0.035111 | 0.195135 | 5,591 | 90 | 157 | 62.122222 | 0.765333 | 0 | 0 | 0.581081 | 0 | 0 | 0.008049 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121622 | false | 0 | 0.027027 | 0.081081 | 0.27027 | 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 |
ed4cf79b68807c6e6f762cc39a4b1615dc109854 | 82 | py | Python | data_tests/saved__backend__py3.9/pythran/no_arg.py | fluiddyn/transonic | a460e9f6d1139f79b668cb3306d1e8a7e190b72d | [
"BSD-3-Clause"
] | 88 | 2019-01-08T16:39:08.000Z | 2022-02-06T14:19:23.000Z | data_tests/saved__backend__/pythran/no_arg.py | fluiddyn/transonic | a460e9f6d1139f79b668cb3306d1e8a7e190b72d | [
"BSD-3-Clause"
] | 13 | 2019-06-20T15:53:10.000Z | 2021-02-09T11:03:29.000Z | data_tests/saved__backend__/pythran/no_arg.py | fluiddyn/transonic | a460e9f6d1139f79b668cb3306d1e8a7e190b72d | [
"BSD-3-Clause"
] | 1 | 2019-11-05T03:03:14.000Z | 2019-11-05T03:03:14.000Z | def func():
return 1
def func2():
return 1
__transonic__ = ("0.3.0",)
| 8.2 | 26 | 0.54878 | 12 | 82 | 3.416667 | 0.666667 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 0.280488 | 82 | 9 | 27 | 9.111111 | 0.59322 | 0 | 0 | 0.4 | 0 | 0 | 0.060976 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.4 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ed5030f823aceb7a09b2a0cb64a3f23db44d69e7 | 83,760 | py | Python | neutron/tests/unit/services/ovn_l3/test_plugin.py | huiweics/neutron | 8c7ca776d8cbe967a8bbe773ab38c361414a7068 | [
"Apache-2.0"
] | null | null | null | neutron/tests/unit/services/ovn_l3/test_plugin.py | huiweics/neutron | 8c7ca776d8cbe967a8bbe773ab38c361414a7068 | [
"Apache-2.0"
] | null | null | null | neutron/tests/unit/services/ovn_l3/test_plugin.py | huiweics/neutron | 8c7ca776d8cbe967a8bbe773ab38c361414a7068 | [
"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
# ... | 51.198044 | 79 | 0.640318 | 11,264 | 83,760 | 4.35245 | 0.043679 | 0.033288 | 0.038347 | 0.036593 | 0.85832 | 0.827663 | 0.796883 | 0.778261 | 0.75358 | 0.734447 | 0 | 0.025498 | 0.248949 | 83,760 | 1,635 | 80 | 51.229358 | 0.753831 | 0.030349 | 0 | 0.653873 | 0 | 0 | 0.223927 | 0.123404 | 0 | 0 | 0 | 0.000612 | 0.0939 | 1 | 0.037697 | false | 0 | 0.015764 | 0 | 0.056888 | 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 |
9c06b321637de0985d2c8ea5ab3e2543e2b615de | 69 | py | Python | util/__init__.py | zyxia1009/OadTR | ec6e4dafcb465719e80cbf39dcd2099e51927d51 | [
"MIT"
] | 53 | 2021-06-21T14:31:54.000Z | 2022-03-30T14:37:49.000Z | util/__init__.py | zyxia1009/OadTR | ec6e4dafcb465719e80cbf39dcd2099e51927d51 | [
"MIT"
] | 15 | 2021-06-23T06:06:12.000Z | 2022-03-25T14:30:30.000Z | util/__init__.py | zyxia1009/OadTR | ec6e4dafcb465719e80cbf39dcd2099e51927d51 | [
"MIT"
] | 9 | 2021-06-27T04:29:56.000Z | 2022-03-29T07:25:53.000Z | from .logger import *
from .loss import *
from .eval_utils import * | 23 | 25 | 0.724638 | 10 | 69 | 4.9 | 0.6 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188406 | 69 | 3 | 25 | 23 | 0.875 | 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 |
9c15234603f7eecb5bde992db9e730db517bfe40 | 161 | py | Python | articles/views.py | lsdlab/dangan | 1d0238d9b83d6d5e42d6f21ac43fa37c81bb34b7 | [
"MIT"
] | 32 | 2017-06-04T13:33:45.000Z | 2021-09-15T10:47:42.000Z | articles/views.py | lsdlab/awesome_coffice | 1d0238d9b83d6d5e42d6f21ac43fa37c81bb34b7 | [
"MIT"
] | 2 | 2018-01-19T08:10:50.000Z | 2018-08-24T02:06:09.000Z | articles/views.py | lsdlab/awesome_coffice | 1d0238d9b83d6d5e42d6f21ac43fa37c81bb34b7 | [
"MIT"
] | 17 | 2017-06-05T04:00:07.000Z | 2019-02-26T07:29:13.000Z | from django.shortcuts import render
# Create your views here.
def articles(request):
return render(request, 'articles/articles.html', {'title': 'articles'})
| 23 | 73 | 0.745342 | 20 | 161 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124224 | 161 | 6 | 74 | 26.833333 | 0.851064 | 0.142857 | 0 | 0 | 0 | 0 | 0.257353 | 0.161765 | 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 |
9c596b48e817e4de3d5deb15f9ed27bbbe2f812c | 93 | py | Python | tests/core/test_import.py | njgheorghita/devcon-iv-ethpm | 3cbd1dd64fdbfb787f89cd369acb6f3d36893817 | [
"MIT"
] | 4 | 2018-11-01T12:17:09.000Z | 2018-11-01T13:58:27.000Z | tests/core/test_import.py | njgheorghita/devcon-iv-ethpm | 3cbd1dd64fdbfb787f89cd369acb6f3d36893817 | [
"MIT"
] | null | null | null | tests/core/test_import.py | njgheorghita/devcon-iv-ethpm | 3cbd1dd64fdbfb787f89cd369acb6f3d36893817 | [
"MIT"
] | null | null | null | def test_import():
import devcon_iv_ethpm # noqa: F401
import web3
import ethpm
| 18.6 | 40 | 0.688172 | 13 | 93 | 4.692308 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057971 | 0.258065 | 93 | 4 | 41 | 23.25 | 0.826087 | 0.107527 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 1 | 0 | 1.25 | 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 |
9c7b715b7c8b109e14a58beb7f440e7e6dc3caf9 | 662 | py | Python | Lib/site-packages/numarray/fft/__init__.py | raychorn/svn_Python-2.5.1 | 425005b1b489ba44ec0bb989e077297e8953d9be | [
"PSF-2.0"
] | null | null | null | Lib/site-packages/numarray/fft/__init__.py | raychorn/svn_Python-2.5.1 | 425005b1b489ba44ec0bb989e077297e8953d9be | [
"PSF-2.0"
] | null | null | null | Lib/site-packages/numarray/fft/__init__.py | raychorn/svn_Python-2.5.1 | 425005b1b489ba44ec0bb989e077297e8953d9be | [
"PSF-2.0"
] | null | null | null | """
Discrete Fourier Transforms - FFT.py
The underlying code for these functions is an f2c translated and modified
version of the FFTPACK routines.
fft(a, n=None, axis=-1)
inverse_fft(a, n=None, axis=-1)
real_fft(a, n=None, axis=-1)
inverse_real_fft(a, n=None, axis=-1)
hermite_fft(a, n=None, axis=-1)
inverse_herm... | 28.782609 | 73 | 0.697885 | 128 | 662 | 3.492188 | 0.28125 | 0.035794 | 0.107383 | 0.178971 | 0.704698 | 0.704698 | 0.630872 | 0.163311 | 0 | 0 | 0 | 0.032646 | 0.120846 | 662 | 22 | 74 | 30.090909 | 0.735395 | 0.959215 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
92d870bf9400de7752db1e28ba92a9518d2841ca | 9,518 | py | Python | cvxpy/tests/test_constraints.py | quantopian/cvxpy | 7deee4d172470aa8f629dab7fead50467afa75ff | [
"Apache-2.0"
] | 5 | 2017-08-31T01:37:00.000Z | 2022-03-24T04:23:09.000Z | cvxpy/tests/test_constraints.py | quantopian/cvxpy | 7deee4d172470aa8f629dab7fead50467afa75ff | [
"Apache-2.0"
] | null | null | null | cvxpy/tests/test_constraints.py | quantopian/cvxpy | 7deee4d172470aa8f629dab7fead50467afa75ff | [
"Apache-2.0"
] | 6 | 2017-02-09T19:37:07.000Z | 2021-01-07T00:17:54.000Z | """
Copyright 2017 Steven Diamond
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... | 37.472441 | 97 | 0.604224 | 1,285 | 9,518 | 4.432685 | 0.128405 | 0.033357 | 0.030021 | 0.056004 | 0.772647 | 0.752107 | 0.735077 | 0.716643 | 0.703125 | 0.6796 | 0 | 0.019846 | 0.264131 | 9,518 | 253 | 98 | 37.620553 | 0.793404 | 0.173986 | 0 | 0.547619 | 0 | 0 | 0.06885 | 0 | 0 | 0 | 0 | 0 | 0.535714 | 1 | 0.065476 | false | 0 | 0.029762 | 0 | 0.10119 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
136bf557859c4302dd1e81901e051d3bc91e5c69 | 252 | py | Python | tests/log.py | git-akihakune/aWaifu-web | bc6774d96b9f3b2ffe673f960786d93c827685a3 | [
"MIT"
] | null | null | null | tests/log.py | git-akihakune/aWaifu-web | bc6774d96b9f3b2ffe673f960786d93c827685a3 | [
"MIT"
] | null | null | null | tests/log.py | git-akihakune/aWaifu-web | bc6774d96b9f3b2ffe673f960786d93c827685a3 | [
"MIT"
] | null | null | null | from .config import verbose
def failed(skk): print("\033[91m[FAILED] \033[00m{}".format(skk))
def passed(skk): print("\033[92m[PASSED] \033[00m{}".format(skk))
def notify(skk):
if verbose:
print("\033[96m[NOTIFY] \033[00m{}".format(skk)) | 28 | 65 | 0.650794 | 39 | 252 | 4.205128 | 0.435897 | 0.146341 | 0.219512 | 0.27439 | 0.219512 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0.126984 | 252 | 9 | 66 | 28 | 0.609091 | 0 | 0 | 0 | 0 | 0 | 0.320158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.166667 | 0.166667 | 0 | 0.666667 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 6 |
13794bf5de79f4d48d30aaf8063373b9342d0446 | 6,886 | py | Python | meraki_v0/api/security_events.py | zabrewer/dashboard-api-python | bc21b6852e3167dcdf79585928a963efebb9d0ee | [
"MIT"
] | 2 | 2020-01-09T08:35:39.000Z | 2020-01-09T09:23:53.000Z | meraki_v0/api/security_events.py | zabrewer/dashboard-api-python | bc21b6852e3167dcdf79585928a963efebb9d0ee | [
"MIT"
] | null | null | null | meraki_v0/api/security_events.py | zabrewer/dashboard-api-python | bc21b6852e3167dcdf79585928a963efebb9d0ee | [
"MIT"
] | null | null | null | class SecurityEvents(object):
def __init__(self, session):
super(SecurityEvents, self).__init__()
self._session = session
def getNetworkClientSecurityEvents(self, networkId: str, clientId: str, total_pages=1, direction='next', **kwargs):
"""
**List the security events for a ... | 70.989691 | 314 | 0.686175 | 1,000 | 6,886 | 4.692 | 0.147 | 0.012788 | 0.026854 | 0.026854 | 0.880009 | 0.880009 | 0.880009 | 0.8685 | 0.8685 | 0.8685 | 0 | 0.016455 | 0.23221 | 6,886 | 96 | 315 | 71.729167 | 0.871004 | 0.662939 | 0 | 0.529412 | 0 | 0 | 0.226606 | 0.11128 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0 | 0 | 0.235294 | 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 |
137d3988fbdf887f40a59947b18d96d8d1352ff5 | 59 | py | Python | python-aliyun-api-gateway/aliyun/api/gateway/sdk/util/UUIDUtil.py | coco369/aliyun-api-gateway-python | 683a70786e36d1a089ec48da80b59b1f882f2976 | [
"Apache-2.0"
] | 2 | 2020-09-09T10:09:44.000Z | 2021-05-13T06:35:32.000Z | python-aliyun-api-gateway/aliyun/api/gateway/sdk/util/UUIDUtil.py | coco369/aliyun-api-gateway-python | 683a70786e36d1a089ec48da80b59b1f882f2976 | [
"Apache-2.0"
] | null | null | null | python-aliyun-api-gateway/aliyun/api/gateway/sdk/util/UUIDUtil.py | coco369/aliyun-api-gateway-python | 683a70786e36d1a089ec48da80b59b1f882f2976 | [
"Apache-2.0"
] | null | null | null | import uuid
def get_uuid():
return str(uuid.uuid4())
| 9.833333 | 28 | 0.661017 | 9 | 59 | 4.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.20339 | 59 | 5 | 29 | 11.8 | 0.787234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
b9286c72678bcc6eaa0ed8c14639473032405a0e | 22 | py | Python | IPython/testing/plugin/simplevars.py | dchichkov/ipython | 8096bb8640ee7e7c5ebdf3f428fe69cd390e1cd4 | [
"BSD-3-Clause-Clear"
] | 26 | 2018-02-14T23:52:58.000Z | 2021-08-16T13:50:03.000Z | IPython/testing/plugin/simplevars.py | dchichkov/ipython | 8096bb8640ee7e7c5ebdf3f428fe69cd390e1cd4 | [
"BSD-3-Clause-Clear"
] | 3 | 2015-04-01T13:14:57.000Z | 2015-05-26T16:01:37.000Z | IPython/testing/plugin/simplevars.py | dchichkov/ipython | 8096bb8640ee7e7c5ebdf3f428fe69cd390e1cd4 | [
"BSD-3-Clause-Clear"
] | 10 | 2018-08-13T19:38:39.000Z | 2020-04-19T03:02:00.000Z | x = 1
print 'x is:',x
| 7.333333 | 15 | 0.5 | 6 | 22 | 1.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.272727 | 22 | 2 | 16 | 11 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b92d1784202e284af1eb520ae5d1efa1ecdba4b1 | 379 | py | Python | Gds/src/fprime_gds/wxgui/GDS_WXFormBuilderFiles/GDSStatusPanelImpl.py | hunterpaulson/fprime | 70560897b56dc3037dc966c99751b708b1cc8a05 | [
"Apache-2.0"
] | null | null | null | Gds/src/fprime_gds/wxgui/GDS_WXFormBuilderFiles/GDSStatusPanelImpl.py | hunterpaulson/fprime | 70560897b56dc3037dc966c99751b708b1cc8a05 | [
"Apache-2.0"
] | 5 | 2020-07-13T16:56:33.000Z | 2020-07-23T20:38:13.000Z | Gds/src/fprime_gds/wxgui/GDS_WXFormBuilderFiles/GDSStatusPanelImpl.py | hunterpaulson/lgtm-fprime | 9eeda383c263ecba8da8188a45e1d020107ff323 | [
"Apache-2.0"
] | null | null | null | import wx
import GDSStatusPanelGUI
###########################################################################
## Class StatusImpl
###########################################################################
class StatusImpl(GDSStatusPanelGUI.Status):
def __init__(self, parent):
GDSStatusPanelGUI.Status._... | 25.266667 | 75 | 0.432718 | 23 | 379 | 6.608696 | 0.521739 | 0.197368 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124011 | 379 | 14 | 76 | 27.071429 | 0.457831 | 0.042216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.285714 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
b960ad4750e4340522df6751a76001a9bb7945fb | 44 | py | Python | enthought/traits/ui/theme.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/traits/ui/theme.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/traits/ui/theme.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from traitsui.theme import *
| 14.666667 | 28 | 0.772727 | 6 | 44 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 2 | 29 | 22 | 0.918919 | 0.272727 | 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 |
b9988fa2014c98f763946b6fcdbe1fdd56978ea6 | 59,055 | py | Python | analyze.py | damon-demon/Black-Box-Defense | d810a694862e83b899ef6207713b2a8071c79c04 | [
"MIT"
] | 2 | 2022-02-26T22:14:01.000Z | 2022-03-04T20:46:27.000Z | analyze.py | OTML-Group/Black-Box-Defense | b4e1b9e6e1703a8d1ba7535d531647abb9705fe9 | [
"MIT"
] | null | null | null | analyze.py | OTML-Group/Black-Box-Defense | b4e1b9e6e1703a8d1ba7535d531647abb9705fe9 | [
"MIT"
] | 1 | 2022-03-15T00:10:33.000Z | 2022-03-15T00:10:33.000Z | # Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
from easydict import EasyDict as edict
from typing import *
import math
import matplotlib
matplotlib.use("TkAgg")
import matplotlib.pyplot as plt
import numpy as np
import os
import pandas as pd
import seaborn as sns
sns.set()
class Accuracy(o... | 58.58631 | 227 | 0.683211 | 7,704 | 59,055 | 4.864486 | 0.037643 | 0.028178 | 0.021854 | 0.009766 | 0.938014 | 0.919655 | 0.894626 | 0.88043 | 0.858123 | 0.825248 | 0 | 0.065321 | 0.177716 | 59,055 | 1,007 | 228 | 58.644489 | 0.706425 | 0.01353 | 0 | 0.504751 | 0 | 0.055819 | 0.298465 | 0.232218 | 0.001188 | 0 | 0 | 0 | 0.001188 | 1 | 0.019002 | false | 0 | 0.010689 | 0.002375 | 0.042755 | 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 |
b9bcc13bcb586b3236b3f09361fa9a17cd2cb00c | 6,997 | py | Python | time_metrics/migrations/0001_initial.py | wallstreetweb/django-time-metrics | 02196d4ab3b49186a2ff228545d290859a742a31 | [
"MIT"
] | null | null | null | time_metrics/migrations/0001_initial.py | wallstreetweb/django-time-metrics | 02196d4ab3b49186a2ff228545d290859a742a31 | [
"MIT"
] | null | null | null | time_metrics/migrations/0001_initial.py | wallstreetweb/django-time-metrics | 02196d4ab3b49186a2ff228545d290859a742a31 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.9.7 on 2016-06-21 16:23
from __future__ import unicode_literals
import datetime
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
import model_utils.fields
class Migration(migrations.Migration):
initial = True
... | 49.274648 | 147 | 0.583965 | 672 | 6,997 | 5.927083 | 0.159226 | 0.06352 | 0.066784 | 0.104946 | 0.727843 | 0.727843 | 0.707758 | 0.707758 | 0.707758 | 0.681145 | 0 | 0.006895 | 0.274546 | 6,997 | 141 | 148 | 49.624113 | 0.777778 | 0.009576 | 0 | 0.616541 | 1 | 0 | 0.169193 | 0.024975 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045113 | 0 | 0.075188 | 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 |
b9f69a8e9acd1db764be11e30be23d0e73ba21bc | 31,083 | py | Python | mailslurp_client/api/contact_controller_api.py | mailslurp/mailslurp-client-python | a1e9fdc6eb06e192909fd57a64813beb32419594 | [
"MIT"
] | 6 | 2020-04-30T07:47:42.000Z | 2022-03-24T20:58:58.000Z | mailslurp_client/api/contact_controller_api.py | mailslurp/mailslurp-client-python | a1e9fdc6eb06e192909fd57a64813beb32419594 | [
"MIT"
] | 1 | 2020-09-20T19:58:21.000Z | 2020-11-29T16:49:19.000Z | mailslurp_client/api/contact_controller_api.py | mailslurp/mailslurp-client-python | a1e9fdc6eb06e192909fd57a64813beb32419594 | [
"MIT"
] | 1 | 2019-08-09T14:55:50.000Z | 2019-08-09T14:55:50.000Z | # coding: utf-8
"""
MailSlurp API
MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://ww... | 43.351464 | 487 | 0.590065 | 3,413 | 31,083 | 5.118371 | 0.069733 | 0.041674 | 0.063312 | 0.030912 | 0.913218 | 0.909726 | 0.9032 | 0.901311 | 0.878871 | 0.874005 | 0 | 0.012964 | 0.337419 | 31,083 | 716 | 488 | 43.412011 | 0.835251 | 0.458868 | 0 | 0.697059 | 0 | 0 | 0.164253 | 0.045139 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038235 | false | 0 | 0.014706 | 0 | 0.091176 | 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 |
b9fb65b57d2f2bc39e6e3a9c6f9fac58f0dea3de | 1,509 | py | Python | output/models/ms_data/particles/particles_z008_xsd/particles_z008.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/ms_data/particles/particles_z008_xsd/particles_z008.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/ms_data/particles/particles_z008_xsd/particles_z008.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from dataclasses import dataclass, field
from typing import Optional
__NAMESPACE__ = "urn:my-namespace"
@dataclass
class ContainHead2Type:
member2: Optional[str] = field(
default=None,
metadata={
"name": "Member2",
"type": "Element",
"namespace": "urn:my-namesp... | 19.101266 | 44 | 0.503645 | 125 | 1,509 | 6.048 | 0.216 | 0.126984 | 0.148148 | 0.243386 | 0.763228 | 0.763228 | 0.714286 | 0.714286 | 0.714286 | 0.714286 | 0 | 0.013584 | 0.365805 | 1,509 | 78 | 45 | 19.346154 | 0.776385 | 0 | 0 | 0.676923 | 0 | 0 | 0.182903 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030769 | 0 | 0.246154 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e02d9a747a62e7e25852ddfea65d2e77ec57e0d4 | 69 | py | Python | fds/datax/_get_data/__init__.py | factset/fds-datax | 4796d65b3ad25b4295999f59d3244db1b8eace6f | [
"Apache-2.0"
] | 1 | 2022-02-01T19:12:23.000Z | 2022-02-01T19:12:23.000Z | fds/datax/_get_data/__init__.py | factset/fds-datax | 4796d65b3ad25b4295999f59d3244db1b8eace6f | [
"Apache-2.0"
] | null | null | null | fds/datax/_get_data/__init__.py | factset/fds-datax | 4796d65b3ad25b4295999f59d3244db1b8eace6f | [
"Apache-2.0"
] | null | null | null | from fds.datax._get_data._get_data import (GetSDFData as getsdfdata)
| 34.5 | 68 | 0.84058 | 11 | 69 | 4.909091 | 0.727273 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 69 | 1 | 69 | 69 | 0.857143 | 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 |
0edaa345d001facc259399202f5810f0bf4901fe | 8,205 | py | Python | tests/components/dsmr/test_config_flow.py | pcaston/core | e74d946cef7a9d4e232ae9e0ba150d18018cfe33 | [
"Apache-2.0"
] | 1 | 2021-07-08T20:09:55.000Z | 2021-07-08T20:09:55.000Z | tests/components/dsmr/test_config_flow.py | pcaston/core | e74d946cef7a9d4e232ae9e0ba150d18018cfe33 | [
"Apache-2.0"
] | 47 | 2021-02-21T23:43:07.000Z | 2022-03-31T06:07:10.000Z | tests/components/dsmr/test_config_flow.py | OpenPeerPower/core | f673dfac9f2d0c48fa30af37b0a99df9dd6640ee | [
"Apache-2.0"
] | null | null | null | """Test the DSMR config flow."""
import asyncio
from itertools import chain, repeat
from unittest.mock import DEFAULT, AsyncMock, patch
import serial
from openpeerpower import config_entries, data_entry_flow, setup
from openpeerpower.components.dsmr import DOMAIN
from tests.common import MockConfigEntry
SERIAL_DATA... | 30.845865 | 88 | 0.65521 | 928 | 8,205 | 5.510776 | 0.131466 | 0.038717 | 0.073915 | 0.081345 | 0.811107 | 0.801721 | 0.796637 | 0.762417 | 0.742081 | 0.742081 | 0 | 0.013484 | 0.222669 | 8,205 | 265 | 89 | 30.962264 | 0.788335 | 0.019622 | 0 | 0.645833 | 0 | 0 | 0.22492 | 0.103642 | 0 | 0 | 0 | 0 | 0.114583 | 1 | 0 | false | 0 | 0.109375 | 0 | 0.109375 | 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 |
0efbcbcedd750b6cc8e00716e55da8079daef7c4 | 48 | py | Python | app/Camera/__init__.py | gizmo-cda/g2x | 841364b8ef4ef4197bbb3682f33ff4ddd539619f | [
"MIT"
] | null | null | null | app/Camera/__init__.py | gizmo-cda/g2x | 841364b8ef4ef4197bbb3682f33ff4ddd539619f | [
"MIT"
] | null | null | null | app/Camera/__init__.py | gizmo-cda/g2x | 841364b8ef4ef4197bbb3682f33ff4ddd539619f | [
"MIT"
] | null | null | null | from .camera_controller import CameraController
| 24 | 47 | 0.895833 | 5 | 48 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
160052f0e99ceed94956511a2be3a21c5039bdea | 4,109 | py | Python | src/genie/libs/parser/ios/tests/ShowAccessLists/cli/equal/golden_output_standard_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/ios/tests/ShowAccessLists/cli/equal/golden_output_standard_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/ios/tests/ShowAccessLists/cli/equal/golden_output_standard_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"1": {
"aces": {
"10": {
"actions": {"forwarding": "permit"},
"matches": {
"l3": {
"ipv4": {
"protocol": "ipv4",
"source_network": {
... | 30.664179 | 76 | 0.212704 | 243 | 4,109 | 3.522634 | 0.131687 | 0.084112 | 0.084112 | 0.056075 | 0.921729 | 0.917056 | 0.910047 | 0.688084 | 0.658879 | 0.658879 | 0 | 0.14208 | 0.642005 | 4,109 | 133 | 77 | 30.894737 | 0.439837 | 0 | 0 | 0.466165 | 0 | 0 | 0.23193 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 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 |
160a304ecffe78028044638bda82a29216821949 | 109 | py | Python | bank_import/admin.py | oronibrian/Tenant | 42662797db54f8f169a570c920795c487ce3896a | [
"MIT"
] | 24 | 2015-01-28T20:02:27.000Z | 2021-10-03T15:29:44.000Z | bank_import/admin.py | oronibrian/Tenant | 42662797db54f8f169a570c920795c487ce3896a | [
"MIT"
] | 31 | 2015-01-19T20:51:40.000Z | 2018-12-13T14:54:01.000Z | bank_import/admin.py | oronibrian/Tenant | 42662797db54f8f169a570c920795c487ce3896a | [
"MIT"
] | 20 | 2015-11-15T14:07:20.000Z | 2021-10-03T17:07:42.000Z | from django.contrib import admin
from django.utils.translation import ugettext as _
from main import models
| 21.8 | 50 | 0.834862 | 16 | 109 | 5.625 | 0.6875 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137615 | 109 | 4 | 51 | 27.25 | 0.957447 | 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 |
161640ce273e36587af221c46e1ffaec6d83e90f | 109 | py | Python | ComRISB/pygtool/init_subval_tsolver.py | comscope/comsuite | d51c43cad0d15dc3b4d1f45e7df777cdddaa9d6c | [
"BSD-3-Clause"
] | 18 | 2019-06-15T18:08:21.000Z | 2022-01-30T05:01:29.000Z | ComRISB/pygtool/init_subval_tsolver.py | comscope/Comsuite | b80ca9f34c519757d337487c489fb655f7598cc2 | [
"BSD-3-Clause"
] | null | null | null | ComRISB/pygtool/init_subval_tsolver.py | comscope/Comsuite | b80ca9f34c519757d337487c489fb655f7598cc2 | [
"BSD-3-Clause"
] | 11 | 2019-06-05T02:57:55.000Z | 2021-12-29T02:54:25.000Z | #!/usr/bin/env python
from pyglib.gutz.init_subval_tsolver import init_subval_tsolver
init_subval_tsolver()
| 21.8 | 63 | 0.844037 | 17 | 109 | 5.058824 | 0.647059 | 0.348837 | 0.593023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073395 | 109 | 4 | 64 | 27.25 | 0.851485 | 0.183486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 |
161678b591e93e2670ebc1fa0343af69414e03ac | 457 | py | Python | course-material/platform-services/analysis-service/utils/helpers.py | estensen/spacemaker-docker-kubernetes-course | bc0e03ed11a227b74c0457241fb6c48c8f8ada3c | [
"MIT"
] | null | null | null | course-material/platform-services/analysis-service/utils/helpers.py | estensen/spacemaker-docker-kubernetes-course | bc0e03ed11a227b74c0457241fb6c48c8f8ada3c | [
"MIT"
] | null | null | null | course-material/platform-services/analysis-service/utils/helpers.py | estensen/spacemaker-docker-kubernetes-course | bc0e03ed11a227b74c0457241fb6c48c8f8ada3c | [
"MIT"
] | null | null | null | import numpy as np
def get_polygon_cords(building_data):
return np.array(
[
[building_data["x"], building_data["y"]],
[building_data["x"] + building_data["dx"], building_data["y"]],
[
building_data["x"] + building_data["dx"],
building_dat... | 28.5625 | 75 | 0.509847 | 49 | 457 | 4.44898 | 0.326531 | 0.715596 | 0.238532 | 0.385321 | 0.733945 | 0.733945 | 0.715596 | 0.715596 | 0.481651 | 0.481651 | 0 | 0 | 0.321663 | 457 | 15 | 76 | 30.466667 | 0.703226 | 0 | 0 | 0 | 0 | 0 | 0.035011 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.076923 | 0.076923 | 0.230769 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1626c2a5eb6b28dabfea5931e5a5c031cf28009d | 38 | py | Python | Bot/1_Find/Logic/_List_Of_Stocks.py | ReedGraff/High-Low | c8ba0339d7818e344cacf9a73a83d24dc539c2ca | [
"MIT"
] | 1 | 2022-01-06T05:50:53.000Z | 2022-01-06T05:50:53.000Z | Bot/1_Find/Logic/_List_Of_Stocks.py | ReedGraff/High-Low | c8ba0339d7818e344cacf9a73a83d24dc539c2ca | [
"MIT"
] | null | null | null | Bot/1_Find/Logic/_List_Of_Stocks.py | ReedGraff/High-Low | c8ba0339d7818e344cacf9a73a83d24dc539c2ca | [
"MIT"
] | null | null | null | def List_Of_Stocks(self):
return 0 | 19 | 25 | 0.736842 | 7 | 38 | 3.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.184211 | 38 | 2 | 26 | 19 | 0.806452 | 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 |
16724876d55904e397e0997a494911b83e46b50f | 140 | py | Python | django/core/views.py | shamsow/django-react-homemaker | 8bfc6de6a7bcb838069904af8bf8f2e1f8671297 | [
"MIT",
"Unlicense"
] | null | null | null | django/core/views.py | shamsow/django-react-homemaker | 8bfc6de6a7bcb838069904af8bf8f2e1f8671297 | [
"MIT",
"Unlicense"
] | 14 | 2021-09-07T13:56:02.000Z | 2022-01-19T13:13:54.000Z | django/core/views.py | shamsow/django-react-homemaker | 8bfc6de6a7bcb838069904af8bf8f2e1f8671297 | [
"MIT",
"Unlicense"
] | null | null | null | from django.shortcuts import reverse, HttpResponseRedirect
def default_view(request):
return HttpResponseRedirect(reverse('admin:index'))
| 28 | 58 | 0.835714 | 15 | 140 | 7.733333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078571 | 140 | 4 | 59 | 35 | 0.899225 | 0 | 0 | 0 | 0 | 0 | 0.078571 | 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 |
167fa52465666ca636edd2498305844058711ec8 | 112 | py | Python | stachrl/utils/clearscreen.py | christophstach/reinforcement-learning-klutzy-back-phoebe | 7fdf557f51ea29038a193fbfc6b63261e5fe4685 | [
"MIT"
] | null | null | null | stachrl/utils/clearscreen.py | christophstach/reinforcement-learning-klutzy-back-phoebe | 7fdf557f51ea29038a193fbfc6b63261e5fe4685 | [
"MIT"
] | null | null | null | stachrl/utils/clearscreen.py | christophstach/reinforcement-learning-klutzy-back-phoebe | 7fdf557f51ea29038a193fbfc6b63261e5fe4685 | [
"MIT"
] | null | null | null | import os
def clearscreen():
# os.system('cls' if os.name == 'nt' else 'clear')
print('\033[H\033[J')
| 16 | 54 | 0.580357 | 18 | 112 | 3.611111 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067416 | 0.205357 | 112 | 6 | 55 | 18.666667 | 0.662921 | 0.428571 | 0 | 0 | 0 | 0 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 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 |
168632ad4b620ff40d22b804c3f5abc6dc67669a | 41 | py | Python | semantic/semantic/logging/__init__.py | VladimirSiv/semantic-search-system | 96b6581f191aacb1157b1408b2726e317ddc2c49 | [
"MIT"
] | 1 | 2021-07-01T08:53:46.000Z | 2021-07-01T08:53:46.000Z | front/front/logging/__init__.py | VladimirSiv/semantic-search-system | 96b6581f191aacb1157b1408b2726e317ddc2c49 | [
"MIT"
] | null | null | null | front/front/logging/__init__.py | VladimirSiv/semantic-search-system | 96b6581f191aacb1157b1408b2726e317ddc2c49 | [
"MIT"
] | 1 | 2021-12-29T01:18:38.000Z | 2021-12-29T01:18:38.000Z | from .logger import logger, logger_setup
| 20.5 | 40 | 0.829268 | 6 | 41 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 1 | 41 | 41 | 0.916667 | 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 |
169f0889ffbfe00c62e34f90a9999cbcc186d301 | 27 | py | Python | mail_fix_553/__init__.py | aaltinisik/mail-addons | d829c1d9e4320013ab557c34d6d79b956ebd7349 | [
"MIT"
] | 1 | 2020-12-07T19:52:33.000Z | 2020-12-07T19:52:33.000Z | mail_fix_553/__init__.py | trojikman/mail-addons | 193caa9af759700a588cdec8910ccbad05b59104 | [
"MIT"
] | 1 | 2019-03-15T14:45:46.000Z | 2019-03-15T14:45:46.000Z | mail_fix_553/__init__.py | trojikman/mail-addons | 193caa9af759700a588cdec8910ccbad05b59104 | [
"MIT"
] | 1 | 2021-08-28T11:18:33.000Z | 2021-08-28T11:18:33.000Z | from . import mail_fix_553
| 13.5 | 26 | 0.814815 | 5 | 27 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0.148148 | 27 | 1 | 27 | 27 | 0.73913 | 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 |
bcc17afeb54e1fbacd7538e1b12f01ca71028e6a | 83,822 | py | Python | parlai/core/torch_ranker_agent.py | SeolhwaLee/Parlai_ver2 | 6f43d1929cab26e07a2f384bc5f731714ddb54d7 | [
"MIT"
] | 1 | 2020-08-25T03:46:02.000Z | 2020-08-25T03:46:02.000Z | parlai/core/torch_ranker_agent.py | sseol11/Parlai_ver2 | 6f43d1929cab26e07a2f384bc5f731714ddb54d7 | [
"MIT"
] | null | null | null | parlai/core/torch_ranker_agent.py | sseol11/Parlai_ver2 | 6f43d1929cab26e07a2f384bc5f731714ddb54d7 | [
"MIT"
] | null | null | null | # #!/usr/bin/env python3
#
# # Copyright (c) Facebook, Inc. and its affiliates.
# # This source code is licensed under the MIT license found in the
# # LICENSE file in the root directory of this source tree.
#
# """
# Torch Ranker Agents provide functionality for building ranking models.
#
# See the TorchRankerAgent tu... | 42.185204 | 97 | 0.550011 | 9,428 | 83,822 | 4.723059 | 0.066928 | 0.028027 | 0.019403 | 0.014822 | 0.979339 | 0.978419 | 0.977745 | 0.977745 | 0.977745 | 0.977745 | 0 | 0.004779 | 0.355921 | 83,822 | 1,986 | 98 | 42.206445 | 0.820016 | 0.567727 | 0 | 0.294606 | 0 | 0 | 0.169112 | 0.019925 | 0 | 0 | 0 | 0.001007 | 0.001383 | 1 | 0.034578 | false | 0.002766 | 0.02213 | 0 | 0.095436 | 0.016598 | 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 |
bcc3ce209d16a1f1a0aa9ad76c7aec97988e31bd | 14,152 | py | Python | sdk/python/pulumi_gcp/appengine/application_url_dispatch_rules.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_gcp/appengine/application_url_dispatch_rules.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_gcp/appengine/application_url_dispatch_rules.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 44.503145 | 203 | 0.652841 | 1,413 | 14,152 | 6.361642 | 0.155697 | 0.05262 | 0.031705 | 0.036155 | 0.767382 | 0.751029 | 0.734453 | 0.722995 | 0.702748 | 0.702748 | 0 | 0.002184 | 0.256006 | 14,152 | 317 | 204 | 44.643533 | 0.851553 | 0.469828 | 0 | 0.550847 | 1 | 0 | 0.161676 | 0.09366 | 0 | 0 | 0 | 0 | 0 | 1 | 0.144068 | false | 0.008475 | 0.059322 | 0 | 0.288136 | 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 |
bcd2e0d8ff9e17bfff42d10d00839a8c6eba93bf | 44 | py | Python | cygraphblas/lib/descriptor/ss.py | eriknw/cygraphblas | 81ae37591ec38aa698d5f37716464a6c366076f9 | [
"Apache-2.0"
] | 3 | 2020-09-03T21:47:25.000Z | 2021-08-06T20:24:19.000Z | cygraphblas/lib/descriptor/ss.py | eriknw/cygraphblas | 81ae37591ec38aa698d5f37716464a6c366076f9 | [
"Apache-2.0"
] | null | null | null | cygraphblas/lib/descriptor/ss.py | eriknw/cygraphblas | 81ae37591ec38aa698d5f37716464a6c366076f9 | [
"Apache-2.0"
] | 2 | 2020-09-03T21:47:52.000Z | 2021-08-06T20:24:20.000Z | from cygraphblas_ss.lib.descriptor import *
| 22 | 43 | 0.840909 | 6 | 44 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.9 | 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 |
bcec87ae36d9ffee5a73337cdd50ec825c8b6eed | 27 | py | Python | handlers/admin/__init__.py | vR4eslav/DatingBot | 62f9ccbe1a3d0c65dd8d650400a1b5595be893b5 | [
"Apache-2.0"
] | null | null | null | handlers/admin/__init__.py | vR4eslav/DatingBot | 62f9ccbe1a3d0c65dd8d650400a1b5595be893b5 | [
"Apache-2.0"
] | null | null | null | handlers/admin/__init__.py | vR4eslav/DatingBot | 62f9ccbe1a3d0c65dd8d650400a1b5595be893b5 | [
"Apache-2.0"
] | null | null | null | from . import admin_handler | 27 | 27 | 0.851852 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.916667 | 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 |
4c18903a2bfdee92d45c203367ca98e0f9c65dfe | 11,347 | py | Python | plot_barabasi2.py | koshini/polya-social-contagion | ad3915a59611589160e5c7f5e6a1d82489e6e1b2 | [
"MIT"
] | null | null | null | plot_barabasi2.py | koshini/polya-social-contagion | ad3915a59611589160e5c7f5e6a1d82489e6e1b2 | [
"MIT"
] | 1 | 2019-04-03T20:45:05.000Z | 2019-04-07T18:06:13.000Z | plot_barabasi2.py | koshini/polya-social-contagion | ad3915a59611589160e5c7f5e6a1d82489e6e1b2 | [
"MIT"
] | null | null | null | import networkx as nx
from graph_generator import generate_graph
from simulation import simulate
import time
import matplotlib.pyplot as plt
import numpy as np
runs = 200
node_count = 25
iterations = 300
initial_balls = node_count * 100
topology = 'barabasi'
def main():
folder = 'neutral-equal-25/'
red_mult =... | 29.704188 | 133 | 0.602979 | 1,308 | 11,347 | 4.881498 | 0.110092 | 0.091621 | 0.159749 | 0.103367 | 0.74675 | 0.731088 | 0.720282 | 0.704777 | 0.693814 | 0.686922 | 0 | 0.013716 | 0.254693 | 11,347 | 382 | 134 | 29.704188 | 0.741279 | 0.114391 | 0 | 0.736301 | 1 | 0 | 0.238182 | 0.004778 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013699 | false | 0 | 0.020548 | 0 | 0.034247 | 0.013699 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4c5e41c46a8f658f19b9b4bade40c9d14d0dc499 | 2,264 | py | Python | app/profiles/migrations/0001_initial.py | GaneshPandey/cowmandu | de6c110087d7b0d8ad54dafec0af3d2ab09532e3 | [
"MIT"
] | null | null | null | app/profiles/migrations/0001_initial.py | GaneshPandey/cowmandu | de6c110087d7b0d8ad54dafec0af3d2ab09532e3 | [
"MIT"
] | null | null | null | app/profiles/migrations/0001_initial.py | GaneshPandey/cowmandu | de6c110087d7b0d8ad54dafec0af3d2ab09532e3 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.6 on 2019-10-15 09:09
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
ope... | 53.904762 | 175 | 0.637367 | 251 | 2,264 | 5.577689 | 0.298805 | 0.038571 | 0.06 | 0.074286 | 0.761429 | 0.761429 | 0.761429 | 0.761429 | 0.761429 | 0.697143 | 0 | 0.011699 | 0.207155 | 2,264 | 41 | 176 | 55.219512 | 0.768245 | 0.019876 | 0 | 0.588235 | 1 | 0 | 0.196662 | 0.057736 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.088235 | 0 | 0.205882 | 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 |
d5be471e8b5fd679ea92f1e068d20e864af22d4a | 20 | py | Python | ml4s/__init__.py | agdelma/ml4s | b3e9dc6b5ffe9d01399e56fd73c6792fe6d57f50 | [
"MIT"
] | null | null | null | ml4s/__init__.py | agdelma/ml4s | b3e9dc6b5ffe9d01399e56fd73c6792fe6d57f50 | [
"MIT"
] | null | null | null | ml4s/__init__.py | agdelma/ml4s | b3e9dc6b5ffe9d01399e56fd73c6792fe6d57f50 | [
"MIT"
] | null | null | null | from .ml4s import *
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.2 | 20 | 1 | 20 | 20 | 0.8125 | 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 |
d5fc1d766f3b2eea9ec851e2c3b9decdd566421f | 282 | py | Python | bentoml/pytorch.py | francoisserra/BentoML | 213e9e9b39e055286f2649c733907df88e6d2503 | [
"Apache-2.0"
] | 1 | 2021-06-12T17:04:07.000Z | 2021-06-12T17:04:07.000Z | bentoml/pytorch.py | francoisserra/BentoML | 213e9e9b39e055286f2649c733907df88e6d2503 | [
"Apache-2.0"
] | 4 | 2021-05-16T08:06:25.000Z | 2021-11-13T08:46:36.000Z | bentoml/pytorch.py | francoisserra/BentoML | 213e9e9b39e055286f2649c733907df88e6d2503 | [
"Apache-2.0"
] | null | null | null | from ._internal.frameworks.pytorch import load
from ._internal.frameworks.pytorch import save
from ._internal.frameworks.pytorch import load_runner
from ._internal.frameworks.pytorch import PytorchTensorContainer
__all__ = ["PytorchTensorContainer", "load", "load_runner", "save"]
| 40.285714 | 67 | 0.826241 | 31 | 282 | 7.193548 | 0.322581 | 0.215247 | 0.394619 | 0.520179 | 0.663677 | 0.349776 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08156 | 282 | 6 | 68 | 47 | 0.861004 | 0 | 0 | 0 | 0 | 0 | 0.14539 | 0.078014 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 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 |
914d35157b06e84c8c90e46522258e57f5e9885c | 63,287 | py | Python | glance/tests/functional/__init__.py | rajivmucheli/glance | 73742be99944d923031aa5f90e06051126b17007 | [
"Apache-2.0"
] | null | null | null | glance/tests/functional/__init__.py | rajivmucheli/glance | 73742be99944d923031aa5f90e06051126b17007 | [
"Apache-2.0"
] | null | null | null | glance/tests/functional/__init__.py | rajivmucheli/glance | 73742be99944d923031aa5f90e06051126b17007 | [
"Apache-2.0"
] | null | null | null | # Copyright 2011 OpenStack Foundation
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requ... | 37.536773 | 79 | 0.619053 | 7,817 | 63,287 | 4.82909 | 0.106691 | 0.008345 | 0.011656 | 0.007417 | 0.75557 | 0.746642 | 0.726827 | 0.717158 | 0.70439 | 0.700866 | 0 | 0.007671 | 0.297628 | 63,287 | 1,685 | 80 | 37.55905 | 0.841556 | 0.237426 | 0 | 0.706767 | 0 | 0 | 0.237082 | 0.103475 | 0 | 0 | 0 | 0 | 0.011278 | 1 | 0.058271 | false | 0.016917 | 0.032895 | 0.00094 | 0.138158 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e6845a6d3fbaef07810fdf01930da0d08838863c | 6,292 | py | Python | tests/test_models/test_heads/test_knet_head.py | rehohoho/mmsegmentation | a73ae7a421e07741fda62c9d81b335cbc4b7f7d6 | [
"Apache-2.0"
] | 1 | 2022-03-07T19:46:03.000Z | 2022-03-07T19:46:03.000Z | tests/test_models/test_heads/test_knet_head.py | rehohoho/mmsegmentation | a73ae7a421e07741fda62c9d81b335cbc4b7f7d6 | [
"Apache-2.0"
] | 2 | 2022-02-25T03:07:23.000Z | 2022-03-08T12:54:05.000Z | tests/test_models/test_heads/test_knet_head.py | rehohoho/mmsegmentation | a73ae7a421e07741fda62c9d81b335cbc4b7f7d6 | [
"Apache-2.0"
] | 1 | 2022-01-04T01:16:12.000Z | 2022-01-04T01:16:12.000Z | # Copyright (c) OpenMMLab. All rights reserved.
import torch
from mmseg.models.decode_heads.knet_head import (IterativeDecodeHead,
KernelUpdateHead)
from .utils import to_cuda
num_stages = 3
conv_kernel_size = 1
kernel_updator_cfg = dict(
type='KernelUpdator',
... | 32.102041 | 76 | 0.555467 | 763 | 6,292 | 4.310616 | 0.166448 | 0.038918 | 0.040134 | 0.02554 | 0.761022 | 0.7519 | 0.712983 | 0.704165 | 0.704165 | 0.704165 | 0 | 0.056494 | 0.341704 | 6,292 | 195 | 77 | 32.266667 | 0.737566 | 0.048951 | 0 | 0.784884 | 0 | 0 | 0.033808 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 1 | 0.005814 | false | 0 | 0.017442 | 0 | 0.023256 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fc0a0d7c7ab8132cf7e51cd34672d1d708f3d4d7 | 2,719 | py | Python | testing/test_immut_cache.py | jweinraub/hippyvm | 09c7643aaa1c4ade566e8681abd2543f12bf874c | [
"MIT"
] | 289 | 2015-01-01T15:36:55.000Z | 2022-03-27T00:22:27.000Z | testing/test_immut_cache.py | jweinraub/hippyvm | 09c7643aaa1c4ade566e8681abd2543f12bf874c | [
"MIT"
] | 26 | 2015-01-21T16:34:41.000Z | 2020-08-26T15:12:54.000Z | testing/test_immut_cache.py | jweinraub/hippyvm | 09c7643aaa1c4ade566e8681abd2543f12bf874c | [
"MIT"
] | 35 | 2015-01-05T12:09:41.000Z | 2022-03-16T09:30:16.000Z | from testing.test_interpreter import BaseTestInterpreter
import uuid
class TestFunctionCache(BaseTestInterpreter):
def test_declare_function_call(self):
output = self.run('''
function myf2197123($a, $b) { return $a + $b; }
echo myf2197123(10, 20);
''')
assert self.space.in... | 37.763889 | 81 | 0.678558 | 346 | 2,719 | 5.060694 | 0.182081 | 0.091376 | 0.085665 | 0.078812 | 0.809252 | 0.809252 | 0.785266 | 0.769275 | 0.715591 | 0.715591 | 0 | 0.039355 | 0.224347 | 2,719 | 71 | 82 | 38.295775 | 0.790896 | 0 | 0 | 0.584906 | 0 | 0 | 0.15379 | 0 | 0 | 0 | 0 | 0 | 0.339623 | 1 | 0.09434 | false | 0 | 0.037736 | 0 | 0.150943 | 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 |
fc3a8ddcefec24db05c6bbc609d3f6f1923eb78d | 223 | py | Python | cd/modules/voice/checks/__init__.py | Axelware/cd-bot | d9b704d50b86ea25238242ae67c93e447b24636e | [
"MIT"
] | 1 | 2022-03-20T00:53:35.000Z | 2022-03-20T00:53:35.000Z | cd/modules/voice/checks/__init__.py | Axelware/cd-bot | d9b704d50b86ea25238242ae67c93e447b24636e | [
"MIT"
] | 1 | 2022-03-23T18:38:52.000Z | 2022-03-23T22:24:53.000Z | cd/modules/voice/checks/__init__.py | Axelware/cd-bot | d9b704d50b86ea25238242ae67c93e447b24636e | [
"MIT"
] | null | null | null | # Future
from __future__ import annotations
# Local
from .is_author_connected import *
from .is_player_connected import *
from .is_player_playing import *
from .is_queue_not_empty import *
from .is_track_seekable import *
| 22.3 | 34 | 0.816143 | 32 | 223 | 5.21875 | 0.46875 | 0.179641 | 0.287425 | 0.251497 | 0.323353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130045 | 223 | 9 | 35 | 24.777778 | 0.860825 | 0.053812 | 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 |
fc87e384b5904ae118ad9ad45a0459eaeb134d13 | 6,244 | py | Python | sklearn_pandas/tests/test_Column_Filter.py | toddbenanzer/sklearn_pandas | 36e24c55ef4829aa261963201c346869097d4931 | [
"MIT"
] | null | null | null | sklearn_pandas/tests/test_Column_Filter.py | toddbenanzer/sklearn_pandas | 36e24c55ef4829aa261963201c346869097d4931 | [
"MIT"
] | null | null | null | sklearn_pandas/tests/test_Column_Filter.py | toddbenanzer/sklearn_pandas | 36e24c55ef4829aa261963201c346869097d4931 | [
"MIT"
] | null | null | null | import pytest
from sklearn_pandas.transformers.column_filter import *
def test_ColumnSelector_all_columns_ColumnSelector():
df = pd.DataFrame({'A': [1, 1, ], 'B': [1, 1, ]})
expected_out = pd.DataFrame({'A': [1, 1, ]})
cs = ColumnSelector(columns=None)
pd.testing.assert_frame_equal(df, cs.fit_transfor... | 34.688889 | 76 | 0.586963 | 899 | 6,244 | 3.89099 | 0.093437 | 0.116352 | 0.111492 | 0.078045 | 0.867353 | 0.845912 | 0.818182 | 0.802744 | 0.722413 | 0.702973 | 0 | 0.051672 | 0.209641 | 6,244 | 179 | 77 | 34.882682 | 0.657143 | 0 | 0 | 0.604317 | 0 | 0 | 0.02066 | 0 | 0 | 0 | 0 | 0 | 0.136691 | 1 | 0.136691 | false | 0 | 0.014388 | 0 | 0.151079 | 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 |
fc92c7a83f311e4931133f7b99ae4f2015d176cb | 9,561 | py | Python | huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/__init__.py | wuchen-huawei/huaweicloud-sdk-python-v3 | 3683d703f4320edb2b8516f36f16d485cff08fc2 | [
"Apache-2.0"
] | null | null | null | huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/__init__.py | wuchen-huawei/huaweicloud-sdk-python-v3 | 3683d703f4320edb2b8516f36f16d485cff08fc2 | [
"Apache-2.0"
] | null | null | null | huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/__init__.py | wuchen-huawei/huaweicloud-sdk-python-v3 | 3683d703f4320edb2b8516f36f16d485cff08fc2 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
from __future__ import absolute_import
# import models into model package
from huaweicloudsdkcce.v3.model.addon_instance import AddonInstance
from huaweicloudsdkcce.v3.model.addon_instance_status import AddonInstanceStatus
from huaweicloudsdkcce.v3.model.addon_template import AddonTemplate
from huawei... | 75.283465 | 127 | 0.909424 | 1,096 | 9,561 | 7.713504 | 0.169708 | 0.300568 | 0.329193 | 0.400757 | 0.492075 | 0.428555 | 0.192335 | 0.054412 | 0.028862 | 0 | 0 | 0.01567 | 0.052191 | 9,561 | 126 | 128 | 75.880952 | 0.917237 | 0.004811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.008197 | 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 |
5d7c99a7d5a6fd6a64c5b7a7fa3886bc5a020ddd | 9,373 | py | Python | modoboa/limits/tests/test_api.py | vinaebizs/modoboa | fb1e7f4c023b7eb6be3aa77174bfa12fc653670e | [
"0BSD"
] | null | null | null | modoboa/limits/tests/test_api.py | vinaebizs/modoboa | fb1e7f4c023b7eb6be3aa77174bfa12fc653670e | [
"0BSD"
] | null | null | null | modoboa/limits/tests/test_api.py | vinaebizs/modoboa | fb1e7f4c023b7eb6be3aa77174bfa12fc653670e | [
"0BSD"
] | null | null | null | # coding: utf-8
"""Test cases for the limits extension."""
from django.core.urlresolvers import reverse
from rest_framework.authtoken.models import Token
from modoboa.admin.factories import populate_database
from modoboa.admin.models import Domain
from modoboa.core import factories as core_factories
from modoboa.cor... | 39.382353 | 78 | 0.621253 | 1,043 | 9,373 | 5.458293 | 0.126558 | 0.031969 | 0.066397 | 0.062709 | 0.835412 | 0.805024 | 0.762164 | 0.739329 | 0.720183 | 0.708765 | 0 | 0.01482 | 0.244105 | 9,373 | 237 | 79 | 39.548523 | 0.788709 | 0.040862 | 0 | 0.670157 | 0 | 0 | 0.164388 | 0.038436 | 0 | 0 | 0 | 0 | 0.17801 | 1 | 0.052356 | false | 0.020942 | 0.04712 | 0 | 0.109948 | 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 |
5d3aa2b24de34ed5c43724015ce47ad1e4d045bc | 199 | py | Python | taggit_autosuggest_select2/models.py | iris-edu-int/django-taggit-autosuggest-select2 | 280cd312e76b042d66eb32fe21020e37e1830343 | [
"MIT"
] | 1 | 2017-07-10T19:58:55.000Z | 2017-07-10T19:58:55.000Z | taggit_autosuggest_select2/models.py | iris-edu-int/django-taggit-autosuggest-select2 | 280cd312e76b042d66eb32fe21020e37e1830343 | [
"MIT"
] | null | null | null | taggit_autosuggest_select2/models.py | iris-edu-int/django-taggit-autosuggest-select2 | 280cd312e76b042d66eb32fe21020e37e1830343 | [
"MIT"
] | null | null | null | try:
from south.modelsinspector import add_ignored_fields
add_ignored_fields(["^taggit_autosuggest_select2\.managers"])
except ImportError:
pass # without south this can fail silently
| 28.428571 | 65 | 0.778894 | 24 | 199 | 6.208333 | 0.833333 | 0.134228 | 0.214765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005952 | 0.155779 | 199 | 6 | 66 | 33.166667 | 0.880952 | 0.180905 | 0 | 0 | 0 | 0 | 0.229814 | 0.229814 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.4 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.