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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0f3658ef326902c5347a0f758c47e22adbd01c01 | 128 | py | Python | src/pytree/binarytree/node/__init__.py | RESPULTE/PyTree | fea511d1414f536a1a523b8b01645ae763083027 | [
"MIT"
] | null | null | null | src/pytree/binarytree/node/__init__.py | RESPULTE/PyTree | fea511d1414f536a1a523b8b01645ae763083027 | [
"MIT"
] | null | null | null | src/pytree/binarytree/node/__init__.py | RESPULTE/PyTree | fea511d1414f536a1a523b8b01645ae763083027 | [
"MIT"
] | null | null | null | from .rbt_node import RBT_Node
from .splay_node import Splay_Node
from .avl_node import AVL_Node
from .bst_node import BST_Node
| 25.6 | 34 | 0.84375 | 24 | 128 | 4.166667 | 0.291667 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 128 | 4 | 35 | 32 | 0.892857 | 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 |
0f38c4bca4a03270776e43d257c76c0ff64f7d61 | 2,628 | py | Python | test/Base/test_base.py | rustam-azimov/CFPQ_PyAlgo | 1f40c300a2dfeded5297ca48d0ddde26cfa8887c | [
"Apache-2.0"
] | 11 | 2020-08-16T15:29:32.000Z | 2022-01-26T12:45:39.000Z | test/Base/test_base.py | rustam-azimov/CFPQ_PyAlgo | 1f40c300a2dfeded5297ca48d0ddde26cfa8887c | [
"Apache-2.0"
] | 4 | 2021-02-10T13:35:54.000Z | 2021-06-04T07:14:32.000Z | test/Base/test_base.py | rustam-azimov/CFPQ_PyAlgo | 1f40c300a2dfeded5297ca48d0ddde26cfa8887c | [
"Apache-2.0"
] | 3 | 2021-02-23T16:08:38.000Z | 2021-12-10T12:47:06.000Z | import pytest
from cfpq_data import cfg_from_txt
from src.graph.graph import Graph
from src.problems.Base.Base import BaseProblem
from src.utils.useful_paths import LOCAL_CFPQ_DATA
from src.problems.utils import ResultAlgo
@pytest.mark.CI
def test_binary_tree(algo):
test_data_path = LOCAL_CFPQ_DATA.joinpath('bi... | 32.444444 | 73 | 0.743151 | 391 | 2,628 | 4.703325 | 0.12532 | 0.078303 | 0.117455 | 0.097879 | 0.854812 | 0.813486 | 0.78956 | 0.78956 | 0.709081 | 0.665579 | 0 | 0.006631 | 0.139269 | 2,628 | 80 | 74 | 32.85 | 0.806366 | 0 | 0 | 0.6 | 0 | 0 | 0.090183 | 0 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.2 | 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 |
7e46a1228d30bac81a6359b793082174c76af16a | 5,029 | py | Python | optimization/utility/layers.py | langestefan/5LIL0_lab1_keyword | 395d8ba1c44f35883b8127f2c37b1efceb15e50d | [
"MIT"
] | null | null | null | optimization/utility/layers.py | langestefan/5LIL0_lab1_keyword | 395d8ba1c44f35883b8127f2c37b1efceb15e50d | [
"MIT"
] | null | null | null | optimization/utility/layers.py | langestefan/5LIL0_lab1_keyword | 395d8ba1c44f35883b8127f2c37b1efceb15e50d | [
"MIT"
] | null | null | null | import os
import sys
import math
import torch
import torch.nn as nn
import torch.nn.functional as F
from .quantizers import quantize, wraparound, masking
class QConv2d(nn.Conv2d):
"""
QConv2d simulates the reduced-precision forward pass of nn.Conv2d by quantizing
inputs, weights and outputs. Also the wei... | 48.355769 | 105 | 0.635514 | 642 | 5,029 | 4.70405 | 0.179128 | 0.046358 | 0.050993 | 0.031788 | 0.868874 | 0.856291 | 0.843709 | 0.82053 | 0.792053 | 0.792053 | 0 | 0.0045 | 0.248757 | 5,029 | 103 | 106 | 48.825243 | 0.794865 | 0.145158 | 0 | 0.647059 | 0 | 0 | 0.137125 | 0.02431 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088235 | false | 0 | 0.102941 | 0 | 0.279412 | 0.029412 | 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 |
7e76e9d3dc6b59e077db6dcfbb944b1e10c21aa0 | 2,435 | py | Python | electric_slide/scripts/algorithm.py | markreynoso/electric_slide | 90c34ac4a6f16e9b7eb6fa2ad1112226dcf4769b | [
"MIT"
] | null | null | null | electric_slide/scripts/algorithm.py | markreynoso/electric_slide | 90c34ac4a6f16e9b7eb6fa2ad1112226dcf4769b | [
"MIT"
] | 14 | 2017-11-11T02:04:17.000Z | 2020-01-06T18:51:47.000Z | electric_slide/scripts/algorithm.py | markreynoso/electric_slide | 90c34ac4a6f16e9b7eb6fa2ad1112226dcf4769b | [
"MIT"
] | 1 | 2020-09-06T13:57:25.000Z | 2020-09-06T13:57:25.000Z | """Algorithms for the AI of solving a sliding puzzle."""
from electric_slide.scripts.priority_q import Node, PriorityQ
def manhattan_distance(board_state, size=3):
"""Sum up the manhattan distance of all numbers in the board."""
diff = 0
for y in range(size):
for x in range(size):
idx... | 37.461538 | 72 | 0.603696 | 305 | 2,435 | 4.747541 | 0.285246 | 0.046961 | 0.058011 | 0.044199 | 0.776243 | 0.776243 | 0.716851 | 0.716851 | 0.716851 | 0.716851 | 0 | 0.002347 | 0.300205 | 2,435 | 64 | 73 | 38.046875 | 0.847418 | 0.172074 | 0 | 0.723404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06383 | false | 0 | 0.021277 | 0 | 0.148936 | 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 |
7e87832ca4666495527f5e3d6fefde9aafc8f940 | 66 | py | Python | Inheritance/Exercises/02. zoo/project/snake.py | geodimitrov/PythonOOP_SoftUni | f1c6718c878b618b3ab3f174cd4d187bd178940b | [
"MIT"
] | 1 | 2021-06-30T11:53:44.000Z | 2021-06-30T11:53:44.000Z | Inheritance/Exercises/02. zoo/project/snake.py | geodimitrov/PythonOOP_SoftUni | f1c6718c878b618b3ab3f174cd4d187bd178940b | [
"MIT"
] | null | null | null | Inheritance/Exercises/02. zoo/project/snake.py | geodimitrov/PythonOOP_SoftUni | f1c6718c878b618b3ab3f174cd4d187bd178940b | [
"MIT"
] | null | null | null | from project.reptile import Reptile
class Snake(Reptile):
pass | 22 | 35 | 0.787879 | 9 | 66 | 5.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 66 | 3 | 36 | 22 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
0e44449338cf3ff3bb3d124ef22c8f7bbca760a5 | 19 | py | Python | tests/mod_ext2/__init__.py | fossabot/extendable | c01f8ffa452df6ce5222244e76f9a6615b7dfc0b | [
"MIT"
] | 137 | 2017-06-08T07:58:53.000Z | 2022-01-20T06:29:51.000Z | src/extractor/__init__.py | WhiteRobe/iscopy | 41b660dda2765db96e3ae19864610f9773e5eadf | [
"MIT"
] | 27 | 2021-02-05T20:56:05.000Z | 2022-03-07T04:11:57.000Z | src/extractor/__init__.py | WhiteRobe/iscopy | 41b660dda2765db96e3ae19864610f9773e5eadf | [
"MIT"
] | 24 | 2017-10-12T03:25:00.000Z | 2022-01-20T06:29:58.000Z | from . import base
| 9.5 | 18 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0e8a7823a31dc54a79b7c4f7e93d976a20c6655b | 9,976 | py | Python | PythonLearn/opencv/findcontours.py | OKKyu/PythonLearn | 48dc4cc2a1a34d99b09f8d37a5566d448dcf987c | [
"MIT"
] | null | null | null | PythonLearn/opencv/findcontours.py | OKKyu/PythonLearn | 48dc4cc2a1a34d99b09f8d37a5566d448dcf987c | [
"MIT"
] | null | null | null | PythonLearn/opencv/findcontours.py | OKKyu/PythonLearn | 48dc4cc2a1a34d99b09f8d37a5566d448dcf987c | [
"MIT"
] | null | null | null | #! python3
# -*- coding:utf-8 -*-
import cv2
import sys, traceback
import numpy as np
import matplotlib.pyplot as plt
def findContours(imgName, drawMode, minArea):
try:
img = cv2.imread(imgName,cv2.IMREAD_COLOR)
if img is None:
print("no file reading...")
sys.exit(... | 36.408759 | 98 | 0.556034 | 1,221 | 9,976 | 4.469287 | 0.134316 | 0.030786 | 0.076965 | 0.032985 | 0.790178 | 0.761591 | 0.761591 | 0.743999 | 0.743999 | 0.730804 | 0 | 0.078855 | 0.313553 | 9,976 | 273 | 99 | 36.542125 | 0.71802 | 0.071872 | 0 | 0.767196 | 0 | 0 | 0.045892 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031746 | false | 0 | 0.021164 | 0 | 0.05291 | 0.132275 | 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 |
7ec368e9537b26ecd3b5d610321b400312fc1097 | 22 | py | Python | dag_executor/Step/__init__.py | GennadiiTurutin/dag_executor | ddc7eab1e0e98753309e245247ac00e465e52ec1 | [
"MIT"
] | null | null | null | dag_executor/Step/__init__.py | GennadiiTurutin/dag_executor | ddc7eab1e0e98753309e245247ac00e465e52ec1 | [
"MIT"
] | null | null | null | dag_executor/Step/__init__.py | GennadiiTurutin/dag_executor | ddc7eab1e0e98753309e245247ac00e465e52ec1 | [
"MIT"
] | null | null | null | from .step import Step | 22 | 22 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 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 |
7ef2137eda770d8fbe72cf7150d091a786f54dd4 | 1,445 | py | Python | 2017/day05.py | gcalmettes/AdventOfCode2017 | 374347c981b603981b7d0b21dad3fc594b126c82 | [
"MIT"
] | 1 | 2021-12-12T22:59:49.000Z | 2021-12-12T22:59:49.000Z | 2017/day05.py | gcalmettes/AdventOfCode2017 | 374347c981b603981b7d0b21dad3fc594b126c82 | [
"MIT"
] | null | null | null | 2017/day05.py | gcalmettes/AdventOfCode2017 | 374347c981b603981b7d0b21dad3fc594b126c82 | [
"MIT"
] | 1 | 2019-12-03T05:37:49.000Z | 2019-12-03T05:37:49.000Z | """
http://adventofcode.com/2017/day/5
"""
def escapeMaze(numList):
count = 1
instructions = numList[:]
currentPos = 0
currentJump = instructions[currentPos]
nextPos = currentPos+currentJump
while ((currentPos>=0) & (currentPos<len(numList))):
instructions[currentPos]+=1 #update jump ... | 25.803571 | 80 | 0.619377 | 148 | 1,445 | 5.986486 | 0.344595 | 0.074492 | 0.148984 | 0.180587 | 0.717833 | 0.717833 | 0.717833 | 0.717833 | 0.717833 | 0.717833 | 0 | 0.024645 | 0.269896 | 1,445 | 55 | 81 | 26.272727 | 0.815166 | 0.110727 | 0 | 0.666667 | 0 | 0 | 0.018883 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051282 | false | 0 | 0 | 0 | 0.102564 | 0.051282 | 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 |
7d2ef170359ccd2d83638d183234b1e8ae50eb54 | 198 | py | Python | src/optimizers.py | krypto-i9/static-asl-interpreter | 4cfbb92627757273cc0fd6456410a21bee8c1e80 | [
"BSD-3-Clause"
] | null | null | null | src/optimizers.py | krypto-i9/static-asl-interpreter | 4cfbb92627757273cc0fd6456410a21bee8c1e80 | [
"BSD-3-Clause"
] | null | null | null | src/optimizers.py | krypto-i9/static-asl-interpreter | 4cfbb92627757273cc0fd6456410a21bee8c1e80 | [
"BSD-3-Clause"
] | null | null | null | import torch.optim as optim
class Optimizer:
def adamW(net, LR):
return optim.AdamW(net.parameters(), lr=LR)
def adam(net, LR):
return optim.Adam(net.parameters(), lr=LR)
| 19.8 | 51 | 0.641414 | 29 | 198 | 4.37931 | 0.448276 | 0.125984 | 0.173228 | 0.251969 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 198 | 9 | 52 | 22 | 0.830065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7d388ac4381ddd05a8fb406efaadf6388d5f7618 | 179 | py | Python | complexnet/__init__.py | chuanjiangcui/urus-mri-recon | 120f8fe000b9c39318dbdede91494a6b42a5edc3 | [
"MIT"
] | 15 | 2020-04-08T07:00:31.000Z | 2021-12-08T12:01:29.000Z | complexnet/__init__.py | chuanjiangcui/urus-mri-recon | 120f8fe000b9c39318dbdede91494a6b42a5edc3 | [
"MIT"
] | null | null | null | complexnet/__init__.py | chuanjiangcui/urus-mri-recon | 120f8fe000b9c39318dbdede91494a6b42a5edc3 | [
"MIT"
] | 7 | 2020-01-14T02:18:51.000Z | 2021-10-16T14:26:51.000Z | from .cmplxconv import *
from .cmplxdropout import *
from .cmplxfc import *
from .cmplxmodrelu import *
from .cmplxupsample import *
from .radialbn2 import *
from .zrelu import *
| 22.375 | 28 | 0.765363 | 21 | 179 | 6.52381 | 0.428571 | 0.437956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006623 | 0.156425 | 179 | 7 | 29 | 25.571429 | 0.900662 | 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 |
add11e41faeb057e52f3f2a4a87b144a35d78788 | 5,445 | py | Python | tests/test_keys.py | paulskinau/python-xmlsec | 73f74466495969a50ceb1266cef1cc55c8cefe89 | [
"MIT"
] | null | null | null | tests/test_keys.py | paulskinau/python-xmlsec | 73f74466495969a50ceb1266cef1cc55c8cefe89 | [
"MIT"
] | null | null | null | tests/test_keys.py | paulskinau/python-xmlsec | 73f74466495969a50ceb1266cef1cc55c8cefe89 | [
"MIT"
] | 1 | 2020-01-22T12:37:56.000Z | 2020-01-22T12:37:56.000Z | from tests import base
import copy
import xmlsec
consts = xmlsec.constants
class TestKeys(base.TestMemoryLeaks):
def test_key_from_memory(self):
key = xmlsec.Key.from_memory(self.load("rsakey.pem"), format=consts.KeyDataFormatPem)
self.assertIsNotNone(key)
def test_key_from_memory_with_ba... | 40.333333 | 124 | 0.695133 | 700 | 5,445 | 5.181429 | 0.088571 | 0.050179 | 0.075269 | 0.162393 | 0.848084 | 0.809209 | 0.714916 | 0.669699 | 0.653984 | 0.612903 | 0 | 0.002926 | 0.184022 | 5,445 | 134 | 125 | 40.634328 | 0.813414 | 0 | 0 | 0.436893 | 0 | 0 | 0.046281 | 0 | 0 | 0 | 0 | 0 | 0.23301 | 1 | 0.242718 | false | 0 | 0.029126 | 0 | 0.291262 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 6 |
bc36742cc2b9937c14f5192d9caa87c5dc94e7b8 | 47 | py | Python | components/wifi_provisioning/python/security/__init__.py | chenqy2018/esp-va-sdk | 2196a16586ded4186161fefba2113b6cacf7eaf7 | [
"MIT-0"
] | null | null | null | components/wifi_provisioning/python/security/__init__.py | chenqy2018/esp-va-sdk | 2196a16586ded4186161fefba2113b6cacf7eaf7 | [
"MIT-0"
] | null | null | null | components/wifi_provisioning/python/security/__init__.py | chenqy2018/esp-va-sdk | 2196a16586ded4186161fefba2113b6cacf7eaf7 | [
"MIT-0"
] | null | null | null | from security1 import*
from security0 import*
| 11.75 | 22 | 0.808511 | 6 | 47 | 6.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.148936 | 47 | 3 | 23 | 15.666667 | 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 |
bc374a288c5ea00dcd7d8cec0773aa960caa84b9 | 49 | py | Python | movieknight/models/__init__.py | nfearnley/MovieKnight | cc88050b03c1e759580e3ded3c27e3efbf4925e2 | [
"MIT"
] | null | null | null | movieknight/models/__init__.py | nfearnley/MovieKnight | cc88050b03c1e759580e3ded3c27e3efbf4925e2 | [
"MIT"
] | null | null | null | movieknight/models/__init__.py | nfearnley/MovieKnight | cc88050b03c1e759580e3ded3c27e3efbf4925e2 | [
"MIT"
] | null | null | null | from .base import Base
from .movies import Movie
| 16.333333 | 25 | 0.795918 | 8 | 49 | 4.875 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 26 | 24.5 | 0.95122 | 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 |
70b9974d571374d6c2afa99505427daa8bece968 | 34 | py | Python | CrashCourse/cOOP/hellom/some_file.py | atabaksahraei/Python-for-Developer | 6972b7c9a500312ce6a359817feb5f8461391078 | [
"MIT"
] | null | null | null | CrashCourse/cOOP/hellom/some_file.py | atabaksahraei/Python-for-Developer | 6972b7c9a500312ce6a359817feb5f8461391078 | [
"MIT"
] | null | null | null | CrashCourse/cOOP/hellom/some_file.py | atabaksahraei/Python-for-Developer | 6972b7c9a500312ce6a359817feb5f8461391078 | [
"MIT"
] | null | null | null | def f():
print("Function f()") | 17 | 25 | 0.529412 | 5 | 34 | 3.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 34 | 2 | 25 | 17 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.342857 | 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 |
cb3294d55ab8fbc69ce8a5e0e842d89f85e36e54 | 37 | py | Python | EditSQL/error_detector.py | Deliangus/MISP | 8632b5ea120f8385825a08eb930232d3ea74c426 | [
"MIT"
] | 54 | 2019-10-07T03:36:25.000Z | 2021-12-27T02:11:11.000Z | EditSQL/error_detector.py | Deliangus/MISP | 8632b5ea120f8385825a08eb930232d3ea74c426 | [
"MIT"
] | 1 | 2021-08-13T07:48:15.000Z | 2021-08-31T01:30:12.000Z | EditSQL/error_detector.py | Deliangus/MISP | 8632b5ea120f8385825a08eb930232d3ea74c426 | [
"MIT"
] | 4 | 2020-01-29T17:38:28.000Z | 2021-12-10T19:09:37.000Z | from MISP_SQL.error_detector import * | 37 | 37 | 0.864865 | 6 | 37 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cb3b7bae2cca4101addd6ae05591bf5c287803ae | 191 | py | Python | tests/net/hostname.py | dem4ply/chibi | 1f13db8200e8e60bbb839436d4c995d6b6220957 | [
"WTFPL"
] | null | null | null | tests/net/hostname.py | dem4ply/chibi | 1f13db8200e8e60bbb839436d4c995d6b6220957 | [
"WTFPL"
] | null | null | null | tests/net/hostname.py | dem4ply/chibi | 1f13db8200e8e60bbb839436d4c995d6b6220957 | [
"WTFPL"
] | null | null | null | from unittest import TestCase
from chibi.net.hostname import get_hostname
class Test_get_hostname( TestCase ):
def test_get_hostname( self ):
self.assertTrue( get_hostname() )
| 21.222222 | 43 | 0.753927 | 25 | 191 | 5.52 | 0.52 | 0.318841 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17801 | 191 | 8 | 44 | 23.875 | 0.878981 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cb3e5a12fe5c42944b24233700cbdb1bc282e359 | 37,349 | py | Python | scripts/feature_ablation_study.py | rpo19/BLINK | a9b62d08aa3ce4958e9bec62888c67c4eee18533 | [
"MIT"
] | null | null | null | scripts/feature_ablation_study.py | rpo19/BLINK | a9b62d08aa3ce4958e9bec62888c67c4eee18533 | [
"MIT"
] | null | null | null | scripts/feature_ablation_study.py | rpo19/BLINK | a9b62d08aa3ce4958e9bec62888c67c4eee18533 | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
from sklearn.preprocessing import StandardScaler
from sklearn.linear_model import LogisticRegression
from sklearn.model_selection import train_test_split
from sklearn.pipeline import make_pipeline
from sklearn.metrics import f1_score
import pickle
from sklearn.metrics import cla... | 33.708484 | 213 | 0.52909 | 4,221 | 37,349 | 4.222459 | 0.057569 | 0.058127 | 0.046962 | 0.052236 | 0.8475 | 0.820513 | 0.793357 | 0.767323 | 0.741794 | 0.695169 | 0 | 0.026896 | 0.338001 | 37,349 | 1,108 | 214 | 33.708484 | 0.693953 | 0.031139 | 0 | 0.632056 | 0 | 0.004032 | 0.39293 | 0.060621 | 0 | 0 | 0 | 0.000903 | 0 | 1 | 0.001008 | false | 0.001008 | 0.013105 | 0 | 0.014113 | 0.042339 | 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 |
cb615634591b320aff95a2e6ed6041e1dcb67015 | 30 | py | Python | src/pycalc/__init__.py | Tigxy/PyCalc | 7ab71a8d249d3afd864b88809ab6ab62c4b23433 | [
"MIT"
] | null | null | null | src/pycalc/__init__.py | Tigxy/PyCalc | 7ab71a8d249d3afd864b88809ab6ab62c4b23433 | [
"MIT"
] | null | null | null | src/pycalc/__init__.py | Tigxy/PyCalc | 7ab71a8d249d3afd864b88809ab6ab62c4b23433 | [
"MIT"
] | null | null | null | from .calculator import solve
| 15 | 29 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cb7e21bfc5129d64c7519f807b219b82ff3890bc | 102 | py | Python | pbrl/competitive/__init__.py | jjccero/rliccd | 748bf92a1d9e401172a0d9c435ea75a8e37c6538 | [
"MIT"
] | null | null | null | pbrl/competitive/__init__.py | jjccero/rliccd | 748bf92a1d9e401172a0d9c435ea75a8e37c6538 | [
"MIT"
] | null | null | null | pbrl/competitive/__init__.py | jjccero/rliccd | 748bf92a1d9e401172a0d9c435ea75a8e37c6538 | [
"MIT"
] | 1 | 2021-10-12T12:43:58.000Z | 2021-10-12T12:43:58.000Z | from pbrl.competitive.pbt import CompetitivePBT
from pbrl.competitive.runner import CompetitiveRunner
| 34 | 53 | 0.882353 | 12 | 102 | 7.5 | 0.666667 | 0.177778 | 0.422222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 102 | 2 | 54 | 51 | 0.957447 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cb97bc74be98498be7ac86c52f9401ec9855c145 | 112 | py | Python | python/gigasecond/gigasecond.py | Victor-Chinewubeze/algorithms-exercism | 34669348762eef69b68a2f43260ab10ac1c4eb2a | [
"MIT"
] | 1 | 2020-04-16T23:06:33.000Z | 2020-04-16T23:06:33.000Z | python/gigasecond/gigasecond.py | Victor-Chinewubeze/algorithms-exercism | 34669348762eef69b68a2f43260ab10ac1c4eb2a | [
"MIT"
] | 7 | 2021-05-08T11:46:15.000Z | 2021-05-10T19:31:11.000Z | python/gigasecond/gigasecond.py | Victor-Chinewubeze/algorithms-exercism | 34669348762eef69b68a2f43260ab10ac1c4eb2a | [
"MIT"
] | 1 | 2020-01-09T16:33:39.000Z | 2020-01-09T16:33:39.000Z | from datetime import datetime, timedelta
def add(moment):
return moment + timedelta(seconds = 1000000000)
| 18.666667 | 51 | 0.758929 | 13 | 112 | 6.538462 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107527 | 0.169643 | 112 | 5 | 52 | 22.4 | 0.806452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
1dc56470c9c49eef8392ccb12c51ff261a0603bc | 126 | py | Python | icbd/type_analyzer/tests/imports1.py | kmod/icbd | 9636564eb3993afa07c6220d589bbd1991923d74 | [
"MIT"
] | 7 | 2015-04-06T15:17:13.000Z | 2020-10-21T04:57:00.000Z | icbd/type_analyzer/tests/imports1.py | kmod/icbd | 9636564eb3993afa07c6220d589bbd1991923d74 | [
"MIT"
] | null | null | null | icbd/type_analyzer/tests/imports1.py | kmod/icbd | 9636564eb3993afa07c6220d589bbd1991923d74 | [
"MIT"
] | 4 | 2016-05-16T17:53:08.000Z | 2020-11-28T17:18:50.000Z | import import_test
import_test.a # e 0
import_test.b # 12 module 'b'
import_test.c # 12 module 'c'
import_test.dup # 12 int
| 15.75 | 29 | 0.730159 | 25 | 126 | 3.48 | 0.44 | 0.574713 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067308 | 0.174603 | 126 | 7 | 30 | 18 | 0.769231 | 0.301587 | 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 |
1df8718f96d0ca3b6b867f2d868d79a8c995ba6b | 205 | py | Python | main.py | mineshpatel1/wordle | 14f24adad80078c6caee7cab6920b642ca481e7c | [
"MIT"
] | null | null | null | main.py | mineshpatel1/wordle | 14f24adad80078c6caee7cab6920b642ca481e7c | [
"MIT"
] | null | null | null | main.py | mineshpatel1/wordle | 14f24adad80078c6caee7cab6920b642ca481e7c | [
"MIT"
] | null | null | null | import time
from utils import log
from web_drivers.nyt_web_driver import NYTWebDriver
from web_drivers.quordle_web_driver import QuordleWebDriver
if __name__ == '__main__':
QuordleWebDriver().play()
| 22.777778 | 59 | 0.819512 | 27 | 205 | 5.703704 | 0.592593 | 0.090909 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 205 | 8 | 60 | 25.625 | 0.855556 | 0 | 0 | 0 | 0 | 0 | 0.039024 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
381c695acdb2521c19baf4a4f777fdf5976dba96 | 94 | py | Python | autumn/plots/streamlit/__init__.py | malanchak/AuTuMN | 0cbd006d1f15da414d02eed44e48bb5c06f0802e | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | autumn/plots/streamlit/__init__.py | malanchak/AuTuMN | 0cbd006d1f15da414d02eed44e48bb5c06f0802e | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | autumn/plots/streamlit/__init__.py | malanchak/AuTuMN | 0cbd006d1f15da414d02eed44e48bb5c06f0802e | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | from .run_mcmc_plots import run_mcmc_plots
from .run_scenario_plots import run_scenario_plots
| 31.333333 | 50 | 0.893617 | 16 | 94 | 4.75 | 0.375 | 0.184211 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 94 | 2 | 51 | 47 | 0.883721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
69e01bf2e1b274002c1889f9ebba67740b23e011 | 219 | py | Python | test/data/__init__.py | davemarr621/interval_tree_1 | 1624413449e57b7fb5ae8a2de72d2fbd460f19e0 | [
"Apache-2.0"
] | 488 | 2015-01-12T18:43:32.000Z | 2022-03-30T02:19:50.000Z | test/data/__init__.py | davemarr621/interval_tree_1 | 1624413449e57b7fb5ae8a2de72d2fbd460f19e0 | [
"Apache-2.0"
] | 81 | 2015-01-01T03:13:38.000Z | 2022-03-21T22:45:16.000Z | test/data/__init__.py | davemarr621/interval_tree_1 | 1624413449e57b7fb5ae8a2de72d2fbd460f19e0 | [
"Apache-2.0"
] | 93 | 2015-03-09T15:45:30.000Z | 2022-03-05T07:27:02.000Z | from . import issue4
from . import issue4_result
from . import issue25_orig
from . import issue41_orig
from . import ivs0
from . import ivs1
from . import ivs1_float_copy_structure
from . import ivs2
from . import ivs3
| 21.9 | 39 | 0.794521 | 33 | 219 | 5.090909 | 0.424242 | 0.535714 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060109 | 0.164384 | 219 | 9 | 40 | 24.333333 | 0.857924 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0e15c25639b491a29344473ef417f628072d3f3b | 188 | py | Python | skeleton/blueprints/default/default.py | jrdiniz/flask-skeleton | 9d6c21d4089a0e07757647342c8d6dc55410a2f1 | [
"Apache-2.0"
] | 1 | 2020-04-25T03:44:36.000Z | 2020-04-25T03:44:36.000Z | skeleton/blueprints/default/default.py | jrdiniz/flask-skeleton | 9d6c21d4089a0e07757647342c8d6dc55410a2f1 | [
"Apache-2.0"
] | null | null | null | skeleton/blueprints/default/default.py | jrdiniz/flask-skeleton | 9d6c21d4089a0e07757647342c8d6dc55410a2f1 | [
"Apache-2.0"
] | null | null | null | from flask import render_template
from flask import current_app
def index():
current_app.logger.info('Logging message from blueprint default')
return render_template('index.html') | 31.333333 | 69 | 0.792553 | 26 | 188 | 5.576923 | 0.653846 | 0.124138 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132979 | 188 | 6 | 70 | 31.333333 | 0.889571 | 0 | 0 | 0 | 0 | 0 | 0.253968 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.8 | 0.2 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
389ebe19dd94fa68ef2e7515b19f60c15072cb88 | 172 | py | Python | checksit/rules/processors.py | cedadev/checksit | e2ef9c7287c2b3bf19cdad6c73ba0c368bb7bf60 | [
"BSD-3-Clause"
] | null | null | null | checksit/rules/processors.py | cedadev/checksit | e2ef9c7287c2b3bf19cdad6c73ba0c368bb7bf60 | [
"BSD-3-Clause"
] | 4 | 2022-03-31T22:36:01.000Z | 2022-03-31T22:41:24.000Z | checksit/rules/processors.py | cedadev/checksit | e2ef9c7287c2b3bf19cdad6c73ba0c368bb7bf60 | [
"BSD-3-Clause"
] | null | null | null | import os
def lowercase(value):
return value.lower()
def uppercase(value):
return value.upper()
def no_extension(value):
return os.path.splitext(value)[0] | 13.230769 | 37 | 0.697674 | 24 | 172 | 4.958333 | 0.583333 | 0.277311 | 0.268908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007092 | 0.180233 | 172 | 13 | 37 | 13.230769 | 0.836879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.428571 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
38a9d315033f1ff28d9d143724798764d52b7d63 | 167 | py | Python | vitlab/trainer/resnet/base.py | tor4z/ViTLab | 7e3d12df71f64a4376eef36e580882c7614f44ad | [
"MIT"
] | null | null | null | vitlab/trainer/resnet/base.py | tor4z/ViTLab | 7e3d12df71f64a4376eef36e580882c7614f44ad | [
"MIT"
] | null | null | null | vitlab/trainer/resnet/base.py | tor4z/ViTLab | 7e3d12df71f64a4376eef36e580882c7614f44ad | [
"MIT"
] | null | null | null | from ..base import BaseTrainer
class ResNetBaseTrainer(BaseTrainer):
def __init__(self, opt, device_id=None):
super().__init__(opt, device_id=device_id)
| 23.857143 | 50 | 0.736527 | 21 | 167 | 5.333333 | 0.666667 | 0.214286 | 0.196429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155689 | 167 | 6 | 51 | 27.833333 | 0.794326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
38ae7fd7611632279c027dab1eafdf35b2559414 | 424 | py | Python | bitmovin_api_sdk/encoding/configurations/audio/dolby_digital_plus/__init__.py | bitmovin/bitmovin-api-sdk-python | 5a85147669c84b8ca411cf2d4dbdddc92d85bbe7 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/configurations/audio/dolby_digital_plus/__init__.py | bitmovin/bitmovin-api-sdk-python | 5a85147669c84b8ca411cf2d4dbdddc92d85bbe7 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/configurations/audio/dolby_digital_plus/__init__.py | bitmovin/bitmovin-api-sdk-python | 5a85147669c84b8ca411cf2d4dbdddc92d85bbe7 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.configurations.audio.dolby_digital_plus.dolby_digital_plus_api import DolbyDigitalPlusApi
from bitmovin_api_sdk.encoding.configurations.audio.dolby_digital_plus.customdata.customdata_api import CustomdataApi
from bitmovin_api_sdk.encoding.configurations.audio.dolby_digital_plus.dolby_digi... | 106 | 184 | 0.933962 | 51 | 424 | 7.313725 | 0.372549 | 0.160858 | 0.214477 | 0.144772 | 0.576408 | 0.576408 | 0.576408 | 0.576408 | 0.576408 | 0.576408 | 0 | 0 | 0.028302 | 424 | 3 | 185 | 141.333333 | 0.90534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
38b66f0464504f6f9a7c17905d2954cc86a9411f | 3,549 | py | Python | tests/test_api/test_infra_downstream.py | mowangdk/huskar | 7692fbc5672a5ae6e2a33616c493466a7137f8cd | [
"MIT"
] | 59 | 2019-10-31T10:50:10.000Z | 2021-11-26T04:32:25.000Z | tests/test_api/test_infra_downstream.py | mowangdk/huskar | 7692fbc5672a5ae6e2a33616c493466a7137f8cd | [
"MIT"
] | 5 | 2019-10-31T10:37:30.000Z | 2020-03-02T06:45:46.000Z | tests/test_api/test_infra_downstream.py | mowangdk/huskar | 7692fbc5672a5ae6e2a33616c493466a7137f8cd | [
"MIT"
] | 9 | 2019-10-31T10:35:00.000Z | 2019-12-01T14:13:58.000Z | from __future__ import absolute_import
from huskar_api.models.infra import InfraDownstream
from ..utils import assert_response_ok
def test_get_infra_downstream(client, test_token):
InfraDownstream.bindmany() \
.bind('base.foo', 'redis', 'cache-1', 'idcs', 'alta1', 'url',
'redis.100010') \
... | 42.759036 | 79 | 0.625247 | 429 | 3,549 | 4.986014 | 0.130536 | 0.209444 | 0.143058 | 0.176718 | 0.85554 | 0.845722 | 0.779804 | 0.661057 | 0.604956 | 0.58345 | 0 | 0.038062 | 0.185686 | 3,549 | 82 | 80 | 43.280488 | 0.702076 | 0.005917 | 0 | 0.569444 | 0 | 0 | 0.343262 | 0.08227 | 0 | 0 | 0 | 0 | 0.513889 | 1 | 0.013889 | false | 0 | 0.041667 | 0 | 0.055556 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
38cd7c28ccbd20d03ddfd14ff358b1df1162784b | 26 | py | Python | services/ecp/__init__.py | thegreathippo/calamity | a58a42a7dd828159f5730c9b49aa474bce6ee51a | [
"MIT"
] | null | null | null | services/ecp/__init__.py | thegreathippo/calamity | a58a42a7dd828159f5730c9b49aa474bce6ee51a | [
"MIT"
] | null | null | null | services/ecp/__init__.py | thegreathippo/calamity | a58a42a7dd828159f5730c9b49aa474bce6ee51a | [
"MIT"
] | null | null | null | from .core import Cycle
| 6.5 | 23 | 0.730769 | 4 | 26 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 26 | 3 | 24 | 8.666667 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2a07c1166ba9f247be5c82c8448f45e09a57316b | 27 | py | Python | LPBv2/vision/__init__.py | TierynnB/LeaguePyBot | 2e96230b9dc24d185ddc0c6086d79f7d01e7a643 | [
"MIT"
] | 45 | 2020-11-28T04:45:45.000Z | 2022-03-31T05:53:37.000Z | LPBv2/vision/__init__.py | TierynnB/LeaguePyBot | 2e96230b9dc24d185ddc0c6086d79f7d01e7a643 | [
"MIT"
] | 13 | 2021-01-15T00:50:10.000Z | 2022-02-02T15:16:49.000Z | vision/__init__.py | JackGoldsworth/Vision | 084330bec340596167944b623bc7b8d7d9c26b01 | [
"MIT"
] | 14 | 2020-12-21T10:03:31.000Z | 2021-11-22T04:03:03.000Z | from .vision import Vision
| 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 |
2a4d905ab1b857b9a0e09f7299b54848c3f98f21 | 42 | py | Python | snowplow_tracker/celery/__init__.py | snowplow/snowplow-python-tracker | 67642d247cefc8019a3584e89ae9159cc09b4844 | [
"Apache-2.0"
] | 33 | 2015-02-07T12:25:32.000Z | 2022-03-08T14:54:51.000Z | snowplow_tracker/celery/__init__.py | snowplow/snowplow-python-tracker | 67642d247cefc8019a3584e89ae9159cc09b4844 | [
"Apache-2.0"
] | 145 | 2015-01-02T19:15:40.000Z | 2022-03-04T16:12:21.000Z | snowplow_tracker/celery/__init__.py | snowplow/snowplow-python-tracker | 67642d247cefc8019a3584e89ae9159cc09b4844 | [
"Apache-2.0"
] | 56 | 2015-01-02T19:04:20.000Z | 2021-11-29T14:29:54.000Z | from .celery_emitter import CeleryEmitter
| 21 | 41 | 0.880952 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 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 |
2a5c9e1ea8946830797f9c254bc01f3466041a84 | 37 | py | Python | kalasearch/__init__.py | oeddyo/kalasearch-python-sdk | bbb0cd44bd19d23ee4f1a3ea0aa5599e3e1fd38b | [
"MIT"
] | 9 | 2020-08-19T06:48:25.000Z | 2022-02-05T07:24:30.000Z | kalasearch/__init__.py | oeddyo/kalasearch-python-sdk | bbb0cd44bd19d23ee4f1a3ea0aa5599e3e1fd38b | [
"MIT"
] | 1 | 2020-08-24T00:55:32.000Z | 2020-08-24T00:55:32.000Z | kalasearch/__init__.py | oeddyo/kalasearch-python-sdk | bbb0cd44bd19d23ee4f1a3ea0aa5599e3e1fd38b | [
"MIT"
] | 4 | 2021-11-09T20:41:13.000Z | 2022-03-22T09:13:54.000Z | from kalasearch.client import Client
| 18.5 | 36 | 0.864865 | 5 | 37 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 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 |
aad8b890f6718df7645a99de7c2debc1cf66c34a | 2,861 | py | Python | test/common/test_print.py | thatch/BitSwanPump | 98a5b8d09f9b59d5361611cee0bd45e7b4c69e3f | [
"BSD-3-Clause"
] | 17 | 2019-02-14T09:26:03.000Z | 2022-03-11T09:23:52.000Z | test/common/test_print.py | thatch/BitSwanPump | 98a5b8d09f9b59d5361611cee0bd45e7b4c69e3f | [
"BSD-3-Clause"
] | 91 | 2019-05-06T18:59:02.000Z | 2022-01-11T06:22:32.000Z | test/common/test_print.py | thatch/BitSwanPump | 98a5b8d09f9b59d5361611cee0bd45e7b4c69e3f | [
"BSD-3-Clause"
] | 10 | 2019-04-23T08:48:58.000Z | 2022-02-13T14:24:28.000Z | import sys
from unittest.mock import patch, call
import bspump.common
import bspump.unittest
class TestPrintSink(bspump.unittest.ProcessorTestCase):
@patch('builtins.print')
def test_print_sink(self, mocked_print):
events = [
(None, "Please, print this to me"),
]
self.set_up_processor(bspump.common.Prin... | 19.201342 | 68 | 0.700454 | 335 | 2,861 | 5.841791 | 0.176119 | 0.06745 | 0.095043 | 0.110373 | 0.828309 | 0.789474 | 0.774144 | 0.774144 | 0.752172 | 0.607563 | 0 | 0.001264 | 0.17057 | 2,861 | 148 | 69 | 19.331081 | 0.82343 | 0 | 0 | 0.564815 | 0 | 0 | 0.092625 | 0.028312 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.055556 | false | 0 | 0.037037 | 0 | 0.148148 | 0.203704 | 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 |
2aea2020577d9626a47302cc418970d241d60219 | 612 | py | Python | erasure/contracts.py | ankitchiplunkar/erasure.py | 9b0e24883dbb3db8fe9cf2b4c4fb8cce583442a3 | [
"MIT"
] | 4 | 2019-12-17T02:27:44.000Z | 2021-05-07T12:26:03.000Z | erasure/contracts.py | ankitchiplunkar/erasure.py | 9b0e24883dbb3db8fe9cf2b4c4fb8cce583442a3 | [
"MIT"
] | 9 | 2019-12-12T18:47:19.000Z | 2019-12-29T21:49:59.000Z | erasure/contracts.py | ankitchiplunkar/erasure.py | 9b0e24883dbb3db8fe9cf2b4c4fb8cce583442a3 | [
"MIT"
] | null | null | null | CONTRACTS = {
'mainnet': {
"v1.2.0": {
"FeedFactory": "0xEF078E8330f99186079BE1d2ee6b4a5d6f23E8F1",
"ErasureUsers": "0x789D0082B20A929D6fB64EB4c10c68e827AAB7aB"
}
},
'rinkeby': {
"v1.2.0": {
"FeedFactory": "0xDE19C478b2eD51668e36704b2341b81DEBFe2c4... | 29.142857 | 72 | 0.588235 | 25 | 612 | 14.4 | 0.6 | 0.025 | 0.033333 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.373272 | 0.29085 | 612 | 20 | 73 | 30.6 | 0.456221 | 0 | 0 | 0.15 | 0 | 0 | 0.583333 | 0.411765 | 0 | 0 | 0.411765 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2af668a233fc8794e7f2220b009ecfc3ad64218d | 514 | py | Python | temboo/core/Library/Zendesk/Macros/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Zendesk/Macros/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Zendesk/Macros/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Zendesk.Macros.ApplyMacroToAllTickets import ApplyMacroToAllTickets, ApplyMacroToAllTicketsInputSet, ApplyMacroToAllTicketsResultSet, ApplyMacroToAllTicketsChoreographyExecution
from temboo.Library.Zendesk.Macros.ApplyMacroToTicket import ApplyMacroToTicket, ApplyMacroToTicketInputSet, ApplyMacroToT... | 128.5 | 197 | 0.918288 | 33 | 514 | 14.30303 | 0.545455 | 0.063559 | 0.108051 | 0.152542 | 0.190678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040856 | 514 | 3 | 198 | 171.333333 | 0.957404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2d731ad6536ad67493f492915555d1ec1d48ddb7 | 3,618 | py | Python | openprocurement/tender/core/tests/tender.py | raccoongang/openprocurement.tender.core | 9497d4a9f7c0cd4a0c95efad6425d224d5634ddb | [
"Apache-2.0"
] | 1 | 2021-11-18T16:34:33.000Z | 2021-11-18T16:34:33.000Z | openprocurement/tender/core/tests/tender.py | raccoongang/openprocurement.tender.core | 9497d4a9f7c0cd4a0c95efad6425d224d5634ddb | [
"Apache-2.0"
] | 30 | 2017-03-22T12:16:17.000Z | 2018-08-08T04:27:28.000Z | openprocurement/tender/core/tests/tender.py | raccoongang/openprocurement.tender.core | 9497d4a9f7c0cd4a0c95efad6425d224d5634ddb | [
"Apache-2.0"
] | 13 | 2017-02-22T15:59:17.000Z | 2018-05-11T06:17:28.000Z | # -*- coding: utf-8 -*-
import os
import unittest
from openprocurement.tender.core.tests.base import BaseWebTest
class TenderResourceTest(BaseWebTest):
relative_to = os.path.dirname(__file__)
def test_empty_listing(self):
response = self.app.get('/tenders')
self.assertEqual(response.status, '... | 45.797468 | 99 | 0.65948 | 414 | 3,618 | 5.669082 | 0.202899 | 0.153387 | 0.235194 | 0.061355 | 0.794205 | 0.783553 | 0.767363 | 0.731998 | 0.68726 | 0.666809 | 0 | 0.022438 | 0.174682 | 3,618 | 79 | 100 | 45.797468 | 0.763563 | 0.005804 | 0 | 0.609375 | 0 | 0.015625 | 0.235539 | 0.080367 | 0 | 0 | 0 | 0 | 0.65625 | 1 | 0.03125 | false | 0 | 0.046875 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2d9145d844f8158bb50dcb034584013c92cf4868 | 319 | py | Python | carsus/io/cmfgen/__init__.py | parikshit14/carsus | 3f67e8068829829361d7b1da9020e1fde9dcac2e | [
"BSD-3-Clause"
] | null | null | null | carsus/io/cmfgen/__init__.py | parikshit14/carsus | 3f67e8068829829361d7b1da9020e1fde9dcac2e | [
"BSD-3-Clause"
] | null | null | null | carsus/io/cmfgen/__init__.py | parikshit14/carsus | 3f67e8068829829361d7b1da9020e1fde9dcac2e | [
"BSD-3-Clause"
] | null | null | null | from carsus.io.cmfgen.base import (CMFGENOscillatorStrengthsParser,
CMFGENEnergyLevelsParser,
CMFGENCollisionalStrengthsParser,
CMFGENPhotoionizationCrossSectionParser)
from carsus.io.cmfgen.hdfgen import hdf_dump | 63.8 | 75 | 0.601881 | 18 | 319 | 10.611111 | 0.722222 | 0.104712 | 0.125654 | 0.188482 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.363636 | 319 | 5 | 76 | 63.8 | 0.940887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 1 | 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 | 0 | 0 | 0 | 6 |
2d9dbbfde8913b3deb37d7bafb11c2b532ddadc7 | 156,531 | py | Python | gluoncv/model_zoo/quantized/quantized.py | ptrendx/gluon-cv | 5017de97bffcdf7fd90a0be5cdd3201dc7af769e | [
"Apache-2.0"
] | 69 | 2021-01-22T18:09:15.000Z | 2022-03-29T09:38:03.000Z | gluoncv/model_zoo/quantized/quantized.py | ptrendx/gluon-cv | 5017de97bffcdf7fd90a0be5cdd3201dc7af769e | [
"Apache-2.0"
] | 3 | 2019-09-03T01:35:15.000Z | 2019-11-13T06:28:00.000Z | gluoncv/model_zoo/quantized/quantized.py | ptrendx/gluon-cv | 5017de97bffcdf7fd90a0be5cdd3201dc7af769e | [
"Apache-2.0"
] | 3 | 2020-01-10T16:50:08.000Z | 2020-11-13T06:59:13.000Z | # pylint: skip-file
# pylint: disable=line-too-long
"""Create quantized model from JSON files..."""
import os
import warnings
import mxnet as mx
from mxnet.context import cpu
from mxnet.gluon import SymbolBlock
from gluoncv.utils.compress_json import get_compressed_model
__all__ = ['mobilenet1_0_int8', 'resnet50_v1_in... | 1,385.230088 | 25,874 | 0.961286 | 4,515 | 156,531 | 33.273533 | 0.832337 | 0.000792 | 0.001817 | 0.000479 | 0.016402 | 0.013679 | 0.011649 | 0.008267 | 0.007149 | 0.00667 | 0 | 0.145803 | 0.008708 | 156,531 | 112 | 25,875 | 1,397.598214 | 0.822373 | 0.004811 | 0 | 0.022727 | 0 | 0.068182 | 0.978132 | 0.975845 | 0 | 1 | 0 | 0 | 0 | 1 | 0.034091 | false | 0.011364 | 0.125 | 0 | 0.170455 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2df74c1ebc0e2d8b66eb99098eed8a6aaaf9621c | 46 | py | Python | Game15/modules/__init__.py | ttkaixin1998/pikachupythongames | 609a3a5a2be3f5a187c332c7980bb5bb14548f02 | [
"MIT"
] | 4,013 | 2018-06-16T08:00:02.000Z | 2022-03-30T11:48:14.000Z | Game15/modules/__init__.py | pigbearcat/Games | b8c47ef1bcce9a9db3f3730c162e6e8e08b508a2 | [
"MIT"
] | 22 | 2018-10-18T00:15:50.000Z | 2022-01-13T08:16:15.000Z | Game15/modules/__init__.py | pigbearcat/Games | b8c47ef1bcce9a9db3f3730c162e6e8e08b508a2 | [
"MIT"
] | 2,172 | 2018-07-20T04:03:14.000Z | 2022-03-31T14:18:29.000Z | '''初始化'''
from .game import gemSprite, gemGame | 23 | 36 | 0.717391 | 6 | 46 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 2 | 36 | 23 | 0.804878 | 0.065217 | 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 |
2dff5eae56e8c8203237ce687e2f607befb44a5b | 28 | py | Python | algo/daac/train.py | xlnwel/grl | 7d42bb2e78bc3e7b7c3ebbcf356a4d1cf12abebf | [
"Apache-2.0"
] | 5 | 2021-09-04T14:50:39.000Z | 2022-03-13T09:53:09.000Z | algo/ppo2/train.py | xlnwel/d2rl | 7d42bb2e78bc3e7b7c3ebbcf356a4d1cf12abebf | [
"Apache-2.0"
] | null | null | null | algo/ppo2/train.py | xlnwel/d2rl | 7d42bb2e78bc3e7b7c3ebbcf356a4d1cf12abebf | [
"Apache-2.0"
] | 2 | 2022-01-25T09:32:01.000Z | 2022-03-13T09:53:14.000Z | from algo.ppo.train import * | 28 | 28 | 0.785714 | 5 | 28 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.88 | 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 |
9301e05dee685490e7e2d5ce0e7aad3f661915c8 | 30 | py | Python | astroaugmentations/utils/__init__.py | mb010/AstroAugmentations | ce62b0e8a10eece1972b884e86f072236c104400 | [
"MIT"
] | 1 | 2022-03-17T10:16:21.000Z | 2022-03-17T10:16:21.000Z | astroaugmentations/utils/__init__.py | mb010/AstroAugmentations | ce62b0e8a10eece1972b884e86f072236c104400 | [
"MIT"
] | 4 | 2022-03-07T14:33:00.000Z | 2022-03-18T16:12:03.000Z | astroaugmentations/utils/__init__.py | mb010/AstroAugmentations | ce62b0e8a10eece1972b884e86f072236c104400 | [
"MIT"
] | null | null | null | from . import kernel_creation
| 15 | 29 | 0.833333 | 4 | 30 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
934f5d2721ee72e9ab69cdcd969c87c896289334 | 33 | py | Python | zerodha/zerodha/cron.py | adit-negi/zerodha-web-task | cd18df546d6dde1fd2f756f5acd9bdf6bc54326c | [
"MIT"
] | null | null | null | zerodha/zerodha/cron.py | adit-negi/zerodha-web-task | cd18df546d6dde1fd2f756f5acd9bdf6bc54326c | [
"MIT"
] | null | null | null | zerodha/zerodha/cron.py | adit-negi/zerodha-web-task | cd18df546d6dde1fd2f756f5acd9bdf6bc54326c | [
"MIT"
] | 2 | 2021-05-09T15:45:23.000Z | 2021-08-19T10:44:10.000Z | def my_cron_job():
print(2+2) | 16.5 | 18 | 0.636364 | 7 | 33 | 2.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.181818 | 33 | 2 | 19 | 16.5 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
935dc1b838afe10d6a5f600fbc71ca35c60b5e3b | 11,869 | py | Python | tests/python/cuda/test_comm.py | jakeKonrad/torch-quiver | 16e01b8b61459ae41b7386b6a57ef9d20dfb6606 | [
"Apache-2.0"
] | 196 | 2021-10-30T23:40:27.000Z | 2022-03-28T03:43:18.000Z | tests/python/cuda/test_comm.py | jakeKonrad/torch-quiver | 16e01b8b61459ae41b7386b6a57ef9d20dfb6606 | [
"Apache-2.0"
] | 32 | 2021-11-03T15:07:50.000Z | 2022-03-07T09:03:33.000Z | tests/python/cuda/test_comm.py | jakeKonrad/torch-quiver | 16e01b8b61459ae41b7386b6a57ef9d20dfb6606 | [
"Apache-2.0"
] | 24 | 2021-10-31T12:28:34.000Z | 2022-03-19T03:03:13.000Z | import torch
import torch.multiprocessing as mp
import torch_quiver as torch_qv
import quiver
import torch.distributed as dist
import os
import time
LOCAL_ADDR = '192.168.0.78'
MASTER_ADDR = '192.168.0.78'
MASTER_PORT = 12355
def child_sendrecv_proc(rank, ws, id):
torch.cuda.set_device(rank)
comm = torch_qv.... | 30.278061 | 81 | 0.553711 | 1,595 | 11,869 | 4.020063 | 0.07837 | 0.033687 | 0.031192 | 0.03088 | 0.834685 | 0.818465 | 0.756862 | 0.725359 | 0.655802 | 0.649095 | 0 | 0.048751 | 0.308703 | 11,869 | 391 | 82 | 30.355499 | 0.732724 | 0.008004 | 0 | 0.752841 | 0 | 0.002841 | 0.089217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042614 | false | 0 | 0.019886 | 0 | 0.0625 | 0.110795 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fa86c538be4945c82a6d26fd5cc6743f442637ac | 16,208 | py | Python | cottonformation/res/datapipeline.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 5 | 2021-07-22T03:45:59.000Z | 2021-12-17T21:07:14.000Z | cottonformation/res/datapipeline.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 1 | 2021-06-25T18:01:31.000Z | 2021-06-25T18:01:31.000Z | cottonformation/res/datapipeline.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 2 | 2021-06-27T03:08:21.000Z | 2021-06-28T22:15:51.000Z | # -*- coding: utf-8 -*-
"""
This module
"""
import attr
import typing
from ..core.model import (
Property, Resource, Tag, GetAtt, TypeHint, TypeCheck,
)
from ..core.constant import AttrMeta
#--- Property declaration ---
@attr.s
class PropPipelineParameterAttribute(Property):
"""
AWS Object Type = "AWS:... | 60.932331 | 223 | 0.76999 | 1,740 | 16,208 | 7.074713 | 0.05 | 0.170593 | 0.043786 | 0.067669 | 0.900487 | 0.900487 | 0.880016 | 0.828513 | 0.828513 | 0.828513 | 0 | 0.000069 | 0.101061 | 16,208 | 265 | 224 | 61.162264 | 0.844818 | 0.336254 | 0 | 0.456522 | 0 | 0 | 0.085284 | 0.059099 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.028986 | 0 | 0.282609 | 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 |
fa985e13f0c199e0cf54854d04461a0c7a40dec4 | 69 | py | Python | scheduletweet/twitter/adminviews.py | singh1114/schedule-tweet | b55ee35b0ee51c3843543cfa4cd4b3e63d1dcea1 | [
"CC0-1.0"
] | 1 | 2020-10-25T19:23:57.000Z | 2020-10-25T19:23:57.000Z | scheduletweet/twitter/adminviews.py | singh1114/schedule-tweet | b55ee35b0ee51c3843543cfa4cd4b3e63d1dcea1 | [
"CC0-1.0"
] | null | null | null | scheduletweet/twitter/adminviews.py | singh1114/schedule-tweet | b55ee35b0ee51c3843543cfa4cd4b3e63d1dcea1 | [
"CC0-1.0"
] | null | null | null | from django.views import View
class ScheduleTwitter(View):
pass | 13.8 | 29 | 0.768116 | 9 | 69 | 5.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 69 | 5 | 30 | 13.8 | 0.929825 | 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 |
faa3442caf0697529eefc025f315a367a4cb06f8 | 200 | py | Python | src/graphmb/__init__.py | MicrobialDarkMatter/GraphMB | 04d777953bb7e5e23ec445e3d956c11c120feaa1 | [
"MIT"
] | 5 | 2022-02-28T16:06:59.000Z | 2022-03-16T01:04:31.000Z | src/graphmb/__init__.py | AndreLamurias/GraphMB | 9b861ba5522bfe8262c833b3bab1903c0a65a4b5 | [
"MIT"
] | 7 | 2022-02-21T13:21:07.000Z | 2022-03-28T08:07:46.000Z | src/graphmb/__init__.py | MicrobialDarkMatter/GraphMB | 04d777953bb7e5e23ec445e3d956c11c120feaa1 | [
"MIT"
] | null | null | null | import os
os.environ["DGLBACKEND"] = "pytorch"
import dgl
from . import contigsdataset
from . import graph_functions
from . import evaluate
from . import graphsage_unsupervised
from . import version
| 20 | 36 | 0.795 | 25 | 200 | 6.28 | 0.56 | 0.318471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 200 | 9 | 37 | 22.222222 | 0.912791 | 0 | 0 | 0 | 0 | 0 | 0.085 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.875 | 0 | 0.875 | 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 |
facd0c068d2ca1b5ab4aac73ed30d7740eef0822 | 1,168 | py | Python | terrascript/scaleway/d.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/scaleway/d.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/scaleway/d.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/scaleway/d.py
# Automatically generated by tools/makecode.py ()
import warnings
warnings.warn(
"using the 'legacy layout' is deprecated", DeprecationWarning, stacklevel=2
)
import terrascript
class scaleway_account_ssh_key(terrascript.Data):
pass
class scaleway_baremetal_offer(terrascript.Da... | 15.783784 | 79 | 0.781678 | 140 | 1,168 | 6.271429 | 0.35 | 0.236902 | 0.346241 | 0.410023 | 0.635535 | 0.489749 | 0 | 0 | 0 | 0 | 0 | 0.003012 | 0.14726 | 1,168 | 73 | 80 | 16 | 0.878514 | 0.0625 | 0 | 0.432432 | 1 | 0 | 0.035714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.432432 | 0.054054 | 0 | 0.486486 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
fae379f80084aa9fe3666eea20b584c74cd1ca23 | 4,171 | py | Python | tests/unit_tests/test_tethys_apps/test_models/test_CustomSetting.py | quyendong/tethys | 99bcb524d5b2021b88d5fa15b7ed6b8acb460997 | [
"BSD-2-Clause"
] | 1 | 2020-10-08T20:38:33.000Z | 2020-10-08T20:38:33.000Z | tests/unit_tests/test_tethys_apps/test_models/test_CustomSetting.py | quyendong/tethys | 99bcb524d5b2021b88d5fa15b7ed6b8acb460997 | [
"BSD-2-Clause"
] | 1 | 2018-04-14T19:40:54.000Z | 2018-04-14T19:40:54.000Z | tests/unit_tests/test_tethys_apps/test_models/test_CustomSetting.py | quyendong/tethys | 99bcb524d5b2021b88d5fa15b7ed6b8acb460997 | [
"BSD-2-Clause"
] | 1 | 2021-09-07T14:47:11.000Z | 2021-09-07T14:47:11.000Z | from tethys_sdk.testing import TethysTestCase
from tethys_apps.models import TethysApp, CustomSetting
from django.core.exceptions import ValidationError
class CustomSettingTests(TethysTestCase):
def set_up(self):
self.test_app = TethysApp.objects.get(package='test_app')
pass
def tear_down(sel... | 37.918182 | 100 | 0.680173 | 494 | 4,171 | 5.455466 | 0.1417 | 0.183302 | 0.103896 | 0.133581 | 0.828571 | 0.815213 | 0.79666 | 0.775139 | 0.758071 | 0.758071 | 0 | 0.00304 | 0.21122 | 4,171 | 109 | 101 | 38.266055 | 0.816109 | 0.020858 | 0 | 0.6375 | 0 | 0 | 0.087767 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.15 | false | 0.025 | 0.0375 | 0 | 0.2 | 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 |
877e232a8cd8a9acf37d1c52fab8d43ac931e77b | 44 | py | Python | news_getter/__init__.py | isevitt/news-getter | 8fb65aed15c82f39a1cb26f5ed1a7b2404e6fbd9 | [
"MIT"
] | null | null | null | news_getter/__init__.py | isevitt/news-getter | 8fb65aed15c82f39a1cb26f5ed1a7b2404e6fbd9 | [
"MIT"
] | null | null | null | news_getter/__init__.py | isevitt/news-getter | 8fb65aed15c82f39a1cb26f5ed1a7b2404e6fbd9 | [
"MIT"
] | null | null | null | from news_getter.news_get import NewsGetter
| 22 | 43 | 0.886364 | 7 | 44 | 5.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.925 | 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 |
879e74c68efd03bbe47b96b2d00c9b8137f35cf6 | 4,124 | py | Python | web/gatekeeping/api/position.py | gabegm/Headcount-Planning-Management-System | 6946509e6d8c530b9f0e51b68047c4cb01dedd2e | [
"MIT"
] | 2 | 2020-03-17T10:55:39.000Z | 2022-03-21T00:04:38.000Z | web/gatekeeping/api/position.py | gabegm/Headcount-Planning-Management-System | 6946509e6d8c530b9f0e51b68047c4cb01dedd2e | [
"MIT"
] | null | null | null | web/gatekeeping/api/position.py | gabegm/Headcount-Planning-Management-System | 6946509e6d8c530b9f0e51b68047c4cb01dedd2e | [
"MIT"
] | null | null | null | from flask import (g, abort, session)
from gatekeeping.db import get_db
from gatekeeping.api.user import get_user_function
def get_position(id, check_submitter=True):
position = get_db().execute(
'SELECT p.id, ps.name as status, rs.name as recruitment_status, number, pl.name as pillar, c.name as company, d... | 46.337079 | 157 | 0.67386 | 605 | 4,124 | 4.4 | 0.155372 | 0.040571 | 0.020661 | 0.012397 | 0.860255 | 0.836589 | 0.836589 | 0.836589 | 0.80879 | 0.80879 | 0 | 0.006544 | 0.221872 | 4,124 | 89 | 158 | 46.337079 | 0.822998 | 0 | 0 | 0.7 | 0 | 0.042857 | 0.564606 | 0.077091 | 0.014286 | 0 | 0 | 0 | 0 | 1 | 0.042857 | false | 0 | 0.042857 | 0 | 0.142857 | 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 |
354ce7a5fccba75ebe10ba5320b4828e8ff84d6c | 134 | py | Python | tests/test_roomacoustics.py | ben-kas/pyrato | 5880c53588f807a0fdd5271003aa72b5a3e2330e | [
"MIT"
] | 3 | 2021-01-05T10:43:58.000Z | 2022-02-16T07:57:11.000Z | tests/test_roomacoustics.py | ben-kas/pyrato | 5880c53588f807a0fdd5271003aa72b5a3e2330e | [
"MIT"
] | 1 | 2022-02-17T07:43:01.000Z | 2022-02-17T07:43:01.000Z | tests/test_roomacoustics.py | ben-kas/pyrato | 5880c53588f807a0fdd5271003aa72b5a3e2330e | [
"MIT"
] | 1 | 2020-12-14T16:11:42.000Z | 2020-12-14T16:11:42.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Tests for `roomacoustics` package."""
def test_import():
import roomacoustics
| 14.888889 | 40 | 0.641791 | 16 | 134 | 5.3125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008929 | 0.164179 | 134 | 8 | 41 | 16.75 | 0.75 | 0.574627 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
35862b6c6a5a4ddb830c5a0f01205bc0be751a53 | 96 | py | Python | venv/lib/python3.8/site-packages/pyflakes/__main__.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pyflakes/__main__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pyflakes/__main__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/f6/19/ad/4eaa38a8043077bd5fd9e91630881be777ebc4657011a6c55861bf5a21 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 96 | 1 | 96 | 96 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
359544b911a99f0c5f8b34ab22463fc2a8c9cbfb | 2,864 | py | Python | core/models/utils.py | benoitmarteau/facies_classification_benchmark | 25650361780191b1c624510728a156fa30b16829 | [
"MIT"
] | 60 | 2019-01-12T21:37:33.000Z | 2022-03-23T02:17:43.000Z | core/models/utils.py | benoitmarteau/facies_classification_benchmark | 25650361780191b1c624510728a156fa30b16829 | [
"MIT"
] | 6 | 2019-10-09T03:33:58.000Z | 2021-12-24T17:34:34.000Z | core/models/utils.py | benoitmarteau/facies_classification_benchmark | 25650361780191b1c624510728a156fa30b16829 | [
"MIT"
] | 25 | 2019-01-26T13:04:02.000Z | 2021-11-26T08:20:26.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
class conv2DBatchNorm(nn.Module):
def __init__(self, in_channels, n_filters, k_size, stride, padding, bias=True, dilation=1):
super(conv2DBatchNorm, self).__init__()
if dilation > 1:
conv_mod = nn.Conv2d(int(in_channe... | 39.232877 | 111 | 0.594274 | 329 | 2,864 | 4.911854 | 0.148936 | 0.069307 | 0.068069 | 0.059406 | 0.830446 | 0.778465 | 0.778465 | 0.778465 | 0.778465 | 0.778465 | 0 | 0.012042 | 0.30412 | 2,864 | 72 | 112 | 39.777778 | 0.798796 | 0 | 0 | 0.627451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.156863 | false | 0 | 0.058824 | 0 | 0.372549 | 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 |
35a909edaa08d5749b27af0ca66eb65fb69ba90f | 25 | py | Python | different/__init__.py | amatuni/different | efc9c5881be6b2d05e6799928e22deb085a8a4a7 | [
"MIT"
] | null | null | null | different/__init__.py | amatuni/different | efc9c5881be6b2d05e6799928e22deb085a8a4a7 | [
"MIT"
] | null | null | null | different/__init__.py | amatuni/different | efc9c5881be6b2d05e6799928e22deb085a8a4a7 | [
"MIT"
] | null | null | null | from .different 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 |
35be9629bca17875a8e96abc6004217494ee829c | 3,027 | py | Python | main.py | Sakurai07/Google.py | d849ced11de8e8c7731c8da2a5d8c2288917d7c3 | [
"MIT"
] | null | null | null | main.py | Sakurai07/Google.py | d849ced11de8e8c7731c8da2a5d8c2288917d7c3 | [
"MIT"
] | null | null | null | main.py | Sakurai07/Google.py | d849ced11de8e8c7731c8da2a5d8c2288917d7c3 | [
"MIT"
] | null | null | null | print("Made by Sakurai07")
print("https://github.com/sakurai07/")
from googleapi import google
import os
import time
import asyncio
dots = 1
num_page = 1
dp = 1
def ser(q, num_page):
dots = 1
search_results = google.search(q, num_page)
while search_results == []:
c()
dots += 1
if do... | 27.770642 | 74 | 0.451933 | 308 | 3,027 | 4.36039 | 0.181818 | 0.067759 | 0.107223 | 0.134028 | 0.760983 | 0.740134 | 0.740134 | 0.740134 | 0.740134 | 0.740134 | 0 | 0.019763 | 0.414932 | 3,027 | 109 | 75 | 27.770642 | 0.738566 | 0 | 0 | 0.771429 | 0 | 0 | 0.126156 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019048 | false | 0 | 0.038095 | 0 | 0.057143 | 0.380952 | 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 |
35e43354ac608991c840c28cb5d56f0d56507a66 | 22 | py | Python | ampere/__init__.py | nealde/Ampere | 75fa9c34940a71ef865eb98b551b4a4a27da96c3 | [
"MIT"
] | 19 | 2019-03-25T09:49:47.000Z | 2022-02-20T07:40:18.000Z | ampere/__init__.py | nealde/battery | 75fa9c34940a71ef865eb98b551b4a4a27da96c3 | [
"MIT"
] | 6 | 2018-09-28T19:27:25.000Z | 2019-01-07T16:00:09.000Z | ampere/__init__.py | nealde/battery | 75fa9c34940a71ef865eb98b551b4a4a27da96c3 | [
"MIT"
] | 6 | 2019-01-25T16:50:56.000Z | 2021-01-29T21:36:32.000Z | from .ampere import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
35e6933f2cd85e4b19bcac70124a6811ba23f30e | 8,974 | py | Python | tests/components/homekit_controller/test_cover.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | tests/components/homekit_controller/test_cover.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 24,710 | 2016-04-13T08:27:26.000Z | 2020-03-02T12:59:13.000Z | tests/components/homekit_controller/test_cover.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """Basic checks for HomeKitalarm_control_panel."""
from aiohomekit.model.characteristics import CharacteristicsTypes
from aiohomekit.model.services import ServicesTypes
from tests.components.homekit_controller.common import setup_test_component
def create_window_covering_service(accessory):
"""Define a window-co... | 32.05 | 81 | 0.720303 | 1,045 | 8,974 | 5.858373 | 0.107177 | 0.061745 | 0.032016 | 0.077752 | 0.912937 | 0.889579 | 0.836328 | 0.819013 | 0.779811 | 0.748122 | 0 | 0.007079 | 0.197236 | 8,974 | 279 | 82 | 32.164875 | 0.842726 | 0.035324 | 0 | 0.544118 | 0 | 0 | 0.045343 | 0.010843 | 0 | 0 | 0 | 0 | 0.088235 | 1 | 0.019608 | false | 0 | 0.014706 | 0 | 0.044118 | 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 |
ea24ee23463f2e6fbe7c9346efd64b147c438492 | 10,450 | py | Python | panel/tests/view_tests.py | freejooo/vigilio | d21bf4f9d39e5dcde5d7c21476d8650e914c3c66 | [
"MIT"
] | 137 | 2021-03-26T18:19:45.000Z | 2022-03-06T07:48:23.000Z | panel/tests/view_tests.py | rrosajp/vigilio | d21bf4f9d39e5dcde5d7c21476d8650e914c3c66 | [
"MIT"
] | 11 | 2021-03-28T00:07:00.000Z | 2021-05-04T12:54:58.000Z | panel/tests/view_tests.py | rrosajp/vigilio | d21bf4f9d39e5dcde5d7c21476d8650e914c3c66 | [
"MIT"
] | 16 | 2021-03-27T23:58:53.000Z | 2022-03-20T14:52:13.000Z | from typing import Dict, List
import pytest
from django.test import Client
from django.urls import reverse
from pytest_mock import MockerFixture
from stream.models import Movie
from stream.tests.factories import MovieFactory
@pytest.fixture
def ignore_setup(mocker: MockerFixture) -> None:
mocker.patch("panel.de... | 35.067114 | 111 | 0.660478 | 1,203 | 10,450 | 5.526185 | 0.095594 | 0.109507 | 0.081227 | 0.097473 | 0.855897 | 0.830024 | 0.811673 | 0.755415 | 0.739621 | 0.730445 | 0 | 0.011585 | 0.215311 | 10,450 | 297 | 112 | 35.185185 | 0.799146 | 0 | 0 | 0.616071 | 0 | 0.004464 | 0.214067 | 0.166986 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.138393 | false | 0 | 0.03125 | 0 | 0.200893 | 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 |
ea57fec66f53af30e47e4cae0c5c43b28af3d25f | 10,825 | py | Python | CPDNN_base.py | xuzhiqin1990/MSDNN2ellipticPDEs | ddaee034474c18bc23b51824fb6a00539c07d52c | [
"MIT"
] | 1 | 2021-12-23T07:40:04.000Z | 2021-12-23T07:40:04.000Z | CPDNN_base.py | xuzhiqin1990/MSDNN2ellipticPDEs | ddaee034474c18bc23b51824fb6a00539c07d52c | [
"MIT"
] | null | null | null | CPDNN_base.py | xuzhiqin1990/MSDNN2ellipticPDEs | ddaee034474c18bc23b51824fb6a00539c07d52c | [
"MIT"
] | 1 | 2021-12-31T10:57:17.000Z | 2021-12-31T10:57:17.000Z | # -*- coding: utf-8 -*-
"""
Modify on 2020年4月1日
@author: LXG
Benchmark Code of Coupled PhaseDNN for ODE.
"""
import tensorflow as tf
import numpy as np
# ---------------------------------------------- my activations -----------------------------------------------
def srelu(x):
return tf.nn.relu(1... | 39.079422 | 140 | 0.618291 | 1,568 | 10,825 | 4.066964 | 0.110332 | 0.11761 | 0.03889 | 0.025404 | 0.824212 | 0.809472 | 0.774188 | 0.753332 | 0.702995 | 0.679787 | 0 | 0.021747 | 0.24388 | 10,825 | 276 | 141 | 39.221014 | 0.757361 | 0.120831 | 0 | 0.628866 | 0 | 0 | 0.028718 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.087629 | false | 0 | 0.010309 | 0.041237 | 0.185567 | 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 |
57631a3429ee691ebbe9b1b03059e22c3b2abd26 | 1,457 | py | Python | server/openapi_server/models/__init__.py | NCATS-Tangerine/kba-reasoner | 19ea293fa02693b2df5ecfe1d91856b34e73a3e1 | [
"MIT"
] | null | null | null | server/openapi_server/models/__init__.py | NCATS-Tangerine/kba-reasoner | 19ea293fa02693b2df5ecfe1d91856b34e73a3e1 | [
"MIT"
] | null | null | null | server/openapi_server/models/__init__.py | NCATS-Tangerine/kba-reasoner | 19ea293fa02693b2df5ecfe1d91856b34e73a3e1 | [
"MIT"
] | null | null | null | # coding: utf-8
# flake8: noqa
from __future__ import absolute_import
# import models into model package
from openapi_server.models.credentials import Credentials
from openapi_server.models.edge import Edge
from openapi_server.models.edge_attribute import EdgeAttribute
from openapi_server.models.expertise_level import... | 50.241379 | 96 | 0.889499 | 193 | 1,457 | 6.481865 | 0.264249 | 0.202238 | 0.31255 | 0.422862 | 0.388489 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001484 | 0.074811 | 1,457 | 28 | 97 | 52.035714 | 0.926558 | 0.040494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
576b2b3948aeaf7a364d5f3299beb9f8f6eb5d14 | 129 | py | Python | middleware/__init__.py | liveonnet/p3_server | 2dab6eab6e98b3ef0d26093eb461c635f5bc07b4 | [
"Apache-2.0"
] | null | null | null | middleware/__init__.py | liveonnet/p3_server | 2dab6eab6e98b3ef0d26093eb461c635f5bc07b4 | [
"Apache-2.0"
] | null | null | null | middleware/__init__.py | liveonnet/p3_server | 2dab6eab6e98b3ef0d26093eb461c635f5bc07b4 | [
"Apache-2.0"
] | null | null | null | from .log import logger_factory
from .nurse import nurse_handler_factory
l_middleware = [logger_factory, nurse_handler_factory]
| 25.8 | 54 | 0.852713 | 18 | 129 | 5.722222 | 0.5 | 0.252427 | 0.368932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100775 | 129 | 4 | 55 | 32.25 | 0.887931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
579946fe2fb85154771b93ea1c6d330770f41752 | 179 | py | Python | rasa/core/frames/__init__.py | msamogh/rasa | f8b84bd3e36c8336294484174c2fce04d7b07e75 | [
"Apache-2.0"
] | 4 | 2020-04-17T17:08:59.000Z | 2021-07-21T16:25:00.000Z | rasa/core/frames/__init__.py | msamogh/rasa | f8b84bd3e36c8336294484174c2fce04d7b07e75 | [
"Apache-2.0"
] | 5 | 2020-04-10T09:08:46.000Z | 2021-08-25T14:40:03.000Z | rasa/core/frames/__init__.py | msamogh/rasa | f8b84bd3e36c8336294484174c2fce04d7b07e75 | [
"Apache-2.0"
] | 1 | 2020-05-02T16:00:20.000Z | 2020-05-02T16:00:20.000Z | from rasa.core.frames.frame import Frame, FrameSet
from rasa.core.frames.frame_policy import FramePolicy
from rasa.core.frames.rule_based_frame_policy import RuleBasedFramePolicy
| 44.75 | 73 | 0.871508 | 26 | 179 | 5.846154 | 0.461538 | 0.157895 | 0.236842 | 0.355263 | 0.302632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072626 | 179 | 3 | 74 | 59.666667 | 0.915663 | 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 |
57af2b0a56f304480a46a8e275f7500734150c8d | 1,553 | py | Python | backend/blog/views.py | jadames03/food-talk | c2b8a4fecb603b72309ae2bc6bcf47dc3cd22448 | [
"MIT"
] | 4 | 2022-01-11T03:46:17.000Z | 2022-01-13T01:12:01.000Z | backend/blog/views.py | jadames03/food-talk | c2b8a4fecb603b72309ae2bc6bcf47dc3cd22448 | [
"MIT"
] | 2 | 2022-01-10T17:00:54.000Z | 2022-01-13T03:01:35.000Z | backend/blog/views.py | jadames03/food-talk | c2b8a4fecb603b72309ae2bc6bcf47dc3cd22448 | [
"MIT"
] | 19 | 2022-01-08T02:29:16.000Z | 2022-02-01T00:41:09.000Z | from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def index(request):
return render(request, 'blog/index.html')
def signin(request):
return render(request, 'blog/signin.html')
def signup(request):
return render(request, 'blog/signup.html')
def rasberry(r... | 23.892308 | 56 | 0.730844 | 198 | 1,553 | 5.712121 | 0.191919 | 0.229885 | 0.335986 | 0.45977 | 0.583554 | 0.106101 | 0.106101 | 0.106101 | 0.106101 | 0.106101 | 0 | 0 | 0.137798 | 1,553 | 64 | 57 | 24.265625 | 0.84466 | 0.01481 | 0 | 0.095238 | 0 | 0 | 0.233639 | 0.032723 | 0 | 0 | 0 | 0 | 0 | 1 | 0.47619 | false | 0 | 0.047619 | 0.47619 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
17b4775bff2a050573de841692361db025b60b28 | 94,300 | py | Python | saas/aiops/api/aiops-server/ai_lib/time_series_prediction/algorithm/preprocess/simpleRobustSTL/RobustSTLcode.py | iuskye/SREWorks | a2a7446767d97ec5f6d15bd00189c42150d6c894 | [
"Apache-2.0"
] | 407 | 2022-03-16T08:09:38.000Z | 2022-03-31T12:27:10.000Z | saas/aiops/api/aiops-server/ai_lib/time_series_prediction/algorithm/preprocess/simpleRobustSTL/RobustSTLcode.py | Kwafoor/SREWorks | 37a64a0a84b29c65cf6b77424bd2acd0c7b42e2b | [
"Apache-2.0"
] | 25 | 2022-03-22T04:27:31.000Z | 2022-03-30T08:47:28.000Z | saas/aiops/api/aiops-server/ai_lib/time_series_prediction/algorithm/preprocess/simpleRobustSTL/RobustSTLcode.py | Kwafoor/SREWorks | 37a64a0a84b29c65cf6b77424bd2acd0c7b42e2b | [
"Apache-2.0"
] | 109 | 2022-03-21T17:30:44.000Z | 2022-03-31T09:36:28.000Z | """Our Proposed Robust STL based on
Spare Model and Non-local Season bilateral filtering
Input: original_data - T x 1
Output: decomposed_data - T x 3 (trend, season, irregular)
Author: Qingsong <qingsong.wen@alibaba-inc.com>
"""
from numpy.linalg import norm, cholesky
import scipy.sparse as sparse
import time
import ... | 41.017834 | 81 | 0.602185 | 11,959 | 94,300 | 4.430638 | 0.055021 | 0.020722 | 0.016533 | 0.012569 | 0.801363 | 0.781018 | 0.760824 | 0.741781 | 0.724474 | 0.713207 | 0 | 0.01167 | 0.322132 | 94,300 | 2,298 | 82 | 41.035683 | 0.817233 | 0.43596 | 0 | 0.418559 | 0 | 0.001974 | 0.025131 | 0.002581 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033564 | false | 0.000987 | 0.012833 | 0.005923 | 0.081935 | 0.004936 | 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 |
17ee13f9bc0b0c5139e69b291f86ec2aa00e5ea7 | 4,096 | py | Python | py/hyper_dk_series.py | kazuibasou/hyper-dk-series | f47709d06285b1788cbbf7cd29480f87a2f2ccbc | [
"MIT"
] | null | null | null | py/hyper_dk_series.py | kazuibasou/hyper-dk-series | f47709d06285b1788cbbf7cd29480f87a2f2ccbc | [
"MIT"
] | null | null | null | py/hyper_dk_series.py | kazuibasou/hyper-dk-series | f47709d06285b1788cbbf7cd29480f87a2f2ccbc | [
"MIT"
] | null | null | null | import hypergraph
import rewiring
import random
def randomizing_d_v_zero_d_e_zero(G):
# Given a hypergraph, return a randomized hypergraph with (d_v, d_e) = (0, 0).
B_M = 0
for v in G.V:
B_M += len(G.elist[v])
randG = hypergraph.HyperGraph()
randG.V = list(G.V)
randG.E = [[] for e_i in range(0, len(G.E))]
f... | 25.128834 | 86 | 0.697021 | 741 | 4,096 | 3.62753 | 0.070175 | 0.02381 | 0.125 | 0.14881 | 0.928199 | 0.909226 | 0.892485 | 0.864583 | 0.854167 | 0.854167 | 0 | 0.015826 | 0.166992 | 4,096 | 163 | 87 | 25.128834 | 0.771981 | 0.151123 | 0 | 0.617647 | 0 | 0 | 0.171807 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078431 | false | 0 | 0.029412 | 0 | 0.186275 | 0.078431 | 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 |
17f16335a161822fc33f58a19a47a085b9c2d421 | 150 | py | Python | regex/Introduction/Matching Word & Non-Word Character.py | patwadeepak/hackerrank-practice-problems | fa29269b543816bb73ec1ea1e339cae30e9764cd | [
"Apache-2.0"
] | null | null | null | regex/Introduction/Matching Word & Non-Word Character.py | patwadeepak/hackerrank-practice-problems | fa29269b543816bb73ec1ea1e339cae30e9764cd | [
"Apache-2.0"
] | null | null | null | regex/Introduction/Matching Word & Non-Word Character.py | patwadeepak/hackerrank-practice-problems | fa29269b543816bb73ec1ea1e339cae30e9764cd | [
"Apache-2.0"
] | null | null | null | # Author: Deepak Kumar
Regex_Pattern = r"\w\w\w\W\w\w\w\w\w\w\w\w\w\w\W\w\w\w"
import re
print(str(bool(re.search(Regex_Pattern, input()))).lower()) | 25 | 59 | 0.666667 | 35 | 150 | 2.8 | 0.428571 | 0.346939 | 0.489796 | 0.612245 | 0.183673 | 0.183673 | 0.183673 | 0.183673 | 0.183673 | 0.183673 | 0 | 0 | 0.08 | 150 | 6 | 59 | 25 | 0.710145 | 0.133333 | 0 | 0 | 0 | 0.333333 | 0.27907 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
aa26f8dd5ee9a367ac110dc3fd111c072b1be57e | 41 | py | Python | tetris/__init__.py | AndrejHafner/tetris-reinforcement-learning | 52db5d8ce7f9162b15575456a0effc69dd7fb2bf | [
"MIT"
] | null | null | null | tetris/__init__.py | AndrejHafner/tetris-reinforcement-learning | 52db5d8ce7f9162b15575456a0effc69dd7fb2bf | [
"MIT"
] | null | null | null | tetris/__init__.py | AndrejHafner/tetris-reinforcement-learning | 52db5d8ce7f9162b15575456a0effc69dd7fb2bf | [
"MIT"
] | null | null | null | from tetris import *
from block import *
| 13.666667 | 20 | 0.756098 | 6 | 41 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 41 | 2 | 21 | 20.5 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aa36919f75e56ab26ed3310aebfc87ae676cbbb1 | 93 | py | Python | app_routes/threads/applications/application_id/__init__.py | kskarbinski/threads-api | c144c1cb51422095922310d278f80e4996c10ea0 | [
"MIT"
] | null | null | null | app_routes/threads/applications/application_id/__init__.py | kskarbinski/threads-api | c144c1cb51422095922310d278f80e4996c10ea0 | [
"MIT"
] | null | null | null | app_routes/threads/applications/application_id/__init__.py | kskarbinski/threads-api | c144c1cb51422095922310d278f80e4996c10ea0 | [
"MIT"
] | null | null | null | from .threads_applications_application_id_route import ThreadsApplicationsApplicationIdRoute
| 46.5 | 92 | 0.946237 | 8 | 93 | 10.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043011 | 93 | 1 | 93 | 93 | 0.94382 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aa43e9ebc0154242e5fbad59c31b18d5ce2f6b44 | 107 | py | Python | tfquery/__init__.py | mazen160/tfquery | ddc145d7bf04f002c8ea49079fbc688106fc1485 | [
"MIT"
] | 262 | 2021-04-28T11:38:53.000Z | 2022-03-16T12:31:14.000Z | tfquery/__init__.py | mazen160/tfquery | ddc145d7bf04f002c8ea49079fbc688106fc1485 | [
"MIT"
] | 2 | 2021-05-12T07:30:25.000Z | 2021-09-19T11:29:22.000Z | tfquery/__init__.py | mazen160/tfquery | ddc145d7bf04f002c8ea49079fbc688106fc1485 | [
"MIT"
] | 12 | 2021-04-28T17:15:08.000Z | 2022-02-12T10:30:45.000Z | import tfquery.tfstate
import tfquery.sql_handler
import tfquery.tfstate_v3_migration
import tfquery.utils
| 21.4 | 35 | 0.88785 | 15 | 107 | 6.133333 | 0.533333 | 0.565217 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.074766 | 107 | 4 | 36 | 26.75 | 0.919192 | 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 |
a4ab1c633e82fd238750d2b31a8147783e37d999 | 149 | py | Python | src/Diagnostics.AIProjects/TrainingAPI/__app__/TrainingModule/Exceptions.py | prbajrac/Azure-AppServices-Diagnostics | ba66a7f40b6ec1f4ec388e7b07820607944a998d | [
"MIT"
] | null | null | null | src/Diagnostics.AIProjects/TrainingAPI/__app__/TrainingModule/Exceptions.py | prbajrac/Azure-AppServices-Diagnostics | ba66a7f40b6ec1f4ec388e7b07820607944a998d | [
"MIT"
] | null | null | null | src/Diagnostics.AIProjects/TrainingAPI/__app__/TrainingModule/Exceptions.py | prbajrac/Azure-AppServices-Diagnostics | ba66a7f40b6ec1f4ec388e7b07820607944a998d | [
"MIT"
] | 1 | 2019-12-16T07:08:12.000Z | 2019-12-16T07:08:12.000Z | class TrainingException(Exception):
pass
class PublishingException(Exception):
pass
class ResourceConfigDownloadFailed(Exception):
pass | 18.625 | 46 | 0.791946 | 12 | 149 | 9.833333 | 0.5 | 0.330508 | 0.305085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147651 | 149 | 8 | 47 | 18.625 | 0.929134 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
a4fd0b3e5ce2d5d894105faa5edf53ac5c033337 | 3,755 | py | Python | tests/time_series_image_test.py | AeRabelais/DeepBench | ddb95b394eae381f60b031572cb79fac6418376f | [
"Apache-2.0"
] | null | null | null | tests/time_series_image_test.py | AeRabelais/DeepBench | ddb95b394eae381f60b031572cb79fac6418376f | [
"Apache-2.0"
] | 1 | 2022-03-17T19:09:41.000Z | 2022-03-17T19:09:41.000Z | tests/time_series_image_test.py | AeRabelais/DeepBenchmark | ddb95b394eae381f60b031572cb79fac6418376f | [
"Apache-2.0"
] | null | null | null | from unittest import TestCase
from src.deepbench.image.time_series_image import TimeSeriesImage
class TestTimeSeriesImage(TestCase):
def test_1d_init(self):
with self.assertRaises(AssertionError):
image_shape = (12,)
object_params = [{"object_type": "test_object"}]
Time... | 37.929293 | 71 | 0.664447 | 428 | 3,755 | 5.446262 | 0.126168 | 0.15444 | 0.070785 | 0.10296 | 0.834835 | 0.811669 | 0.785071 | 0.766195 | 0.743887 | 0.720721 | 0 | 0.016451 | 0.239148 | 3,755 | 98 | 72 | 38.316327 | 0.79944 | 0.013848 | 0 | 0.623377 | 0 | 0 | 0.080249 | 0 | 0 | 0 | 0 | 0 | 0.194805 | 1 | 0.155844 | false | 0 | 0.025974 | 0 | 0.194805 | 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 |
352daed1b4556a28e943fc7c3ffe93fb18304c40 | 147 | py | Python | teacher/metrics/__init__.py | Kaysera/fuzzy-lore | 128131e0f41f480d509b63c5e75d0ce58f07bae4 | [
"MIT"
] | 3 | 2022-03-09T16:54:02.000Z | 2022-03-10T13:28:31.000Z | teacher/metrics/__init__.py | Kaysera/fuzzy-lore | 128131e0f41f480d509b63c5e75d0ce58f07bae4 | [
"MIT"
] | 1 | 2022-03-17T16:30:02.000Z | 2022-03-24T17:54:08.000Z | teacher/metrics/__init__.py | Kaysera/fuzzy-lore | 128131e0f41f480d509b63c5e75d0ce58f07bae4 | [
"MIT"
] | null | null | null | from .rule import coverage, precision, fidelity, rule_fidelity
__all__ = [
"coverage",
"precision",
"fidelity",
"rule_fidelity"
]
| 16.333333 | 62 | 0.659864 | 14 | 147 | 6.5 | 0.5 | 0.373626 | 0.549451 | 0.637363 | 0.813187 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217687 | 147 | 8 | 63 | 18.375 | 0.791304 | 0 | 0 | 0 | 0 | 0 | 0.258503 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 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 | 0 | 0 | 6 |
1020223877cb8dabf05806c36d92071551102f3f | 105 | py | Python | fs/__init__.py | Stift007/python-fs | aac31ab4dbcd659bb1451ec8ea2132254585a3fb | [
"MIT"
] | null | null | null | fs/__init__.py | Stift007/python-fs | aac31ab4dbcd659bb1451ec8ea2132254585a3fb | [
"MIT"
] | null | null | null | fs/__init__.py | Stift007/python-fs | aac31ab4dbcd659bb1451ec8ea2132254585a3fb | [
"MIT"
] | null | null | null | from fs import readFile,writeFile,readFileSync,writeFileSync,readDir,readDirSync,readDirString,move,copy
| 52.5 | 104 | 0.885714 | 12 | 105 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038095 | 105 | 1 | 105 | 105 | 0.920792 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
102ad9e69f291b3b78691c8b5f28d8da71dae4a1 | 26,838 | py | Python | chunair/kicad-footprint-generator-master/KicadModTree/tests/moduletests/test_kicad5_padshapes.py | speedypotato/chuni-lite | c8dda8428723f8c4f99075e7cbaa22a44cbc187d | [
"CC-BY-4.0"
] | 2 | 2022-03-18T23:42:51.000Z | 2022-03-19T15:31:34.000Z | chunair/kicad-footprint-generator-master/KicadModTree/tests/moduletests/test_kicad5_padshapes.py | speedypotato/chuni-lite | c8dda8428723f8c4f99075e7cbaa22a44cbc187d | [
"CC-BY-4.0"
] | null | null | null | chunair/kicad-footprint-generator-master/KicadModTree/tests/moduletests/test_kicad5_padshapes.py | speedypotato/chuni-lite | c8dda8428723f8c4f99075e7cbaa22a44cbc187d | [
"CC-BY-4.0"
] | null | null | null | # KicadModTree is free software: you can redistribute it and/or
# modify it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# KicadModTree is distributed in the hope that it will be useful,
# bu... | 42.264567 | 121 | 0.576533 | 4,289 | 26,838 | 3.509676 | 0.052693 | 0.018202 | 0.015944 | 0.027237 | 0.912841 | 0.896831 | 0.879891 | 0.869528 | 0.854381 | 0.844549 | 0 | 0.108668 | 0.264513 | 26,838 | 634 | 122 | 42.33123 | 0.653934 | 0.044899 | 0 | 0.65019 | 0 | 0.173004 | 0.536593 | 0 | 0 | 0 | 0 | 0 | 0.019011 | 1 | 0.019011 | false | 0 | 0.005703 | 0 | 0.026616 | 0.057034 | 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 |
1057f1cfeeeeaf5980f0ba235f3ed7dfa0ac48cf | 38 | py | Python | data/__init__.py | nilesh2797/perceiver-lm | 2431e7bb68fbd118273f7feb35559de47eb341a2 | [
"MIT"
] | null | null | null | data/__init__.py | nilesh2797/perceiver-lm | 2431e7bb68fbd118273f7feb35559de47eb341a2 | [
"MIT"
] | null | null | null | data/__init__.py | nilesh2797/perceiver-lm | 2431e7bb68fbd118273f7feb35559de47eb341a2 | [
"MIT"
] | null | null | null | from data.mnist import MNISTDataModule | 38 | 38 | 0.894737 | 5 | 38 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 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 |
107ad86525db42d105b828cdc6f1f58cdb61aab6 | 48 | py | Python | flask_gdrive/__init__.py | Shubby98/Flask-GDrive | b6876fa224b24f4d00ff9382a46a7bc573331198 | [
"MIT"
] | 8 | 2019-10-09T19:42:56.000Z | 2020-02-22T02:14:09.000Z | flask_gdrive/__init__.py | Shubby98/Flask-GDrive | b6876fa224b24f4d00ff9382a46a7bc573331198 | [
"MIT"
] | 9 | 2019-10-22T16:32:23.000Z | 2019-12-26T17:57:32.000Z | flask_gdrive/__init__.py | Shubby98/Flask-GDrive | b6876fa224b24f4d00ff9382a46a7bc573331198 | [
"MIT"
] | 7 | 2019-10-22T20:29:54.000Z | 2021-01-27T19:42:00.000Z | from .flask_gdrive import GDriveDB, GDriveStatic | 48 | 48 | 0.875 | 6 | 48 | 6.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
108fa568c8c68bc0dd73a4e1b35ad8ae6c4fffd7 | 16 | py | Python | python/20181228/Code/p3/c1.py | Realize0917/career | b5d02ac53cfc3ce3a2ca38d11480c51560283e67 | [
"MIT"
] | 3 | 2019-01-17T05:50:51.000Z | 2019-03-15T10:10:07.000Z | python/20181228/Code/p3/c1.py | Realize0917/career | b5d02ac53cfc3ce3a2ca38d11480c51560283e67 | [
"MIT"
] | 10 | 2019-01-17T06:07:03.000Z | 2019-02-19T05:55:25.000Z | python/20181228/Code/p3/c1.py | Realize0917/career | b5d02ac53cfc3ce3a2ca38d11480c51560283e67 | [
"MIT"
] | 4 | 2018-12-22T07:32:55.000Z | 2019-03-06T09:13:48.000Z | from . import c2 | 16 | 16 | 0.75 | 3 | 16 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.1875 | 16 | 1 | 16 | 16 | 0.846154 | 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 |
52e04bbe3b8482d94899bd6269df5fecbcf95a06 | 88 | py | Python | publichealth/home/models/__init__.py | pcoder/public-health-ch | cebc4849653560c54238b67814074353ff7c01f3 | [
"MIT"
] | 2 | 2020-10-29T16:27:21.000Z | 2021-06-07T12:47:46.000Z | publichealth/home/models/__init__.py | pcoder/public-health-ch | cebc4849653560c54238b67814074353ff7c01f3 | [
"MIT"
] | 11 | 2017-05-09T10:50:28.000Z | 2021-12-15T17:01:23.000Z | publichealth/home/models/__init__.py | pcoder/public-health-ch | cebc4849653560c54238b67814074353ff7c01f3 | [
"MIT"
] | 4 | 2017-04-24T13:06:55.000Z | 2021-06-04T02:18:32.000Z | from .forms import *
from .models import *
from .snippets import *
from .admin import *
| 17.6 | 23 | 0.727273 | 12 | 88 | 5.333333 | 0.5 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 88 | 4 | 24 | 22 | 0.888889 | 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 |
52fe4b7dc792f6d4a01c74ad7832281ff390be3b | 66 | py | Python | doorknob/__init__.py | escofresco/tinydoor | a8810cf7ca302bb91f5089f1ccdc37c30ec81cf6 | [
"MIT"
] | 4 | 2020-06-17T13:45:57.000Z | 2020-06-25T17:10:18.000Z | doorknob/__init__.py | escofresco/tinydoor | a8810cf7ca302bb91f5089f1ccdc37c30ec81cf6 | [
"MIT"
] | 80 | 2020-06-16T18:53:42.000Z | 2022-03-12T00:44:37.000Z | doorknob/__init__.py | escofresco/tinydoor | a8810cf7ca302bb91f5089f1ccdc37c30ec81cf6 | [
"MIT"
] | null | null | null | from .detect import *
from .foyer import *
from .helpers import *
| 16.5 | 22 | 0.727273 | 9 | 66 | 5.333333 | 0.555556 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 66 | 3 | 23 | 22 | 0.888889 | 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 |
5e0cb7f52572d0a94fba5847fd8189821152e621 | 20 | py | Python | perceptual/alignment/ewert/__init__.py | LIMUNIMI/PerceptualEvaluation | 6e1fcdf65ae5cb86997443607bb2050163b64720 | [
"MIT"
] | 6 | 2021-09-18T08:36:26.000Z | 2022-03-25T16:37:04.000Z | perceptual/alignment/ewert/__init__.py | LIMUNIMI/PerceptualEvaluation | 6e1fcdf65ae5cb86997443607bb2050163b64720 | [
"MIT"
] | 1 | 2021-08-24T11:18:25.000Z | 2021-12-18T19:46:05.000Z | perceptual/alignment/ewert/__init__.py | LIMUNIMI/PerceptualEvaluation | 6e1fcdf65ae5cb86997443607bb2050163b64720 | [
"MIT"
] | 3 | 2021-07-13T15:11:38.000Z | 2021-11-26T07:38:00.000Z | from . import align
| 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 |
eabc2d596d684adf815d34a4c8002b761aab2c78 | 21,923 | py | Python | nova/tests/unit/api/openstack/compute/test_extended_server_attributes.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/api/openstack/compute/test_extended_server_attributes.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/api/openstack/compute/test_extended_server_attributes.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | 2 | 2017-07-20T17:31:34.000Z | 2020-07-24T02:42:19.000Z | begin_unit
comment|'# Copyright 2011 OpenStack Foundation'
nl|'\n'
comment|'# All Rights Reserved.'
nl|'\n'
comment|'#'
nl|'\n'
comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may'
nl|'\n'
comment|'# not use this file except in compliance with the License. You may obtain'
nl|'\n'
co... | 12.125553 | 88 | 0.597774 | 3,269 | 21,923 | 3.929642 | 0.073417 | 0.163008 | 0.047408 | 0.054647 | 0.817998 | 0.780165 | 0.733147 | 0.699284 | 0.681924 | 0.634205 | 0 | 0.015661 | 0.097067 | 21,923 | 1,807 | 89 | 12.132263 | 0.633291 | 0 | 0 | 0.942446 | 0 | 0 | 0.353328 | 0.050677 | 0 | 0 | 0 | 0 | 0.017709 | 0 | null | null | 0.001107 | 0.004981 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
eac05de33ce6171f7a6b4c2473c0c4605f5814d7 | 134 | py | Python | semiconductor_photophysics/old/_semiconductor.py | wright-group/semiconductor-photophysics | e4c03aace7828a9b69b77dcc7a4fdd1de3f3fc20 | [
"MIT"
] | null | null | null | semiconductor_photophysics/old/_semiconductor.py | wright-group/semiconductor-photophysics | e4c03aace7828a9b69b77dcc7a4fdd1de3f3fc20 | [
"MIT"
] | null | null | null | semiconductor_photophysics/old/_semiconductor.py | wright-group/semiconductor-photophysics | e4c03aace7828a9b69b77dcc7a4fdd1de3f3fc20 | [
"MIT"
] | null | null | null | """
"""
import numpy as np
def beta_mu():
"""
pg. 96, eq. 6.37 of Haug and Koch
eq. 14 of 10.1063/1.340957
"""
| 12.181818 | 38 | 0.492537 | 23 | 134 | 2.826087 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224719 | 0.335821 | 134 | 11 | 39 | 12.181818 | 0.505618 | 0.455224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d800a109eaaaa7b619651dfd9eb4c99865844e37 | 32 | py | Python | obliquestrategies/__init__.py | FdelMazo/obliquestrategies | f2db3ef378c642b2cecd55945c68c03ab9cc4d9a | [
"MIT"
] | 3 | 2019-01-09T02:04:16.000Z | 2021-03-02T07:05:51.000Z | obliquestrategies/__init__.py | FdelMazo/obliquestrategies | f2db3ef378c642b2cecd55945c68c03ab9cc4d9a | [
"MIT"
] | null | null | null | obliquestrategies/__init__.py | FdelMazo/obliquestrategies | f2db3ef378c642b2cecd55945c68c03ab9cc4d9a | [
"MIT"
] | null | null | null | from .obliquestrategies import * | 32 | 32 | 0.84375 | 3 | 32 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.931034 | 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 |
dc33488317528d08ed53ed4e99476b80f3f60b4c | 117 | py | Python | hong/__init__.py | SherylHYX/Ro-SOS-Metric-Expression-Network-MEnet-for-Robust-Salient-Object-Segmentation | d774372e474161aae4dd26a033ae3858ed7255cf | [
"MIT"
] | 2 | 2021-12-21T03:20:28.000Z | 2022-02-08T12:35:34.000Z | hong/__init__.py | SherylHYX/Ro-SOS-Metric-Expression-Network-MEnet-for-Robust-Salient-Object-Segmentation | d774372e474161aae4dd26a033ae3858ed7255cf | [
"MIT"
] | null | null | null | hong/__init__.py | SherylHYX/Ro-SOS-Metric-Expression-Network-MEnet-for-Robust-Salient-Object-Segmentation | d774372e474161aae4dd26a033ae3858ed7255cf | [
"MIT"
] | null | null | null | from hong.data1 import InputLayer
from hong.resize import ResizeToSameSize
from hong.pyloss import EuclideanLossLayer | 39 | 42 | 0.880342 | 15 | 117 | 6.866667 | 0.6 | 0.23301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009434 | 0.094017 | 117 | 3 | 42 | 39 | 0.962264 | 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 |
dc751d3809e8f1074c83664ce6cc404544cf99f6 | 26 | py | Python | src/models/__init__.py | behavioral-data/multiverse | 82b7265de0aa3e9d229ce9f3f86b8b48435ca365 | [
"MIT"
] | null | null | null | src/models/__init__.py | behavioral-data/multiverse | 82b7265de0aa3e9d229ce9f3f86b8b48435ca365 | [
"MIT"
] | null | null | null | src/models/__init__.py | behavioral-data/multiverse | 82b7265de0aa3e9d229ce9f3f86b8b48435ca365 | [
"MIT"
] | 1 | 2021-08-19T15:21:50.000Z | 2021-08-19T15:21:50.000Z | from .CORAL_BART import *
| 13 | 25 | 0.769231 | 4 | 26 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.863636 | 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 |
dc833882a25782f379d9aa6590147f30ee0bcd66 | 128 | py | Python | tests/test_version.py | fabaff/hrepr | f6de915f1d34c47ceab11f5f70e433a30e6de174 | [
"MIT"
] | null | null | null | tests/test_version.py | fabaff/hrepr | f6de915f1d34c47ceab11f5f70e433a30e6de174 | [
"MIT"
] | null | null | null | tests/test_version.py | fabaff/hrepr | f6de915f1d34c47ceab11f5f70e433a30e6de174 | [
"MIT"
] | null | null | null | def test_version():
from hrepr.version import version
assert isinstance(version, str) and len(version.split(".")) == 3
| 25.6 | 68 | 0.695313 | 17 | 128 | 5.176471 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009434 | 0.171875 | 128 | 4 | 69 | 32 | 0.820755 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc95d59392d1e99430ee3e518e0e55d2a3d7c921 | 24,243 | py | Python | db/data/2008/11/get_gzs.py | nataliemcmullen/WikiMiney | 562177a74179cb28469604f4fb9d021cebeed0a6 | [
"MIT"
] | 1 | 2020-11-18T19:20:58.000Z | 2020-11-18T19:20:58.000Z | db/data/2008/11/get_gzs.py | nataliemcmullen/WikiMiney | 562177a74179cb28469604f4fb9d021cebeed0a6 | [
"MIT"
] | null | null | null | db/data/2008/11/get_gzs.py | nataliemcmullen/WikiMiney | 562177a74179cb28469604f4fb9d021cebeed0a6 | [
"MIT"
] | null | null | null | urls = [
"pagecounts-20081101-000001.gz",
"pagecounts-20081101-010000.gz",
"pagecounts-20081101-020000.gz",
"pagecounts-20081101-030000.gz",
"pagecounts-20081101-040000.gz",
"pagecounts-20081101-050001.gz",
"pagecounts-20081101-060000.gz",
"pagecounts-20081101-070000.gz",
"pagecounts-20081101-080000.gz",
"pagecounts-20... | 32.849593 | 84 | 0.783731 | 2,962 | 24,243 | 6.414585 | 0.037812 | 0.454105 | 0.028421 | 0.001474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.430962 | 0.033865 | 24,243 | 737 | 85 | 32.894166 | 0.380241 | 0.002764 | 0 | 0 | 0 | 0 | 0.868418 | 0.863702 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.001362 | null | null | 0.001362 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dca12c8a4e5b0341db34ca48db5bc1ae4957ddd0 | 10,241 | py | Python | ocrsite/ocrlab/migrations/0001_initial.py | mikesname/python-ocrlab | 435cc2548b38d92f8ffdc4bee8845f5a58d655ce | [
"MIT"
] | 4 | 2016-01-04T09:36:05.000Z | 2020-10-18T01:33:39.000Z | ocrsite/ocrlab/migrations/0001_initial.py | mikesname/python-ocrlab | 435cc2548b38d92f8ffdc4bee8845f5a58d655ce | [
"MIT"
] | null | null | null | ocrsite/ocrlab/migrations/0001_initial.py | mikesname/python-ocrlab | 435cc2548b38d92f8ffdc4bee8845f5a58d655ce | [
"MIT"
] | 3 | 2017-05-04T08:46:45.000Z | 2021-10-06T19:25:11.000Z | # encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'Preset'
db.create_table('ocrlab_preset', (
('id', self.gf('django.db.models.fi... | 64.00625 | 174 | 0.585587 | 1,095 | 10,241 | 5.348858 | 0.085845 | 0.087417 | 0.150589 | 0.215127 | 0.779068 | 0.759262 | 0.757214 | 0.735359 | 0.712652 | 0.681578 | 0 | 0.008839 | 0.193536 | 10,241 | 159 | 175 | 64.408805 | 0.700327 | 0.027829 | 0 | 0.48855 | 0 | 0 | 0.487631 | 0.291935 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015267 | false | 0 | 0.030534 | 0 | 0.068702 | 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 |
dcaf01bcebe9e95a012850cce9fe142ee7956fb5 | 1,241 | py | Python | scripts.old/diff_blend.py | nangtani/blender-import-lwo | 0bb9856642e04a44e081f1af4089c842d9b405cb | [
"MIT"
] | 33 | 2020-04-14T07:48:20.000Z | 2022-03-30T14:59:33.000Z | scripts.old/diff_blend.py | nangtani/blender-import-lwo | 0bb9856642e04a44e081f1af4089c842d9b405cb | [
"MIT"
] | 15 | 2020-04-16T23:27:00.000Z | 2022-03-19T16:18:01.000Z | scripts.old/diff_blend.py | nangtani/blender-import-lwo | 0bb9856642e04a44e081f1af4089c842d9b405cb | [
"MIT"
] | 4 | 2020-04-22T17:40:11.000Z | 2022-02-04T16:37:47.000Z | import os
import sys
sys.path.append(os.environ["LOCAL_PYTHONPATH"])
from lwo_helper import diff_files, delete_everything
def main():
# # outfile0 = "tests/basic/ref_blend/2.80/cycles/LWO2/ngon/ngon0.lwo.blend"
# # outfile1 = "tests/basic/dst_blend/2.80/cycles/LWO2/ngon/ngon0.lwo.blend"
# # o... | 35.457143 | 93 | 0.691378 | 181 | 1,241 | 4.574586 | 0.20442 | 0.120773 | 0.077295 | 0.135266 | 0.85628 | 0.85628 | 0.85628 | 0.85628 | 0.830918 | 0.830918 | 0 | 0.062917 | 0.154714 | 1,241 | 34 | 94 | 36.5 | 0.726406 | 0.636583 | 0 | 0 | 0 | 0.2 | 0.334118 | 0.277647 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.3 | 0 | 0.4 | 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 |
f4b01973aab9cd5ae90ff9b7672b6fb5cf74f590 | 160 | py | Python | bot/config/logger.py | guibperes/botnet | 4f41f94774fa45f04290668c007bde8b1ae7e948 | [
"MIT"
] | null | null | null | bot/config/logger.py | guibperes/botnet | 4f41f94774fa45f04290668c007bde8b1ae7e948 | [
"MIT"
] | null | null | null | bot/config/logger.py | guibperes/botnet | 4f41f94774fa45f04290668c007bde8b1ae7e948 | [
"MIT"
] | null | null | null | import logging
def logger_init():
logging.basicConfig(format='%(process)s [%(levelname)s] (%(asctime)s) %(threadName)s - %(message)s', level=logging.INFO)
| 32 | 124 | 0.7 | 21 | 160 | 5.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 160 | 4 | 125 | 40 | 0.770833 | 0 | 0 | 0 | 0 | 0.333333 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f4b358b0ecdcbaee8dcaf28ad910d28e89f14e32 | 101 | py | Python | tests/test_day23.py | runfalk/advent-of-code-2019-py | 992ab28fc03a9944796688e96536d22b4541bf3f | [
"MIT"
] | null | null | null | tests/test_day23.py | runfalk/advent-of-code-2019-py | 992ab28fc03a9944796688e96536d22b4541bf3f | [
"MIT"
] | null | null | null | tests/test_day23.py | runfalk/advent-of-code-2019-py | 992ab28fc03a9944796688e96536d22b4541bf3f | [
"MIT"
] | null | null | null | from aoc.day23 import solve
def test_solve():
assert solve("data/day23.txt") == (17740, 12567)
| 16.833333 | 52 | 0.683168 | 15 | 101 | 4.533333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.168317 | 101 | 5 | 53 | 20.2 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0.138614 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f4bc0aa8e5f93035dccd23b6580f6f4f55633390 | 9,077 | py | Python | tests/test_base_api.py | asampat3090/pymeerkat | 94ab92535bf88a43300eb3dc8fb70cc3ad83f9a3 | [
"MIT"
] | null | null | null | tests/test_base_api.py | asampat3090/pymeerkat | 94ab92535bf88a43300eb3dc8fb70cc3ad83f9a3 | [
"MIT"
] | 3 | 2015-07-16T06:26:47.000Z | 2015-07-16T21:38:28.000Z | tests/test_base_api.py | asampat3090/pymeerkat | 94ab92535bf88a43300eb3dc8fb70cc3ad83f9a3 | [
"MIT"
] | null | null | null | """
Test cases for the base_api.py file
"""
# Import generic libraries
import unittest
# Add relevant dirs to the sys path
import env
import os
# Import library to test
import base_api
API_VERSION = '1.0'
# Read API_KEY from 'my_api_key' in 'tests/' directory OR
if os.path.isfile('my_api_key'):
with open('my_api... | 35.73622 | 121 | 0.66652 | 1,158 | 9,077 | 4.917962 | 0.104491 | 0.071993 | 0.114311 | 0.022827 | 0.809658 | 0.752414 | 0.742757 | 0.736611 | 0.735909 | 0.729236 | 0 | 0.00338 | 0.250303 | 9,077 | 253 | 122 | 35.87747 | 0.833505 | 0.24821 | 0 | 0.560345 | 0 | 0 | 0.039711 | 0 | 0 | 0 | 0 | 0 | 0.267241 | 1 | 0.094828 | false | 0 | 0.034483 | 0 | 0.137931 | 0.155172 | 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 |
52010d535b2e970b837548d198e51bcfe4f505e7 | 59 | py | Python | elliot/recommender/NN/user_knn/__init__.py | swapUniba/Elliot_refactor-tesi-Ventrella | 3ddffc041696c90a6f6d3e8906c212fc4f55f842 | [
"Apache-2.0"
] | null | null | null | elliot/recommender/NN/user_knn/__init__.py | swapUniba/Elliot_refactor-tesi-Ventrella | 3ddffc041696c90a6f6d3e8906c212fc4f55f842 | [
"Apache-2.0"
] | null | null | null | elliot/recommender/NN/user_knn/__init__.py | swapUniba/Elliot_refactor-tesi-Ventrella | 3ddffc041696c90a6f6d3e8906c212fc4f55f842 | [
"Apache-2.0"
] | 1 | 2021-06-02T06:57:07.000Z | 2021-06-02T06:57:07.000Z | from elliot.recommender.NN.user_knn.user_knn import UserKNN | 59 | 59 | 0.881356 | 10 | 59 | 5 | 0.8 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050847 | 59 | 1 | 59 | 59 | 0.892857 | 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 |
523c863e99c11f3053687e0105d0e8af145350a0 | 170 | py | Python | tpu_star/__init__.py | shonenkov/TPU-Star | 184ca912e4c3e6300af0156213ed792997d1fcc4 | [
"Apache-2.0"
] | 8 | 2020-10-28T07:03:20.000Z | 2021-12-22T09:10:40.000Z | tpu_star/__init__.py | shonenkov/TPU-Star | 184ca912e4c3e6300af0156213ed792997d1fcc4 | [
"Apache-2.0"
] | 8 | 2020-10-21T10:00:22.000Z | 2021-10-05T18:45:04.000Z | tpu_star/__init__.py | shonenkov/TPU-Star | 184ca912e4c3e6300af0156213ed792997d1fcc4 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from . import datasets, experiment, colab_utils, utils
__version__ = '0.0.1-rc10'
__all__ = ['datasets', 'experiment', 'colab_utils', 'utils']
| 21.25 | 60 | 0.664706 | 21 | 170 | 4.904762 | 0.666667 | 0.349515 | 0.446602 | 0.543689 | 0.640777 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041096 | 0.141176 | 170 | 7 | 61 | 24.285714 | 0.664384 | 0.123529 | 0 | 0 | 0 | 0 | 0.29932 | 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 |
5292eefe114d53fff74bd33058d4916a0aa620fe | 8,176 | py | Python | build/ARM/python/m5/internal/CreditLink_vector.py | Jakgn/gem5_test | 0ba7cc5213cf513cf205af7fc995cf679ebc1a3f | [
"BSD-3-Clause"
] | null | null | null | build/ARM/python/m5/internal/CreditLink_vector.py | Jakgn/gem5_test | 0ba7cc5213cf513cf205af7fc995cf679ebc1a3f | [
"BSD-3-Clause"
] | null | null | null | build/ARM/python/m5/internal/CreditLink_vector.py | Jakgn/gem5_test | 0ba7cc5213cf513cf205af7fc995cf679ebc1a3f | [
"BSD-3-Clause"
] | null | null | null | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.11
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info
if version_info >= (2,6,0):
def swig_import_helper():
from os.path impo... | 48.958084 | 107 | 0.756727 | 1,032 | 8,176 | 5.516473 | 0.17345 | 0.163007 | 0.185491 | 0.17987 | 0.496575 | 0.440014 | 0.26717 | 0.109433 | 0.082031 | 0.069032 | 0 | 0.004027 | 0.149584 | 8,176 | 166 | 108 | 49.253012 | 0.814756 | 0.028131 | 0 | 0.145833 | 1 | 0 | 0.030242 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.402778 | false | 0.013889 | 0.152778 | 0.347222 | 0.673611 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
870633847caa0416890f0d64e5fc0ad34c7e4180 | 20 | py | Python | nytram_box2d/shapes/__init__.py | cloew/NytramBox2D | 0c01bd592322fcfa8bbf6fc9374e4958edc69f0b | [
"MIT"
] | null | null | null | nytram_box2d/shapes/__init__.py | cloew/NytramBox2D | 0c01bd592322fcfa8bbf6fc9374e4958edc69f0b | [
"MIT"
] | 1 | 2021-10-17T10:18:04.000Z | 2021-10-17T10:18:04.000Z | nytram_box2d/shapes/__init__.py | cloew/NytramBox2D | 0c01bd592322fcfa8bbf6fc9374e4958edc69f0b | [
"MIT"
] | null | null | null | from .box import Box | 20 | 20 | 0.8 | 4 | 20 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
871ebc6e1f97d365b4a7e4805eb6210fd26cef50 | 37 | py | Python | vedastr/optimizers/__init__.py | csmasters/vedastr | 7513384ab503f15dc574c7d92b75ff2092354757 | [
"Apache-2.0"
] | 475 | 2020-03-17T01:46:32.000Z | 2022-03-29T23:30:15.000Z | vedastr/optimizers/__init__.py | csmasters/vedastr | 7513384ab503f15dc574c7d92b75ff2092354757 | [
"Apache-2.0"
] | 71 | 2020-04-01T04:17:47.000Z | 2021-11-18T06:55:14.000Z | vedastr/optimizers/__init__.py | csmasters/vedastr | 7513384ab503f15dc574c7d92b75ff2092354757 | [
"Apache-2.0"
] | 108 | 2020-02-21T10:30:37.000Z | 2022-03-21T12:03:30.000Z | from .builder import build_optimizer
| 18.5 | 36 | 0.864865 | 5 | 37 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
872c1e9bced709a6d81e485c6b2f93d21b7f7960 | 65 | py | Python | jptools/mocks/languageHandler.py | riku22/nvdajp | 66a828ea89d317e4aa0ad2aed4b3b1e08920afb6 | [
"bzip2-1.0.6"
] | 19 | 2016-05-11T05:15:31.000Z | 2022-03-17T12:40:10.000Z | jptools/mocks/languageHandler.py | riku22/nvdajp | 66a828ea89d317e4aa0ad2aed4b3b1e08920afb6 | [
"bzip2-1.0.6"
] | 307 | 2015-08-27T11:22:33.000Z | 2022-03-29T10:43:34.000Z | jptools/mocks/languageHandler.py | riku22/nvdajp | 66a828ea89d317e4aa0ad2aed4b3b1e08920afb6 | [
"bzip2-1.0.6"
] | 14 | 2016-03-28T07:31:49.000Z | 2022-03-30T04:56:35.000Z | def setLanguage(lang):
pass
def getLanguage():
return 'ja-JP'
| 10.833333 | 22 | 0.707692 | 9 | 65 | 5.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 65 | 5 | 23 | 13 | 0.836364 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.25 | 0 | 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 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.