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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cf015a5812526f66759913e79e36410d68a14dfd | 24 | py | Python | fair_flow/__init__.py | fairanswers/fair_flow | 65e13b10fe140a6ddad30f2168a8836c463de95f | [
"MIT"
] | null | null | null | fair_flow/__init__.py | fairanswers/fair_flow | 65e13b10fe140a6ddad30f2168a8836c463de95f | [
"MIT"
] | null | null | null | fair_flow/__init__.py | fairanswers/fair_flow | 65e13b10fe140a6ddad30f2168a8836c463de95f | [
"MIT"
] | null | null | null | from fair_flow import *
| 12 | 23 | 0.791667 | 4 | 24 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 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 |
cf01b603d522d102bb9d0b02ec344303697e25a7 | 42 | py | Python | models/ShallowConvNet/__init__.py | High-East/BCI-ToolBox | 57015ae5fd008e8636889b9afba49c64c3a35ff3 | [
"MIT"
] | 10 | 2022-01-09T02:35:54.000Z | 2022-03-22T06:18:06.000Z | models/ShallowConvNet/__init__.py | High-East/BCI-ToolBox | 57015ae5fd008e8636889b9afba49c64c3a35ff3 | [
"MIT"
] | null | null | null | models/ShallowConvNet/__init__.py | High-East/BCI-ToolBox | 57015ae5fd008e8636889b9afba49c64c3a35ff3 | [
"MIT"
] | null | null | null | from .ShallowConvNet import ShallowConvNet | 42 | 42 | 0.904762 | 4 | 42 | 9.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.974359 | 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 |
cf89843807d06a4111a9573b6b3bdc7a554edbb0 | 38 | py | Python | hitherecli/hitherecli.py | ao/hitherecli | 4c60db51e67207e4e566c2b4c7eb40ae9a88d85a | [
"MIT"
] | null | null | null | hitherecli/hitherecli.py | ao/hitherecli | 4c60db51e67207e4e566c2b4c7eb40ae9a88d85a | [
"MIT"
] | null | null | null | hitherecli/hitherecli.py | ao/hitherecli | 4c60db51e67207e4e566c2b4c7eb40ae9a88d85a | [
"MIT"
] | null | null | null | def main():
print("hi there cli")
| 12.666667 | 25 | 0.578947 | 6 | 38 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236842 | 38 | 2 | 26 | 19 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 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 |
d849422a179135dcb9a3160dd4ae9914bb8802f5 | 284 | py | Python | sul/remote_integrity/exceptions.py | nashirat/Final-Project-Sistem-Deteksi-Intrusi | 4ceff47c6da9002d7df51926a0dd2935a798f5df | [
"MIT"
] | null | null | null | sul/remote_integrity/exceptions.py | nashirat/Final-Project-Sistem-Deteksi-Intrusi | 4ceff47c6da9002d7df51926a0dd2935a798f5df | [
"MIT"
] | null | null | null | sul/remote_integrity/exceptions.py | nashirat/Final-Project-Sistem-Deteksi-Intrusi | 4ceff47c6da9002d7df51926a0dd2935a798f5df | [
"MIT"
] | 1 | 2021-03-18T00:16:02.000Z | 2021-03-18T00:16:02.000Z | #!/usr/bin/env python
class SulException(Exception):
"""
"""
class ConfigurationException(SulException):
pass
class ServerException(SulException):
pass
class DirectoryNotFoundException(SulException):
pass
class IntegrityException(SulException):
pass
| 12.347826 | 47 | 0.725352 | 23 | 284 | 8.956522 | 0.521739 | 0.31068 | 0.305825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183099 | 284 | 22 | 48 | 12.909091 | 0.887931 | 0.070423 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.444444 | 0 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
d8664714fb77e9a938d8ee46ba23e8d7cf7e2060 | 122 | py | Python | app/checks.py | agarwali/sugar-busters | ca2958603b14526c1f29514c0e85bd25b5776cde | [
"MIT"
] | null | null | null | app/checks.py | agarwali/sugar-busters | ca2958603b14526c1f29514c0e85bd25b5776cde | [
"MIT"
] | null | null | null | app/checks.py | agarwali/sugar-busters | ca2958603b14526c1f29514c0e85bd25b5776cde | [
"MIT"
] | null | null | null | from everything import *
@app.route("/checks", methods = ["GET"])
def checks():
return render_template ("checks.html") | 20.333333 | 40 | 0.688525 | 15 | 122 | 5.533333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 122 | 6 | 41 | 20.333333 | 0.783019 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
2b0b7feffa56842ce75f0d9df58051e4867971e8 | 8,607 | py | Python | cdk/consoleme_ecs_service/nested_stacks/iam_stack.py | avishayil/consoleme-ecs-service | 357f290c23fb74c6752961a4a4582e4cbab54e0a | [
"MIT"
] | 2 | 2021-06-19T04:28:43.000Z | 2021-06-19T06:12:25.000Z | cdk/consoleme_ecs_service/nested_stacks/iam_stack.py | avishayil/consoleme-ecs-service | 357f290c23fb74c6752961a4a4582e4cbab54e0a | [
"MIT"
] | 10 | 2021-06-19T08:12:41.000Z | 2021-06-20T22:00:34.000Z | cdk/consoleme_ecs_service/nested_stacks/iam_stack.py | avishayil/consoleme-ecs-service | 357f290c23fb74c6752961a4a4582e4cbab54e0a | [
"MIT"
] | null | null | null | """
IAM stack for running ConsoleMe on ECS
"""
from aws_cdk import (
aws_iam as iam,
aws_s3 as s3,
core as cdk
)
class IAMStack(cdk.NestedStack):
"""
IAM stack for running ConsoleMe on ECS
"""
def __init__(self, scope: cdk.Construct, id: str,
s3_bucket: s3.Bucket, **kwar... | 36.316456 | 106 | 0.472987 | 543 | 8,607 | 7.320442 | 0.257827 | 0.021132 | 0.022138 | 0.022642 | 0.790943 | 0.765283 | 0.765283 | 0.749182 | 0.749182 | 0.749182 | 0 | 0.006352 | 0.43302 | 8,607 | 236 | 107 | 36.470339 | 0.808197 | 0.012548 | 0 | 0.720379 | 0 | 0 | 0.330109 | 0.173549 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004739 | false | 0 | 0.004739 | 0 | 0.014218 | 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 |
2b1233e68b3d3d71447c701bd66999e9da0e1296 | 23 | py | Python | jupyterbrowser/__init__.py | rupello/jupyterbrowser | 5076d5588f1a3eb1a7868aa59c144fc8bc2849b8 | [
"MIT"
] | null | null | null | jupyterbrowser/__init__.py | rupello/jupyterbrowser | 5076d5588f1a3eb1a7868aa59c144fc8bc2849b8 | [
"MIT"
] | null | null | null | jupyterbrowser/__init__.py | rupello/jupyterbrowser | 5076d5588f1a3eb1a7868aa59c144fc8bc2849b8 | [
"MIT"
] | null | null | null | from .browse import ui
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2b1dc083641d6d9b1bcce64f23bdac5c338b9e30 | 219 | py | Python | Snippets/intro-2/guessing_game.py | ursaMaj0r/python-csc-125 | 1d0968ad144112e24ae331c75aad58b74041593a | [
"MIT"
] | null | null | null | Snippets/intro-2/guessing_game.py | ursaMaj0r/python-csc-125 | 1d0968ad144112e24ae331c75aad58b74041593a | [
"MIT"
] | null | null | null | Snippets/intro-2/guessing_game.py | ursaMaj0r/python-csc-125 | 1d0968ad144112e24ae331c75aad58b74041593a | [
"MIT"
] | null | null | null | # input
print('What is my favourite food?')
input_guess = input("Guess? ")
# response
while input_guess != 'electricity':
print("Not even close.")
input_guess = input("Guess? ")
print("You guessed it! Buzzzz")
| 21.9 | 35 | 0.675799 | 29 | 219 | 5 | 0.62069 | 0.344828 | 0.206897 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16895 | 219 | 9 | 36 | 24.333333 | 0.796703 | 0.063927 | 0 | 0.333333 | 0 | 0 | 0.435644 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 |
2b1f2f860d2d6ae81f0d2442defb5d03d06ac9a2 | 14,040 | py | Python | xraysyn/networks/unet.py | cpeng93/XraySyn | 7309b2fbc28bceddbc80a03c2279540da391782a | [
"MIT"
] | 9 | 2021-09-27T14:41:48.000Z | 2022-01-04T13:54:35.000Z | xraysyn/networks/unet.py | cpeng93/XraySyn | 7309b2fbc28bceddbc80a03c2279540da391782a | [
"MIT"
] | 1 | 2021-12-29T10:50:12.000Z | 2022-01-08T05:58:49.000Z | xraysyn/networks/unet.py | cpeng93/XraySyn | 7309b2fbc28bceddbc80a03c2279540da391782a | [
"MIT"
] | 1 | 2022-03-18T16:42:22.000Z | 2022-03-18T16:42:22.000Z | import torch
import torch.nn as nn
class UnetGenerator(nn.Module):
def __init__(
self, input_nc, output_nc, dimension="2d", mask_nc=0, num_downs=5, ngf=64,
norm_layer="none", up_layer="upsample2D", partial_conv=False, use_dropout=False,
use_tanh=True, output_feats=False):
assert nu... | 43.602484 | 114 | 0.589601 | 1,871 | 14,040 | 4.178514 | 0.068947 | 0.121003 | 0.08749 | 0.106933 | 0.831926 | 0.811205 | 0.793681 | 0.773599 | 0.759273 | 0.739575 | 0 | 0.029218 | 0.285755 | 14,040 | 321 | 115 | 43.738318 | 0.750399 | 0.004772 | 0 | 0.619565 | 0 | 0 | 0.021331 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 1 | 0.050725 | false | 0 | 0.007246 | 0 | 0.105072 | 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 |
2b5515021276f9874be9a16affec276b9a150040 | 14,891 | py | Python | test/sorting/test_comparison_sorting.py | KentWangYQ/py-algorithms | 3de7df52cd6ce82ce8ef9bbb76b693ffc69cef76 | [
"MIT"
] | 5 | 2020-10-12T04:42:21.000Z | 2022-03-30T03:32:34.000Z | test/sorting/test_comparison_sorting.py | KentWangYQ/py_algorithms | 3de7df52cd6ce82ce8ef9bbb76b693ffc69cef76 | [
"MIT"
] | null | null | null | test/sorting/test_comparison_sorting.py | KentWangYQ/py_algorithms | 3de7df52cd6ce82ce8ef9bbb76b693ffc69cef76 | [
"MIT"
] | 3 | 2020-12-07T06:18:49.000Z | 2022-03-10T15:20:59.000Z | # -*- coding: utf-8 -*-
import unittest
import random
import copy
from source.sorting import comparison_sorting
from source.sorting.comparison_sorting import SLNode
class ComparisionSortTest(unittest.TestCase):
def setUp(self):
self.a = [3, 2, -20, 309, -987, 2, 487, -20, 90, -5, 0, 98]
self.b =... | 34.3903 | 119 | 0.638909 | 2,012 | 14,891 | 4.524354 | 0.060139 | 0.062397 | 0.048446 | 0.080743 | 0.853235 | 0.794573 | 0.775788 | 0.743271 | 0.71427 | 0.694167 | 0 | 0.012924 | 0.262172 | 14,891 | 432 | 120 | 34.469907 | 0.8156 | 0.075079 | 0 | 0.331776 | 0 | 0 | 0.186285 | 0 | 0 | 0 | 0 | 0 | 0.228972 | 1 | 0.135514 | false | 0 | 0.023364 | 0 | 0.163551 | 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 |
2b61bdb022a74be250d9f3a670026e676ab6bd1a | 122 | py | Python | user-services/app/user_api/__init__.py | SalAlba/flask-microservices | 8625e8fb3352d3704a17796635e95bbef25f1d06 | [
"MIT"
] | null | null | null | user-services/app/user_api/__init__.py | SalAlba/flask-microservices | 8625e8fb3352d3704a17796635e95bbef25f1d06 | [
"MIT"
] | null | null | null | user-services/app/user_api/__init__.py | SalAlba/flask-microservices | 8625e8fb3352d3704a17796635e95bbef25f1d06 | [
"MIT"
] | null | null | null | from flask import Blueprint
user_blueprint = Blueprint('user', __name__, template_folder='templates')
from . import routes | 40.666667 | 73 | 0.811475 | 15 | 122 | 6.2 | 0.666667 | 0.27957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 122 | 3 | 74 | 40.666667 | 0.845455 | 0 | 0 | 0 | 0 | 0 | 0.105691 | 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 |
9919a629e013b4b51a66ef1dbf4fc2bbd7fe213b | 5,333 | py | Python | tests/api/v1/business/test_get_all.py | rogerokello/weConnect-api | e1fb136864842781063a60bae0764defb99e47c6 | [
"MIT"
] | 1 | 2019-04-18T19:56:31.000Z | 2019-04-18T19:56:31.000Z | tests/api/v1/business/test_get_all.py | rogerokello/weconnect-practice | e1fb136864842781063a60bae0764defb99e47c6 | [
"MIT"
] | 6 | 2018-02-19T14:17:00.000Z | 2018-07-08T08:38:02.000Z | tests/api/v1/business/test_get_all.py | rogerokello/weConnect-api | e1fb136864842781063a60bae0764defb99e47c6 | [
"MIT"
] | 1 | 2018-02-26T13:05:49.000Z | 2018-02-26T13:05:49.000Z | import unittest
import json
from app import create_app, db
from tests.api.v1 import BaseTestCase
class BusinessTestCase(BaseTestCase):
"""Test case for the business endpoint """
def test_it_works(self):
"""Test the API can get all business registered businesses (GET request)"""
# register a t... | 43.713115 | 100 | 0.557847 | 549 | 5,333 | 5.306011 | 0.167577 | 0.086852 | 0.0793 | 0.12839 | 0.848953 | 0.824923 | 0.824923 | 0.803296 | 0.803296 | 0.803296 | 0 | 0.00951 | 0.349334 | 5,333 | 122 | 101 | 43.713115 | 0.829971 | 0.228014 | 0 | 0.676471 | 0 | 0 | 0.103465 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 1 | 0.058824 | false | 0 | 0.058824 | 0 | 0.132353 | 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 |
99591db249e6b167fd953324aef347be9596408a | 50 | py | Python | genesis/optimizer/__init__.py | TrentBrick/genesis | d80725b51b4b97fb5cddde7b7f0dc1362c11b26b | [
"MIT"
] | 12 | 2020-02-02T14:29:15.000Z | 2021-09-12T08:05:43.000Z | genesis/optimizer/__init__.py | TrentBrick/genesis | d80725b51b4b97fb5cddde7b7f0dc1362c11b26b | [
"MIT"
] | 1 | 2022-01-04T08:04:00.000Z | 2022-01-10T08:49:04.000Z | genesis/optimizer/__init__.py | johli/genesis | 5424c1888d4330e505ad87412e7f1cc5dd828888 | [
"MIT"
] | 3 | 2020-03-10T22:24:05.000Z | 2021-05-05T13:23:01.000Z | from genesis.optimizer.genesis_optimizer import *
| 25 | 49 | 0.86 | 6 | 50 | 7 | 0.666667 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 50 | 1 | 50 | 50 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
510e7cec26b44ee1e4ee62c1e7e904a78e016d64 | 36 | py | Python | bitjoy/utils/__init__.py | senavs/BitJoy | 347538d69ed38df2082192e7991f09e9f94d3d11 | [
"MIT"
] | null | null | null | bitjoy/utils/__init__.py | senavs/BitJoy | 347538d69ed38df2082192e7991f09e9f94d3d11 | [
"MIT"
] | null | null | null | bitjoy/utils/__init__.py | senavs/BitJoy | 347538d69ed38df2082192e7991f09e9f94d3d11 | [
"MIT"
] | null | null | null | from .functions import int_to_bytes
| 18 | 35 | 0.861111 | 6 | 36 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.90625 | 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 |
5129fd2b424491144943776019a4fd748777aac7 | 55 | py | Python | quantipy/core/tools/dp/__init__.py | encount/quantipy3 | 01fe350b79594ba162cd48ce91f6e547e74265fe | [
"MIT"
] | null | null | null | quantipy/core/tools/dp/__init__.py | encount/quantipy3 | 01fe350b79594ba162cd48ce91f6e547e74265fe | [
"MIT"
] | null | null | null | quantipy/core/tools/dp/__init__.py | encount/quantipy3 | 01fe350b79594ba162cd48ce91f6e547e74265fe | [
"MIT"
] | null | null | null | from . import io
from . import prep
from . import query | 18.333333 | 19 | 0.745455 | 9 | 55 | 4.555556 | 0.555556 | 0.731707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 55 | 3 | 19 | 18.333333 | 0.931818 | 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 |
51414e2381dcb7c0741d472b02377f0c91b085db | 72 | py | Python | calculator/standard_widgets/standard_label.py | restless-dreamer/awesome-calculator | 52c20d0f935cd6906b5020cbd69fb2d537b93efe | [
"MIT"
] | null | null | null | calculator/standard_widgets/standard_label.py | restless-dreamer/awesome-calculator | 52c20d0f935cd6906b5020cbd69fb2d537b93efe | [
"MIT"
] | 1 | 2021-07-27T21:08:10.000Z | 2021-07-28T11:22:24.000Z | calculator/standard_widgets/standard_label.py | restless-dreamer/awesome-calculator | 52c20d0f935cd6906b5020cbd69fb2d537b93efe | [
"MIT"
] | null | null | null | from kivy.uix.label import Label
class StandardLabel(Label):
pass
| 12 | 32 | 0.75 | 10 | 72 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180556 | 72 | 5 | 33 | 14.4 | 0.915254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
514c867eeb60b8de54fcd7df896e0bddba3c87fa | 34 | py | Python | naivebayes/__init__.py | sahitpj/MachineLearning | 2ce5a337ec432daff64a216df6847ef834bcb8d7 | [
"MIT"
] | 2 | 2019-01-23T15:51:29.000Z | 2019-02-01T16:50:33.000Z | naivebayes/__init__.py | sahitpj/MachineLearning | 2ce5a337ec432daff64a216df6847ef834bcb8d7 | [
"MIT"
] | null | null | null | naivebayes/__init__.py | sahitpj/MachineLearning | 2ce5a337ec432daff64a216df6847ef834bcb8d7 | [
"MIT"
] | null | null | null | from .gaussiannb import GaussianNB | 34 | 34 | 0.882353 | 4 | 34 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.967742 | 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 |
515146bc16cc7264e0e2fa2146a5e58c9400ff3d | 16,178 | py | Python | tests/components/system_bridge/test_config_flow.py | liangleslie/core | cc807b4d597daaaadc92df4a93c6e30da4f570c6 | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | tests/components/system_bridge/test_config_flow.py | liangleslie/core | cc807b4d597daaaadc92df4a93c6e30da4f570c6 | [
"Apache-2.0"
] | 24,710 | 2016-04-13T08:27:26.000Z | 2020-03-02T12:59:13.000Z | tests/components/system_bridge/test_config_flow.py | liangleslie/core | cc807b4d597daaaadc92df4a93c6e30da4f570c6 | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """Test the System Bridge config flow."""
import asyncio
from unittest.mock import patch
from systembridgeconnector.const import (
EVENT_DATA,
EVENT_MESSAGE,
EVENT_MODULE,
EVENT_SUBTYPE,
EVENT_TYPE,
SUBTYPE_BAD_API_KEY,
TYPE_DATA_UPDATE,
TYPE_ERROR,
)
from systembridgeconnector.exceptio... | 35.017316 | 88 | 0.707442 | 1,863 | 16,178 | 5.848631 | 0.076758 | 0.039464 | 0.10279 | 0.120411 | 0.854075 | 0.832324 | 0.828102 | 0.821127 | 0.802863 | 0.795888 | 0 | 0.010561 | 0.180616 | 16,178 | 461 | 89 | 35.093275 | 0.811406 | 0.002163 | 0 | 0.658263 | 0 | 0 | 0.240325 | 0.159701 | 0 | 0 | 0 | 0 | 0.19888 | 1 | 0 | false | 0 | 0.028011 | 0 | 0.028011 | 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 |
5ae27922af77c1be9a3ab74181fcb90437c87365 | 115 | py | Python | shop/views/__init__.py | msfils/shareGit | 3c0d219051c8d04137bf206b9e5b376358d7ba99 | [
"Unlicense"
] | 2 | 2021-03-25T07:45:08.000Z | 2021-11-11T15:44:27.000Z | shop/views/__init__.py | msfils/shareGit | 3c0d219051c8d04137bf206b9e5b376358d7ba99 | [
"Unlicense"
] | null | null | null | shop/views/__init__.py | msfils/shareGit | 3c0d219051c8d04137bf206b9e5b376358d7ba99 | [
"Unlicense"
] | 3 | 2021-04-30T14:04:29.000Z | 2022-03-31T14:34:59.000Z | from .basket import *
from .customers import *
from .general import *
from .orders import *
from .products import * | 23 | 24 | 0.747826 | 15 | 115 | 5.733333 | 0.466667 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165217 | 115 | 5 | 25 | 23 | 0.895833 | 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 |
850aa48b697fe0c280aed2af65fb66069750d348 | 29 | py | Python | Scripts/stemmers/urd_stemmer.py | kavitharaju/AutoAligner | c890f0a74e1cc08e13d166c3b15a8d316359674a | [
"MIT"
] | null | null | null | Scripts/stemmers/urd_stemmer.py | kavitharaju/AutoAligner | c890f0a74e1cc08e13d166c3b15a8d316359674a | [
"MIT"
] | null | null | null | Scripts/stemmers/urd_stemmer.py | kavitharaju/AutoAligner | c890f0a74e1cc08e13d166c3b15a8d316359674a | [
"MIT"
] | null | null | null | def stem(word):
return word
| 9.666667 | 15 | 0.724138 | 5 | 29 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 29 | 2 | 16 | 14.5 | 0.875 | 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 |
5180c958d4be4b53f643486da8e388fc003bebfe | 23 | py | Python | iceplot/__init__.py | bainbrid/icenet | 0b261dc97451fd7f896ed27f2b90dd2668e635ca | [
"MIT"
] | null | null | null | iceplot/__init__.py | bainbrid/icenet | 0b261dc97451fd7f896ed27f2b90dd2668e635ca | [
"MIT"
] | null | null | null | iceplot/__init__.py | bainbrid/icenet | 0b261dc97451fd7f896ed27f2b90dd2668e635ca | [
"MIT"
] | null | null | null | from .iceplot import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
51928474b5209eeb957c0991bb3ce4e44ce25618 | 32 | py | Python | intelligencelayer/shared/scene/__init__.py | MaleNurse/DeepStack | c2b9a90a821209ca5d9caa4a12cc0e7bb81bd090 | [
"Apache-2.0"
] | 353 | 2020-12-10T10:47:17.000Z | 2022-03-31T23:08:29.000Z | deepstack/intelligencelayer/shared/scene/__init__.py | OlafenwaMoses/DeepStack-1 | 0315e48907c36c075da5aa558756786c0d76c1b8 | [
"Apache-2.0"
] | 80 | 2020-12-10T09:54:22.000Z | 2022-03-30T22:08:45.000Z | deepstack/intelligencelayer/shared/scene/__init__.py | OlafenwaMoses/DeepStack-1 | 0315e48907c36c075da5aa558756786c0d76c1b8 | [
"Apache-2.0"
] | 63 | 2020-12-10T17:10:34.000Z | 2022-03-28T16:27:07.000Z | from .process import SceneModel
| 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
51cfe4577759f71b84d0ff9b868b50f61ee3872f | 947 | py | Python | tests/test_report_writers.py | agrc/reporter | 277f14a477b9c68cec090a8a7f7f522c1dd719f0 | [
"MIT"
] | null | null | null | tests/test_report_writers.py | agrc/reporter | 277f14a477b9c68cec090a8a7f7f522c1dd719f0 | [
"MIT"
] | 8 | 2020-09-28T16:45:45.000Z | 2020-10-22T14:53:17.000Z | tests/test_report_writers.py | agrc/reporter | 277f14a477b9c68cec090a8a7f7f522c1dd719f0 | [
"MIT"
] | null | null | null | from reporter import report_writers
def test_list_of_dicts_to_csv_gets_columns_right(mocker, tmp_path):
test_data = [{'foo': 1, 'bar': 2}, {'bar': 4, 'foo': 3}]
out_path = tmp_path / 'test.csv'
mock_datetime = mocker.patch('datetime.datetime')
mock_datetime.now.return_value.strftime.return_value = 'f... | 33.821429 | 75 | 0.720169 | 150 | 947 | 4.173333 | 0.306667 | 0.067093 | 0.070288 | 0.083067 | 0.904153 | 0.894569 | 0.785942 | 0.785942 | 0.785942 | 0.785942 | 0 | 0.019729 | 0.143611 | 947 | 27 | 76 | 35.074074 | 0.752158 | 0 | 0 | 0.588235 | 0 | 0 | 0.157339 | 0.062302 | 0 | 0 | 0 | 0 | 0.117647 | 1 | 0.117647 | false | 0 | 0.058824 | 0 | 0.176471 | 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 |
cfe8d8463c4e5ab2b70bdbeea471cf1700515bd4 | 248 | py | Python | ptstructure/vqa/pytorchnlp/transformers/__init__.py | Amanda-Barbara/PaddleOCR2Pytorch | 7f2c85f23b13981a48a37cb90160dcd69cf21260 | [
"Apache-2.0"
] | null | null | null | ptstructure/vqa/pytorchnlp/transformers/__init__.py | Amanda-Barbara/PaddleOCR2Pytorch | 7f2c85f23b13981a48a37cb90160dcd69cf21260 | [
"Apache-2.0"
] | null | null | null | ptstructure/vqa/pytorchnlp/transformers/__init__.py | Amanda-Barbara/PaddleOCR2Pytorch | 7f2c85f23b13981a48a37cb90160dcd69cf21260 | [
"Apache-2.0"
] | null | null | null | from .model_utils import PretrainedModel, register_base_model
from .tokenizer_utils import PretrainedTokenizer
from .layoutxlm.tokenizer import *
from .layoutxlm.modeling import *
from .layoutlm.modeling import *
from .layoutlm.tokenizer import * | 31 | 61 | 0.834677 | 29 | 248 | 7 | 0.413793 | 0.147783 | 0.17734 | 0.256158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104839 | 248 | 8 | 62 | 31 | 0.914414 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cfecbe8fa2712476071202fe4b65eb2d2c03be83 | 25 | py | Python | plugins/pelican-linkclass/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 13 | 2020-01-27T09:02:25.000Z | 2022-01-20T07:45:26.000Z | plugins/pelican-linkclass/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 29 | 2020-03-22T06:57:57.000Z | 2022-01-24T22:46:42.000Z | plugins/pelican-linkclass/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 6 | 2020-07-10T00:13:30.000Z | 2022-01-26T08:22:33.000Z | from .linkclass import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3210d8f7f3e3e87ef270652e134db51aaa084e1e | 167 | py | Python | typeform_feedback/signals_define.py | exolever/django-typeform-feedback | 5784523b880e4890172b9f61d848187f5c24237e | [
"MIT"
] | null | null | null | typeform_feedback/signals_define.py | exolever/django-typeform-feedback | 5784523b880e4890172b9f61d848187f5c24237e | [
"MIT"
] | 15 | 2019-03-22T09:04:53.000Z | 2019-12-13T08:15:10.000Z | typeform_feedback/signals_define.py | exolever/django-typeform-feedback | 5784523b880e4890172b9f61d848187f5c24237e | [
"MIT"
] | null | null | null | from django.dispatch import Signal
new_user_typeform_response = Signal(providing_args=['uuid', 'response'])
user_response_approved = Signal(providing_args=['uuid'])
| 27.833333 | 72 | 0.802395 | 21 | 167 | 6.047619 | 0.619048 | 0.23622 | 0.299213 | 0.362205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077844 | 167 | 5 | 73 | 33.4 | 0.824675 | 0 | 0 | 0 | 0 | 0 | 0.095808 | 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 |
321c740a45f8a7aae06477c15320191a493f6dad | 17,043 | py | Python | neural_models/modules/gnn_multi_head_attention.py | JasperGuo/MeaningRepresentationBenchmark | b61e8ed68fdbd934c195fa968445540bfa897f2f | [
"MIT"
] | 9 | 2020-11-11T08:54:05.000Z | 2022-03-22T11:16:03.000Z | neural_models/modules/gnn_multi_head_attention.py | JasperGuo/MeaningRepresentationBenchmark | b61e8ed68fdbd934c195fa968445540bfa897f2f | [
"MIT"
] | null | null | null | neural_models/modules/gnn_multi_head_attention.py | JasperGuo/MeaningRepresentationBenchmark | b61e8ed68fdbd934c195fa968445540bfa897f2f | [
"MIT"
] | 2 | 2021-01-14T08:25:25.000Z | 2021-06-08T21:41:32.000Z | # coding=utf8
import math
import torch
import numpy as np
import torch.nn as nn
from allennlp.nn import util
from torch.nn import Parameter
import torch.nn.functional as F
from torch.nn.init import xavier_uniform_
class GNNMatrixMultiHeadAttention(nn.Module):
def __init__(self, d_model: int, nhead: int, nlabels... | 41.772059 | 134 | 0.600364 | 2,491 | 17,043 | 3.765957 | 0.065034 | 0.034964 | 0.042853 | 0.037309 | 0.854493 | 0.837544 | 0.818996 | 0.809935 | 0.790427 | 0.77124 | 0 | 0.018012 | 0.276829 | 17,043 | 407 | 135 | 41.874693 | 0.743124 | 0.228657 | 0 | 0.696581 | 0 | 0 | 0.001255 | 0 | 0 | 0 | 0 | 0 | 0.017094 | 1 | 0.051282 | false | 0 | 0.034188 | 0 | 0.119658 | 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 |
5c8e07ae4bf60ff25f1916c576b16ee0bb274313 | 141 | py | Python | ppo/env_wrapper/__init__.py | emasquil/ppo | 83b54926ea69244d382bfb958271718932894eb0 | [
"MIT"
] | null | null | null | ppo/env_wrapper/__init__.py | emasquil/ppo | 83b54926ea69244d382bfb958271718932894eb0 | [
"MIT"
] | 35 | 2022-03-01T10:05:50.000Z | 2022-03-30T20:37:22.000Z | ppo/env_wrapper/__init__.py | emasquil/ppo | 83b54926ea69244d382bfb958271718932894eb0 | [
"MIT"
] | null | null | null | from .pendulum_wrapper import PendulumEnv
from .reacher_wrapper import ReacherEnv
from .inverted_pendulum_wrapper import InvertedPendulumEnv
| 35.25 | 58 | 0.893617 | 16 | 141 | 7.625 | 0.5625 | 0.319672 | 0.344262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 141 | 3 | 59 | 47 | 0.945736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7a26c8c29761e64ed21987655847f3072afc7230 | 77 | py | Python | src/mdp/abstraction/__init__.py | rbankosegger/RLASP-core | fcd01b9da946e4d37ae9329cd1736bccde178a3b | [
"MIT"
] | null | null | null | src/mdp/abstraction/__init__.py | rbankosegger/RLASP-core | fcd01b9da946e4d37ae9329cd1736bccde178a3b | [
"MIT"
] | null | null | null | src/mdp/abstraction/__init__.py | rbankosegger/RLASP-core | fcd01b9da946e4d37ae9329cd1736bccde178a3b | [
"MIT"
] | null | null | null | from .carcass import Carcass
from .carcass_mdp_builder import CarcassBuilder
| 25.666667 | 47 | 0.87013 | 10 | 77 | 6.5 | 0.6 | 0.338462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 77 | 2 | 48 | 38.5 | 0.942029 | 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 |
7a3ab80470dbb92dcc4a3df65cc0af9cf3f7c6a5 | 4,519 | py | Python | test/test_matcher/test_limit.py | Miksus/ecosys | f30b21b10340b5ac92acc8bb34eb3d4ead3bff51 | [
"MIT"
] | 2 | 2022-02-28T16:23:23.000Z | 2022-03-16T21:57:07.000Z | test/test_matcher/test_limit.py | Miksus/ecosys | f30b21b10340b5ac92acc8bb34eb3d4ead3bff51 | [
"MIT"
] | null | null | null | test/test_matcher/test_limit.py | Miksus/ecosys | f30b21b10340b5ac92acc8bb34eb3d4ead3bff51 | [
"MIT"
] | null | null | null |
import pytest
import sys
sys.path.append('..')
from ecosys.trading_platform.matcher.stockmarket import StockMatcher
def test_fulfilling_equal():
market = StockMatcher()
market.place_bid(price=5.0, quantity=200, party="Bidder")
market.place_ask(price=5.0, quantity=200, party="Asker")
market.clear()
... | 35.865079 | 90 | 0.681567 | 634 | 4,519 | 4.687697 | 0.100946 | 0.099933 | 0.115074 | 0.1393 | 0.901077 | 0.892665 | 0.847914 | 0.828398 | 0.773553 | 0.698183 | 0 | 0.046428 | 0.142067 | 4,519 | 126 | 91 | 35.865079 | 0.720144 | 0.005753 | 0 | 0.60241 | 0 | 0 | 0.099978 | 0 | 0 | 0 | 0 | 0 | 0.108434 | 1 | 0.108434 | false | 0 | 0.036145 | 0 | 0.144578 | 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 |
8fdaee2856c76c59d2bdba810a3795c94f6b0eab | 42 | py | Python | duimap/__init__.py | bildzeitung/duimap | 1626da81d2d4e015778e6ac882fdfed589052cfe | [
"MIT"
] | 1 | 2016-04-14T15:16:34.000Z | 2016-04-14T15:16:34.000Z | duimap/__init__.py | bildzeitung/duimap | 1626da81d2d4e015778e6ac882fdfed589052cfe | [
"MIT"
] | null | null | null | duimap/__init__.py | bildzeitung/duimap | 1626da81d2d4e015778e6ac882fdfed589052cfe | [
"MIT"
] | null | null | null | from _version import __version__, __sha__
| 21 | 41 | 0.857143 | 5 | 42 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 1 | 42 | 42 | 0.72973 | 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 |
64ecc6740075a2463f1a7a1b5ae10a42a70ea5d6 | 11,043 | py | Python | ExamAutoGraderProcessor/src/test_autoGrader.py | coder4520/automated-exam-grader | aa00e2a66c03597c0785037eb31f6e81bc064b0b | [
"MIT"
] | null | null | null | ExamAutoGraderProcessor/src/test_autoGrader.py | coder4520/automated-exam-grader | aa00e2a66c03597c0785037eb31f6e81bc064b0b | [
"MIT"
] | 1 | 2021-03-09T23:36:37.000Z | 2021-03-09T23:36:37.000Z | ExamAutoGraderProcessor/src/test_autoGrader.py | coder4520/automated-exam-grader | aa00e2a66c03597c0785037eb31f6e81bc064b0b | [
"MIT"
] | null | null | null | from unittest import TestCase
from src.autograder.grader import AutoGrader
import cv2
import os.path
import numpy as np
class TestAutoGrader(TestCase):
HERE = os.path.dirname(os.path.abspath(__file__))
IMAGES_DIR = os.path.join(HERE, 'images/')
image_url = IMAGES_DIR + "11.jpeg"
grader = AutoGrader()
... | 34.946203 | 99 | 0.435751 | 957 | 11,043 | 4.838036 | 0.107628 | 0.069978 | 0.079698 | 0.07257 | 0.8473 | 0.82311 | 0.82311 | 0.82311 | 0.82311 | 0.804968 | 0 | 0.118488 | 0.448972 | 11,043 | 315 | 100 | 35.057143 | 0.642399 | 0.05705 | 0 | 0.590909 | 0 | 0 | 0.16636 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 1 | 0.049242 | false | 0 | 0.018939 | 0 | 0.090909 | 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 |
8f03097049dcb73523d77ef7302e1e7ac4cb3d35 | 58 | py | Python | package_eg_test.py | myaTheingi/python-exercise | c348e17a35e19103e95a5f00e3980db05356d5be | [
"MIT"
] | null | null | null | package_eg_test.py | myaTheingi/python-exercise | c348e17a35e19103e95a5f00e3980db05356d5be | [
"MIT"
] | null | null | null | package_eg_test.py | myaTheingi/python-exercise | c348e17a35e19103e95a5f00e3980db05356d5be | [
"MIT"
] | null | null | null | import package-example.ex1
package-example.ex1.convert()
| 14.5 | 29 | 0.810345 | 8 | 58 | 5.875 | 0.625 | 0.595745 | 0.723404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.068966 | 58 | 3 | 30 | 19.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8f59724fdb7c50ae8af7fa694c56215226fc3cc3 | 80 | py | Python | dvdp/utils/apt_package/__init__.py | davidvdp/utils | 58d91e0ff1608ecd2b518fe9f511ec43234c0f40 | [
"MIT"
] | null | null | null | dvdp/utils/apt_package/__init__.py | davidvdp/utils | 58d91e0ff1608ecd2b518fe9f511ec43234c0f40 | [
"MIT"
] | null | null | null | dvdp/utils/apt_package/__init__.py | davidvdp/utils | 58d91e0ff1608ecd2b518fe9f511ec43234c0f40 | [
"MIT"
] | null | null | null | from dvdp.utils.apt_package.apt_package import create_package as create_package
| 40 | 79 | 0.8875 | 13 | 80 | 5.153846 | 0.615385 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 80 | 1 | 80 | 80 | 0.905405 | 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 |
56b4ce552e820f242e79fd3c5efa9f4c12226a9f | 22 | py | Python | core/python/src/moveit/task_constructor/stages.py | gavanderhoorn/moveit_task_constructor | 6eb8b0d64c82240c1a04149e01cd3a136c549232 | [
"BSD-3-Clause"
] | null | null | null | core/python/src/moveit/task_constructor/stages.py | gavanderhoorn/moveit_task_constructor | 6eb8b0d64c82240c1a04149e01cd3a136c549232 | [
"BSD-3-Clause"
] | null | null | null | core/python/src/moveit/task_constructor/stages.py | gavanderhoorn/moveit_task_constructor | 6eb8b0d64c82240c1a04149e01cd3a136c549232 | [
"BSD-3-Clause"
] | null | null | null | from _stages import *
| 11 | 21 | 0.772727 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
56c29d9b924248822f6b5a8a1b95c20649721f73 | 38 | py | Python | __init__.py | fabiomix/odoo-reload-translations | 4643518f4dd801e79d97052cc3abab4f5c606ec7 | [
"MIT"
] | null | null | null | __init__.py | fabiomix/odoo-reload-translations | 4643518f4dd801e79d97052cc3abab4f5c606ec7 | [
"MIT"
] | null | null | null | __init__.py | fabiomix/odoo-reload-translations | 4643518f4dd801e79d97052cc3abab4f5c606ec7 | [
"MIT"
] | 1 | 2018-04-29T10:40:18.000Z | 2018-04-29T10:40:18.000Z | # -*- coding: utf-8 -*-
import wizard
| 12.666667 | 23 | 0.578947 | 5 | 38 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.184211 | 38 | 2 | 24 | 19 | 0.677419 | 0.552632 | 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 |
7129b6a5c1de43885997d4bd0a27d6b836d4650d | 31 | py | Python | model/tlnet/__init__.py | LK-Peng/CNN-based-Cloud-Detection-Methods | 1393a6886e62f1ed5a612d57c5a725c763a6b2cc | [
"MIT"
] | 2 | 2022-02-16T03:30:19.000Z | 2022-03-18T08:02:39.000Z | model/tlnet/__init__.py | LK-Peng/CNN-based-Cloud-Detection-Methods | 1393a6886e62f1ed5a612d57c5a725c763a6b2cc | [
"MIT"
] | null | null | null | model/tlnet/__init__.py | LK-Peng/CNN-based-Cloud-Detection-Methods | 1393a6886e62f1ed5a612d57c5a725c763a6b2cc | [
"MIT"
] | 1 | 2022-02-16T03:30:20.000Z | 2022-02-16T03:30:20.000Z | from .tlnet_model import TLNet
| 15.5 | 30 | 0.83871 | 5 | 31 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
853393b48604e1d7b59625a8b6910c0a3a30dfb7 | 155 | py | Python | exapi/requesters/hitbtc/trading/__init__.py | astsu-dev/exapi | 1ef39ccdd77e9ddb60ec6eaa16a2cc26e1ac3e12 | [
"MIT"
] | null | null | null | exapi/requesters/hitbtc/trading/__init__.py | astsu-dev/exapi | 1ef39ccdd77e9ddb60ec6eaa16a2cc26e1ac3e12 | [
"MIT"
] | null | null | null | exapi/requesters/hitbtc/trading/__init__.py | astsu-dev/exapi | 1ef39ccdd77e9ddb60ec6eaa16a2cc26e1ac3e12 | [
"MIT"
] | null | null | null | from exapi.requesters.hitbtc.trading.interface import IHitbtcTradingRequester
from exapi.requesters.hitbtc.trading.requester import HitbtcTradingRequester
| 51.666667 | 77 | 0.896774 | 16 | 155 | 8.6875 | 0.625 | 0.129496 | 0.273381 | 0.359712 | 0.460432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051613 | 155 | 2 | 78 | 77.5 | 0.945578 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8547f2b194d435aeac51c975ed7aa5ed54aa7c4d | 39 | py | Python | pguoauth/__init__.py | olekhov/pguoauth | 4a333994d80884c27dfb68a55661fcb4a55ce2bf | [
"MIT"
] | null | null | null | pguoauth/__init__.py | olekhov/pguoauth | 4a333994d80884c27dfb68a55661fcb4a55ce2bf | [
"MIT"
] | 2 | 2019-09-05T20:29:52.000Z | 2021-10-01T14:20:08.000Z | pguoauth/__init__.py | olekhov/pguoauth | 4a333994d80884c27dfb68a55661fcb4a55ce2bf | [
"MIT"
] | null | null | null | from .pguoauth import PGUAuthenticator
| 19.5 | 38 | 0.871795 | 4 | 39 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 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 |
a4482cf17594d6a50319030d1fab9dda1aa17580 | 52 | py | Python | src/__init__.py | RyanThomas/mta-bus-archive | 525265ea0933c33ca8a0c59a16d9b6f73a32fc27 | [
"Apache-1.1"
] | 9 | 2017-07-15T16:40:36.000Z | 2020-10-15T12:50:31.000Z | src/__init__.py | RyanThomas/mta-bus-archive | 525265ea0933c33ca8a0c59a16d9b6f73a32fc27 | [
"Apache-1.1"
] | 5 | 2017-06-10T00:15:12.000Z | 2021-03-04T02:40:42.000Z | src/__init__.py | RyanThomas/mta-bus-archive | 525265ea0933c33ca8a0c59a16d9b6f73a32fc27 | [
"Apache-1.1"
] | 2 | 2017-09-15T16:52:20.000Z | 2021-03-04T02:25:08.000Z | from . import model
from . import gtfs_realtime_pb2
| 17.333333 | 31 | 0.807692 | 8 | 52 | 5 | 0.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.153846 | 52 | 2 | 32 | 26 | 0.886364 | 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 |
a476a158ea97ff6ec6294fa4ef9fb61ae942f32f | 188 | py | Python | reportingsquad/runscompare/admin.py | VoloBro/SimpleReporting | ced89864cd9e2838d8e44297d19de2d96fa5f0b1 | [
"Apache-2.0"
] | null | null | null | reportingsquad/runscompare/admin.py | VoloBro/SimpleReporting | ced89864cd9e2838d8e44297d19de2d96fa5f0b1 | [
"Apache-2.0"
] | null | null | null | reportingsquad/runscompare/admin.py | VoloBro/SimpleReporting | ced89864cd9e2838d8e44297d19de2d96fa5f0b1 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(TestCase)
admin.site.register(TestRun)
admin.site.register(TestCaseStatus)
admin.site.register(TestExecution)
| 18.8 | 35 | 0.819149 | 24 | 188 | 6.416667 | 0.5 | 0.233766 | 0.441558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079787 | 188 | 9 | 36 | 20.888889 | 0.890173 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8ef97bc9d523ac2b3f7e76b43a97e40bc24b734f | 4,414 | py | Python | test/t_rsa_plot.py | const7/NeuroRA | cdd344b1d7050c91b37a63e347b11345e3f0b193 | [
"MIT"
] | 110 | 2019-04-30T03:52:48.000Z | 2022-03-19T08:23:38.000Z | test/t_rsa_plot.py | const7/NeuroRA | cdd344b1d7050c91b37a63e347b11345e3f0b193 | [
"MIT"
] | 3 | 2020-11-24T22:01:58.000Z | 2021-11-26T02:09:52.000Z | test/t_rsa_plot.py | const7/NeuroRA | cdd344b1d7050c91b37a63e347b11345e3f0b193 | [
"MIT"
] | 20 | 2020-03-02T11:58:30.000Z | 2021-12-31T08:29:53.000Z | # -*- coding: utf-8 -*-
' a module for testing neurora.rsa_plot module '
__author__ = 'Zitong Lu'
import os
import numpy as np
import unittest
from neurora.rsa_plot import plot_rdm, plot_rdm_withvalue, plot_corrs_by_time, plot_tbytsim_withstats
from neurora.rsa_plot import plot_corrs_hotmap, plot_corrs_hotmap_stats,... | 30.441379 | 120 | 0.656094 | 579 | 4,414 | 4.763385 | 0.108808 | 0.090645 | 0.190355 | 0.135606 | 0.819434 | 0.80892 | 0.754532 | 0.732777 | 0.724438 | 0.578318 | 0 | 0.033225 | 0.236294 | 4,414 | 145 | 121 | 30.441379 | 0.78493 | 0.015406 | 0 | 0.613861 | 0 | 0 | 0.073998 | 0.034153 | 0 | 0 | 0 | 0 | 0.247525 | 1 | 0.128713 | false | 0 | 0.059406 | 0 | 0.19802 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f121aebf8065d14e484ee964e9f4320c51f83dd0 | 361 | py | Python | gym_softrobot/utils/actuation/algorithms/__init__.py | nmnaughton/gym-softrobot | 7b7eb9bfb97f2e3d2c3e2f7df50ca96426a2482f | [
"MIT"
] | 10 | 2022-01-11T19:49:02.000Z | 2022-03-24T22:27:32.000Z | gym_softrobot/utils/actuation/algorithms/__init__.py | nmnaughton/gym-softrobot | 7b7eb9bfb97f2e3d2c3e2f7df50ca96426a2482f | [
"MIT"
] | 7 | 2022-01-15T07:48:53.000Z | 2022-03-07T17:43:44.000Z | gym_softrobot/utils/actuation/algorithms/__init__.py | nmnaughton/gym-softrobot | 7b7eb9bfb97f2e3d2c3e2f7df50ca96426a2482f | [
"MIT"
] | 2 | 2022-03-06T19:43:06.000Z | 2022-03-25T21:31:52.000Z | """
Created on Oct. 19, 2020
@author: Heng-Sheng (Hanson) Chang
"""
from gym_softrobot.utils.actuation.algorithms.algorithm import *
from gym_softrobot.utils.actuation.algorithms.forward_backward import *
from gym_softrobot.utils.actuation.algorithms.forward_backward_muscle import *
from gym_softrobot.utils.actuation.... | 36.1 | 78 | 0.831025 | 46 | 361 | 6.347826 | 0.5 | 0.09589 | 0.219178 | 0.287671 | 0.712329 | 0.712329 | 0.575342 | 0.417808 | 0.417808 | 0 | 0 | 0.021021 | 0.077562 | 361 | 9 | 79 | 40.111111 | 0.855856 | 0.163435 | 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 | 1 | 0 | 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 |
f122abc58339b2da5da8c83bf6e49a4b3cbdd224 | 5,770 | py | Python | tests/test_search_skill.py | OpenVoiceOS/ovos_skill_manager | 20b9275cd929b250dd7e5c9b4700cb41b0f07c89 | [
"Apache-2.0"
] | 4 | 2021-01-25T08:08:04.000Z | 2022-03-06T01:58:41.000Z | tests/test_search_skill.py | OpenVoiceOS/ovos_skill_manager | 20b9275cd929b250dd7e5c9b4700cb41b0f07c89 | [
"Apache-2.0"
] | 70 | 2021-01-12T19:31:44.000Z | 2022-03-15T16:45:57.000Z | tests/test_search_skill.py | OpenVoiceOS/ovos_skill_manager | 20b9275cd929b250dd7e5c9b4700cb41b0f07c89 | [
"Apache-2.0"
] | 1 | 2021-02-10T01:33:29.000Z | 2021-02-10T01:33:29.000Z | import os
import sys
import unittest
sys.path.append(os.path.dirname(os.path.dirname(__file__)))
# APPSTORE_OPTIONS = ["ovos", "mycroft", "pling", "andlo", "default", "all"]
class SearchTests(unittest.TestCase):
@classmethod
def setUpClass(cls) -> None:
from ovos_skills_manager.appstores.ovos impor... | 42.116788 | 100 | 0.629463 | 650 | 5,770 | 5.390769 | 0.136923 | 0.056507 | 0.051941 | 0.077911 | 0.830194 | 0.800514 | 0.789669 | 0.766838 | 0.766838 | 0.766838 | 0 | 0.006253 | 0.251646 | 5,770 | 136 | 101 | 42.426471 | 0.805234 | 0.14714 | 0 | 0.650485 | 0 | 0 | 0.061328 | 0 | 0 | 0 | 0 | 0.007353 | 0.194175 | 1 | 0.116505 | false | 0 | 0.15534 | 0 | 0.281553 | 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 |
f145fbdd1a58ed8e73a3bf8759c6e66287084b41 | 223 | py | Python | cpy/parser/pygrammar.py | lodevil/cpy | bb3cc0dfc7d9ddfc20ea97d2721430a0a8029812 | [
"MIT"
] | null | null | null | cpy/parser/pygrammar.py | lodevil/cpy | bb3cc0dfc7d9ddfc20ea97d2721430a0a8029812 | [
"MIT"
] | null | null | null | cpy/parser/pygrammar.py | lodevil/cpy | bb3cc0dfc7d9ddfc20ea97d2721430a0a8029812 | [
"MIT"
] | null | null | null | from .grammar import Grammar
from .pystates import single_input, file_input, eval_input, symbols
grammar = Grammar(symbols, {
'single_input': single_input,
'file_input': file_input,
'eval_input': eval_input})
| 24.777778 | 67 | 0.744395 | 29 | 223 | 5.413793 | 0.310345 | 0.210191 | 0.267516 | 0.254777 | 0.292994 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156951 | 223 | 8 | 68 | 27.875 | 0.835106 | 0 | 0 | 0 | 0 | 0 | 0.143498 | 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 |
f17843d4ddf3c1087aedcca793074e2482db3e74 | 33 | py | Python | bot/__init__.py | colorfuldisaster/adolf-scriptler | 68b006e264e5d6f173f8a6b97b460fc43209d2ed | [
"MIT"
] | null | null | null | bot/__init__.py | colorfuldisaster/adolf-scriptler | 68b006e264e5d6f173f8a6b97b460fc43209d2ed | [
"MIT"
] | null | null | null | bot/__init__.py | colorfuldisaster/adolf-scriptler | 68b006e264e5d6f173f8a6b97b460fc43209d2ed | [
"MIT"
] | null | null | null | from .discord_interface import *
| 16.5 | 32 | 0.818182 | 4 | 33 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
74c693143eac03429dd7e52e4481fdc5d0daa1ac | 9,734 | py | Python | src/tests/explainers/cnn_explainer_test.py | MANISH007700/explainable-cnn | c9f0346e137fdfce3160a779d57a05a70fb97b06 | [
"MIT"
] | 106 | 2022-03-16T02:20:39.000Z | 2022-03-31T21:58:30.000Z | src/tests/explainers/cnn_explainer_test.py | MANISH007700/explainable-cnn | c9f0346e137fdfce3160a779d57a05a70fb97b06 | [
"MIT"
] | 2 | 2022-03-27T22:31:20.000Z | 2022-03-29T14:28:57.000Z | src/tests/explainers/cnn_explainer_test.py | MANISH007700/explainable-cnn | c9f0346e137fdfce3160a779d57a05a70fb97b06 | [
"MIT"
] | 8 | 2022-03-14T01:43:22.000Z | 2022-03-31T14:41:15.000Z | import pytest
import torchvision
import torchvision.models as models
from explainable_cnn import CNNExplainer
class TestCNNExplainer:
obj = CNNExplainer(models.resnet18(),
{0: "Cat", 1: "Dog"},
"cpu")
def test_get_label_name_from_index(self):
cls = self._... | 46.132701 | 79 | 0.539347 | 1,110 | 9,734 | 4.316216 | 0.055856 | 0.061365 | 0.05072 | 0.061365 | 0.933834 | 0.922772 | 0.910248 | 0.89689 | 0.858485 | 0.825089 | 0 | 0.030824 | 0.360078 | 9,734 | 210 | 80 | 46.352381 | 0.738321 | 0 | 0 | 0.695652 | 0 | 0 | 0.056708 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 1 | 0.130435 | false | 0 | 0.021739 | 0 | 0.163043 | 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 |
74c967f1f486f9c78416fa133e2271aa2b0f7076 | 217 | py | Python | tests/test_router.py | villekr/ocpp-asgi | 032e3843b09c1b6a1c2a1d1accc1bea2b125e397 | [
"MIT"
] | 2 | 2021-10-19T04:54:59.000Z | 2021-12-11T21:57:17.000Z | tests/test_router.py | villekr/ocpp-asgi | 032e3843b09c1b6a1c2a1d1accc1bea2b125e397 | [
"MIT"
] | null | null | null | tests/test_router.py | villekr/ocpp-asgi | 032e3843b09c1b6a1c2a1d1accc1bea2b125e397 | [
"MIT"
] | 1 | 2021-09-06T10:42:08.000Z | 2021-09-06T10:42:08.000Z | from ocpp_asgi.router import Subprotocol, subprotocol_to_ocpp_version
def test_subprotocol_to_ocpp_version():
ocpp_version: str = subprotocol_to_ocpp_version(Subprotocol.ocpp16)
assert ocpp_version == "1.6"
| 31 | 71 | 0.815668 | 30 | 217 | 5.466667 | 0.5 | 0.335366 | 0.310976 | 0.439024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.115207 | 217 | 6 | 72 | 36.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.013825 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
74de4e2764192e1ef35b1262c6e2764f4a77f0ca | 13,936 | py | Python | smii/test/models_scalar.py | ar4/smii | b7eee03f2a4c8f56f6dde61738e8aa1090621ba3 | [
"MIT"
] | 3 | 2018-07-02T15:50:34.000Z | 2019-02-28T11:42:34.000Z | smii/test/models_scalar.py | ar4/smii | b7eee03f2a4c8f56f6dde61738e8aa1090621ba3 | [
"MIT"
] | null | null | null | smii/test/models_scalar.py | ar4/smii | b7eee03f2a4c8f56f6dde61738e8aa1090621ba3 | [
"MIT"
] | null | null | null | """Create constant and point scatterer models."""
import numpy as np
import scipy.special
import scipy.integrate
from scipy.ndimage.interpolation import shift
from smii.modeling.propagators.propagators import (Scalar1D, Scalar2D)
from smii.modeling.wavelets.wavelets import ricker
from smii.modeling.forward_model import... | 35.191919 | 78 | 0.601751 | 2,399 | 13,936 | 3.265527 | 0.073364 | 0.015828 | 0.018509 | 0.013786 | 0.85831 | 0.843758 | 0.830227 | 0.816696 | 0.810442 | 0.80074 | 0 | 0.03832 | 0.256602 | 13,936 | 395 | 79 | 35.281013 | 0.717857 | 0.089337 | 0 | 0.587591 | 0 | 0 | 0.004312 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083942 | false | 0 | 0.029197 | 0.00365 | 0.19708 | 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 |
74ff03ae535259dbf715c2c0ec461ede2eff54a5 | 111 | py | Python | resnest/d2/__init__.py | mohitktanwr/Improved-Inverse-ResNest-Isprs | 8463d7be0f67c398c91241f47cd7d9e0d235d799 | [
"Apache-2.0"
] | 3,168 | 2020-04-04T01:22:28.000Z | 2022-03-31T12:14:50.000Z | resnest/d2/__init__.py | mohitktanwr/Improved-Inverse-ResNest-Isprs | 8463d7be0f67c398c91241f47cd7d9e0d235d799 | [
"Apache-2.0"
] | 138 | 2020-04-04T02:12:30.000Z | 2022-03-21T03:20:52.000Z | resnest/d2/__init__.py | mohitktanwr/Improved-Inverse-ResNest-Isprs | 8463d7be0f67c398c91241f47cd7d9e0d235d799 | [
"Apache-2.0"
] | 527 | 2020-04-04T05:17:26.000Z | 2022-03-31T06:15:34.000Z | from .resnest import build_resnest_backbone, build_resnest_fpn_backbone
from .config import add_resnest_config
| 37 | 71 | 0.891892 | 16 | 111 | 5.75 | 0.5 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 111 | 2 | 72 | 55.5 | 0.901961 | 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 |
2d219c8f0eb906d3cd9ff27384a6b02c74ed3c6c | 94 | py | Python | build/lib.linux-x86_64-2.7_ucs4/mx/Proxy/mxProxy/testvlad.py | mkubux/egenix-mx-base | 3e6f9186334d9d73743b0219ae857564c7208247 | [
"eGenix"
] | null | null | null | build/lib.linux-x86_64-2.7_ucs4/mx/Proxy/mxProxy/testvlad.py | mkubux/egenix-mx-base | 3e6f9186334d9d73743b0219ae857564c7208247 | [
"eGenix"
] | null | null | null | build/lib.linux-x86_64-2.7_ucs4/mx/Proxy/mxProxy/testvlad.py | mkubux/egenix-mx-base | 3e6f9186334d9d73743b0219ae857564c7208247 | [
"eGenix"
] | null | null | null | from mx.Proxy import WeakProxy
o = []
p = q = WeakProxy(o)
p = q = WeakProxy(o)
del o
print p
| 13.428571 | 30 | 0.648936 | 18 | 94 | 3.388889 | 0.555556 | 0.491803 | 0.360656 | 0.393443 | 0.557377 | 0.557377 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223404 | 94 | 6 | 31 | 15.666667 | 0.835616 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
749363556bb426fd959f87762b68430fed9c471b | 46 | py | Python | protfasta/tests/conftest.py | holehouse-lab/protfasta | 9737ed5f65a957bd9ce4727d31e52492ca68dd06 | [
"MIT"
] | 1 | 2020-10-17T15:46:54.000Z | 2020-10-17T15:46:54.000Z | protfasta/tests/conftest.py | holehouse-lab/protfasta | 9737ed5f65a957bd9ce4727d31e52492ca68dd06 | [
"MIT"
] | null | null | null | protfasta/tests/conftest.py | holehouse-lab/protfasta | 9737ed5f65a957bd9ce4727d31e52492ca68dd06 | [
"MIT"
] | null | null | null | import protfasta
import pytest
import sys
| 5.75 | 16 | 0.782609 | 6 | 46 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 46 | 7 | 17 | 6.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7499b19a7d5bfb3795251c8a3afcd64e01e78496 | 18,814 | py | Python | tests/shared/test_validation.py | StephenGill/govuk-shielded-vulnerable-people-service | fbb74de933ffd3080c84611de067ba336bfa5518 | [
"MIT"
] | null | null | null | tests/shared/test_validation.py | StephenGill/govuk-shielded-vulnerable-people-service | fbb74de933ffd3080c84611de067ba336bfa5518 | [
"MIT"
] | null | null | null | tests/shared/test_validation.py | StephenGill/govuk-shielded-vulnerable-people-service | fbb74de933ffd3080c84611de067ba336bfa5518 | [
"MIT"
] | null | null | null | import pytest
from unittest.mock import patch
from vulnerable_people_form.form_pages.shared import validation
from flask import Flask
from vulnerable_people_form.form_pages.shared.answers_enums import (
ApplyingOnOwnBehalfAnswers,
MedicalConditionsAnswers,
NHSLetterAnswers,
ViewOrSetupAnswers,
YesN... | 42.469526 | 120 | 0.76459 | 2,423 | 18,814 | 5.34544 | 0.084606 | 0.062539 | 0.081069 | 0.0542 | 0.873301 | 0.848826 | 0.823502 | 0.786211 | 0.742588 | 0.697807 | 0 | 0.004405 | 0.167429 | 18,814 | 442 | 121 | 42.565611 | 0.822459 | 0 | 0 | 0.508721 | 0 | 0.011628 | 0.145424 | 0.02243 | 0 | 0 | 0 | 0 | 0.174419 | 1 | 0.136628 | false | 0.037791 | 0.014535 | 0.026163 | 0.177326 | 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 |
77726687d353f7cf8dff983b28c1e2f452c8c055 | 15,157 | py | Python | src/CardActions/Renaissance.py | cevirici/woodcutter | f775e002475e80662faffeeed966306c36916da1 | [
"MIT"
] | null | null | null | src/CardActions/Renaissance.py | cevirici/woodcutter | f775e002475e80662faffeeed966306c36916da1 | [
"MIT"
] | 6 | 2021-03-19T10:48:21.000Z | 2022-02-10T10:34:24.000Z | woodcutter/src/CardActions/Renaissance.py | cevirici/dominion-woodcutter | 3eea6081a180499bf5e370877146f3ca2eb1c068 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .CardInfo import CardInfo
from woodcutter.src.Card import *
from woodcutter.src.Action import Action
class ACTING_TROUPE(CardInfo):
names = ["Acting Troupe", "Acting Troupes", "an Acting Troupe"]
types = [Types.ACTION]
cost = [3, 0, 0]
def onPlay(self, state, log, cardInd... | 25.052893 | 75 | 0.579996 | 1,710 | 15,157 | 5.133333 | 0.076023 | 0.113921 | 0.02848 | 0.062657 | 0.713033 | 0.713033 | 0.706425 | 0.706425 | 0.706425 | 0.706425 | 0 | 0.01377 | 0.276506 | 15,157 | 604 | 76 | 25.094371 | 0.786704 | 0.001386 | 0 | 0.766004 | 0 | 0 | 0.089203 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.110375 | false | 0 | 0.006623 | 0 | 0.668874 | 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 |
779b9225ab3c366d85d1607a29ea5e5a19e3cc7d | 44 | py | Python | qcodes/instrument_drivers/sqdlab/dsp/__init__.py | sqdlab/Qcodes | 82a4706028cd8eaef8669ff978c704419debc447 | [
"MIT"
] | null | null | null | qcodes/instrument_drivers/sqdlab/dsp/__init__.py | sqdlab/Qcodes | 82a4706028cd8eaef8669ff978c704419debc447 | [
"MIT"
] | null | null | null | qcodes/instrument_drivers/sqdlab/dsp/__init__.py | sqdlab/Qcodes | 82a4706028cd8eaef8669ff978c704419debc447 | [
"MIT"
] | 1 | 2020-04-24T01:15:44.000Z | 2020-04-24T01:15:44.000Z |
from .pyopencl_ import *
from . import fft
| 11 | 24 | 0.727273 | 6 | 44 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 44 | 3 | 25 | 14.666667 | 0.885714 | 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 |
77d21c695a173b6318dc0c522f4acb46bbeb8012 | 6,113 | py | Python | test/test_match.py | gbenetz/pvcheck | e165939dc6b9ba75ee70a79aa7a2ef4637356bae | [
"MIT"
] | 3 | 2016-04-12T21:42:52.000Z | 2020-04-20T10:58:02.000Z | test/test_match.py | gbenetz/pvcheck | e165939dc6b9ba75ee70a79aa7a2ef4637356bae | [
"MIT"
] | 6 | 2015-10-16T13:13:50.000Z | 2020-05-30T20:42:22.000Z | test/test_match.py | gbenetz/pvcheck | e165939dc6b9ba75ee70a79aa7a2ef4637356bae | [
"MIT"
] | 1 | 2019-06-10T08:51:54.000Z | 2019-06-10T08:51:54.000Z | import unittest
import sys
sys.path.insert(0, '../src')
from match import *
class TestOrderedComparisons(unittest.TestCase):
def test_compare_sections1(self):
exp = ['a b c d', 'efg hij']
diffs, matches = compare_sections(['a b c d', 'efg hij'], exp)
self.assertEqual(diffs, [0.0, 0.0])
... | 37.734568 | 71 | 0.55292 | 797 | 6,113 | 4.132999 | 0.091593 | 0.236794 | 0.02459 | 0.213115 | 0.867942 | 0.811475 | 0.756831 | 0.716151 | 0.665452 | 0.526108 | 0 | 0.047218 | 0.262064 | 6,113 | 161 | 72 | 37.968944 | 0.682997 | 0 | 0 | 0.442748 | 0 | 0 | 0.076722 | 0 | 0 | 0 | 0 | 0 | 0.396947 | 1 | 0.198473 | false | 0 | 0.022901 | 0 | 0.244275 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
77ee3fa6a880e9e12ba39f50a9af2b3e0e4b1c44 | 34 | py | Python | Lib/fonext/utLib/__init__.py | derwind/fonext | bcc93acb1f31a658b49f44e19497390503042d16 | [
"MIT"
] | null | null | null | Lib/fonext/utLib/__init__.py | derwind/fonext | bcc93acb1f31a658b49f44e19497390503042d16 | [
"MIT"
] | null | null | null | Lib/fonext/utLib/__init__.py | derwind/fonext | bcc93acb1f31a658b49f44e19497390503042d16 | [
"MIT"
] | null | null | null | from fonext.utLib.utFont import *
| 17 | 33 | 0.794118 | 5 | 34 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 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 |
bb29ddec3c5571c0ce8002b9eb84e4e3b3c58c92 | 1,942 | py | Python | template_conf.py | mcrrobinson/Zoom-Automation | 81728376372ba51e8105227c1b1400f1db6f6e2f | [
"Apache-2.0"
] | null | null | null | template_conf.py | mcrrobinson/Zoom-Automation | 81728376372ba51e8105227c1b1400f1db6f6e2f | [
"Apache-2.0"
] | null | null | null | template_conf.py | mcrrobinson/Zoom-Automation | 81728376372ba51e8105227c1b1400f1db6f6e2f | [
"Apache-2.0"
] | null | null | null | # THIS IS STATIC
WEEKDAYS = {
0: "Monday",
1: "Tuesday",
2: "Wednesday",
3: "Thursday",
4: "Friday",
5: "Saturday",
6: "Sunday"
}
CLASS_MAP = {
1: "Art",
2: "Geography",
3: "Science"
}
ENTRIES = {
"Monday": {
1: {
"class_name": CLASS_MAP[1],
... | 31.322581 | 125 | 0.545829 | 207 | 1,942 | 4.980676 | 0.236715 | 0.062076 | 0.095053 | 0.115422 | 0.838991 | 0.837051 | 0.837051 | 0.808923 | 0.750727 | 0.750727 | 0 | 0.167988 | 0.285788 | 1,942 | 62 | 126 | 31.322581 | 0.575342 | 0.007209 | 0 | 0.366667 | 0 | 0.116667 | 0.523093 | 0.345096 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
bb2afbf182f7fea7f1b9d7e037412342971d7a87 | 181 | py | Python | try2.py | faisalarkan21/mbti-test-qt | 06d701ba9f95ee278b029d122908b18cac07033d | [
"Apache-2.0"
] | null | null | null | try2.py | faisalarkan21/mbti-test-qt | 06d701ba9f95ee278b029d122908b18cac07033d | [
"Apache-2.0"
] | null | null | null | try2.py | faisalarkan21/mbti-test-qt | 06d701ba9f95ee278b029d122908b18cac07033d | [
"Apache-2.0"
] | null | null | null | for x in range (5,1,-1):
print x * " " + (6-x)* '*'
for z in range (1,11,10):
print z * " " + (11-z) * '*'
for w in range(1,5,+1):
print " "+ (5-w) * '*'
| 20.111111 | 33 | 0.375691 | 32 | 181 | 2.125 | 0.375 | 0.308824 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 0.353591 | 181 | 8 | 34 | 22.625 | 0.452991 | 0 | 0 | 0 | 0 | 0 | 0.063584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
bb5c6d61a0e5953be08f7dfb36dce556a364d306 | 32 | py | Python | angr/analyses/typehoon/__init__.py | Kyle-Kyle/angr | 345b2131a7a67e3a6ffc7d9fd475146a3e12f837 | [
"BSD-2-Clause"
] | 6,132 | 2015-08-06T23:24:47.000Z | 2022-03-31T21:49:34.000Z | angr/analyses/typehoon/__init__.py | Kyle-Kyle/angr | 345b2131a7a67e3a6ffc7d9fd475146a3e12f837 | [
"BSD-2-Clause"
] | 2,272 | 2015-08-10T08:40:07.000Z | 2022-03-31T23:46:44.000Z | angr/analyses/typehoon/__init__.py | Kyle-Kyle/angr | 345b2131a7a67e3a6ffc7d9fd475146a3e12f837 | [
"BSD-2-Clause"
] | 1,155 | 2015-08-06T23:37:39.000Z | 2022-03-31T05:54:11.000Z |
from .typehoon import Typehoon
| 10.666667 | 30 | 0.8125 | 4 | 32 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 2 | 31 | 16 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
247e061159b8c87990b6e76f6816772bf4d1cba7 | 10,790 | py | Python | models/measure.py | ChiragCD/NR-GAN | fc455c6219b09bc8bf605715504b78b2bb801e48 | [
"MIT"
] | 54 | 2020-04-17T03:05:50.000Z | 2022-03-07T20:30:35.000Z | models/measure.py | ChiragCD/NR-GAN | fc455c6219b09bc8bf605715504b78b2bb801e48 | [
"MIT"
] | 8 | 2020-08-24T03:42:42.000Z | 2022-03-12T00:21:33.000Z | models/measure.py | ChiragCD/NR-GAN | fc455c6219b09bc8bf605715504b78b2bb801e48 | [
"MIT"
] | 14 | 2020-06-01T10:21:08.000Z | 2021-12-30T07:24:22.000Z | import cv2
import numpy as np
import torch
import torch.nn.functional as F
def additive_gaussian_noise_measure(input,
noise_scale,
noise_scale_high=None,
image_range=(-1, 1),
... | 40.56391 | 79 | 0.47127 | 1,063 | 10,790 | 4.503293 | 0.086548 | 0.125339 | 0.061416 | 0.068937 | 0.805933 | 0.778358 | 0.734698 | 0.721955 | 0.709212 | 0.656361 | 0 | 0.019156 | 0.448471 | 10,790 | 265 | 80 | 40.716981 | 0.785246 | 0 | 0 | 0.695473 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041152 | false | 0 | 0.016461 | 0 | 0.139918 | 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 |
703f27bc66f95268fbe1099f4210f739ac6c66ae | 4,562 | py | Python | error_solver/data/_wire_load.py | line-mind/error_solver | 472d086157e49cbe3e7d5b3278ddee6792cf676b | [
"BSD-3-Clause"
] | null | null | null | error_solver/data/_wire_load.py | line-mind/error_solver | 472d086157e49cbe3e7d5b3278ddee6792cf676b | [
"BSD-3-Clause"
] | 5 | 2018-12-22T20:59:42.000Z | 2019-06-04T22:10:08.000Z | error_solver/data/_wire_load.py | mpewsey/error_solver | 472d086157e49cbe3e7d5b3278ddee6792cf676b | [
"BSD-3-Clause"
] | null | null | null | """
Created by Error Solver on 2019-04-14 22:39:06
0: wind_pressure - wind_pressure_coeff*wind_velocity**2
1: horz_unit_load - wind_pressure*(diameter + 2*ice_thickness)*sin(azimuth - wind_azimuth)**2
2: -pi*ice_density*ice_thickness*(diameter + ice_thickness) - unit_weight + vert_unit_load
3: -horz_unit_load**2 - ver... | 36.206349 | 199 | 0.770495 | 686 | 4,562 | 4.708455 | 0.072886 | 0.141176 | 0.085449 | 0.081734 | 0.820743 | 0.743344 | 0.701858 | 0.69226 | 0.667492 | 0.60031 | 0 | 0.026349 | 0.11815 | 4,562 | 125 | 200 | 36.496 | 0.776535 | 0.092942 | 0 | 0.04918 | 0 | 0 | 0.058168 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.360656 | false | 0 | 0.016393 | 0.360656 | 0.737705 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
704bc58f6a857252c01cb8bb554fc24010296c45 | 4,786 | py | Python | tests/smolder_tests.py | bskyb-shiny/smolder | 385df80e83c8370bfe285948242f39e20e99db24 | [
"BSD-3-Clause"
] | 103 | 2015-04-09T15:36:39.000Z | 2020-04-23T12:16:51.000Z | tests/smolder_tests.py | bskyb-shiny/smolder | 385df80e83c8370bfe285948242f39e20e99db24 | [
"BSD-3-Clause"
] | 41 | 2015-04-23T10:56:55.000Z | 2017-11-16T17:55:47.000Z | tests/smolder_tests.py | bskyb-shiny/smolder | 385df80e83c8370bfe285948242f39e20e99db24 | [
"BSD-3-Clause"
] | 12 | 2015-05-30T23:07:17.000Z | 2017-11-15T14:43:42.000Z | #!/usr/bin/env python
import charcoal
from charcoal import Charcoal
import yaml
import os
import logging
import json
import socket
from nose.tools import raises
import requests
import httpretty
THIS_DIR = os.path.dirname(os.path.realpath(__file__))
LOG = logging.getLogger('smolder')
LOG.setLevel(logging.DEBUG)
def t... | 33.236111 | 112 | 0.693899 | 678 | 4,786 | 4.606195 | 0.131268 | 0.071726 | 0.122959 | 0.087096 | 0.785142 | 0.775857 | 0.775857 | 0.775857 | 0.775857 | 0.757605 | 0 | 0.01873 | 0.196824 | 4,786 | 143 | 113 | 33.468531 | 0.793704 | 0.010656 | 0 | 0.633333 | 0 | 0 | 0.134587 | 0.06423 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0.091667 | false | 0.133333 | 0.083333 | 0 | 0.175 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
7058ee6d23d0022f208ad979fa2a8173a1f167d2 | 251 | py | Python | icarus/scenarios/__init__.py | oascigil/icarus_edge_comp | b7bb9f9b8d0f27b4b01469dcba9cfc0c4949d64b | [
"MIT"
] | 5 | 2021-03-20T09:22:55.000Z | 2021-12-20T17:01:33.000Z | icarus/scenarios/__init__.py | oascigil/icarus_edge_comp | b7bb9f9b8d0f27b4b01469dcba9cfc0c4949d64b | [
"MIT"
] | 1 | 2021-12-13T07:40:46.000Z | 2021-12-20T16:59:08.000Z | icarus/scenarios/__init__.py | oascigil/icarus_edge_comp | b7bb9f9b8d0f27b4b01469dcba9cfc0c4949d64b | [
"MIT"
] | 1 | 2021-11-25T05:42:20.000Z | 2021-11-25T05:42:20.000Z | # -*- coding: utf-8 -*-
"""This package contains the code for generating simulation scenarios.
"""
from icarus.scenarios.algorithms import *
from .cacheplacement import *
from .contentplacement import *
from .topology import *
from .workload import *
| 27.888889 | 70 | 0.752988 | 29 | 251 | 6.517241 | 0.689655 | 0.21164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00463 | 0.139442 | 251 | 8 | 71 | 31.375 | 0.87037 | 0.358566 | 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 |
7088a8a4bdaaeb1edae39e3ee96c7085b6273da6 | 94 | py | Python | tests/__init__.py | methane/fluent-logger-python | c63361536a236c7063ceb05d4a0012b331c06225 | [
"Apache-1.1"
] | null | null | null | tests/__init__.py | methane/fluent-logger-python | c63361536a236c7063ceb05d4a0012b331c06225 | [
"Apache-1.1"
] | null | null | null | tests/__init__.py | methane/fluent-logger-python | c63361536a236c7063ceb05d4a0012b331c06225 | [
"Apache-1.1"
] | null | null | null | import sys
sys.path = ['..'] + sys.path
from test_handler import *
from test_sender import *
| 15.666667 | 28 | 0.702128 | 14 | 94 | 4.571429 | 0.5 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 94 | 5 | 29 | 18.8 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
560d846298d162afbe41109636ea96e42ef47298 | 521 | py | Python | crits/locations/urls.py | frbapolkosnik/crits | 1278c034f2238e2fe34e65e32ce241128a014df2 | [
"MIT"
] | 22 | 2015-01-14T19:49:32.000Z | 2022-01-26T12:18:52.000Z | crits/locations/urls.py | deadbits/crits | 154097a1892e9d3960d6faaed4bd2e912a196a47 | [
"MIT"
] | null | null | null | crits/locations/urls.py | deadbits/crits | 154097a1892e9d3960d6faaed4bd2e912a196a47 | [
"MIT"
] | 6 | 2015-01-22T21:25:52.000Z | 2021-04-12T23:24:14.000Z | from django.conf.urls import url
urlpatterns = [
url(r'^add/(?P<type_>\w+)/(?P<id_>\w+)/$', 'add_location', prefix='crits.locations.views'),
url(r'^edit/(?P<type_>\w+)/(?P<id_>\w+)/$', 'edit_location', prefix='crits.locations.views'),
url(r'^remove/(?P<type_>\w+)/(?P<id_>\w+)/$', 'remove_location', prefix=... | 52.1 | 101 | 0.635317 | 76 | 521 | 4.171053 | 0.342105 | 0.063091 | 0.315457 | 0.394322 | 0.747634 | 0.747634 | 0.492114 | 0.233438 | 0 | 0 | 0 | 0 | 0.084453 | 521 | 9 | 102 | 57.888889 | 0.66457 | 0 | 0 | 0 | 0 | 0 | 0.621881 | 0.46833 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
567154d837e7548487eecece34f3b156561756d4 | 17,846 | py | Python | test/test_markdown_extra.py | jackdewinter/pymarkdown | 7ae408ba0b24506fa07552ffe520750bbff38c53 | [
"MIT"
] | 20 | 2021-01-14T17:39:09.000Z | 2022-03-14T08:35:22.000Z | test/test_markdown_extra.py | jackdewinter/pymarkdown | 7ae408ba0b24506fa07552ffe520750bbff38c53 | [
"MIT"
] | 304 | 2020-08-15T23:24:00.000Z | 2022-03-31T23:34:03.000Z | test/test_markdown_extra.py | jackdewinter/pymarkdown | 7ae408ba0b24506fa07552ffe520750bbff38c53 | [
"MIT"
] | 3 | 2021-08-11T10:26:26.000Z | 2021-11-02T20:41:27.000Z | """
Extra tests.
"""
import pytest
from .utils import act_and_assert
@pytest.mark.gfm
def test_extra_001():
"""
Test a totally blank input.
"""
# Arrange
source_markdown = ""
expected_tokens = ["[BLANK(1,1):]"]
expected_gfm = ""
# Act & Assert
act_and_assert(source_markdown, exp... | 23.11658 | 183 | 0.511039 | 2,455 | 17,846 | 3.621181 | 0.086762 | 0.018223 | 0.016198 | 0.016198 | 0.811586 | 0.78234 | 0.76333 | 0.734871 | 0.71721 | 0.697413 | 0 | 0.045031 | 0.254623 | 17,846 | 771 | 184 | 23.146563 | 0.62329 | 0.110109 | 0 | 0.68838 | 0 | 0.026408 | 0.498418 | 0.074717 | 0 | 0 | 0 | 0 | 0.038732 | 1 | 0.036972 | false | 0 | 0.003521 | 0 | 0.040493 | 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 |
56a3d8cd707be0b0aee50003dc6b43c94cc699b6 | 42,767 | py | Python | pyrosetta/api.py | blockjoe/rosetta-api-client-python | 707f325f7560ffa6d5dfe361aff4779cc0b7182f | [
"Apache-2.0"
] | null | null | null | pyrosetta/api.py | blockjoe/rosetta-api-client-python | 707f325f7560ffa6d5dfe361aff4779cc0b7182f | [
"Apache-2.0"
] | null | null | null | pyrosetta/api.py | blockjoe/rosetta-api-client-python | 707f325f7560ffa6d5dfe361aff4779cc0b7182f | [
"Apache-2.0"
] | null | null | null | from typing import Any, Dict, List, Iterable, Optional, Union
import requests
from .models import (
AccountBalanceResponse,
AccountCoinsResponse,
AccountIdentifier,
BlockIdentifier,
BlockResponse,
BlockTransactionResponse,
Currency,
NetworkIdentifier,
NetworkOptionsResponse,
Ne... | 48.709567 | 224 | 0.649496 | 4,638 | 42,767 | 5.840233 | 0.05843 | 0.063794 | 0.022151 | 0.019936 | 0.881751 | 0.855798 | 0.826079 | 0.809466 | 0.796508 | 0.783549 | 0 | 0.000295 | 0.285617 | 42,767 | 877 | 225 | 48.765108 | 0.886292 | 0.453995 | 0 | 0.528926 | 0 | 0.004132 | 0.093657 | 0.040929 | 0 | 0 | 0 | 0 | 0 | 1 | 0.132231 | false | 0 | 0.045455 | 0.012397 | 0.305785 | 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 |
8e657bd801f9bb6977169eef4ce64d46e826ea72 | 102 | py | Python | booster/models/__init__.py | zknight/booster | 7b335e9206c3ec2b46314becb381e266b72aedcb | [
"MIT"
] | null | null | null | booster/models/__init__.py | zknight/booster | 7b335e9206c3ec2b46314becb381e266b72aedcb | [
"MIT"
] | null | null | null | booster/models/__init__.py | zknight/booster | 7b335e9206c3ec2b46314becb381e266b72aedcb | [
"MIT"
] | null | null | null | from user import *
from event import *
from news import *
from picture import *
from product import *
| 17 | 21 | 0.754902 | 15 | 102 | 5.133333 | 0.466667 | 0.519481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196078 | 102 | 5 | 22 | 20.4 | 0.939024 | 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 |
d910c9eb856b8902b4692fd9afbaa1c4c2a20f9c | 5,406 | py | Python | model/vae.py | cheonbok94/Pytorch-Latent-Constraints-Learning-to-Generate-Conditionally-from-Unconditional-Generative-Models | 0dbd182b294e0c6d3ad0deda3be1dd855fd57617 | [
"MIT"
] | 10 | 2018-07-13T06:09:59.000Z | 2021-03-02T13:40:41.000Z | model/vae.py | cheonbok94/Pytorch-Latent-Constraints-Learning-to-Generate-Conditionally-from-Unconditional-Generative-Models | 0dbd182b294e0c6d3ad0deda3be1dd855fd57617 | [
"MIT"
] | 1 | 2021-08-12T08:43:08.000Z | 2021-08-12T08:43:08.000Z | model/vae.py | cheonbok94/Pytorch-Latent-Constraints-Learning-to-Generate-Conditionally-from-Unconditional-Generative-Models | 0dbd182b294e0c6d3ad0deda3be1dd855fd57617 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
from torch.autograd import Variable
from .sub_layer import Linear,View
import pdb
class Celeba_VAE(nn.Module):
def __init__(self,input_size=128,d_model=1024,layer_num=3):
super(Celeba_VAE,self).__init__()
self.d_model = d_model
self.layer_num = layer_num
se... | 33.57764 | 117 | 0.721606 | 837 | 5,406 | 4.431302 | 0.106332 | 0.133459 | 0.142087 | 0.110003 | 0.912645 | 0.877865 | 0.829334 | 0.72742 | 0.708547 | 0.638177 | 0 | 0.039861 | 0.150758 | 5,406 | 160 | 118 | 33.7875 | 0.768024 | 0.081206 | 0 | 0.672269 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.042017 | 0 | 0.294118 | 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 |
d96e8249519af582022fb08bfb38f12920e0b4fb | 19 | py | Python | plugins/pelican-toc/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 13 | 2020-01-27T09:02:25.000Z | 2022-01-20T07:45:26.000Z | plugins/pelican-toc/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 110 | 2017-08-11T12:54:00.000Z | 2022-03-20T22:04:20.000Z | plugins/pelican-toc/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 59 | 2017-11-07T05:04:42.000Z | 2022-03-22T19:39:23.000Z | from .toc import *
| 9.5 | 18 | 0.684211 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.866667 | 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 |
794a2b93e64430465d077ba6e09c84da1dafe8dc | 96 | py | Python | venv/lib/python3.8/site-packages/poetry/core/packages/utils/utils.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/poetry/core/packages/utils/utils.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/poetry/core/packages/utils/utils.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/0c/1f/be/81c5f1985c122a8a1b09de03082e9c77a993fa809dc5855c6cc1a9137a | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 0 | 96 | 1 | 96 | 96 | 0.479167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7997b051ab8fb84c8959a51929714e3537a0cbc4 | 35 | py | Python | test/test_adapter.py | EarnestResearch/dbt-athena | 2409993aade3791bb5e889feb99e014613e8d12a | [
"Apache-2.0"
] | 43 | 2020-01-14T18:55:42.000Z | 2022-03-23T12:16:59.000Z | test/test_adapter.py | EarnestResearch/dbt-athena | 2409993aade3791bb5e889feb99e014613e8d12a | [
"Apache-2.0"
] | 19 | 2020-01-17T10:02:07.000Z | 2021-08-05T21:41:25.000Z | test/test_adapter.py | EarnestResearch/dbt-athena | 2409993aade3791bb5e889feb99e014613e8d12a | [
"Apache-2.0"
] | 14 | 2020-01-18T17:49:48.000Z | 2020-12-16T09:44:17.000Z | def test_config():
assert True
| 11.666667 | 18 | 0.685714 | 5 | 35 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228571 | 35 | 2 | 19 | 17.5 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5c391bdca6c76bf7f294fb844bee38c0c1b6a128 | 52 | py | Python | zmq_cache_client/__init__.py | yunluyl/zmq_cache_client_py | 8ab691f9b871f1b84beee66a8e59d0d2a18db17e | [
"MIT"
] | null | null | null | zmq_cache_client/__init__.py | yunluyl/zmq_cache_client_py | 8ab691f9b871f1b84beee66a8e59d0d2a18db17e | [
"MIT"
] | null | null | null | zmq_cache_client/__init__.py | yunluyl/zmq_cache_client_py | 8ab691f9b871f1b84beee66a8e59d0d2a18db17e | [
"MIT"
] | null | null | null | from zmq_cache_client.zmq_cache import Cache, Table
| 26 | 51 | 0.865385 | 9 | 52 | 4.666667 | 0.666667 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 52 | 1 | 52 | 52 | 0.893617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5c3a13208748c22a52df95efe1836670d2e90288 | 24,332 | py | Python | tests/test_reportseff.py | troycomi/reportseff | 0bf03c9ad180cb5cd2714b454520cb7824736347 | [
"MIT"
] | 12 | 2020-09-23T15:03:06.000Z | 2022-03-25T23:19:26.000Z | tests/test_reportseff.py | troycomi/reportseff | 0bf03c9ad180cb5cd2714b454520cb7824736347 | [
"MIT"
] | 3 | 2021-06-08T13:13:19.000Z | 2021-10-13T15:54:32.000Z | tests/test_reportseff.py | troycomi/reportseff | 0bf03c9ad180cb5cd2714b454520cb7824736347 | [
"MIT"
] | 2 | 2021-04-20T10:57:07.000Z | 2022-02-23T19:14:47.000Z | """Test cli usage."""
from click.testing import CliRunner
import pytest
from reportseff import console
from reportseff.db_inquirer import SacctInquirer
from reportseff.job_collection import JobCollection
from reportseff.output_renderer import OutputRenderer
@pytest.fixture
def mock_inquirer(mocker):
"""Override ... | 36.208333 | 88 | 0.641337 | 3,292 | 24,332 | 4.643985 | 0.080194 | 0.028257 | 0.021978 | 0.051282 | 0.830782 | 0.814037 | 0.795788 | 0.787873 | 0.76112 | 0.76112 | 0 | 0.176236 | 0.194764 | 24,332 | 671 | 89 | 36.262295 | 0.604042 | 0.05725 | 0 | 0.694853 | 0 | 0.101103 | 0.398894 | 0.272145 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.049632 | false | 0 | 0.011029 | 0.001838 | 0.0625 | 0.001838 | 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 |
30c67f04ab108c99992072a8348926a8f311530d | 197 | py | Python | events/admin.py | kobihk/lets-meet | b5449b98529dbc80c65a238c6fb415c54b2798b9 | [
"MIT"
] | null | null | null | events/admin.py | kobihk/lets-meet | b5449b98529dbc80c65a238c6fb415c54b2798b9 | [
"MIT"
] | null | null | null | events/admin.py | kobihk/lets-meet | b5449b98529dbc80c65a238c6fb415c54b2798b9 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import EventParticipant, Event, PossibleMeeting
admin.site.register(PossibleMeeting)
admin.site.register(EventParticipant)
admin.site.register(Event)
| 28.142857 | 60 | 0.847716 | 23 | 197 | 7.26087 | 0.478261 | 0.161677 | 0.305389 | 0.383234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071066 | 197 | 6 | 61 | 32.833333 | 0.912568 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ebdc3238b0a454f297fd3a5e6564ca963f00a857 | 47 | py | Python | x7/x7/__init__.py | gribbg/x7 | f3ff60d1891f828ff48e6c006a0cb0f0fd678414 | [
"BSD-2-Clause"
] | null | null | null | x7/x7/__init__.py | gribbg/x7 | f3ff60d1891f828ff48e6c006a0cb0f0fd678414 | [
"BSD-2-Clause"
] | null | null | null | x7/x7/__init__.py | gribbg/x7 | f3ff60d1891f828ff48e6c006a0cb0f0fd678414 | [
"BSD-2-Clause"
] | null | null | null | from .__version__ import __version__ # noqa
| 23.5 | 46 | 0.765957 | 5 | 47 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191489 | 47 | 1 | 47 | 47 | 0.736842 | 0.085106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ebe0cc714b4960584072235a5f5b1c0ef7ca62d9 | 18 | py | Python | src/ros_say/__init__.py | tsaoyu/ROS-SAY | fb187e6aa88e46bf0dbac2a7a79231d08a82bf5c | [
"MIT"
] | null | null | null | src/ros_say/__init__.py | tsaoyu/ROS-SAY | fb187e6aa88e46bf0dbac2a7a79231d08a82bf5c | [
"MIT"
] | null | null | null | src/ros_say/__init__.py | tsaoyu/ROS-SAY | fb187e6aa88e46bf0dbac2a7a79231d08a82bf5c | [
"MIT"
] | null | null | null | from .say import * | 18 | 18 | 0.722222 | 3 | 18 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 0.866667 | 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 |
ccd922586da033400699bb60f6770199b7dc6989 | 208 | py | Python | packages/watchmen-pipeline-kernel/src/watchmen_pipeline_kernel/pipeline_schema_interface/create_queue_pipeline.py | Indexical-Metrics-Measure-Advisory/watchmen | c54ec54d9f91034a38e51fd339ba66453d2c7a6d | [
"MIT"
] | null | null | null | packages/watchmen-pipeline-kernel/src/watchmen_pipeline_kernel/pipeline_schema_interface/create_queue_pipeline.py | Indexical-Metrics-Measure-Advisory/watchmen | c54ec54d9f91034a38e51fd339ba66453d2c7a6d | [
"MIT"
] | null | null | null | packages/watchmen-pipeline-kernel/src/watchmen_pipeline_kernel/pipeline_schema_interface/create_queue_pipeline.py | Indexical-Metrics-Measure-Advisory/watchmen | c54ec54d9f91034a38e51fd339ba66453d2c7a6d | [
"MIT"
] | null | null | null | from typing import Callable
from watchmen_data_kernel.storage import TopicTrigger
from watchmen_data_kernel.topic_schema import TopicSchema
CreateQueuePipeline = Callable[[TopicSchema, TopicTrigger], None]
| 29.714286 | 65 | 0.865385 | 24 | 208 | 7.291667 | 0.583333 | 0.137143 | 0.182857 | 0.251429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091346 | 208 | 6 | 66 | 34.666667 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ccea23bb1001b3773412135eabfb6a577f1387e2 | 177 | py | Python | synergetic/__init__.py | mitchr1598/synergetic | 1017b0d2fa1256153007be5251941f31a29c5206 | [
"MIT"
] | null | null | null | synergetic/__init__.py | mitchr1598/synergetic | 1017b0d2fa1256153007be5251941f31a29c5206 | [
"MIT"
] | null | null | null | synergetic/__init__.py | mitchr1598/synergetic | 1017b0d2fa1256153007be5251941f31a29c5206 | [
"MIT"
] | null | null | null | from synergetic.synergetic_session import Synergetic
from synergetic.School import school
from synergetic.Attendance import Attendance
from synergetic.Schedule import Schedule
| 29.5 | 52 | 0.881356 | 21 | 177 | 7.380952 | 0.333333 | 0.36129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096045 | 177 | 5 | 53 | 35.4 | 0.96875 | 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 |
693a7d43c683b4a5c9eb8641b6ef2c27a67dfb87 | 27 | py | Python | dictim/__init__.py | jamesabel/dictim | de8da78a76cba9d76098f57dfed62adc9581702f | [
"MIT"
] | 2 | 2020-09-13T06:12:51.000Z | 2021-07-10T22:38:19.000Z | dictim/__init__.py | jamesabel/dictim | de8da78a76cba9d76098f57dfed62adc9581702f | [
"MIT"
] | null | null | null | dictim/__init__.py | jamesabel/dictim | de8da78a76cba9d76098f57dfed62adc9581702f | [
"MIT"
] | null | null | null | from .dictim import dictim
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
15ca1cf05576eb2abed9fe44ab8062e7fc386232 | 9,648 | py | Python | UTILS/check_similarity.py | emersonrafaels/ocr_tables | 11e696422f6fd8508fdc92ffe9a7d14be319e51f | [
"MIT"
] | null | null | null | UTILS/check_similarity.py | emersonrafaels/ocr_tables | 11e696422f6fd8508fdc92ffe9a7d14be319e51f | [
"MIT"
] | null | null | null | UTILS/check_similarity.py | emersonrafaels/ocr_tables | 11e696422f6fd8508fdc92ffe9a7d14be319e51f | [
"MIT"
] | null | null | null | """
MICROSERVIÇO PARA COMPARAÇÃO DE STRINGS USANDO
A DISTÂNCIA DE LEVENSHTEIN: MÉTRICA PARA MEDIR A DISTÂNCIA
ENTRE DUAS SEQUÊNCIAS DE PALAVRAS.
EM OUTRAS PALAVRAS,
MEDE-SE O NÚMERO MÍNIMO DE EDIÇÕES QUE VOCÊ PRECISA FAZER
PARA ALTERAR UMA SEQUÊNCIA DE UMA PALAVRA NA OUTRA.
ESSAS EDIÇÕES ... | 39.379592 | 107 | 0.534826 | 914 | 9,648 | 5.56674 | 0.210066 | 0.03577 | 0.025157 | 0.009434 | 0.778695 | 0.753145 | 0.73978 | 0.73978 | 0.73978 | 0.726219 | 0 | 0.004887 | 0.427342 | 9,648 | 244 | 108 | 39.540984 | 0.916018 | 0.68864 | 0 | 0.435897 | 0 | 0 | 0.022826 | 0 | 0 | 0 | 0 | 0.012295 | 0 | 1 | 0.102564 | false | 0.025641 | 0.102564 | 0 | 0.358974 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
15e1a5dd4f5f4d836965a3fa081b9914007f5127 | 123 | py | Python | blaze/__init__.py | henry1jin/alohamora | e51e2488ecdf3e9692d5bb6b25ebc88622087c20 | [
"MIT"
] | 5 | 2020-12-16T03:13:59.000Z | 2022-03-06T07:16:39.000Z | blaze/__init__.py | henry1jin/alohamora | e51e2488ecdf3e9692d5bb6b25ebc88622087c20 | [
"MIT"
] | 9 | 2020-09-25T23:25:59.000Z | 2022-03-11T23:45:14.000Z | blaze/__init__.py | henry1jin/alohamora | e51e2488ecdf3e9692d5bb6b25ebc88622087c20 | [
"MIT"
] | 3 | 2019-10-16T21:22:07.000Z | 2020-07-21T13:38:22.000Z | """ Initialize the blaze package and import __version__ into the global namespace """
from .__version__ import __version__
| 41 | 85 | 0.804878 | 15 | 123 | 5.8 | 0.733333 | 0.298851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138211 | 123 | 2 | 86 | 61.5 | 0.820755 | 0.626016 | 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 |
15e9c489b3017d100ab4b9d772279ddcd41fc394 | 3,524 | py | Python | firecares/firecares_core/autocomplete_light_registry.py | FireCARES/firecares | aa708d441790263206dd3a0a480eb6ca9031439d | [
"MIT"
] | 12 | 2016-01-30T02:28:35.000Z | 2019-05-29T15:49:56.000Z | firecares/firecares_core/autocomplete_light_registry.py | FireCARES/firecares | aa708d441790263206dd3a0a480eb6ca9031439d | [
"MIT"
] | 455 | 2015-07-27T20:21:56.000Z | 2022-03-11T23:26:20.000Z | firecares/firecares_core/autocomplete_light_registry.py | FireCARES/firecares | aa708d441790263206dd3a0a480eb6ca9031439d | [
"MIT"
] | 14 | 2015-07-29T09:45:53.000Z | 2020-10-21T20:03:17.000Z | import autocomplete_light.shortcuts as al
from .models import Address
from django.contrib.auth import get_user_model
from firecares.firestation.models import FireDepartment, FireStation
User = get_user_model()
al.register(Address,
# Just like in ModelAdmin.search_fields
search_fields=['addres... | 40.045455 | 90 | 0.578036 | 346 | 3,524 | 5.823699 | 0.271676 | 0.035732 | 0.049132 | 0.062531 | 0.760298 | 0.760298 | 0.760298 | 0.760298 | 0.738462 | 0.663524 | 0 | 0.006399 | 0.334847 | 3,524 | 87 | 91 | 40.505747 | 0.853242 | 0.354994 | 0 | 0.469388 | 0 | 0 | 0.213458 | 0.124332 | 0 | 0 | 0 | 0.011494 | 0 | 1 | 0 | false | 0 | 0.081633 | 0 | 0.081633 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
15f90e96b745652cbbbe1d2e9091faf642a6fd1a | 39 | py | Python | facecreator.py | rafitricker/facecreator | 53d297a8c99b55aafaebaf80367f8e0811382406 | [
"Apache-2.0"
] | null | null | null | facecreator.py | rafitricker/facecreator | 53d297a8c99b55aafaebaf80367f8e0811382406 | [
"Apache-2.0"
] | null | null | null | facecreator.py | rafitricker/facecreator | 53d297a8c99b55aafaebaf80367f8e0811382406 | [
"Apache-2.0"
] | 1 | 2020-07-11T21:17:02.000Z | 2020-07-11T21:17:02.000Z | print("Marshal Rafi Facebook Tricker.") | 39 | 39 | 0.794872 | 5 | 39 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.861111 | 0 | 0 | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
c63ed880909c0875542fb8e5e6101f0aead44ab9 | 108 | py | Python | thglibs/THG_extra/thg_exemplo/darkcode.py | darkcode357/thg_lib | c1052bcd85f705ff8be404b7a28964eabef2ed45 | [
"MIT"
] | null | null | null | thglibs/THG_extra/thg_exemplo/darkcode.py | darkcode357/thg_lib | c1052bcd85f705ff8be404b7a28964eabef2ed45 | [
"MIT"
] | 52 | 2018-10-25T20:29:17.000Z | 2018-10-25T20:45:02.000Z | thglibs/THG_extra/thg_exemplo/darkcode.py | darkcode357/thg_lib | c1052bcd85f705ff8be404b7a28964eabef2ed45 | [
"MIT"
] | null | null | null | class exemplo():
def __init__(self):
pass
def thg_print(darkcode):
print(darkcode)
| 15.428571 | 28 | 0.592593 | 12 | 108 | 4.916667 | 0.75 | 0.440678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.305556 | 108 | 6 | 29 | 18 | 0.786667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0 | 0.6 | 0.4 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
d66236a33cd70b49cef4f0480bc07c605b0db1f4 | 20 | py | Python | const/__init__.py | SkyZH/verbose-adventure | 98ee76b589c166e1b3492d3710c06cdc7d995e6f | [
"MIT"
] | null | null | null | const/__init__.py | SkyZH/verbose-adventure | 98ee76b589c166e1b3492d3710c06cdc7d995e6f | [
"MIT"
] | null | null | null | const/__init__.py | SkyZH/verbose-adventure | 98ee76b589c166e1b3492d3710c06cdc7d995e6f | [
"MIT"
] | null | null | null | from . import words
| 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 |
d68730989cbe9e697fa40ecfc6c3497b617fe8bc | 4,648 | py | Python | tests/test_image.py | hackerYM/text-inside-box | 824696a678a85271469570034f394b4715d1c8fb | [
"MIT"
] | null | null | null | tests/test_image.py | hackerYM/text-inside-box | 824696a678a85271469570034f394b4715d1c8fb | [
"MIT"
] | null | null | null | tests/test_image.py | hackerYM/text-inside-box | 824696a678a85271469570034f394b4715d1c8fb | [
"MIT"
] | null | null | null | """
Testing module for Api Image
"""
import pytest
from flask import current_app
from http import HTTPStatus
@pytest.fixture
def req_data():
"""
Method to build the request data
"""
return {
"font_url": "https://storage.googleapis.com/dipp-massimo-development-fonts/4f2cf2b6b99d96ca.ttf",
... | 32.732394 | 107 | 0.686532 | 651 | 4,648 | 4.663594 | 0.152074 | 0.076087 | 0.055995 | 0.06917 | 0.812253 | 0.79809 | 0.767787 | 0.753294 | 0.736825 | 0.736825 | 0 | 0.02734 | 0.181583 | 4,648 | 141 | 108 | 32.964539 | 0.770768 | 0.128657 | 0 | 0.416667 | 0 | 0.013889 | 0.254836 | 0.105752 | 0 | 0 | 0 | 0 | 0.277778 | 1 | 0.152778 | false | 0 | 0.041667 | 0 | 0.208333 | 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 |
d68cf365b877853016c9d396f39ce3cf6750d5cf | 98 | py | Python | Chapter 2/Exersises/(2-2) Simple_Messages.py | 3GamersStudios/SHSPythonWork | 6f98ad3a25d30f2670dc48ca4f9b4cf75eb37a61 | [
"MIT"
] | null | null | null | Chapter 2/Exersises/(2-2) Simple_Messages.py | 3GamersStudios/SHSPythonWork | 6f98ad3a25d30f2670dc48ca4f9b4cf75eb37a61 | [
"MIT"
] | null | null | null | Chapter 2/Exersises/(2-2) Simple_Messages.py | 3GamersStudios/SHSPythonWork | 6f98ad3a25d30f2670dc48ca4f9b4cf75eb37a61 | [
"MIT"
] | null | null | null | message = "This is a message!"
print(message)
message = "This is a new message!"
print(message) | 14 | 34 | 0.704082 | 15 | 98 | 4.6 | 0.4 | 0.318841 | 0.376812 | 0.405797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173469 | 98 | 7 | 35 | 14 | 0.851852 | 0 | 0 | 0.5 | 0 | 0 | 0.40404 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 |
d697db7621b1001827d5a730d2fa4e0b7aaf6c9f | 9,790 | py | Python | boa3_test/tests/compiler_tests/test_python_operation.py | DanPopa46/neo3-boa | e4ef340744b5bd25ade26f847eac50789b97f3e9 | [
"Apache-2.0"
] | null | null | null | boa3_test/tests/compiler_tests/test_python_operation.py | DanPopa46/neo3-boa | e4ef340744b5bd25ade26f847eac50789b97f3e9 | [
"Apache-2.0"
] | null | null | null | boa3_test/tests/compiler_tests/test_python_operation.py | DanPopa46/neo3-boa | e4ef340744b5bd25ade26f847eac50789b97f3e9 | [
"Apache-2.0"
] | null | null | null | from boa3.exception.CompilerError import MismatchedTypes
from boa3_test.tests.boa_test import BoaTest
from boa3_test.tests.test_classes.testengine import TestEngine
class TestPythonOperation(BoaTest):
default_folder: str = 'test_sc/python_operation_test'
def test_in_str(self):
path = self.get_contra... | 40.288066 | 85 | 0.610827 | 1,386 | 9,790 | 4.140693 | 0.058442 | 0.022304 | 0.097404 | 0.134867 | 0.890922 | 0.875065 | 0.860603 | 0.860603 | 0.759714 | 0.676076 | 0 | 0.060955 | 0.227477 | 9,790 | 242 | 86 | 40.454545 | 0.697871 | 0 | 0 | 0.454023 | 0 | 0 | 0.085495 | 0.021757 | 0 | 0 | 0 | 0 | 0.275862 | 1 | 0.126437 | false | 0 | 0.017241 | 0 | 0.155172 | 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 |
d697e37b78caa74127b345829585f93972d0cc4a | 6,054 | py | Python | model_utils/model.py | phecda-xu/FullyCNNSpeechEnhancement | 77ff39c87263a7303f3e1d4f879a728e91b574d5 | [
"Apache-2.0"
] | 3 | 2020-06-21T11:40:44.000Z | 2021-04-20T01:43:54.000Z | model_utils/model.py | phecda-xu/FullyCNNSpeechEnhancement | 77ff39c87263a7303f3e1d4f879a728e91b574d5 | [
"Apache-2.0"
] | 1 | 2021-01-16T08:29:22.000Z | 2021-01-23T11:26:32.000Z | model_utils/model.py | phecda-xu/FullyCNNSpeechEnhancement | 77ff39c87263a7303f3e1d4f879a728e91b574d5 | [
"Apache-2.0"
] | 2 | 2020-12-25T07:08:36.000Z | 2021-03-18T12:25:29.000Z | # coding: utf-8
from model_utils.module import *
class FullyCNNSEModel(object):
def __init__(self, is_training):
self.is_training = is_training
def encode(self, x):
self.encode_1 = conv_bn_relu(x, 12, kernel_size=(8, 13), stride=(1, 1), is_training=self.is_training, scope="encode_1")
... | 62.412371 | 146 | 0.671292 | 1,011 | 6,054 | 3.695351 | 0.07913 | 0.18469 | 0.134904 | 0.141328 | 0.872323 | 0.812902 | 0.787741 | 0.780782 | 0.765792 | 0.748394 | 0 | 0.057766 | 0.182194 | 6,054 | 96 | 147 | 63.0625 | 0.696829 | 0.002147 | 0 | 0.298701 | 0 | 0 | 0.044047 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.168831 | false | 0 | 0.012987 | 0 | 0.350649 | 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 |
d6b3dc141d74447c14db182ff05558c7feda58fb | 108 | py | Python | onapi/athletics/__init__.py | Lugal-PCZ/bbapi-toolkit | 7e0ef7b1843d8aad4ac31f21872a69655f6167f3 | [
"MIT"
] | 4 | 2019-12-13T13:34:17.000Z | 2022-03-28T20:17:41.000Z | onapi/athletics/__init__.py | Lugal-PCZ/bbapi-toolkit | 7e0ef7b1843d8aad4ac31f21872a69655f6167f3 | [
"MIT"
] | 1 | 2019-08-20T16:30:39.000Z | 2019-09-23T16:32:12.000Z | onapi/athletics/__init__.py | Lugal-PCZ/bbapi-toolkit | 7e0ef7b1843d8aad4ac31f21872a69655f6167f3 | [
"MIT"
] | null | null | null | from . import location
from . import opponent
from . import schedule
from . import sport
from . import team
| 18 | 22 | 0.768519 | 15 | 108 | 5.533333 | 0.466667 | 0.60241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 108 | 5 | 23 | 21.6 | 0.943182 | 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 |
d6d42d7f575cfbffb4cf8bb83f4ca997749a1d07 | 153 | py | Python | src/__init__.py | Thrimbda/Thrive-Compiler | dcbdacd129909f385d030312cd83b1dfb66e74b1 | [
"MIT"
] | null | null | null | src/__init__.py | Thrimbda/Thrive-Compiler | dcbdacd129909f385d030312cd83b1dfb66e74b1 | [
"MIT"
] | null | null | null | src/__init__.py | Thrimbda/Thrive-Compiler | dcbdacd129909f385d030312cd83b1dfb66e74b1 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# @Author: Macsnow
# @Date: 2017-04-13 00:42:20
# @Last Modified by: Macsnow
# @Last Modified time: 2017-04-13 00:42:21
| 25.5 | 43 | 0.601307 | 25 | 153 | 3.68 | 0.68 | 0.130435 | 0.173913 | 0.217391 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0.239669 | 0.20915 | 153 | 5 | 44 | 30.6 | 0.520661 | 0.895425 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
baad871a451d013f7c3a447ea57f989f8cc6edd7 | 1,380 | py | Python | QAS/Patient/serializers.py | jinimp/QAS | e2417e3ddde98e763d3a9ab7e147a82222d9080f | [
"MIT"
] | null | null | null | QAS/Patient/serializers.py | jinimp/QAS | e2417e3ddde98e763d3a9ab7e147a82222d9080f | [
"MIT"
] | null | null | null | QAS/Patient/serializers.py | jinimp/QAS | e2417e3ddde98e763d3a9ab7e147a82222d9080f | [
"MIT"
] | null | null | null | # !/usr/bin/env python3
# -*- encoding: utf-8 -*-
# @author: condi
# @file: serializers.py
# @time: 19-2-20 下午4:32
from rest_framework import serializers
from .models import Patient
class SCPatientSerializer(serializers.ModelSerializer):
"""查增"""
report_time = serializers.DateTimeField(format='%Y-%m-%d %H:%M... | 29.361702 | 87 | 0.593478 | 165 | 1,380 | 4.860606 | 0.406061 | 0.049875 | 0.139651 | 0.169576 | 0.713217 | 0.713217 | 0.713217 | 0.713217 | 0.713217 | 0.713217 | 0 | 0.019212 | 0.245652 | 1,380 | 46 | 88 | 30 | 0.751201 | 0.087681 | 0 | 0.692308 | 0 | 0 | 0.15235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.076923 | 0 | 0.538462 | 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 |
bab7fb96a8c7527f1bc69fdcb3a624160b4e6769 | 63 | py | Python | tests/__init__.py | lukaszb/humanize | cd00a150e48b77d38e1b2a696a02c092b5767ee0 | [
"MIT"
] | 1 | 2017-10-11T03:02:36.000Z | 2017-10-11T03:02:36.000Z | tests/__init__.py | lukaszb/humanize | cd00a150e48b77d38e1b2a696a02c092b5767ee0 | [
"MIT"
] | null | null | null | tests/__init__.py | lukaszb/humanize | cd00a150e48b77d38e1b2a696a02c092b5767ee0 | [
"MIT"
] | null | null | null | from time import *
from number import *
from filesize import *
| 15.75 | 22 | 0.761905 | 9 | 63 | 5.333333 | 0.555556 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 63 | 3 | 23 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bacd706f00aa31d69142d8ff876de3f66db1f6e4 | 440,542 | py | Python | logistic_regression_pipeline.py | malwash/Simulation_Calibration | fd0ebd54e78694aa0d256d3837fa67642a35c54b | [
"Apache-2.0"
] | null | null | null | logistic_regression_pipeline.py | malwash/Simulation_Calibration | fd0ebd54e78694aa0d256d3837fa67642a35c54b | [
"Apache-2.0"
] | null | null | null | logistic_regression_pipeline.py | malwash/Simulation_Calibration | fd0ebd54e78694aa0d256d3837fa67642a35c54b | [
"Apache-2.0"
] | null | null | null | import random
#1 - compact dictionary into a dict or dict 414-436 homer simpson
#3 - Compact a single execution of a pipeline into a class 445-764
from sklearn.linear_model import LogisticRegression
from sklearn.ensemble import RandomForestClassifier
from sklearn.metrics import mean_absolute_error
from sklearn.metric... | 104.418583 | 18,922 | 0.681068 | 55,255 | 440,542 | 4.962338 | 0.006823 | 0.153833 | 0.068973 | 0.021138 | 0.982815 | 0.972377 | 0.941735 | 0.743977 | 0.603266 | 0.511609 | 0 | 0.014729 | 0.193686 | 440,542 | 4,218 | 18,923 | 104.443338 | 0.757181 | 0.13356 | 0 | 0.19639 | 0 | 0 | 0.206952 | 0.002612 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001915 | false | 0 | 0.022429 | 0 | 0.024617 | 0.003829 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
baf753f06ad3c6f961914a82b698ca4f45e00a5a | 104 | py | Python | backend/app/crud/__init__.py | djangbahevans/peg-case-study | a0559f86e91ab7caff1cd730d580fa61625306ce | [
"MIT"
] | 2 | 2022-03-27T17:19:09.000Z | 2022-03-27T17:21:02.000Z | backend/app/crud/__init__.py | djangbahevans/peg-case-study | a0559f86e91ab7caff1cd730d580fa61625306ce | [
"MIT"
] | null | null | null | backend/app/crud/__init__.py | djangbahevans/peg-case-study | a0559f86e91ab7caff1cd730d580fa61625306ce | [
"MIT"
] | null | null | null | from .crud_user import user
from .crud_reservation import reservation
from .crud_payment import payment
| 26 | 41 | 0.855769 | 15 | 104 | 5.733333 | 0.4 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 104 | 3 | 42 | 34.666667 | 0.934783 | 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 |
2439c8397d30c77696d22aeda814112b93823892 | 107 | py | Python | models/__init__.py | Shashank-Holla/motleyNet | 05a8c758f650a90f5f53e51bb89909fdc1b735f4 | [
"MIT"
] | null | null | null | models/__init__.py | Shashank-Holla/motleyNet | 05a8c758f650a90f5f53e51bb89909fdc1b735f4 | [
"MIT"
] | null | null | null | models/__init__.py | Shashank-Holla/motleyNet | 05a8c758f650a90f5f53e51bb89909fdc1b735f4 | [
"MIT"
] | null | null | null | from .cifar_model import *
from .mnist_model import *
from .resnet import *
from .custom_resnet import * | 26.75 | 28 | 0.757009 | 15 | 107 | 5.2 | 0.466667 | 0.384615 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168224 | 107 | 4 | 28 | 26.75 | 0.876404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
24503550d22d89067f22e17b6ceb87a6522f464b | 156 | py | Python | sortingComplexity/__main__.py | kenburke/sortingAlgorithms | cfc7835c5fc0df6a3836d9d12f1071776ee3c472 | [
"Apache-2.0"
] | null | null | null | sortingComplexity/__main__.py | kenburke/sortingAlgorithms | cfc7835c5fc0df6a3836d9d12f1071776ee3c472 | [
"Apache-2.0"
] | null | null | null | sortingComplexity/__main__.py | kenburke/sortingAlgorithms | cfc7835c5fc0df6a3836d9d12f1071776ee3c472 | [
"Apache-2.0"
] | null | null | null | # this file is only called when the package is called from the command
# line
from .run import basic_test, complexity_test
basic_test()
complexity_test()
| 19.5 | 70 | 0.788462 | 25 | 156 | 4.76 | 0.64 | 0.151261 | 0.319328 | 0.386555 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160256 | 156 | 7 | 71 | 22.285714 | 0.908397 | 0.467949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
24641be835070ae1f0cb45af5dec30f3d1aef27c | 16,790 | py | Python | commands3.py | ShravanPY/pybot-timmy | 2df9c53979c726a3b9b5768cdec53e90d5c5b624 | [
"BSD-3-Clause"
] | null | null | null | commands3.py | ShravanPY/pybot-timmy | 2df9c53979c726a3b9b5768cdec53e90d5c5b624 | [
"BSD-3-Clause"
] | null | null | null | commands3.py | ShravanPY/pybot-timmy | 2df9c53979c726a3b9b5768cdec53e90d5c5b624 | [
"BSD-3-Clause"
] | null | null | null | import discord
from discord.ext import commands
import asyncio
import time
class ModerationCommands(commands.Cog):
def __init__(self, client):
self.client = client
self.spamDetect[guild.id] = True
# Anti-Spam detection (beta)
@client.event
async def on_message(message):
... | 58.501742 | 169 | 0.552055 | 1,868 | 16,790 | 4.883833 | 0.093683 | 0.034199 | 0.055574 | 0.072673 | 0.860682 | 0.832511 | 0.814644 | 0.808506 | 0.803025 | 0.783295 | 0 | 0.000629 | 0.337641 | 16,790 | 286 | 170 | 58.706294 | 0.81971 | 0.009589 | 0 | 0.671756 | 0 | 0 | 0.097353 | 0.001564 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007634 | false | 0 | 0.015267 | 0 | 0.030534 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.