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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0394d77f7686ae81162fc08c23ef262c53dfe6b7 | 32 | py | Python | matchzoo/datasets/cqa_ql_16/__init__.py | baajur/MatchZoo | fe0ccdd82500d116a7f945539ed05566fce90434 | [
"Apache-2.0"
] | 2,209 | 2018-10-15T08:31:35.000Z | 2022-03-31T14:29:11.000Z | matchzoo/datasets/cqa_ql_16/__init__.py | baajur/MatchZoo | fe0ccdd82500d116a7f945539ed05566fce90434 | [
"Apache-2.0"
] | 398 | 2018-10-15T07:35:01.000Z | 2022-03-13T21:31:26.000Z | matchzoo/datasets/cqa_ql_16/__init__.py | baajur/MatchZoo | fe0ccdd82500d116a7f945539ed05566fce90434 | [
"Apache-2.0"
] | 535 | 2018-10-16T09:29:02.000Z | 2022-03-31T02:12:52.000Z | from .load_data import load_data | 32 | 32 | 0.875 | 6 | 32 | 4.333333 | 0.666667 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 | 7 |
03b5740d86f67787dc1db47fecaf44795633b670 | 66,015 | py | Python | InterventionsMIP/reporting/plotting.py | haoxiangyang89/COVID_Staged_Alert | 4c2cc5ef1d38c140875380a5f10a0fe1eaf8a47a | [
"MIT"
] | 1 | 2021-06-24T19:27:01.000Z | 2021-06-24T19:27:01.000Z | InterventionsMIP/reporting/plotting.py | haoxiangyang89/COVID_Staged_Alert | 4c2cc5ef1d38c140875380a5f10a0fe1eaf8a47a | [
"MIT"
] | null | null | null | InterventionsMIP/reporting/plotting.py | haoxiangyang89/COVID_Staged_Alert | 4c2cc5ef1d38c140875380a5f10a0fe1eaf8a47a | [
"MIT"
] | 3 | 2021-12-15T13:32:25.000Z | 2022-02-24T13:57:07.000Z | '''
Module for plotting function
'''
import os
import sys
import numpy as np
import pandas as pd
import time
import argparse
import calendar as py_cal
from pathlib import Path
from matplotlib import pyplot as plt
from matplotlib.ticker import FuncFormatter
import matplotlib.dates as mdates
import matplotlib.cbook as cb... | 46.391427 | 174 | 0.54421 | 8,941 | 66,015 | 3.784588 | 0.070909 | 0.032626 | 0.022755 | 0.014599 | 0.870648 | 0.858118 | 0.84807 | 0.836574 | 0.830752 | 0.830752 | 0 | 0.0356 | 0.328547 | 66,015 | 1,423 | 175 | 46.391427 | 0.72779 | 0.149875 | 0 | 0.816744 | 0 | 0.009302 | 0.089565 | 0.025608 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007442 | false | 0 | 0.017674 | 0 | 0.031628 | 0.034419 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
03d5d68331c42b26bfbffd2e7619b2acdab5aec7 | 232 | py | Python | sample/example_module_to_import.py | GregHilston/example-ghilston-python-cookiecutter | 47a13ee249f156815a6dd730e01e761e5055e4b6 | [
"MIT"
] | null | null | null | sample/example_module_to_import.py | GregHilston/example-ghilston-python-cookiecutter | 47a13ee249f156815a6dd730e01e761e5055e4b6 | [
"MIT"
] | null | null | null | sample/example_module_to_import.py | GregHilston/example-ghilston-python-cookiecutter | 47a13ee249f156815a6dd730e01e761e5055e4b6 | [
"MIT"
] | null | null | null | """Example function to import in the same package"""
def example_function_to_import():
"""Example function to import inside this package
Returns:
Hard coded message
"""
return "example_function_to_import"
| 21.090909 | 53 | 0.702586 | 29 | 232 | 5.413793 | 0.551724 | 0.382166 | 0.433121 | 0.585987 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219828 | 232 | 10 | 54 | 23.2 | 0.867403 | 0.543103 | 0 | 0 | 0 | 0 | 0.317073 | 0.317073 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 2 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
45760a29324e362299472492bfd7cc1a4cdc6bf1 | 39,738 | py | Python | sourcecode/pathwaysearch/pwdfs_naive.py | CC-SXF/PyMiner | d103d54eeaa5653c8f8bc03f78fd4a96e0acefe7 | [
"MIT"
] | 2 | 2022-01-20T07:38:00.000Z | 2022-01-20T07:56:39.000Z | sourcecode/pathwaysearch/pwdfs_naive.py | CC-SXF/PyMiner | d103d54eeaa5653c8f8bc03f78fd4a96e0acefe7 | [
"MIT"
] | null | null | null | sourcecode/pathwaysearch/pwdfs_naive.py | CC-SXF/PyMiner | d103d54eeaa5653c8f8bc03f78fd4a96e0acefe7 | [
"MIT"
] | 1 | 2022-01-11T14:29:48.000Z | 2022-01-11T14:29:48.000Z | # -*- coding: utf-8 -*-
"""
Created on Tue Oct 27 10:13:28 2020
@author: CC-SXF
"""
# import re
# import sys
# import copy
import psutil
from datetime import datetime
from PyQt5 import QtCore
class PwNaDfs(QtCore.QObject):
"""
Pathway search tools using Depth-First Search algorithm.
... | 47.476703 | 145 | 0.488022 | 3,378 | 39,738 | 5.670515 | 0.095027 | 0.031323 | 0.028974 | 0.035709 | 0.868912 | 0.847716 | 0.843801 | 0.827878 | 0.82036 | 0.815557 | 0 | 0.019532 | 0.430545 | 39,738 | 836 | 146 | 47.533493 | 0.826948 | 0.185465 | 0 | 0.794059 | 0 | 0 | 0.163576 | 0.016601 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017822 | false | 0.027723 | 0.005941 | 0 | 0.075248 | 0.061386 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
458885ba34826a6ae4c73e6e4bd8bfe052a63c89 | 145 | py | Python | agentenc/encryptors/__init__.py | C4a15Wh/AgentEncryption | b0c878199db2898ea9d08c6a2e0b652971662bab | [
"Apache-2.0"
] | 9 | 2021-11-09T12:31:25.000Z | 2022-03-16T01:45:05.000Z | agentenc/encryptors/__init__.py | C4a15Wh/AgentEncryption | b0c878199db2898ea9d08c6a2e0b652971662bab | [
"Apache-2.0"
] | 2 | 2021-11-04T05:36:23.000Z | 2022-03-08T10:02:09.000Z | agentenc/encryptors/__init__.py | C4a15Wh/AgentEncryption | b0c878199db2898ea9d08c6a2e0b652971662bab | [
"Apache-2.0"
] | 3 | 2021-11-05T16:12:08.000Z | 2022-01-12T10:01:44.000Z | from agentenc.encryptors.base import Encryptor
from agentenc.encryptors.rsa import RSAEncryptor
from agentenc.encryptors.aes import AESEncryptor
| 36.25 | 48 | 0.875862 | 18 | 145 | 7.055556 | 0.555556 | 0.283465 | 0.519685 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082759 | 145 | 3 | 49 | 48.333333 | 0.954887 | 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 | 1 | 0 | 0 | 7 |
b33951e96e1aa77a59510fa8ab219d3ff0b5a9dc | 6,077 | py | Python | tests/api-client/test_guest_media.py | bcurnow/rfid-security-svc | d3806cb74d3d0cc2623ea425230dc8781ba4d8b4 | [
"Apache-2.0"
] | null | null | null | tests/api-client/test_guest_media.py | bcurnow/rfid-security-svc | d3806cb74d3d0cc2623ea425230dc8781ba4d8b4 | [
"Apache-2.0"
] | null | null | null | tests/api-client/test_guest_media.py | bcurnow/rfid-security-svc | d3806cb74d3d0cc2623ea425230dc8781ba4d8b4 | [
"Apache-2.0"
] | null | null | null | from unittest.mock import patch
from rfidsecuritysvc.api import RECORD_COUNT_HEADER
from rfidsecuritysvc.model.color import Color
from rfidsecuritysvc.model.guest_media import GuestMedia as Model
api = 'guest-media'
def test_get(rh, guest_medias):
rh.assert_response(rh.open('get', f'{api}/{guest_medias[0].id}')... | 41.060811 | 121 | 0.659701 | 870 | 6,077 | 4.34023 | 0.075862 | 0.177966 | 0.221398 | 0.181144 | 0.846398 | 0.8366 | 0.828919 | 0.828919 | 0.724576 | 0.715307 | 0 | 0.026734 | 0.181339 | 6,077 | 147 | 122 | 41.340136 | 0.732261 | 0.009544 | 0 | 0.647619 | 0 | 0 | 0.106471 | 0.022625 | 0 | 0 | 0.005324 | 0 | 0.371429 | 1 | 0.161905 | false | 0 | 0.038095 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 8 |
b35bf34536a72046cb0993cd30816081f9f69ed8 | 18,637 | py | Python | bundle/deepracer_msgs/lib/python2.7/dist-packages/deepracer_msgs/srv/_SetVisualMeshes.py | larsll/deepracer-simapp | 9251c32ff33d49955b63ccca4f38d01a0c721d4f | [
"MIT"
] | 1 | 2022-02-23T20:34:00.000Z | 2022-02-23T20:34:00.000Z | bundle/deepracer_msgs/lib/python2.7/dist-packages/deepracer_msgs/srv/_SetVisualMeshes.py | Bandwidth/deepracer-simapp | 9bf0a5f9c55e37ecef8e72b1b6dc15ecb0370bc1 | [
"MIT"
] | null | null | null | bundle/deepracer_msgs/lib/python2.7/dist-packages/deepracer_msgs/srv/_SetVisualMeshes.py | Bandwidth/deepracer-simapp | 9bf0a5f9c55e37ecef8e72b1b6dc15ecb0370bc1 | [
"MIT"
] | null | null | null | # This Python file uses the following encoding: utf-8
"""autogenerated by genpy from deepracer_msgs/SetVisualMeshesRequest.msg. Do not edit."""
import codecs
import sys
python3 = True if sys.hexversion > 0x03000000 else False
import genpy
import struct
import geometry_msgs.msg
class SetVisualMeshesRequest(genpy.Messa... | 33.459605 | 145 | 0.607555 | 2,459 | 18,637 | 4.463603 | 0.090281 | 0.065598 | 0.050109 | 0.044916 | 0.847941 | 0.841746 | 0.841746 | 0.831359 | 0.831359 | 0.831359 | 0 | 0.020886 | 0.262703 | 18,637 | 556 | 146 | 33.519784 | 0.777891 | 0.13382 | 0 | 0.876087 | 1 | 0 | 0.100216 | 0.022101 | 0 | 0 | 0.00127 | 0 | 0 | 1 | 0.036957 | false | 0 | 0.019565 | 0 | 0.121739 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b370f8c696e4d36b5534754f72d32abbfde04180 | 140 | py | Python | icedata/datasets/fridge/__init__.py | davanstrien/icedata | fdab4d47f68c75bc11b0a97599d46fa8107786f4 | [
"Apache-2.0"
] | null | null | null | icedata/datasets/fridge/__init__.py | davanstrien/icedata | fdab4d47f68c75bc11b0a97599d46fa8107786f4 | [
"Apache-2.0"
] | null | null | null | icedata/datasets/fridge/__init__.py | davanstrien/icedata | fdab4d47f68c75bc11b0a97599d46fa8107786f4 | [
"Apache-2.0"
] | null | null | null | from icedata.datasets.fridge.data import *
from icedata.datasets.fridge.parsers import *
from icedata.datasets.fridge import trained_models
| 35 | 50 | 0.842857 | 19 | 140 | 6.157895 | 0.473684 | 0.282051 | 0.487179 | 0.641026 | 0.529915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 140 | 3 | 51 | 46.666667 | 0.914063 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
2ffa64ae20dc9f4aa56a00e9e34afd5742b32984 | 51,360 | py | Python | frozen/imagedata.py | ayoy/micropython-waveshare-epd | 58859f5d0158987c84fb20e3920af0962b37de61 | [
"MIT"
] | 45 | 2018-04-02T22:24:47.000Z | 2022-03-27T14:34:06.000Z | frozen_modules/fonts/imagedata.py | lemariva/uPyEINK | 8778239b9dfe32b0d4535db0045a7feb1c131d5c | [
"Apache-2.0"
] | 2 | 2018-09-19T09:39:20.000Z | 2019-05-23T09:56:29.000Z | frozen/imagedata.py | ayoy/micropython-waveshare-epd | 58859f5d0158987c84fb20e3920af0962b37de61 | [
"MIT"
] | 16 | 2018-04-08T21:34:28.000Z | 2022-03-18T16:00:38.000Z | IMAGE_BLACK = [
# 0X00,0X01,0XC8,0X00,0XC8,0X00,
0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
0XFF,0XFF,0XFF,0XFF,0XF... | 81.009464 | 81 | 0.78014 | 10,016 | 51,360 | 4.0002 | 0.008087 | 1.331403 | 1.744621 | 2.038237 | 0.964908 | 0.946638 | 0.922977 | 0.895023 | 0.885838 | 0.874457 | 0 | 0.260941 | 0.024766 | 51,360 | 633 | 82 | 81.137441 | 0.538971 | 0.001188 | 0 | 0.352381 | 0 | 0 | 0 | 0 | 0 | 0 | 0.789531 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
2ffd5c6a2278ccbe2bff8023a1cc79e38bce5aae | 12,453 | py | Python | SimpleCV/tests/DrawingTests.py | quantombone/SimpleCV | 6b88d767fea155377cce2a4435272361c5d10b91 | [
"BSD-3-Clause"
] | 2 | 2018-04-09T09:50:49.000Z | 2021-05-16T20:13:52.000Z | SimpleCV/tests/DrawingTests.py | quantombone/SimpleCV | 6b88d767fea155377cce2a4435272361c5d10b91 | [
"BSD-3-Clause"
] | null | null | null | SimpleCV/tests/DrawingTests.py | quantombone/SimpleCV | 6b88d767fea155377cce2a4435272361c5d10b91 | [
"BSD-3-Clause"
] | null | null | null | import os, sys
from SimpleCV import *
from nose.tools import with_setup
fname = "../sampleimages/color.jpg"
def diffImgs(left,right):
retVal = False
diff = left-right
c = diff.meanColor()
thresh=2.0
if( c[0]<thresh and c[1]<thresh and c[2]<thresh):
retVal = True
return retVal
def tes... | 30.597052 | 84 | 0.622019 | 1,835 | 12,453 | 4.213624 | 0.082289 | 0.06208 | 0.040352 | 0.04656 | 0.867693 | 0.859286 | 0.770305 | 0.765132 | 0.747284 | 0.734868 | 0 | 0.069824 | 0.213362 | 12,453 | 407 | 85 | 30.597052 | 0.719477 | 0.014615 | 0 | 0.775457 | 0 | 0 | 0.067265 | 0.031064 | 0 | 0 | 0 | 0 | 0.031332 | 1 | 0.033943 | false | 0.031332 | 0.007833 | 0 | 0.044386 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
643f261b2da2b888be1b49b6ee50f311ff6cf58b | 5,888 | py | Python | CAAPR/CAAPR_AstroMagic/PTS/pts/modeling/basics/instruments.py | wdobbels/CAAPR | 50d0b32642a61af614c22f1c6dc3c4a00a1e71a3 | [
"MIT"
] | 7 | 2016-05-20T21:56:39.000Z | 2022-02-07T21:09:48.000Z | CAAPR/CAAPR_AstroMagic/PTS/pts/modeling/basics/instruments.py | wdobbels/CAAPR | 50d0b32642a61af614c22f1c6dc3c4a00a1e71a3 | [
"MIT"
] | 1 | 2019-03-21T16:10:04.000Z | 2019-03-22T17:21:56.000Z | CAAPR/CAAPR_AstroMagic/PTS/pts/modeling/basics/instruments.py | wdobbels/CAAPR | 50d0b32642a61af614c22f1c6dc3c4a00a1e71a3 | [
"MIT"
] | 1 | 2020-05-19T16:17:17.000Z | 2020-05-19T16:17:17.000Z | #!/usr/bin/env python
# -*- coding: utf8 -*-
# *****************************************************************
# ** PTS -- Python Toolkit for working with SKIRT **
# ** © Astronomical Observatory, Ghent University **
# *****************************************************************
##... | 29.004926 | 139 | 0.523947 | 526 | 5,888 | 5.596958 | 0.117871 | 0.088315 | 0.046196 | 0.024457 | 0.878397 | 0.878397 | 0.878397 | 0.878397 | 0.878397 | 0.878397 | 0 | 0.000462 | 0.264436 | 5,888 | 202 | 140 | 29.148515 | 0.679058 | 0.351902 | 0 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.016667 | 0 | 0.283333 | 0.016667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
ff3c416979024eb946eaedb1ccd1a3e20ce5e777 | 23,127 | py | Python | Jogo_da_forca.py | fabiobarreto-data-science/Data-Science---Let-s-Code | df60c8351141d3fcbd96589c4dd27e1054fed712 | [
"MIT"
] | null | null | null | Jogo_da_forca.py | fabiobarreto-data-science/Data-Science---Let-s-Code | df60c8351141d3fcbd96589c4dd27e1054fed712 | [
"MIT"
] | null | null | null | Jogo_da_forca.py | fabiobarreto-data-science/Data-Science---Let-s-Code | df60c8351141d3fcbd96589c4dd27e1054fed712 | [
"MIT"
] | null | null | null | import random
import time
def venceu():
for c in range(0, 3):
print(" \033[1;33mW\033[m\033[1;33mW\033[m \033[1;33mW\033[m\033[1;33mW\033[m")
time.sleep(0.3)
print(" \033[30;42mPARABÉNS, VOCÊ VENCEU!!\033[m")
def fim(): # Função que finaliza o jogo.
print()
prin... | 36.709524 | 257 | 0.437238 | 2,800 | 23,127 | 3.570357 | 0.070357 | 0.031209 | 0.03421 | 0.074122 | 0.882765 | 0.857957 | 0.846754 | 0.821346 | 0.812544 | 0.79874 | 0 | 0.062452 | 0.375492 | 23,127 | 629 | 258 | 36.767886 | 0.629717 | 0.076404 | 0 | 0.873311 | 0 | 0.018581 | 0.194928 | 0.051709 | 0 | 0 | 0 | 0.00159 | 0 | 1 | 0.018581 | false | 0 | 0.005068 | 0 | 0.023649 | 0.371622 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
ff547a1eb6fbb32e3e4bb0461112caf0160a3e7a | 23,804 | py | Python | deploy/clients/localtestclient.py | hwinther/lanot | f6700cacb3946535081624467b746fdfd38e021d | [
"Apache-2.0"
] | null | null | null | deploy/clients/localtestclient.py | hwinther/lanot | f6700cacb3946535081624467b746fdfd38e021d | [
"Apache-2.0"
] | null | null | null | deploy/clients/localtestclient.py | hwinther/lanot | f6700cacb3946535081624467b746fdfd38e021d | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# generated at 2018-10-12 21:38:39
import prometheus
import socket
import time
import gc
import json
import prometheus.crypto
import prometheus.misc
import prometheus.psocket
import prometheus.logging as logging
gc.collect()
# region LocalTestUdpClient
class LocalTestUdpClientDigital0(prometheus.Prome... | 35.688156 | 107 | 0.653546 | 2,748 | 23,804 | 5.545124 | 0.068049 | 0.063 | 0.122851 | 0.085051 | 0.822024 | 0.788161 | 0.780877 | 0.77228 | 0.754823 | 0.736711 | 0 | 0.01819 | 0.210133 | 23,804 | 666 | 108 | 35.741742 | 0.792256 | 0.01924 | 0 | 0.700389 | 1 | 0.001946 | 0.11353 | 0.062776 | 0 | 0 | 0 | 0 | 0 | 1 | 0.20428 | false | 0 | 0.01751 | 0.001946 | 0.385214 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
ffb81bb078780b13f44c8ba2ea4227fae5a20327 | 538,242 | py | Python | base.py | pauloacmelo/papelex_winthor | 4993aba5c24c4ea7f203058f164c14bc19d64980 | [
"MIT"
] | 1 | 2020-06-14T04:59:42.000Z | 2020-06-14T04:59:42.000Z | base.py | pauloacmelo/papelex_winthor | 4993aba5c24c4ea7f203058f164c14bc19d64980 | [
"MIT"
] | null | null | null | base.py | pauloacmelo/papelex_winthor | 4993aba5c24c4ea7f203058f164c14bc19d64980 | [
"MIT"
] | null | null | null | #encoding=utf-8
import sys, time
from PySide import QtGui, QtCore
import cx_Oracle
from collections import OrderedDict
import urllib2
import json
POPUP_WIDTH = 250
POPUP_HEIGHT = 60
POPUP_TITLE_HEIGHT = 10
POPUP_MESSAGE_HEIGHT = 20
POPUP_MARGIN = 15
POPUP_PADDING = 10
class MyPopup(QtGui.QWidget):
def __init__(se... | 1,592.431953 | 253,326 | 0.954017 | 19,534 | 538,242 | 26.279769 | 0.45879 | 0.023282 | 0.033954 | 0.043978 | 0.952691 | 0.952085 | 0.951818 | 0.951376 | 0.950519 | 0.950375 | 0 | 0.158853 | 0.006204 | 538,242 | 338 | 253,327 | 1,592.431953 | 0.800852 | 0.000725 | 0 | 0.16726 | 0 | 0.010676 | 0.980281 | 0.978892 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0.02847 | 0.021352 | null | null | 0.010676 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
4422dfa5b5e32e084661deb03b17b5e61c7fd8e3 | 20,181 | py | Python | sdk/python/pulumi_aws/organizations/outputs.py | alexbowers/pulumi-aws | 7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5 | [
"ECL-2.0",
"Apache-2.0"
] | 260 | 2018-06-18T14:57:00.000Z | 2022-03-29T11:41:03.000Z | sdk/python/pulumi_aws/organizations/outputs.py | alexbowers/pulumi-aws | 7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5 | [
"ECL-2.0",
"Apache-2.0"
] | 1,154 | 2018-06-19T20:38:20.000Z | 2022-03-31T19:48:16.000Z | sdk/python/pulumi_aws/organizations/outputs.py | alexbowers/pulumi-aws | 7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5 | [
"ECL-2.0",
"Apache-2.0"
] | 115 | 2018-06-28T03:20:27.000Z | 2022-03-29T11:41:06.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 29.721649 | 154 | 0.580744 | 2,264 | 20,181 | 5.007951 | 0.065813 | 0.034398 | 0.056183 | 0.082113 | 0.811078 | 0.794673 | 0.780561 | 0.761069 | 0.741489 | 0.731699 | 0 | 0.000073 | 0.316932 | 20,181 | 678 | 155 | 29.765487 | 0.822416 | 0.258213 | 0 | 0.81201 | 1 | 0.002611 | 0.098514 | 0.046819 | 0 | 0 | 0 | 0 | 0 | 1 | 0.167102 | false | 0 | 0.015666 | 0.005222 | 0.347258 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
922fb6ea3179fab4b58986e606c7c705ad85cbfb | 7,885 | py | Python | pytorchrl/agent/algorithms/policy_loss_addons/kv_similarity.py | PyTorchRL/pytorchrl | 055843ab58a06ba1f77da73082be6f23cf453ddd | [
"MIT"
] | 20 | 2021-01-12T16:31:34.000Z | 2022-03-18T00:31:29.000Z | pytorchrl/agent/algorithms/policy_loss_addons/kv_similarity.py | PyTorchRL/pytorchrl | 055843ab58a06ba1f77da73082be6f23cf453ddd | [
"MIT"
] | 4 | 2021-01-19T09:29:58.000Z | 2021-09-29T12:21:08.000Z | pytorchrl/agent/algorithms/policy_loss_addons/kv_similarity.py | PyTorchRL/pytorchrl | 055843ab58a06ba1f77da73082be6f23cf453ddd | [
"MIT"
] | 2 | 2021-01-12T16:07:37.000Z | 2021-02-01T21:09:14.000Z | import torch
import numpy as np
from torch.distributions.kl import kl_divergence
import pytorchrl as prl
from pytorchrl.agent.algorithms.policy_loss_addons import PolicyLossAddOn
class AttractionKL(PolicyLossAddOn):
def __init__(self,
behavior_factories,
behavior_weights,
... | 35.840909 | 95 | 0.622828 | 987 | 7,885 | 4.842958 | 0.175279 | 0.094142 | 0.035146 | 0.033891 | 0.9 | 0.9 | 0.890377 | 0.890377 | 0.890377 | 0.87113 | 0 | 0.010838 | 0.297907 | 7,885 | 219 | 96 | 36.004566 | 0.852601 | 0.405834 | 0 | 0.783784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 1 | 0.081081 | false | 0 | 0.067568 | 0 | 0.202703 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
92998bb798d63a0ab9ffb715572c15123f884b93 | 128 | py | Python | gtorch_utils/utils/images/__init__.py | giussepi/gtorch_utils | 8dfe502b2ef2d7c082354b9f546db5248815af09 | [
"MIT"
] | null | null | null | gtorch_utils/utils/images/__init__.py | giussepi/gtorch_utils | 8dfe502b2ef2d7c082354b9f546db5248815af09 | [
"MIT"
] | null | null | null | gtorch_utils/utils/images/__init__.py | giussepi/gtorch_utils | 8dfe502b2ef2d7c082354b9f546db5248815af09 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
""" gtorch_utils/utils/images/__init__ """
from gtorch_utils.utils.images.padding import apply_padding
| 25.6 | 59 | 0.734375 | 17 | 128 | 5.117647 | 0.647059 | 0.252874 | 0.367816 | 0.505747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008696 | 0.101563 | 128 | 4 | 60 | 32 | 0.747826 | 0.453125 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
2b7c4624a04f7ac2ef167aff3b6bfcfdae8eaa90 | 382 | py | Python | analysis/models/__init__.py | SACGF/variantgrid | 515195e2f03a0da3a3e5f2919d8e0431babfd9c9 | [
"RSA-MD"
] | 5 | 2021-01-14T03:34:42.000Z | 2022-03-07T15:34:18.000Z | analysis/models/__init__.py | SACGF/variantgrid | 515195e2f03a0da3a3e5f2919d8e0431babfd9c9 | [
"RSA-MD"
] | 551 | 2020-10-19T00:02:38.000Z | 2022-03-30T02:18:22.000Z | analysis/models/__init__.py | SACGF/variantgrid | 515195e2f03a0da3a3e5f2919d8e0431babfd9c9 | [
"RSA-MD"
] | null | null | null | from analysis.models.models_analysis import *
from analysis.models.models_karyomapping import *
from analysis.models.models_variant_tag import *
from analysis.models.mutational_signatures import *
from analysis.models.nodes.analysis_node import *
from analysis.models.nodes.filters import *
from analysis.models.nodes.no... | 42.444444 | 51 | 0.842932 | 51 | 382 | 6.176471 | 0.27451 | 0.304762 | 0.457143 | 0.533333 | 0.55873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08377 | 382 | 8 | 52 | 47.75 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 7 |
2bc34b6bd516260b35a883a77b819111344120bc | 10,393 | py | Python | tests/benchmarks.py | amashinchi-rc/enterpriseattack | a971b5fed8cdb3b9d58f5b7bb386195dfcbc56d5 | [
"MIT"
] | null | null | null | tests/benchmarks.py | amashinchi-rc/enterpriseattack | a971b5fed8cdb3b9d58f5b7bb386195dfcbc56d5 | [
"MIT"
] | null | null | null | tests/benchmarks.py | amashinchi-rc/enterpriseattack | a971b5fed8cdb3b9d58f5b7bb386195dfcbc56d5 | [
"MIT"
] | null | null | null | #---------------------------------------------------------------------------------#
# Imports:
#---------------------------------------------------------------------------------#
# Imports:
import logging
import time
# Logger:
logger = logging.getLogger()
logger.setLevel(logging.DEBUG)
#-----------------------------... | 32.889241 | 102 | 0.59136 | 1,176 | 10,393 | 5.178571 | 0.065476 | 0.102463 | 0.083251 | 0.099836 | 0.865681 | 0.854187 | 0.813465 | 0.806404 | 0.755993 | 0.682759 | 0 | 0.000667 | 0.134995 | 10,393 | 315 | 103 | 32.993651 | 0.676752 | 0.190705 | 0 | 0.69869 | 0 | 0.008734 | 0.277711 | 0.023462 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.104803 | 0.017467 | 0 | 0.017467 | 0.19214 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
a6221dd03cf38bbe794d9a09327ad49625a9bba1 | 574 | py | Python | src/genie/libs/parser/nxos/tests/ShowUsers/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/nxos/tests/ShowUsers/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/nxos/tests/ShowUsers/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"line":{
"pts/0":{
"active":False,
"name":"admin",
"time":"Jan 28 13:44",
"idle":".",
"pid":"8096",
"comment":"adding some comments"
},
"pts/1":{
"active":False,
"name":"admin",
"time":"Jan 28 13:44... | 20.5 | 42 | 0.369338 | 53 | 574 | 3.981132 | 0.45283 | 0.127962 | 0.184834 | 0.227488 | 0.810427 | 0.810427 | 0.810427 | 0.810427 | 0.810427 | 0.810427 | 0 | 0.097345 | 0.409408 | 574 | 27 | 43 | 21.259259 | 0.525074 | 0 | 0 | 0.555556 | 0 | 0 | 0.353659 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 8 |
a627d7e45c1412d36cdfa8e5f5c8c97428ffec47 | 27,034 | py | Python | tests/unit/pypyr/steps/pype_test.py | vlcinsky/pypyr | c386b86da7904e4bb23cbd555156ce011790a56f | [
"Apache-2.0"
] | null | null | null | tests/unit/pypyr/steps/pype_test.py | vlcinsky/pypyr | c386b86da7904e4bb23cbd555156ce011790a56f | [
"Apache-2.0"
] | null | null | null | tests/unit/pypyr/steps/pype_test.py | vlcinsky/pypyr | c386b86da7904e4bb23cbd555156ce011790a56f | [
"Apache-2.0"
] | null | null | null | """pype.py unit tests."""
import logging
import pytest
from unittest.mock import call, patch
from pypyr.context import Context
from pypyr.errors import (
ContextError,
Stop,
KeyInContextHasNoValueError,
KeyNotInContextError)
import pypyr.steps.pype as pype
from tests.common.utils import patch_logger
#... | 28.456842 | 79 | 0.585966 | 3,064 | 27,034 | 4.931789 | 0.067232 | 0.041824 | 0.035736 | 0.030441 | 0.858977 | 0.83694 | 0.80405 | 0.789954 | 0.769572 | 0.753888 | 0 | 0.000262 | 0.295184 | 27,034 | 949 | 80 | 28.486828 | 0.792799 | 0.060073 | 0 | 0.770252 | 0 | 0 | 0.193826 | 0.019973 | 0 | 0 | 0 | 0 | 0.189907 | 1 | 0.043825 | false | 0 | 0.009296 | 0 | 0.053121 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
a6e5c86f27bf5493b83d247e17558e862b74a004 | 23,495 | py | Python | CI-Python-master/qa327_test/frontend/test_registraion.py | lia-mason/SeetGeek | 7be512c07af6fc42c57360f38db76f87825f3a44 | [
"MIT"
] | null | null | null | CI-Python-master/qa327_test/frontend/test_registraion.py | lia-mason/SeetGeek | 7be512c07af6fc42c57360f38db76f87825f3a44 | [
"MIT"
] | 6 | 2020-11-19T22:13:59.000Z | 2020-12-17T03:58:03.000Z | CI-Python-master/qa327_test/frontend/test_registraion.py | lia-mason/SeetGeek | 7be512c07af6fc42c57360f38db76f87825f3a44 | [
"MIT"
] | null | null | null | '''
import pytest
from seleniumbase import BaseCase
from qa327_test.conftest import base_url
from unittest.mock import patch
from qa327.models import db, User
from werkzeug.security import generate_password_hash, check_password_hash
"""
This file defines all unit tests for the frontend homepage.
The tests will only ... | 41.075175 | 110 | 0.638306 | 2,837 | 23,495 | 5.177652 | 0.111033 | 0.055552 | 0.049765 | 0.037783 | 0.764041 | 0.744639 | 0.722718 | 0.714208 | 0.692695 | 0.677854 | 0 | 0.014597 | 0.244818 | 23,495 | 571 | 111 | 41.14711 | 0.813278 | 0.999276 | 0 | null | 1 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a6f48e42a98009279d2bdeed0cb5492320962463 | 63 | py | Python | fs2conf/__init__.py | OmniTroid/mcconf | b248f0fce911b02e4cc8213c1b0e0ddc0105b6f8 | [
"MIT"
] | 1 | 2022-03-03T12:17:40.000Z | 2022-03-03T12:17:40.000Z | fs2conf/__init__.py | OmniTroid/mcconf | b248f0fce911b02e4cc8213c1b0e0ddc0105b6f8 | [
"MIT"
] | null | null | null | fs2conf/__init__.py | OmniTroid/mcconf | b248f0fce911b02e4cc8213c1b0e0ddc0105b6f8 | [
"MIT"
] | null | null | null | from .fs2conf import fs2conf
from .fs2conf import combine_dirs
| 21 | 33 | 0.84127 | 9 | 63 | 5.777778 | 0.555556 | 0.423077 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 0.126984 | 63 | 2 | 34 | 31.5 | 0.890909 | 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 | 1 | 0 | 0 | 7 |
5b440a9c9a5a40531055c172bf4db066d8154ae6 | 26,387 | py | Python | QuantumInformation/chap5_partial_quantumentanglement.py | pranay1990/QuantumInformation | 6588e623c3c4839e2b484a5ce57bb9aac9bb458c | [
"Unlicense"
] | null | null | null | QuantumInformation/chap5_partial_quantumentanglement.py | pranay1990/QuantumInformation | 6588e623c3c4839e2b484a5ce57bb9aac9bb458c | [
"Unlicense"
] | null | null | null | QuantumInformation/chap5_partial_quantumentanglement.py | pranay1990/QuantumInformation | 6588e623c3c4839e2b484a5ce57bb9aac9bb458c | [
"Unlicense"
] | null | null | null | """
Created on Thu Aug 22 19:18:53 2019
@authors: Dr. M. S. Ramkarthik and Dr. Pranay Barkataki
"""
import numpy as np
import math
from QuantumInformation import RecurNum
from QuantumInformation import LinearAlgebra as LA
from QuantumInformation import QuantumMechanics as QM
import scipy.linalg.lapack as la
import re... | 36.750696 | 98 | 0.497935 | 3,355 | 26,387 | 3.836364 | 0.080179 | 0.022531 | 0.019268 | 0.012431 | 0.821925 | 0.787041 | 0.768705 | 0.745474 | 0.72473 | 0.710434 | 0 | 0.043175 | 0.396976 | 26,387 | 717 | 99 | 36.801953 | 0.765711 | 0.201993 | 0 | 0.846626 | 0 | 0 | 0.038991 | 0 | 0 | 0 | 0 | 0 | 0.02454 | 1 | 0.038855 | false | 0 | 0.01636 | 0 | 0.071575 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
5bbc80849986a5e15c02563156c13327c939f1e4 | 19,357 | py | Python | models/cdae.py | chenrz925/DiamondNet | d195dbd5fc6c8ffcf7485a5180f790532f068db9 | [
"Apache-2.0"
] | null | null | null | models/cdae.py | chenrz925/DiamondNet | d195dbd5fc6c8ffcf7485a5180f790532f068db9 | [
"Apache-2.0"
] | null | null | null | models/cdae.py | chenrz925/DiamondNet | d195dbd5fc6c8ffcf7485a5180f790532f068db9 | [
"Apache-2.0"
] | null | null | null | from typing import Dict, Text, Any, Tuple, Union
import torch
from torch import nn
class DenoiseL(nn.Module):
def __init__(self, in_features: int, ratio: float):
super(DenoiseL, self).__init__()
assert in_features > 0
assert 0.0 <= ratio < 1.0
self.permutation = nn.Parameter(torch... | 58.129129 | 118 | 0.573384 | 2,123 | 19,357 | 5.12341 | 0.042864 | 0.177623 | 0.077227 | 0.052956 | 0.908798 | 0.891698 | 0.883883 | 0.872299 | 0.864485 | 0.864485 | 0 | 0.03239 | 0.267913 | 19,357 | 332 | 119 | 58.304217 | 0.735163 | 0.034768 | 0 | 0.850498 | 0 | 0 | 0.208688 | 0.0015 | 0 | 0 | 0 | 0 | 0.006645 | 1 | 0.036545 | false | 0 | 0.009967 | 0.006645 | 0.096346 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
5bcfeb4eb092adc9e9f23c647caa207e1ff9074c | 120 | py | Python | lib/py/test/server/conftest.py | galbash/serverless-rpc | 27a8ea2571220833fc1086417152a0c2ca95ca6d | [
"MIT"
] | null | null | null | lib/py/test/server/conftest.py | galbash/serverless-rpc | 27a8ea2571220833fc1086417152a0c2ca95ca6d | [
"MIT"
] | 10 | 2019-11-08T14:41:13.000Z | 2022-01-22T09:18:27.000Z | lib/py/test/server/conftest.py | galbash/serverless-rpc | 27a8ea2571220833fc1086417152a0c2ca95ca6d | [
"MIT"
] | null | null | null | import pytest
import unittest.mock
@pytest.fixture()
def processor():
return unittest.mock.NonCallableMagicMock()
| 15 | 47 | 0.775 | 13 | 120 | 7.153846 | 0.692308 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 120 | 7 | 48 | 17.142857 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
5beedb6c40df2c44bff7db67b105e1b6883e09aa | 139 | py | Python | console/__init__.py | gorgeousbubble/Nightmare | b374b48877898b6193081b7a8a6d2fb571816c75 | [
"Apache-2.0"
] | 1 | 2019-10-24T15:47:18.000Z | 2019-10-24T15:47:18.000Z | console/__init__.py | gorgeousbubble/Nightmare | b374b48877898b6193081b7a8a6d2fb571816c75 | [
"Apache-2.0"
] | null | null | null | console/__init__.py | gorgeousbubble/Nightmare | b374b48877898b6193081b7a8a6d2fb571816c75 | [
"Apache-2.0"
] | 3 | 2019-10-24T15:47:25.000Z | 2020-11-01T01:26:41.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import console
from console.console import Console
from console.console import ConsoleLevel
| 23.166667 | 40 | 0.76259 | 19 | 139 | 5.578947 | 0.578947 | 0.245283 | 0.320755 | 0.45283 | 0.641509 | 0.641509 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.122302 | 139 | 5 | 41 | 27.8 | 0.852459 | 0.309353 | 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 | 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 | 7 |
f35d38175477d4bdbadb9fa23497849e76b2e262 | 9,846 | py | Python | evaluation/bin/diff/word_diff_test.py | ckorzen/pdf-text-extraction-benchmark | 47b456f7c5c445b5087200d2ce4051647a9cbbf6 | [
"MIT"
] | 34 | 2018-05-16T17:50:10.000Z | 2021-09-12T19:40:40.000Z | evaluation/bin/diff/word_diff_test.py | e-sim/pdf-text-extraction-benchmark | 42eede9867e5795a6fc040b0a7ce92da3ddd3120 | [
"MIT"
] | 1 | 2017-06-20T10:31:15.000Z | 2017-08-08T20:10:16.000Z | evaluation/bin/diff/word_diff_test.py | e-sim/pdf-text-extraction-benchmark | 42eede9867e5795a6fc040b0a7ce92da3ddd3120 | [
"MIT"
] | 10 | 2018-07-07T15:37:45.000Z | 2021-01-28T07:06:27.000Z | import unittest
import word_diff
word_diff_tests = [
# (actual, target, expected output)
(None, None, "[]"),
("", "", "[]"),
("", None, "[]"),
(None, "A", "[[/ [], [A]]]"),
("A", None, "[[/ [A], []]]"),
("A", "", "[[/ [A], []]]"),
("", "A", "[[/ [], [A]]]"),
("A", "A", "[[= [A], [A]... | 43.566372 | 80 | 0.612431 | 1,224 | 9,846 | 4.745915 | 0.051471 | 0.232398 | 0.159064 | 0.148735 | 0.912894 | 0.902221 | 0.880875 | 0.837321 | 0.835772 | 0.803753 | 0 | 0.008812 | 0.204753 | 9,846 | 225 | 81 | 43.76 | 0.733078 | 0.048141 | 0 | 0.661111 | 0 | 0.011111 | 0.111385 | 0 | 0 | 0 | 0 | 0 | 0.761111 | 1 | 0.011111 | false | 0 | 0.011111 | 0 | 0.027778 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
45e8790f2365355f37541abc07b61774fad8bd98 | 47,615 | py | Python | examples/dynamic.py | faymek/compression | 20c6745b741e266f7118e6b3fc88d22f6179cfdf | [
"Apache-2.0"
] | null | null | null | examples/dynamic.py | faymek/compression | 20c6745b741e266f7118e6b3fc88d22f6179cfdf | [
"Apache-2.0"
] | null | null | null | examples/dynamic.py | faymek/compression | 20c6745b741e266f7118e6b3fc88d22f6179cfdf | [
"Apache-2.0"
] | null | null | null | import tensorflow.compat.v1 as tf
import tensorflow_compression as tfc
from tensorflow_compression.python.layers import parameterizers
from tensorflow_compression.python.ops import padding_ops
from tensorflow_compression.python.ops import math_ops
from tensorflow_compression.python.ops import range_coding_ops
from tens... | 39.580216 | 124 | 0.653513 | 6,586 | 47,615 | 4.556483 | 0.069693 | 0.018394 | 0.014729 | 0.008664 | 0.845813 | 0.808491 | 0.785064 | 0.764271 | 0.735013 | 0.724483 | 0 | 0.013369 | 0.236522 | 47,615 | 1,202 | 125 | 39.613145 | 0.81212 | 0.192355 | 0 | 0.748292 | 0 | 0 | 0.015885 | 0 | 0 | 0 | 0 | 0.000832 | 0.010251 | 1 | 0.055809 | false | 0.002278 | 0.015945 | 0.001139 | 0.115034 | 0.001139 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
45edb3d66ef5ecfec7c7f41ac2610fac2c2635bf | 70 | py | Python | deps/pyextensibletype/extensibletype/test/test_pstdint.py | liuzhenhai/numba | 855a2b262ae3d82bd6ac1c3e1c0acb36ee2e2acf | [
"BSD-2-Clause"
] | 1 | 2015-01-29T06:52:36.000Z | 2015-01-29T06:52:36.000Z | deps/pyextensibletype/extensibletype/test/test_pstdint.py | shiquanwang/numba | a41c85fdd7d6abf8ea1ebe9116939ddc2217193b | [
"BSD-2-Clause"
] | null | null | null | deps/pyextensibletype/extensibletype/test/test_pstdint.py | shiquanwang/numba | a41c85fdd7d6abf8ea1ebe9116939ddc2217193b | [
"BSD-2-Clause"
] | null | null | null | from . import pstdint
def test_pstdint():
pstdint.test_pstdint()
| 14 | 26 | 0.728571 | 9 | 70 | 5.444444 | 0.555556 | 0.44898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 70 | 4 | 27 | 17.5 | 0.844828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
caa9ba8efc80e4c2e5c7fd862617bbf16eb1dbdb | 4,303 | py | Python | ade25/contacts/browser/contact.py | ade25/ade25.contacts | 60cb741e4c67e3ed059dacd3f2b0c5b2ced1dde2 | [
"MIT"
] | null | null | null | ade25/contacts/browser/contact.py | ade25/ade25.contacts | 60cb741e4c67e3ed059dacd3f2b0c5b2ced1dde2 | [
"MIT"
] | null | null | null | ade25/contacts/browser/contact.py | ade25/ade25.contacts | 60cb741e4c67e3ed059dacd3f2b0c5b2ced1dde2 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Module providing views for contact page type"""
from Acquisition import aq_inner
from Products.Five.browser import BrowserView
from plone import api
from zope.component import getUtility
from ade25.contacts.interfaces import IContactImagesTool
class ContactView(BrowserView):
""" Folder... | 28.309211 | 76 | 0.599117 | 482 | 4,303 | 5.184647 | 0.192946 | 0.105642 | 0.062425 | 0.086435 | 0.80072 | 0.80072 | 0.789116 | 0.789116 | 0.789116 | 0.789116 | 0 | 0.003725 | 0.313735 | 4,303 | 151 | 77 | 28.496689 | 0.842533 | 0.046014 | 0 | 0.875 | 0 | 0 | 0.028179 | 0.021563 | 0 | 0 | 0 | 0 | 0 | 1 | 0.158333 | false | 0 | 0.041667 | 0.016667 | 0.458333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
1b0de86645d4cd051d09693d94960bddfd538eb9 | 4,066 | py | Python | src/niweb/apps/noclook/tests/test_detail_ipaddr.py | emjemj/ni | a78e6d97d1e4610aad7698c4f0f459221c680b4f | [
"BSD-2-Clause-FreeBSD"
] | 2 | 2018-12-21T09:35:27.000Z | 2019-07-31T18:51:58.000Z | src/niweb/apps/noclook/tests/test_detail_ipaddr.py | emjemj/ni | a78e6d97d1e4610aad7698c4f0f459221c680b4f | [
"BSD-2-Clause-FreeBSD"
] | 6 | 2019-07-25T07:10:23.000Z | 2021-02-08T09:58:57.000Z | src/niweb/apps/noclook/tests/test_detail_ipaddr.py | emjemj/ni | a78e6d97d1e4610aad7698c4f0f459221c680b4f | [
"BSD-2-Clause-FreeBSD"
] | 5 | 2019-02-06T12:00:26.000Z | 2021-11-19T14:48:06.000Z | from .neo4j_base import NeoTestCase
from django.urls import reverse
class PeeringGroupDetailTest(NeoTestCase):
def test_peering_group_detail(self):
# Minimal
unit = self.create_node('Unit1', 'unit', 'Logical')
peering_group = self.create_node('TESTIX', 'peering-group', 'Logical')
... | 46.735632 | 99 | 0.689129 | 541 | 4,066 | 4.931608 | 0.12939 | 0.13943 | 0.156672 | 0.087706 | 0.832084 | 0.795352 | 0.788981 | 0.788981 | 0.788981 | 0.788981 | 0 | 0.0526 | 0.177078 | 4,066 | 86 | 100 | 47.27907 | 0.74477 | 0.045745 | 0 | 0.709677 | 0 | 0 | 0.160857 | 0.00568 | 0 | 0 | 0 | 0 | 0.33871 | 1 | 0.048387 | false | 0 | 0.032258 | 0 | 0.112903 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
1b542fb5448d0fc0c6755f585cd19fe8733eb765 | 92,202 | py | Python | src/pyrad_proc/pyrad/proc/process_calib.py | jfigui/pyrad | 7811d593bb09a7f8a621c0e8ae3f32c2b85a0254 | [
"BSD-3-Clause"
] | 41 | 2016-12-01T08:46:06.000Z | 2021-06-24T21:14:33.000Z | src/pyrad_proc/pyrad/proc/process_calib.py | jfigui/pyrad | 7811d593bb09a7f8a621c0e8ae3f32c2b85a0254 | [
"BSD-3-Clause"
] | 42 | 2017-02-23T14:52:49.000Z | 2021-02-01T10:43:52.000Z | src/pyrad_proc/pyrad/proc/process_calib.py | jfigui/pyrad | 7811d593bb09a7f8a621c0e8ae3f32c2b85a0254 | [
"BSD-3-Clause"
] | 21 | 2016-08-25T15:02:12.000Z | 2021-05-27T04:09:40.000Z | """
pyrad.proc.process_calib
===========================
Functions for monitoring data quality and correct bias and noise effects
.. autosummary::
:toctree: generated/
process_correct_bias
process_correct_noise_rhohv
process_gc_monitoring
process_occurrence
process_time_avg_std
process_oc... | 40.942274 | 99 | 0.591701 | 11,609 | 92,202 | 4.452321 | 0.051253 | 0.016561 | 0.02639 | 0.012827 | 0.858417 | 0.832569 | 0.805077 | 0.782905 | 0.767756 | 0.75549 | 0 | 0.010323 | 0.309744 | 92,202 | 2,251 | 100 | 40.960462 | 0.801816 | 0.215624 | 0 | 0.741891 | 1 | 0 | 0.163309 | 0.006673 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005521 | false | 0 | 0.011042 | 0 | 0.062802 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1b8768b911c190a2b2e1e153d2df5bfd5ab9af13 | 44,438 | py | Python | learning_transforms/old/learning_fft_old.py | sfox14/butterfly | 13cc15cee5bdb7adaf376219aaf20fab0459e9ef | [
"Apache-2.0"
] | 52 | 2020-08-05T08:32:24.000Z | 2022-03-27T21:56:34.000Z | learning_transforms/old/learning_fft_old.py | sfox14/butterfly | 13cc15cee5bdb7adaf376219aaf20fab0459e9ef | [
"Apache-2.0"
] | 13 | 2020-09-14T23:34:32.000Z | 2022-02-15T10:51:03.000Z | learning_transforms/old/learning_fft_old.py | sfox14/butterfly | 13cc15cee5bdb7adaf376219aaf20fab0459e9ef | [
"Apache-2.0"
] | 11 | 2020-10-15T07:03:25.000Z | 2022-03-25T12:03:49.000Z | import argparse
import math
import multiprocessing as mp
import os
from pathlib import Path
import pickle
import random
import sys
import numpy as np
import torch
from torch import nn
from torch import optim
from sacred import Experiment
from sacred.observers import FileStorageObserver, SlackObserver
import ray
fro... | 45.67112 | 232 | 0.658963 | 5,793 | 44,438 | 4.865527 | 0.06059 | 0.003761 | 0.023522 | 0.021358 | 0.880614 | 0.866423 | 0.854006 | 0.840417 | 0.827148 | 0.80022 | 0 | 0.019893 | 0.210428 | 44,438 | 972 | 233 | 45.718107 | 0.783424 | 0.110198 | 0 | 0.712834 | 0 | 0 | 0.123936 | 0.015952 | 0 | 0 | 0 | 0 | 0.007624 | 1 | 0.064803 | false | 0 | 0.026684 | 0 | 0.15629 | 0.003812 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
1baeb4e4f961bb326e4656baa42511752cafda93 | 474 | py | Python | cm/app/helper.py | HotMaps/test_repo | 3bb84386f08631af904b59f440611bf312082c7c | [
"Apache-2.0"
] | null | null | null | cm/app/helper.py | HotMaps/test_repo | 3bb84386f08631af904b59f440611bf312082c7c | [
"Apache-2.0"
] | null | null | null | cm/app/helper.py | HotMaps/test_repo | 3bb84386f08631af904b59f440611bf312082c7c | [
"Apache-2.0"
] | null | null | null | import uuid
def generate_output_file_tif(output_directory):
return generate_output_file_with_extension(output_directory,'.tif')
def generate_output_file_shp(output_directory):
return generate_output_file_with_extension(output_directory, '.shp')
def generate_output_file_with_extension(output_directory,exte... | 31.6 | 72 | 0.814346 | 60 | 474 | 5.966667 | 0.283333 | 0.251397 | 0.251397 | 0.175978 | 0.502793 | 0.502793 | 0.502793 | 0.374302 | 0.374302 | 0.374302 | 0 | 0.00237 | 0.109705 | 474 | 15 | 73 | 31.6 | 0.845972 | 0.027426 | 0 | 0 | 1 | 0 | 0.019565 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.222222 | 0.777778 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
1bbf246af1bbfa9dd3f13c4783ec59785c82ed17 | 61,514 | py | Python | mmu/methods/prpoint.py | RUrlus/ModelMetricUncertainty | f401a25dd196d6e4edf4901fcfee4b56ebd7c10b | [
"Apache-2.0"
] | null | null | null | mmu/methods/prpoint.py | RUrlus/ModelMetricUncertainty | f401a25dd196d6e4edf4901fcfee4b56ebd7c10b | [
"Apache-2.0"
] | 11 | 2021-12-08T10:34:17.000Z | 2022-01-20T13:40:05.000Z | mmu/methods/prpoint.py | RUrlus/ModelMetricUncertainty | f401a25dd196d6e4edf4901fcfee4b56ebd7c10b | [
"Apache-2.0"
] | null | null | null | """Module containing the API for the precision-recall uncertainty modelled through profile log likelihoods."""
import warnings
from itertools import zip_longest
from typing import Dict, List, Optional, Union
import numpy as np
import pandas as pd
import scipy.stats as sts
from mmu.commons import check_array
from mmu.... | 40.126549 | 110 | 0.597978 | 7,656 | 61,514 | 4.668365 | 0.064394 | 0.011471 | 0.009849 | 0.01301 | 0.836882 | 0.822753 | 0.811925 | 0.798551 | 0.778238 | 0.763325 | 0 | 0.017308 | 0.320935 | 61,514 | 1,532 | 111 | 40.152742 | 0.838313 | 0.418864 | 0 | 0.71161 | 0 | 0 | 0.109313 | 0.014636 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047441 | false | 0 | 0.019975 | 0.001248 | 0.109863 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
941c0be4e5a4875ebdd506efdf62e8dee4528022 | 2,170 | py | Python | TSSystem/apps/graduation_design/migrations/0002_auto_20180607_2143.py | LittleBai0606/TeachingSecretarySystem | c9067b83f8e1edaf06974db73b7cc47a5b49e0d4 | [
"MIT"
] | null | null | null | TSSystem/apps/graduation_design/migrations/0002_auto_20180607_2143.py | LittleBai0606/TeachingSecretarySystem | c9067b83f8e1edaf06974db73b7cc47a5b49e0d4 | [
"MIT"
] | 5 | 2020-06-05T18:13:28.000Z | 2022-02-11T03:39:14.000Z | TSSystem/apps/graduation_design/migrations/0002_auto_20180607_2143.py | WhiteBrownBottle/TeachingSecretarySystem | c9067b83f8e1edaf06974db73b7cc47a5b49e0d4 | [
"MIT"
] | null | null | null | # Generated by Django 2.0.5 on 2018-06-07 21:43
from django.db import migrations, models
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('graduation_design', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='dissertation... | 36.166667 | 111 | 0.599539 | 223 | 2,170 | 5.67713 | 0.246637 | 0.063981 | 0.118483 | 0.137441 | 0.824645 | 0.770142 | 0.770142 | 0.71564 | 0.71564 | 0.71564 | 0 | 0.023477 | 0.273733 | 2,170 | 59 | 112 | 36.779661 | 0.779822 | 0.020737 | 0 | 0.830189 | 1 | 0 | 0.127179 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037736 | 0 | 0.09434 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
942085b0996e2010b1585183480b5ac76438f8fc | 14,317 | py | Python | countess/tests/test_selection_barcodevariant_lib_coding.py | VariantEffect/Enrich2-py3 | 5f8534c8c9259d90d99d70e5bd9140fd0fdc8ea4 | [
"BSD-3-Clause"
] | 4 | 2020-01-14T19:24:07.000Z | 2020-01-16T18:11:35.000Z | countess/tests/test_selection_barcodevariant_lib_coding.py | VariantEffect/CountESS | 5f8534c8c9259d90d99d70e5bd9140fd0fdc8ea4 | [
"BSD-3-Clause"
] | 3 | 2020-01-01T10:38:15.000Z | 2020-01-03T09:45:41.000Z | countess/tests/test_selection_barcodevariant_lib_coding.py | VariantEffect/CountESS | 5f8534c8c9259d90d99d70e5bd9140fd0fdc8ea4 | [
"BSD-3-Clause"
] | 1 | 2022-02-20T00:35:24.000Z | 2022-02-20T00:35:24.000Z | import unittest
from copy import deepcopy
from ..selection.selection import Selection
from .methods import HDF5TestComponent
from .utilities import DEFAULT_STORE_PARAMS
from .utilities import load_config_data, update_cfg_file
CFG_FILE = "barcodevariant_selection_coding.json"
CFG_DIR = "data/config/selection/"
READS_D... | 29.338115 | 71 | 0.615702 | 1,464 | 14,317 | 5.718579 | 0.053279 | 0.078834 | 0.107501 | 0.172002 | 0.879957 | 0.879957 | 0.879957 | 0.879957 | 0.808648 | 0.808648 | 0 | 0.003112 | 0.304114 | 14,317 | 487 | 72 | 29.398357 | 0.837198 | 0 | 0 | 0.884521 | 0 | 0 | 0.025704 | 0.007055 | 0 | 0 | 0 | 0 | 0 | 1 | 0.110565 | false | 0 | 0.014742 | 0 | 0.162162 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 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 | 8 |
9441808d4598c923f29ca92dc95330efc8419457 | 5,556 | py | Python | tests/integration/operators_test/reshape_test.py | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | 61 | 2020-07-06T17:11:46.000Z | 2022-03-12T14:42:51.000Z | tests/integration/operators_test/reshape_test.py | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | 1 | 2021-02-25T01:30:29.000Z | 2021-11-09T11:13:14.000Z | tests/integration/operators_test/reshape_test.py | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | 6 | 2020-07-15T12:33:13.000Z | 2021-11-07T06:55:00.000Z | # Copyright (c) 2019 Graphcore Ltd. All rights reserved.
import numpy as np
import pytest
import popart
import torch
from op_tester import op_tester
def test_reshape(op_tester):
d1 = np.random.rand(2, 4, 3).astype(np.float32)
d2 = np.array([4, 6]).astype(np.int64)
def init_builder(builder):
i1 = ... | 28.060606 | 75 | 0.608351 | 767 | 5,556 | 4.285528 | 0.132986 | 0.05111 | 0.024338 | 0.032857 | 0.885914 | 0.885914 | 0.834195 | 0.812291 | 0.812291 | 0.789169 | 0 | 0.041179 | 0.261339 | 5,556 | 197 | 76 | 28.203046 | 0.759747 | 0.009719 | 0 | 0.748299 | 0 | 0 | 0.030364 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 1 | 0.170068 | false | 0 | 0.034014 | 0 | 0.312925 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
94574f25b51ec7956e672fda136814ac912d8c4d | 15,090 | py | Python | ingestion/functions/parsing/peru/peru_test.py | globaldothealth/list | 26e63c83e0066aa57a341c1b2282c7f4d6bbd6f0 | [
"MIT"
] | 25 | 2020-09-01T23:03:21.000Z | 2022-01-12T08:08:31.000Z | ingestion/functions/parsing/peru/peru_test.py | globaldothealth/list | 26e63c83e0066aa57a341c1b2282c7f4d6bbd6f0 | [
"MIT"
] | 1,342 | 2020-07-27T09:51:00.000Z | 2022-03-31T17:03:35.000Z | ingestion/functions/parsing/peru/peru_test.py | open-covid-data/healthmap-gdo-temp | 5af5c9e2f7dcefa9039dc6b3a2e2c5094566fc2e | [
"MIT"
] | 7 | 2020-08-31T00:15:17.000Z | 2020-11-17T12:01:03.000Z | import os
import unittest
from peru import peru
_SOURCE_ID = "placeholder_ID"
_SOURCE_URL = "placeholder_URL"
class PeruTest(unittest.TestCase):
def setUp(self):
self.maxDiff = 5000
def test_parse(self):
'''
Includes a row where province and district are unspecified, where it should ... | 75.829146 | 108 | 0.322068 | 722 | 15,090 | 6.666205 | 0.157895 | 0.029919 | 0.033659 | 0.08477 | 0.79493 | 0.787866 | 0.7754 | 0.7754 | 0.7754 | 0.708082 | 0 | 0.099698 | 0.561299 | 15,090 | 198 | 109 | 76.212121 | 0.627341 | 0.007555 | 0 | 0.756614 | 0 | 0 | 0.280112 | 0.054604 | 0 | 0 | 0 | 0 | 0.005291 | 1 | 0.010582 | false | 0 | 0.015873 | 0 | 0.031746 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 7 |
84a3f7f4b2d2c611746f6f788578142db75ee541 | 88 | py | Python | app/views/__init__.py | accordeiro/flask-skeleton | 71e2b6849a8dd95235bea8ffca274f844c069510 | [
"MIT"
] | 1 | 2015-06-24T14:04:40.000Z | 2015-06-24T14:04:40.000Z | app/views/__init__.py | accordeiro/flask-skeleton | 71e2b6849a8dd95235bea8ffca274f844c069510 | [
"MIT"
] | null | null | null | app/views/__init__.py | accordeiro/flask-skeleton | 71e2b6849a8dd95235bea8ffca274f844c069510 | [
"MIT"
] | null | null | null | from app.views.admin import *
from app.views.api import *
from app.views.auth import *
| 22 | 29 | 0.75 | 15 | 88 | 4.4 | 0.466667 | 0.318182 | 0.545455 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147727 | 88 | 3 | 30 | 29.333333 | 0.88 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
84c2f2605cf00f9571d4c259eb6bc079af9b76d4 | 487 | py | Python | pyresume/templators/__init__.py | JasonYao/resume | 9402ae3a7a6e99d2d411f0446a6ee82d0404e1a1 | [
"MIT"
] | 1 | 2018-03-31T03:46:27.000Z | 2018-03-31T03:46:27.000Z | pyresume/templators/__init__.py | JasonYao/resume | 9402ae3a7a6e99d2d411f0446a6ee82d0404e1a1 | [
"MIT"
] | 26 | 2017-05-23T03:16:11.000Z | 2021-09-27T00:08:13.000Z | pyresume/templators/__init__.py | JasonYao/resume | 9402ae3a7a6e99d2d411f0446a6ee82d0404e1a1 | [
"MIT"
] | 2 | 2017-04-28T21:27:27.000Z | 2021-03-19T22:48:43.000Z | from .biography import load_templator
from .templating import load_data, Templator
from .json_raw import load_templator as json_raw_load_templator
from .json_ld import load_templator as json_ld_load_templator
from .latex_2_column_resume import load_templator as latex_2_column_load_templator
# TODO: Replace manual modu... | 54.111111 | 134 | 0.858316 | 73 | 487 | 5.30137 | 0.328767 | 0.369509 | 0.196382 | 0.162791 | 0.258398 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006772 | 0.090349 | 487 | 8 | 135 | 60.875 | 0.866817 | 0.11499 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
84c3a1a613fbdb2b6edbe007ce9a9babeb766aec | 146 | py | Python | 2_sed/ex2_legacy_imports.py | dannysepler/refactoring-workshop | fd17342d36346a168eae6c08811b8d8e67f7f50b | [
"MIT"
] | null | null | null | 2_sed/ex2_legacy_imports.py | dannysepler/refactoring-workshop | fd17342d36346a168eae6c08811b8d8e67f7f50b | [
"MIT"
] | null | null | null | 2_sed/ex2_legacy_imports.py | dannysepler/refactoring-workshop | fd17342d36346a168eae6c08811b8d8e67f7f50b | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from __future__ import print_function
from __future__ import with_statement
from a import b
print("hi!")
| 18.25 | 38 | 0.835616 | 21 | 146 | 5.095238 | 0.52381 | 0.280374 | 0.448598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130137 | 146 | 7 | 39 | 20.857143 | 0.84252 | 0 | 0 | 0 | 0 | 0 | 0.020548 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0.4 | 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 | 1 | 0 | 0 | 7 |
ca39d95f1448828edf3c16490769f91e83de7b17 | 203 | py | Python | awesomeblog/core/decorators.py | tyrozz/awesome-blog | 1bf6a2ae90e96e37fa4503bcb3834e77cfccf5c4 | [
"MIT"
] | 1 | 2021-04-07T23:19:52.000Z | 2021-04-07T23:19:52.000Z | awesomeblog/core/decorators.py | tyrozz/awesome-blog | 1bf6a2ae90e96e37fa4503bcb3834e77cfccf5c4 | [
"MIT"
] | null | null | null | awesomeblog/core/decorators.py | tyrozz/awesome-blog | 1bf6a2ae90e96e37fa4503bcb3834e77cfccf5c4 | [
"MIT"
] | null | null | null | from django.contrib.admin.views.decorators import (
staff_member_required as _staff_member_required,
)
def staff_member_required(f):
return _staff_member_required(f, login_url="account:login")
| 25.375 | 63 | 0.802956 | 28 | 203 | 5.428571 | 0.607143 | 0.289474 | 0.5 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1133 | 203 | 7 | 64 | 29 | 0.844444 | 0 | 0 | 0 | 0 | 0 | 0.064039 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
ca412113c44ad292a228a8fcd0cc044844aeed7b | 16,128 | py | Python | porousdrake/DPP/velocity_patch/solvers.py | volpatto/porousdrake | ffc2cadebc0415daa86fbeab130489d095b76193 | [
"MIT"
] | 1 | 2020-09-03T14:07:05.000Z | 2020-09-03T14:07:05.000Z | porousdrake/DPP/velocity_patch/solvers.py | volpatto/porousdrake | ffc2cadebc0415daa86fbeab130489d095b76193 | [
"MIT"
] | null | null | null | porousdrake/DPP/velocity_patch/solvers.py | volpatto/porousdrake | ffc2cadebc0415daa86fbeab130489d095b76193 | [
"MIT"
] | 1 | 2020-11-15T18:05:43.000Z | 2020-11-15T18:05:43.000Z | from firedrake import *
import numpy as np
from firedrake.petsc import PETSc
from firedrake import COMM_WORLD
from porousdrake.DPP.velocity_patch.model_parameters import *
try:
import matplotlib.pyplot as plt
plt.rcParams["contour.corner_mask"] = False
plt.close("all")
except:
warning("Matplotlib not ... | 33.253608 | 98 | 0.520833 | 2,135 | 16,128 | 3.743326 | 0.096019 | 0.021772 | 0.025025 | 0.011261 | 0.852853 | 0.838839 | 0.829079 | 0.824825 | 0.824825 | 0.815065 | 0 | 0.06754 | 0.313306 | 16,128 | 484 | 99 | 33.322314 | 0.654086 | 0.12097 | 0 | 0.736232 | 0 | 0 | 0.071378 | 0.01884 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049275 | false | 0 | 0.02029 | 0.034783 | 0.118841 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
04893f7c9505f50980ba45ecfe9846717a545106 | 14,004 | py | Python | accounts/calendar_views.py | saurabhpetkar/club_portal | 4c0f68ca01f4e4ee7048b58d40226afb9f8ae876 | [
"MIT"
] | 2 | 2019-01-12T08:13:37.000Z | 2019-01-17T19:18:51.000Z | accounts/calendar_views.py | saurabhpetkar/club_portal | 4c0f68ca01f4e4ee7048b58d40226afb9f8ae876 | [
"MIT"
] | 57 | 2018-11-07T05:07:09.000Z | 2022-01-13T01:02:43.000Z | accounts/calendar_views.py | saurabhpetkar/club_portal | 4c0f68ca01f4e4ee7048b58d40226afb9f8ae876 | [
"MIT"
] | 12 | 2018-11-12T20:10:06.000Z | 2019-10-15T16:33:23.000Z | from django.shortcuts import render
from .models import Calendar
import datetime
import calendar
from .forms import CalendarForm, ChooseMonthAndYearForm
# from first_app.forms import calendar_data
# Create your views here.
next_m = 0
next_y = 0
back_m = 0
back_y = 0
def currentdate():
return datetime.date.today(... | 32.567442 | 106 | 0.480863 | 1,750 | 14,004 | 3.675429 | 0.064571 | 0.121269 | 0.069963 | 0.069963 | 0.825093 | 0.821517 | 0.821517 | 0.816542 | 0.809235 | 0.809235 | 0 | 0.01462 | 0.38946 | 14,004 | 430 | 107 | 32.567442 | 0.737661 | 0.009926 | 0 | 0.822823 | 0 | 0 | 0.04004 | 0.013852 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021021 | false | 0 | 0.015015 | 0.003003 | 0.066066 | 0.009009 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
04fc1c66f58707ba53257368e438c012b07d55d7 | 382,401 | pyt | Python | eran/NNet/nnet/ACASXU_run2a_4_5_batch_2000_16bit.pyt | pauls658/ReluDiff-ICSE2020-Artifact | 212854fe04f482183c239e5dfec70106a9a83df8 | [
"Apache-2.0"
] | 7 | 2020-01-27T21:25:49.000Z | 2022-01-07T04:37:37.000Z | eran/NNet/nnet/ACASXU_run2a_4_5_batch_2000_16bit.pyt | yqtianust/ReluDiff-ICSE2020-Artifact | 149f6efe4799602db749faa576980c36921a07c7 | [
"Apache-2.0"
] | 1 | 2022-01-25T17:41:54.000Z | 2022-01-26T02:27:51.000Z | eran/NNet/nnet/ACASXU_run2a_4_5_batch_2000_16bit.pyt | yqtianust/ReluDiff-ICSE2020-Artifact | 149f6efe4799602db749faa576980c36921a07c7 | [
"Apache-2.0"
] | 3 | 2020-03-14T17:12:17.000Z | 2022-03-16T09:50:46.000Z | ReLU
[[0.0553801, 0.190198, -0.0377036, -1.32009, -0.704992], [-0.010481, -0.118571, 0.153946, -0.736114, -1.00878], [0.482564, 0.0565022, 0.0443098, 0.0600691, 0.0020876], [-0.0778212, -0.0577902, -0.153575, 0.0605465, 0.450204], [0.0143941, -0.25066, -0.132743, 0.533158, -0.0781143], [-0.00869665, -0.447464, -0.05171... | 17,381.863636 | 74,457 | 0.553184 | 104,247 | 382,401 | 2.0292 | 0.181262 | 0.481417 | 0.714921 | 0.943698 | 0.243966 | 0.243758 | 0.243758 | 0.243758 | 0.243758 | 0.243758 | 0 | 0.640322 | 0.136289 | 382,401 | 21 | 74,458 | 18,209.571429 | 0.000151 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b6cf3581fafaf568158df310530605422758047c | 10,047 | py | Python | src/genie/libs/parser/iosxe/c9300/tests/ShowSystemIntegrityAllMeasurementNonce/cli/equal/golden_output1_expected.py | nielsvanhooy/genieparser | 9a1955749697a6777ca614f0af4d5f3a2c254ccd | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/c9300/tests/ShowSystemIntegrityAllMeasurementNonce/cli/equal/golden_output1_expected.py | nielsvanhooy/genieparser | 9a1955749697a6777ca614f0af4d5f3a2c254ccd | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/c9300/tests/ShowSystemIntegrityAllMeasurementNonce/cli/equal/golden_output1_expected.py | nielsvanhooy/genieparser | 9a1955749697a6777ca614f0af4d5f3a2c254ccd | [
"Apache-2.0"
] | null | null | null | expected_output = {
"bay": "0",
"chassis": {
1: {
"boot_hashes": {
"17.9.0.3r": "CD187702DD2CB79BC1B8E62BF8EF596E9227F76254E19BE0F5A0AB9E9D9A3F1FF643FA1AE9354037355119E974B62903FBD045C152EB66C19412FA78FB13AE17",
"MA0081R06.1307262016": "80F5629CB70F2B4ABD89F11... | 104.65625 | 540 | 0.791181 | 411 | 10,047 | 18.958637 | 0.153285 | 0.038501 | 0.050051 | 0.073152 | 0.793891 | 0.793891 | 0.793891 | 0.793891 | 0.793891 | 0.793891 | 0 | 0.49953 | 0.15318 | 10,047 | 95 | 541 | 105.757895 | 0.416314 | 0 | 0 | 0.663158 | 0 | 0 | 0.801433 | 0.765004 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
b6f13cb2b6d222678cbd28364cab57b746b2549d | 52,122 | py | Python | standard_neural_network_architectures.py | AntreasAntoniou/FewShotContinualLearning | 819b9cc26ef9d2360a040c51f17958e1b8dba8fd | [
"MIT"
] | 34 | 2020-04-16T06:19:45.000Z | 2022-02-10T02:02:59.000Z | standard_neural_network_architectures.py | AntreasAntoniou/FewShotContinualLearning | 819b9cc26ef9d2360a040c51f17958e1b8dba8fd | [
"MIT"
] | 3 | 2020-08-13T03:41:43.000Z | 2020-08-25T11:24:33.000Z | standard_neural_network_architectures.py | AntreasAntoniou/FewShotContinualLearning | 819b9cc26ef9d2360a040c51f17958e1b8dba8fd | [
"MIT"
] | 4 | 2020-06-23T02:50:59.000Z | 2021-07-12T01:47:06.000Z | from collections import OrderedDict
import numpy as np
import torch
import torch.nn as nn
import torch.nn.functional as F
class Conv2dNormLeakyReLU(nn.Module):
def __init__(self, input_shape, num_filters, kernel_size, dilation=1, stride=1, groups=1, padding=0, use_bias=False,
normalization=True,... | 44.586826 | 136 | 0.596639 | 6,657 | 52,122 | 4.429323 | 0.048671 | 0.032049 | 0.046293 | 0.029302 | 0.90816 | 0.894357 | 0.87862 | 0.853286 | 0.839788 | 0.831717 | 0 | 0.012574 | 0.305763 | 52,122 | 1,168 | 137 | 44.625 | 0.802294 | 0.187445 | 0 | 0.804 | 0 | 0 | 0.038527 | 0.008988 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065333 | false | 0 | 0.006667 | 0 | 0.114667 | 0.04 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
8e1b97378b4ff987b23b0a2251622ba5c6e0472a | 6,841 | py | Python | glharvest/tests/test_scenarios.py | ec-geolink/glharvest | a08258d17391067c4136ee569f9a38e6df37c0d2 | [
"Apache-2.0"
] | 1 | 2021-03-30T00:24:33.000Z | 2021-03-30T00:24:33.000Z | glharvest/tests/test_scenarios.py | ec-geolink/glharvest | a08258d17391067c4136ee569f9a38e6df37c0d2 | [
"Apache-2.0"
] | 21 | 2015-10-21T21:47:10.000Z | 2018-01-11T19:18:23.000Z | glharvest/tests/test_scenarios.py | ec-geolink/glharvest | a08258d17391067c4136ee569f9a38e6df37c0d2 | [
"Apache-2.0"
] | null | null | null | """test_scenarios.py
End-end-end tests for the Harvester.
"""
import sys
import os
import RDF
from glharvest import jobs, registry, void
def test_can_update_a_provider_with_a_new_resource(repository):
"""This test tests the case where a provider gives informationa about one
resource at time t0 then, at tim... | 31.525346 | 80 | 0.684403 | 935 | 6,841 | 4.859893 | 0.166845 | 0.03081 | 0.036972 | 0.047535 | 0.807879 | 0.797315 | 0.791593 | 0.783891 | 0.783891 | 0.783231 | 0 | 0.021423 | 0.194855 | 6,841 | 216 | 81 | 31.671296 | 0.803558 | 0.013887 | 0 | 0.888 | 0 | 0.064 | 0.398383 | 0 | 0 | 0 | 0 | 0 | 0.088 | 0 | null | null | 0 | 0.096 | null | null | 0.016 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f3db39db2e1bc9f977eb755bee6e8351fda5a9ca | 31,010 | py | Python | sdk/python/pulumi_hcp/aws_transit_gateway_attachment.py | stack72/pulumi-hcp | df3eae86ddfd6648221eca8b1d1fa5619b1b490e | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_hcp/aws_transit_gateway_attachment.py | stack72/pulumi-hcp | df3eae86ddfd6648221eca8b1d1fa5619b1b490e | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_hcp/aws_transit_gateway_attachment.py | stack72/pulumi-hcp | df3eae86ddfd6648221eca8b1d1fa5619b1b490e | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 50.752864 | 226 | 0.68594 | 3,722 | 31,010 | 5.437131 | 0.065019 | 0.114839 | 0.116223 | 0.078371 | 0.878243 | 0.858082 | 0.839403 | 0.821466 | 0.812027 | 0.773682 | 0 | 0.001954 | 0.224218 | 31,010 | 610 | 227 | 50.836066 | 0.839257 | 0.443502 | 0 | 0.52349 | 1 | 0 | 0.13461 | 0.053167 | 0 | 0 | 0 | 0 | 0 | 1 | 0.161074 | false | 0.003356 | 0.016779 | 0 | 0.278523 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f3f3e8e8922515c66dcbf75092b13f022472898c | 2,864 | py | Python | pytorch/network/regnet/blocks.py | psm9733/backbone | b891c859f667f52127af50cb60d08081f40032fe | [
"BSD-2-Clause"
] | 11 | 2021-08-15T20:00:35.000Z | 2022-01-22T12:25:07.000Z | pytorch/network/regnet/blocks.py | psm9733/backbone | b891c859f667f52127af50cb60d08081f40032fe | [
"BSD-2-Clause"
] | null | null | null | pytorch/network/regnet/blocks.py | psm9733/backbone | b891c859f667f52127af50cb60d08081f40032fe | [
"BSD-2-Clause"
] | null | null | null | from network.common.layers import Conv2D_BN
from network.common.blocks import SEBlock
import torch.nn as nn
class XBlock(nn.Module): #based ResidualBlock + group convolution
def __init__(self, activation, in_channels, block_width, bottleneck_ratio, stride, padding='same', groups=1, dilation=1, bias=True... | 66.604651 | 219 | 0.706704 | 386 | 2,864 | 5.010363 | 0.137306 | 0.086867 | 0.074457 | 0.142192 | 0.919338 | 0.90486 | 0.861427 | 0.861427 | 0.861427 | 0.861427 | 0 | 0.028049 | 0.178422 | 2,864 | 43 | 220 | 66.604651 | 0.79388 | 0.031075 | 0 | 0.820513 | 0 | 0 | 0.002884 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102564 | false | 0 | 0.076923 | 0 | 0.282051 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
6d03a80dd2f5041111d1755e966dd38d4d4a6b96 | 27,853 | py | Python | multiple-languages/python/ros-cdk-vs-1.0.3/src/ros_cdk_vs/__init__.py | aliyun/Resource-Orchestration-Service-Cloud-Development-K | 2b81e135002ed81cb72f7d07be7ff497ea39e2e1 | [
"Apache-2.0"
] | 15 | 2020-11-10T02:00:28.000Z | 2022-02-07T19:28:10.000Z | multiple-languages/python/ros-cdk-vs-1.0.3/src/ros_cdk_vs/__init__.py | aliyun/Resource-Orchestration-Service-Cloud-Development-K | 2b81e135002ed81cb72f7d07be7ff497ea39e2e1 | [
"Apache-2.0"
] | 23 | 2021-02-02T04:37:02.000Z | 2022-03-31T06:41:06.000Z | multiple-languages/python/ros-cdk-vs-1.0.3/src/ros_cdk_vs/__init__.py | aliyun/Resource-Orchestration-Service-Cloud-Development-K | 2b81e135002ed81cb72f7d07be7ff497ea39e2e1 | [
"Apache-2.0"
] | 4 | 2021-01-13T05:48:43.000Z | 2022-03-15T11:26:48.000Z | '''
## Aliyun ROS VS Construct Library
This module is part of the AliCloud ROS Cloud Development Kit (ROS CDK) project.
```python
# Example automatically generated from non-compiling source. May contain errors.
import * as VS from '@alicloud/ros-cdk-vs';
```
'''
import abc
import builtins
import datetime
import enum
... | 38.900838 | 138 | 0.653682 | 3,321 | 27,853 | 5.323999 | 0.056308 | 0.042758 | 0.067869 | 0.136587 | 0.884678 | 0.88055 | 0.870539 | 0.868729 | 0.868729 | 0.848255 | 0 | 0.000926 | 0.224572 | 27,853 | 715 | 139 | 38.955245 | 0.817715 | 0.191936 | 0 | 0.758315 | 1 | 0 | 0.095014 | 0.012217 | 0 | 0 | 0 | 0 | 0.026608 | 1 | 0.148559 | false | 0 | 0.022173 | 0.017738 | 0.292683 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6d2470084ad5959dc06af1c7b80c8954e7726e7c | 459 | py | Python | models.py | maciejszewczyk/zlobki-warszawa-rekrutacja | f266e31a72f79d7b17e6a95439f97a89777ca59b | [
"Apache-2.0"
] | null | null | null | models.py | maciejszewczyk/zlobki-warszawa-rekrutacja | f266e31a72f79d7b17e6a95439f97a89777ca59b | [
"Apache-2.0"
] | null | null | null | models.py | maciejszewczyk/zlobki-warszawa-rekrutacja | f266e31a72f79d7b17e6a95439f97a89777ca59b | [
"Apache-2.0"
] | null | null | null | from google.appengine.ext import ndb
class TestNote(ndb.Model):
date_created = ndb.DateProperty(auto_now_add=True)
db_nursery_no1 = ndb.IntegerProperty()
db_nursery_no2 = ndb.IntegerProperty()
db_nursery_no3 = ndb.IntegerProperty()
class Note(ndb.Model):
date_created = ndb.DateProperty(auto_now_... | 28.6875 | 54 | 0.755991 | 60 | 459 | 5.483333 | 0.383333 | 0.164134 | 0.243161 | 0.328267 | 0.838906 | 0.838906 | 0.838906 | 0.838906 | 0.838906 | 0.838906 | 0 | 0.015345 | 0.148148 | 459 | 15 | 55 | 30.6 | 0.826087 | 0 | 0 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 10 |
edc5f652c3f03c6cdb42c94b2dab44ce39e35eb2 | 5,586 | py | Python | edbdeploy/spec/gcloud.py | vincentp7212/postgres-deployment | ea0ed0e06a4eb99cc28600398eddcf2320778113 | [
"BSD-3-Clause"
] | 58 | 2020-02-24T21:02:50.000Z | 2022-03-28T14:51:56.000Z | edbdeploy/spec/gcloud.py | vincentp7212/postgres-deployment | ea0ed0e06a4eb99cc28600398eddcf2320778113 | [
"BSD-3-Clause"
] | 108 | 2020-09-18T12:53:44.000Z | 2022-02-02T09:02:31.000Z | edbdeploy/spec/gcloud.py | vincentp7212/postgres-deployment | ea0ed0e06a4eb99cc28600398eddcf2320778113 | [
"BSD-3-Clause"
] | 47 | 2020-03-04T15:51:01.000Z | 2022-02-27T13:48:05.000Z | from . import DefaultGcloudSpec
from . import SpecValidator
GCVMSpec = {
'postgres_server': {
'instance_type': SpecValidator(
type='choice',
choices=[
'e2-standard-2', 'e2-standard-4', 'e2-standard-8',
'e2-standard-16', 'e2-standard-32', 'e2-highmem-2... | 29.712766 | 67 | 0.389545 | 447 | 5,586 | 4.836689 | 0.100671 | 0.13876 | 0.126272 | 0.16235 | 0.938945 | 0.938945 | 0.938945 | 0.938945 | 0.938945 | 0.938945 | 0 | 0.073663 | 0.467777 | 5,586 | 188 | 68 | 29.712766 | 0.653549 | 0 | 0 | 0.817204 | 0 | 0 | 0.251656 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010753 | 0 | 0.010753 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 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 | 8 |
edcd781249f301c21c8684eab7444859ee5fddf3 | 858 | py | Python | tests/test_number.py | silverag-corgi/python-lib-for-me | ed30c7b879396ca6af53c762d7c919b0ea44bea7 | [
"MIT"
] | null | null | null | tests/test_number.py | silverag-corgi/python-lib-for-me | ed30c7b879396ca6af53c762d7c919b0ea44bea7 | [
"MIT"
] | 1 | 2022-02-06T08:21:56.000Z | 2022-02-06T15:48:26.000Z | tests/test_number.py | silverag-corgi/python-lib-for-me | ed30c7b879396ca6af53c762d7c919b0ea44bea7 | [
"MIT"
] | null | null | null | from decimal import Decimal
import python_lib_for_me as pyl
def test_round_half_up_01() -> None:
actual_values: Decimal = pyl.round_half_up(1.234, 2)
expected_values: Decimal = Decimal('1.23')
assert actual_values == expected_values
def test_round_half_up_02() -> None:
actual_values: De... | 30.642857 | 68 | 0.706294 | 125 | 858 | 4.504 | 0.232 | 0.127886 | 0.156306 | 0.113677 | 0.898757 | 0.866785 | 0.866785 | 0.866785 | 0.866785 | 0.735346 | 0 | 0.057307 | 0.18648 | 858 | 27 | 69 | 31.777778 | 0.749284 | 0 | 0 | 0.444444 | 0 | 0 | 0.031288 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.222222 | true | 0 | 0.111111 | 0 | 0.333333 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ede1ff49675ed35f09af4904757c33ac1504706b | 33 | py | Python | function_20373684.py | YJoJ/Study-16 | 4d2b6d0d50185a904be856b7bb69e310dbe7df0f | [
"MIT"
] | 1 | 2022-03-19T08:09:36.000Z | 2022-03-19T08:09:36.000Z | function_20373684.py | YJoJ/Study-16 | 4d2b6d0d50185a904be856b7bb69e310dbe7df0f | [
"MIT"
] | null | null | null | function_20373684.py | YJoJ/Study-16 | 4d2b6d0d50185a904be856b7bb69e310dbe7df0f | [
"MIT"
] | 1 | 2022-03-19T08:09:48.000Z | 2022-03-19T08:09:48.000Z | print('My student_id: 20373684')
| 16.5 | 32 | 0.757576 | 5 | 33 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 0.090909 | 33 | 1 | 33 | 33 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0.69697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
610c3175273a256ab79cdd44cf16d82dd26e8101 | 21,918 | py | Python | tests/platforms/macOS/app/test_package.py | pybee/briefcase | d7e9aa7bf15aa2abbc71e97aef9bea287129fdaa | [
"BSD-3-Clause"
] | 522 | 2015-07-28T16:06:18.000Z | 2019-03-25T17:16:55.000Z | tests/platforms/macOS/app/test_package.py | pybee/briefcase | d7e9aa7bf15aa2abbc71e97aef9bea287129fdaa | [
"BSD-3-Clause"
] | 154 | 2015-09-17T02:50:55.000Z | 2019-03-22T07:10:34.000Z | tests/platforms/macOS/app/test_package.py | pybee/briefcase | d7e9aa7bf15aa2abbc71e97aef9bea287129fdaa | [
"BSD-3-Clause"
] | 105 | 2015-09-25T08:43:26.000Z | 2019-03-25T15:59:27.000Z | import os
from unittest import mock
import pytest
from briefcase.exceptions import BriefcaseCommandError
from briefcase.platforms.macOS.app import macOSAppPackageCommand
@pytest.fixture
def package_command(tmp_path):
command = macOSAppPackageCommand(base_path=tmp_path)
command.select_identity = mock.MagicM... | 34.354232 | 87 | 0.641482 | 2,828 | 21,918 | 4.747525 | 0.066124 | 0.061969 | 0.042008 | 0.070013 | 0.904365 | 0.88917 | 0.869805 | 0.857888 | 0.851408 | 0.830106 | 0 | 0.021151 | 0.260106 | 21,918 | 637 | 88 | 34.408163 | 0.806746 | 0.240031 | 0 | 0.708434 | 0 | 0 | 0.165836 | 0.003828 | 0 | 0 | 0 | 0 | 0.13012 | 1 | 0.043373 | false | 0 | 0.012048 | 0 | 0.057831 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
b61d4bcb58f9024e0557bb6897cf107a16734f5b | 159 | py | Python | src/dataset/__init__.py | eclipsesource/squeezeDet | 77a9f03f52a5d6c99998a4dbcfb20d45d6b7a8d7 | [
"BSD-2-Clause"
] | null | null | null | src/dataset/__init__.py | eclipsesource/squeezeDet | 77a9f03f52a5d6c99998a4dbcfb20d45d6b7a8d7 | [
"BSD-2-Clause"
] | null | null | null | src/dataset/__init__.py | eclipsesource/squeezeDet | 77a9f03f52a5d6c99998a4dbcfb20d45d6b7a8d7 | [
"BSD-2-Clause"
] | 2 | 2020-06-13T22:40:45.000Z | 2020-06-13T22:44:03.000Z | #from kitti import kitti
#from pascal_voc import pascal_voc
from __future__ import absolute_import
from .kitti import kitti
from .pascal_voc import pascal_voc | 26.5 | 38 | 0.849057 | 25 | 159 | 5.04 | 0.28 | 0.285714 | 0.238095 | 0.31746 | 0.761905 | 0.761905 | 0.761905 | 0.761905 | 0.761905 | 0.761905 | 0 | 0 | 0.125786 | 159 | 6 | 39 | 26.5 | 0.906475 | 0.352201 | 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 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 13 |
b65abca1ddb89cf25243e36dc95fc69e1064e38a | 4,321 | py | Python | tests/unit/test_SkipList_hypothesis.py | paulross/skiplist | 324b5706b1beca589612c1da496ad5c12014686d | [
"MIT"
] | 32 | 2017-10-03T15:35:30.000Z | 2022-03-07T06:46:57.000Z | tests/unit/test_SkipList_hypothesis.py | paulross/skiplist | 324b5706b1beca589612c1da496ad5c12014686d | [
"MIT"
] | 6 | 2017-08-18T17:06:37.000Z | 2022-03-25T15:03:11.000Z | tests/unit/test_SkipList_hypothesis.py | paulross/skiplist | 324b5706b1beca589612c1da496ad5c12014686d | [
"MIT"
] | 6 | 2019-08-07T03:23:45.000Z | 2022-01-03T09:05:56.000Z | import sys
import hypothesis
import hypothesis.strategies as hst
import pytest
import orderedstructs
from .compat_23 import int_type
@hypothesis.given(hst.lists(hst.integers(min_value=orderedstructs.min_long(),
max_value=orderedstructs.max_long())))
def test_hypothesis_inser... | 32.488722 | 79 | 0.66605 | 626 | 4,321 | 4.432907 | 0.083067 | 0.057658 | 0.051892 | 0.077838 | 0.956757 | 0.947387 | 0.937658 | 0.934414 | 0.93009 | 0.93009 | 0 | 0.001766 | 0.213839 | 4,321 | 132 | 80 | 32.734848 | 0.815131 | 0 | 0 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121739 | 1 | 0.121739 | false | 0 | 0.052174 | 0 | 0.173913 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
b66b9b720d0626ff6f5004a042a966d9c0bc13fd | 34,087 | py | Python | sdk/finbourne_insights/api/vendor_logs_api.py | finbourne/finbourne-insights-sdk-python | 33ea49f0157def867405725013218d6f29cc2ee0 | [
"MIT"
] | null | null | null | sdk/finbourne_insights/api/vendor_logs_api.py | finbourne/finbourne-insights-sdk-python | 33ea49f0157def867405725013218d6f29cc2ee0 | [
"MIT"
] | null | null | null | sdk/finbourne_insights/api/vendor_logs_api.py | finbourne/finbourne-insights-sdk-python | 33ea49f0157def867405725013218d6f29cc2ee0 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
FINBOURNE Insights API
FINBOURNE Technology # noqa: E501
The version of the OpenAPI document: 0.0.238
Contact: info@finbourne.com
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compat... | 51.725341 | 217 | 0.607152 | 4,035 | 34,087 | 4.907807 | 0.068401 | 0.044842 | 0.072817 | 0.025047 | 0.946422 | 0.942837 | 0.932283 | 0.928445 | 0.911276 | 0.908448 | 0 | 0.019843 | 0.312524 | 34,087 | 658 | 218 | 51.803951 | 0.825211 | 0.416258 | 0 | 0.654088 | 1 | 0.062893 | 0.253613 | 0.041074 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028302 | false | 0 | 0.015723 | 0 | 0.072327 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b6b401ee8d1c30c6473d93894d5c6868bfa11d79 | 162 | py | Python | torchlib/spl/__init__.py | antsfamily/torchtool | fd0d6e6fe6701206b15f95af145d6178a87233f9 | [
"MIT"
] | 1 | 2019-08-15T15:32:36.000Z | 2019-08-15T15:32:36.000Z | torchlib/spl/__init__.py | antsfamily/torchtool | fd0d6e6fe6701206b15f95af145d6178a87233f9 | [
"MIT"
] | null | null | null | torchlib/spl/__init__.py | antsfamily/torchtool | fd0d6e6fe6701206b15f95af145d6178a87233f9 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from .voptimizer import Binary, Linear, Logarithmic, Mixture
from .spfunction import Binary, Linear, Logarithmic, Mixture
| 32.4 | 60 | 0.833333 | 19 | 162 | 6.842105 | 0.526316 | 0.184615 | 0.276923 | 0.446154 | 0.553846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117284 | 162 | 4 | 61 | 40.5 | 0.909091 | 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 | 1 | 0 | 0 | 7 |
1e00a085ce49d26ccc67c3b386587993217d386b | 43 | py | Python | gcvb/dashboard/__init__.py | felsocim/gcvb | 48c5b694f005cdcb1ccec81d44232d6488a31b3b | [
"MIT"
] | 5 | 2019-10-10T11:55:12.000Z | 2021-08-18T08:46:22.000Z | gcvb/dashboard/__init__.py | felsocim/gcvb | 48c5b694f005cdcb1ccec81d44232d6488a31b3b | [
"MIT"
] | 29 | 2020-02-21T14:52:12.000Z | 2020-11-25T17:57:48.000Z | gcvb/dashboard/__init__.py | felsocim/gcvb | 48c5b694f005cdcb1ccec81d44232d6488a31b3b | [
"MIT"
] | 2 | 2020-08-06T14:17:05.000Z | 2020-10-04T10:15:15.000Z | from .index import run_server as run_server | 43 | 43 | 0.860465 | 8 | 43 | 4.375 | 0.75 | 0.514286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 1 | 43 | 43 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
1e932f43ffe260a2835abb37e5593f0f0c886c6b | 241 | py | Python | src/safer_prompt_toolkit/__init__.py | LiorAvrahami/safer-prompt-toolkit | 976136d8a63f42c9cec48d2e027877acac49f1cf | [
"MIT"
] | 2 | 2021-09-12T09:42:50.000Z | 2021-09-23T07:20:48.000Z | src/safer_prompt_toolkit/__init__.py | LiorAvrahami/safer-prompt-toolkit | 976136d8a63f42c9cec48d2e027877acac49f1cf | [
"MIT"
] | null | null | null | src/safer_prompt_toolkit/__init__.py | LiorAvrahami/safer-prompt-toolkit | 976136d8a63f42c9cec48d2e027877acac49f1cf | [
"MIT"
] | null | null | null | from ._safer_prompt_toolkit import prompt
from ._extra_prompt_toolkit_utilities import make_ConstantOptions_Completer_and_Validator,make_ConstantOptions_Completer_and_Validator__return_kwargs,ConstantOptionsCompleter,ConstantOptionsValidator | 120.5 | 199 | 0.950207 | 26 | 241 | 8.115385 | 0.615385 | 0.123223 | 0.265403 | 0.293839 | 0.379147 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029046 | 241 | 2 | 199 | 120.5 | 0.901709 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
1eb6c56f47b073916f4fc33c98453ddcec2bbfd7 | 166 | py | Python | Osnove/7_1_1Eksponencijalnost.py | Smajkan/PythonUcenjePonovo | 00982fb4caacb35ed11748dcc471f26257c8e5ed | [
"CC0-1.0"
] | null | null | null | Osnove/7_1_1Eksponencijalnost.py | Smajkan/PythonUcenjePonovo | 00982fb4caacb35ed11748dcc471f26257c8e5ed | [
"CC0-1.0"
] | null | null | null | Osnove/7_1_1Eksponencijalnost.py | Smajkan/PythonUcenjePonovo | 00982fb4caacb35ed11748dcc471f26257c8e5ed | [
"CC0-1.0"
] | null | null | null | print("2 ** 5 = ",2**5) # je u suštini isto kao i:(((2 * 2) * 2) * 2) * 2
print("(((2 * 2) * 2) * 2) * 2 =", (((2 * 2) * 2) * 2) * 2)
print("5 ** 2 ** 2 =", 5**2**2)
| 41.5 | 73 | 0.349398 | 34 | 166 | 1.705882 | 0.264706 | 0.517241 | 0.568966 | 0.62069 | 0.431034 | 0.431034 | 0.172414 | 0.172414 | 0.172414 | 0 | 0 | 0.208333 | 0.277108 | 166 | 3 | 74 | 55.333333 | 0.275 | 0.283133 | 0 | 0 | 0 | 0 | 0.401709 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 9 |
94c4123269940c27f7f0ba7e97bcc5a10a52d286 | 97 | py | Python | avg_numbers.py | EliasPapachristos/Python_Snippets | ea7ed9c2baded690b320bfce5567d306b10b5a62 | [
"MIT"
] | 1 | 2020-05-01T10:29:02.000Z | 2020-05-01T10:29:02.000Z | avg_numbers.py | EliasPapachristos/Python_Snippets | ea7ed9c2baded690b320bfce5567d306b10b5a62 | [
"MIT"
] | null | null | null | avg_numbers.py | EliasPapachristos/Python_Snippets | ea7ed9c2baded690b320bfce5567d306b10b5a62 | [
"MIT"
] | null | null | null | def average_number(*args):
return sum(args, 0.0) / len(args)
average_number(6, 9, 10)
| 16.166667 | 38 | 0.628866 | 16 | 97 | 3.6875 | 0.6875 | 0.440678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 0.216495 | 97 | 5 | 39 | 19.4 | 0.697368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
bf9f181abd1a94b4adcd72e9e06156a25575cb5f | 545 | py | Python | train_covid20cases_timm-regnetx_002_flip.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | train_covid20cases_timm-regnetx_002_flip.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | train_covid20cases_timm-regnetx_002_flip.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | import os
ls=["python main.py --configs configs/train_covid20cases_unetplusplus_timm-regnetx_002_fold0_flip.yml",
"python main.py --configs configs/train_covid20cases_unetplusplus_timm-regnetx_002_fold1_flip.yml",
"python main.py --configs configs/train_covid20cases_unetplusplus_timm-regnetx_002_fold2_flip.yml",
"pyth... | 49.545455 | 103 | 0.847706 | 80 | 545 | 5.4 | 0.3 | 0.115741 | 0.138889 | 0.219907 | 0.863426 | 0.863426 | 0.863426 | 0.863426 | 0.863426 | 0.863426 | 0 | 0.058366 | 0.056881 | 545 | 11 | 104 | 49.545455 | 0.782101 | 0 | 0 | 0 | 0 | 0 | 0.879121 | 0.650183 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
bfd9b8f108e00efdd9acff49d597c64226ac1c42 | 63,807 | py | Python | parser/testing/intermediate_expression_tests.py | zhangshyue/regex-library | 69a26b580bcc94f95dda3536cd790fb59c81a31b | [
"MIT"
] | null | null | null | parser/testing/intermediate_expression_tests.py | zhangshyue/regex-library | 69a26b580bcc94f95dda3536cd790fb59c81a31b | [
"MIT"
] | null | null | null | parser/testing/intermediate_expression_tests.py | zhangshyue/regex-library | 69a26b580bcc94f95dda3536cd790fb59c81a31b | [
"MIT"
] | null | null | null |
# Builtin imports
import unittest
import logging
# Internal imports
import root_pb2
from testing.test_utils import PatternTest
import logconf
class IntermediateSubexpressionTests(unittest.TestCase,
PatternTest):
patterns = {
r"\b[A-Z]{1}\b": PatternTest.gen_root(root_pb2.Ex... | 45.189093 | 126 | 0.384989 | 3,768 | 63,807 | 6.325372 | 0.020701 | 0.213812 | 0.127885 | 0.18117 | 0.991231 | 0.989133 | 0.987916 | 0.986154 | 0.983595 | 0.981413 | 0 | 0.026584 | 0.542511 | 63,807 | 1,412 | 127 | 45.189093 | 0.789901 | 0.001003 | 0 | 0.956522 | 0 | 0.002138 | 0.012191 | 0.003781 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003564 | 0 | 0.004989 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 10 |
ec918bdde572143ba05bd4c1748a2907fb78c59b | 27,564 | py | Python | init.py | alesanz237/usabilityProject | 5f48d388ec487203147e546562076a2643afaf44 | [
"Apache-2.0"
] | null | null | null | init.py | alesanz237/usabilityProject | 5f48d388ec487203147e546562076a2643afaf44 | [
"Apache-2.0"
] | null | null | null | init.py | alesanz237/usabilityProject | 5f48d388ec487203147e546562076a2643afaf44 | [
"Apache-2.0"
] | null | null | null | from flask import Flask, jsonify, render_template, request
from db import readDB, writeDB, updateDB
import random
import time
app = Flask(__name__)
@app.route('/_validateUser')
def getUsers():
email = request.args['email']
password = request.args['password']
users = readDB("data/users.json")["users"]
... | 36.557029 | 74 | 0.622878 | 2,930 | 27,564 | 5.723208 | 0.062799 | 0.019679 | 0.035124 | 0.015505 | 0.810245 | 0.794204 | 0.765043 | 0.733556 | 0.724313 | 0.703262 | 0 | 0.005111 | 0.240422 | 27,564 | 754 | 75 | 36.557029 | 0.795816 | 0.056088 | 0 | 0.762058 | 0 | 0 | 0.285291 | 0.093941 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.003215 | 0.006431 | null | null | 0.099678 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ec97de57611627a4aabd8f8d73cc3debe32f3552 | 53,125 | py | Python | src/ralph_assets/migrations/0015_auto__add_supporttype__add_assetlasthostname__add_unique_assetlasthost.py | xliiv/ralph_assets | 73e5e46db380c9a8dafb9ca1bd5abe47d5733385 | [
"Apache-2.0"
] | null | null | null | src/ralph_assets/migrations/0015_auto__add_supporttype__add_assetlasthostname__add_unique_assetlasthost.py | xliiv/ralph_assets | 73e5e46db380c9a8dafb9ca1bd5abe47d5733385 | [
"Apache-2.0"
] | null | null | null | src/ralph_assets/migrations/0015_auto__add_supporttype__add_assetlasthostname__add_unique_assetlasthost.py | xliiv/ralph_assets | 73e5e46db380c9a8dafb9ca1bd5abe47d5733385 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'SupportType'
db.create_table('ralph_assets_supporttype', (
('id', self.gf('djang... | 89.436027 | 224 | 0.589816 | 5,625 | 53,125 | 5.437333 | 0.0544 | 0.096518 | 0.168449 | 0.240641 | 0.876116 | 0.844237 | 0.801929 | 0.757038 | 0.72068 | 0.663757 | 0 | 0.008342 | 0.17408 | 53,125 | 594 | 225 | 89.436027 | 0.688721 | 0.020913 | 0 | 0.391714 | 0 | 0 | 0.573704 | 0.336289 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003766 | false | 0.001883 | 0.011299 | 0 | 0.020716 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 7 |
ecee687df04f7bc7d7fcd6f1189845893b40357b | 13,506 | py | Python | aggregatres.py | ressourceplanning/StochasticMRP | fe433986d22a4126769b9d3ae25c6ace11b8c1c4 | [
"BSL-1.0"
] | 3 | 2020-06-17T06:17:31.000Z | 2021-07-19T07:53:40.000Z | aggregatres.py | ressourceplanning/StochasticMRP | fe433986d22a4126769b9d3ae25c6ace11b8c1c4 | [
"BSL-1.0"
] | null | null | null | aggregatres.py | ressourceplanning/StochasticMRP | fe433986d22a4126769b9d3ae25c6ace11b8c1c4 | [
"BSL-1.0"
] | 2 | 2021-07-18T05:01:42.000Z | 2021-09-03T02:16:43.000Z | #This script aggregates all the csv file in the folder Test.
import openpyxl as opxl
import pandas as pd
import glob as glob
columnname = ["Instance name",
"Distribution",
"Model",
"Method",
"Scenario Generation",
"NrInSampleScenario",
... | 37.62117 | 89 | 0.511773 | 1,364 | 13,506 | 5.038856 | 0.134897 | 0.128037 | 0.242398 | 0.285174 | 0.832679 | 0.8142 | 0.806053 | 0.797614 | 0.797614 | 0.797614 | 0 | 0.025296 | 0.39997 | 13,506 | 359 | 90 | 37.62117 | 0.822804 | 0.113505 | 0 | 0.759197 | 0 | 0 | 0.500545 | 0.014754 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010033 | 0 | 0.010033 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 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 | 9 |
ecf50379002914b9a7c456cb5283ade0e97cf57d | 20,857 | py | Python | addons/stock_picking_batch/tests/test_batch_picking.py | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | addons/stock_picking_batch/tests/test_batch_picking.py | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | addons/stock_picking_batch/tests/test_batch_picking.py | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from datetime import datetime, timedelta
from odoo.tests import Form
from odoo.tests.common import TransactionCase
class TestBatchPicking(TransactionCase):
def setUp(self):
""" Create a picking batch with... | 56.67663 | 164 | 0.703073 | 2,780 | 20,857 | 5.046403 | 0.088849 | 0.058023 | 0.084824 | 0.072279 | 0.828569 | 0.792644 | 0.776035 | 0.756291 | 0.755863 | 0.740181 | 0 | 0.011535 | 0.193652 | 20,857 | 367 | 165 | 56.831063 | 0.822631 | 0.2147 | 0 | 0.729258 | 0 | 0 | 0.160962 | 0.008309 | 0 | 0 | 0 | 0.002725 | 0.327511 | 1 | 0.034935 | false | 0 | 0.0131 | 0 | 0.052402 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
01c895788e425a871a9d1583b6f60cfb41ece1d1 | 163 | py | Python | src/tensorflow_jr/__init__.py | mvsusp/tensorflow_jr | bbf72884d0cba083c24ae1bc4d7f07b77a6210e4 | [
"Apache-2.0"
] | null | null | null | src/tensorflow_jr/__init__.py | mvsusp/tensorflow_jr | bbf72884d0cba083c24ae1bc4d7f07b77a6210e4 | [
"Apache-2.0"
] | null | null | null | src/tensorflow_jr/__init__.py | mvsusp/tensorflow_jr | bbf72884d0cba083c24ae1bc4d7f07b77a6210e4 | [
"Apache-2.0"
] | null | null | null | from src.tensorflow_jr.operations import *
from src.tensorflow_jr.core import *
from src.tensorflow_jr.session import *
from train import GradientDescentOptimizer
| 32.6 | 42 | 0.846626 | 22 | 163 | 6.136364 | 0.454545 | 0.155556 | 0.377778 | 0.422222 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09816 | 163 | 4 | 43 | 40.75 | 0.918367 | 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 | 1 | 0 | 0 | 7 |
01e31c770e45dd21250442b1398dc582bdf538f6 | 17,424 | py | Python | sdk/python/pulumi_gandi/domain/domain.py | vincentbernat/pulumi-gandi | 8eb3610d62e626c9ef75b8fbf393f5aab0e147a6 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_gandi/domain/domain.py | vincentbernat/pulumi-gandi | 8eb3610d62e626c9ef75b8fbf393f5aab0e147a6 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_gandi/domain/domain.py | vincentbernat/pulumi-gandi | 8eb3610d62e626c9ef75b8fbf393f5aab0e147a6 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 44.22335 | 176 | 0.647039 | 1,942 | 17,424 | 5.643666 | 0.085479 | 0.128467 | 0.104015 | 0.11177 | 0.844161 | 0.815876 | 0.777464 | 0.762682 | 0.749635 | 0.748266 | 0 | 0.000973 | 0.233242 | 17,424 | 393 | 177 | 44.335878 | 0.819386 | 0.128157 | 0 | 0.78777 | 1 | 0.032374 | 0.174185 | 0.003198 | 0 | 0 | 0 | 0 | 0 | 1 | 0.151079 | false | 0.003597 | 0.02518 | 0.043165 | 0.266187 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
01f146e0aa9d8cce76dcf4fadb963ca6814f4017 | 110,449 | py | Python | o3seespy/command/element/bearing.py | o3seespy/o3seespy | 4fdd942370df1ac8d454e361f651405717b8584c | [
"MIT",
"BSD-3-Clause"
] | 16 | 2019-10-24T17:58:46.000Z | 2022-03-01T19:48:06.000Z | o3seespy/command/element/bearing.py | o3seespy/o3seespy | 4fdd942370df1ac8d454e361f651405717b8584c | [
"MIT",
"BSD-3-Clause"
] | 5 | 2020-04-17T01:39:27.000Z | 2020-12-18T05:07:58.000Z | o3seespy/command/element/bearing.py | o3seespy/o3seespy | 4fdd942370df1ac8d454e361f651405717b8584c | [
"MIT",
"BSD-3-Clause"
] | 6 | 2020-02-20T02:13:11.000Z | 2021-11-01T19:08:41.000Z | from o3seespy.command.element.base_element import ElementBase
class ElastomericBearingPlasticity2D(ElementBase):
"""
The ElastomericBearingPlasticity2D Element Class
This command is used to construct an elastomericBearing element object, which is defined by two nodes. The element
can have zero le... | 45.677833 | 521 | 0.614492 | 15,078 | 110,449 | 4.379626 | 0.04165 | 0.008299 | 0.024411 | 0.019489 | 0.881353 | 0.8562 | 0.841708 | 0.834605 | 0.824278 | 0.817584 | 0 | 0.023503 | 0.291583 | 110,449 | 2,417 | 522 | 45.696731 | 0.820472 | 0.538158 | 0 | 0.821277 | 0 | 0 | 0.05058 | 0.00431 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021277 | false | 0 | 0.001064 | 0 | 0.064894 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
172e5a33710eedfb1d0a22b208cf0c050b392544 | 1,757 | py | Python | src/nostradamus/metrics.py | nostradamus-ai/nostradamus | 691f433d31a125d5363bb061cac43cc097080ae0 | [
"MIT"
] | 9 | 2019-11-08T20:19:53.000Z | 2022-03-25T21:55:19.000Z | src/nostradamus/metrics.py | nostradamus-ai/nostradamus | 691f433d31a125d5363bb061cac43cc097080ae0 | [
"MIT"
] | null | null | null | src/nostradamus/metrics.py | nostradamus-ai/nostradamus | 691f433d31a125d5363bb061cac43cc097080ae0 | [
"MIT"
] | 1 | 2020-09-29T16:18:04.000Z | 2020-09-29T16:18:04.000Z | import logging
import tornado.web
from prometheus_client import generate_latest
from prometheus_client.core import (REGISTRY, GaugeMetricFamily,
CounterMetricFamily)
class HealthzUpHandler(tornado.web.RequestHandler):
""" Tornado Handler for /healthz/metrics endpoint """
def __init__(self, application, re... | 29.779661 | 64 | 0.672738 | 199 | 1,757 | 5.698492 | 0.236181 | 0.055556 | 0.126984 | 0.082011 | 0.820988 | 0.820988 | 0.820988 | 0.820988 | 0.820988 | 0.820988 | 0 | 0 | 0.212863 | 1,757 | 59 | 65 | 29.779661 | 0.819957 | 0.079112 | 0 | 0.804878 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.292683 | false | 0 | 0.097561 | 0 | 0.463415 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
176c7314899bc55a28262cc152e512492fb7a1ee | 153 | py | Python | ai-engineer/course0_20190911/basic_syntax/1_Import.py | linksdl/meta-project-artificial_intelligence_projects | 3abe0dc59aa891717a661b3ad1e987c14536bd62 | [
"Apache-2.0"
] | null | null | null | ai-engineer/course0_20190911/basic_syntax/1_Import.py | linksdl/meta-project-artificial_intelligence_projects | 3abe0dc59aa891717a661b3ad1e987c14536bd62 | [
"Apache-2.0"
] | null | null | null | ai-engineer/course0_20190911/basic_syntax/1_Import.py | linksdl/meta-project-artificial_intelligence_projects | 3abe0dc59aa891717a661b3ad1e987c14536bd62 | [
"Apache-2.0"
] | null | null | null |
import time
print(time.localtime())
import time as t
print(t.localtime())
from time import time
print(time())
from time import *
print(localtime())
| 10.928571 | 23 | 0.72549 | 23 | 153 | 4.826087 | 0.304348 | 0.27027 | 0.27027 | 0.342342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150327 | 153 | 13 | 24 | 11.769231 | 0.853846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
178ac4d4df20b19a75f846ec4af786faa396a73a | 744,474 | py | Python | pyboto3/ssm.py | gehad-shaat/pyboto3 | 4a0c2851a8bc04fb1c71c36086f7bb257e48181d | [
"MIT"
] | 91 | 2016-12-31T11:38:37.000Z | 2021-09-16T19:33:23.000Z | pyboto3/ssm.py | gehad-shaat/pyboto3 | 4a0c2851a8bc04fb1c71c36086f7bb257e48181d | [
"MIT"
] | 7 | 2017-01-02T18:54:23.000Z | 2020-08-11T13:54:02.000Z | pyboto3/ssm.py | gehad-shaat/pyboto3 | 4a0c2851a8bc04fb1c71c36086f7bb257e48181d | [
"MIT"
] | 26 | 2016-12-31T13:11:00.000Z | 2022-03-03T21:01:12.000Z | '''
The MIT License (MIT)
Copyright (c) 2016 WavyCloud
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, p... | 38.266461 | 6,246 | 0.678366 | 87,304 | 744,474 | 5.773596 | 0.02757 | 0.003337 | 0.023785 | 0.0025 | 0.865508 | 0.838719 | 0.820779 | 0.799348 | 0.786207 | 0.774097 | 0 | 0.009443 | 0.236249 | 744,474 | 19,454 | 6,247 | 38.268428 | 0.877058 | 0.975258 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 10 |
bdc9b9bef4ffc3e299cc20cc43ee68302c69f33c | 937 | py | Python | tests/unit_tests/test_fade.py | Robpol86/sphinx-carousel | df7cd8240fa61c7f27bbf1a6b37a522acd3f250f | [
"BSD-2-Clause"
] | 1 | 2022-03-17T18:01:58.000Z | 2022-03-17T18:01:58.000Z | tests/unit_tests/test_fade.py | Robpol86/sphinx-carousel | df7cd8240fa61c7f27bbf1a6b37a522acd3f250f | [
"BSD-2-Clause"
] | 54 | 2022-03-12T22:56:20.000Z | 2022-03-31T17:44:43.000Z | tests/unit_tests/test_fade.py | Robpol86/sphinx-carousel | df7cd8240fa61c7f27bbf1a6b37a522acd3f250f | [
"BSD-2-Clause"
] | null | null | null | """Tests."""
from typing import List
import pytest
from bs4 import element
@pytest.mark.sphinx("html", testroot="fade/default")
def test_default(carousels: List[element.Tag]):
"""Test."""
carousel = carousels[0]
assert carousel["class"] == ["scbs-carousel", "scbs-slide", "scbs-carousel-fade"]
carous... | 29.28125 | 85 | 0.65635 | 111 | 937 | 5.522523 | 0.243243 | 0.176183 | 0.185971 | 0.225122 | 0.838499 | 0.838499 | 0.734095 | 0.734095 | 0.734095 | 0.734095 | 0 | 0.008772 | 0.148346 | 937 | 31 | 86 | 30.225806 | 0.759399 | 0.01921 | 0 | 0.631579 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 1 | 0.105263 | false | 0 | 0.157895 | 0 | 0.263158 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 8 |
da6babac65c41200866236e1fe9874be5588f7ff | 12,981 | py | Python | test/test_numba_wrapper.py | Hasenpfote/fpq | 3154ed1b1d5eca08255e8359b5027439af43691c | [
"MIT"
] | null | null | null | test/test_numba_wrapper.py | Hasenpfote/fpq | 3154ed1b1d5eca08255e8359b5027439af43691c | [
"MIT"
] | 1 | 2021-01-09T07:56:22.000Z | 2021-01-09T07:56:22.000Z | test/test_numba_wrapper.py | Hasenpfote/fpq | 3154ed1b1d5eca08255e8359b5027439af43691c | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import types
import unittest
from unittest import TestCase
import numpy as np
import sys
sys.path.append('../')
from fpq import numba_wrapper
def _identity_decorator(*args, **kwargs):
if (len(args) == 1) and isinstance(args[0], types.FunctionType):
return arg... | 30.258741 | 81 | 0.563131 | 1,376 | 12,981 | 5.108285 | 0.069041 | 0.148528 | 0.099161 | 0.081946 | 0.908949 | 0.895433 | 0.884194 | 0.875943 | 0.875943 | 0.875943 | 0 | 0.017731 | 0.348278 | 12,981 | 428 | 82 | 30.329439 | 0.813121 | 0.00909 | 0 | 0.91954 | 0 | 0 | 0.002646 | 0 | 0 | 0 | 0 | 0 | 0.16954 | 1 | 0.135057 | false | 0.112069 | 0.017241 | 0.022989 | 0.186782 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
e56f161e89e50854a3c08a4cadd27916b5e2ff6b | 167 | py | Python | app/utils/url_maker.py | yogeshwaran01/Book-Store | 7b4caa37b4132d8e969798eface3fd56c9721395 | [
"MIT"
] | null | null | null | app/utils/url_maker.py | yogeshwaran01/Book-Store | 7b4caa37b4132d8e969798eface3fd56c9721395 | [
"MIT"
] | null | null | null | app/utils/url_maker.py | yogeshwaran01/Book-Store | 7b4caa37b4132d8e969798eface3fd56c9721395 | [
"MIT"
] | null | null | null | def make_url_from_title(string: str) -> str:
return "-".join(string.split())
def make_title_from_url(string: str) -> str:
return " ".join(string.split("-"))
| 23.857143 | 44 | 0.658683 | 24 | 167 | 4.333333 | 0.416667 | 0.134615 | 0.230769 | 0.346154 | 0.634615 | 0.634615 | 0.634615 | 0 | 0 | 0 | 0 | 0 | 0.149701 | 167 | 6 | 45 | 27.833333 | 0.732394 | 0 | 0 | 0 | 0 | 0 | 0.017964 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
e584a29e2ae2e668616f1b3da9de9c639fa418f6 | 13,992 | py | Python | appengine/findit/services/flake_failure/test/flakiness_util_test.py | allaparthi/monorail | e18645fc1b952a5a6ff5f06e0c740d75f1904473 | [
"BSD-3-Clause"
] | 2 | 2021-04-13T21:22:18.000Z | 2021-09-07T02:11:57.000Z | appengine/findit/services/flake_failure/test/flakiness_util_test.py | allaparthi/monorail | e18645fc1b952a5a6ff5f06e0c740d75f1904473 | [
"BSD-3-Clause"
] | 21 | 2020-09-06T02:41:05.000Z | 2022-03-02T04:40:01.000Z | appengine/findit/services/flake_failure/test/flakiness_util_test.py | allaparthi/monorail | e18645fc1b952a5a6ff5f06e0c740d75f1904473 | [
"BSD-3-Clause"
] | null | null | null | # Copyright 2018 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from datetime import datetime
import mock
from dto.flake_swarming_task_output import FlakeSwarmingTaskOutput
from dto.flakiness import Flakiness
from dto.sw... | 32.615385 | 80 | 0.697827 | 1,591 | 13,992 | 5.785041 | 0.095537 | 0.025424 | 0.035202 | 0.053672 | 0.813016 | 0.795198 | 0.77412 | 0.752825 | 0.735332 | 0.732073 | 0 | 0.031079 | 0.227344 | 13,992 | 428 | 81 | 32.691589 | 0.820276 | 0.028373 | 0 | 0.844086 | 0 | 0 | 0.025105 | 0.013252 | 0 | 0 | 0 | 0 | 0.032258 | 1 | 0.032258 | false | 0.077957 | 0.026882 | 0 | 0.061828 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
e5881e7d272ad99eac30d34796f1d7b3fea1af7e | 5,975 | py | Python | phanterpwa/components/left_bar.py | PhanterJR/phanterpwa | 6daff40845b3a853cd08d319c4ce148f8deebed7 | [
"MIT"
] | 2 | 2019-06-06T10:37:01.000Z | 2021-10-16T03:36:28.000Z | phanterpwa/components/left_bar.py | PhanterJR/phanterpwa | 6daff40845b3a853cd08d319c4ce148f8deebed7 | [
"MIT"
] | null | null | null | phanterpwa/components/left_bar.py | PhanterJR/phanterpwa | 6daff40845b3a853cd08d319c4ce148f8deebed7 | [
"MIT"
] | null | null | null |
from ..helpers import DIV, I, IMG
from ..xmlconstructor import XmlConstructor
class LeftBarSubMenu(XmlConstructor):
def __init__(self, _id, label, **attributes):
self._id = _id
self.label = label
self.initial_class = "phanterpwa-component-left_bar-submenu-button link"
attributes["... | 43.933824 | 111 | 0.61841 | 624 | 5,975 | 5.586538 | 0.099359 | 0.163511 | 0.197935 | 0.223752 | 0.860298 | 0.820998 | 0.780264 | 0.751578 | 0.710843 | 0.687894 | 0 | 0 | 0.265607 | 5,975 | 136 | 112 | 43.933824 | 0.794439 | 0 | 0 | 0.691057 | 0 | 0 | 0.245858 | 0.201172 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065041 | false | 0 | 0.01626 | 0 | 0.113821 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 8 |
e5d40def419a0a0950b9751046c76e5a7da7810c | 9,901 | py | Python | tests/perf/test_perf.py | yaal-coop/sheraf | 774e3781bc6ff2e16c6cc39f268d475b5e64fcea | [
"MIT"
] | null | null | null | tests/perf/test_perf.py | yaal-coop/sheraf | 774e3781bc6ff2e16c6cc39f268d475b5e64fcea | [
"MIT"
] | null | null | null | tests/perf/test_perf.py | yaal-coop/sheraf | 774e3781bc6ff2e16c6cc39f268d475b5e64fcea | [
"MIT"
] | null | null | null | import random
import time
import persistent
import sheraf.types
import transaction
OBJECTS_NUMBERS = 10000
class Test_tel(persistent.Persistent):
number = ""
class Test_tel_3(persistent.Persistent):
number = ""
msisdn = ""
msisdn2 = ""
class Test_sheraf_tel(tests.UUIDAutoModel):
number = she... | 36.003636 | 88 | 0.515301 | 1,101 | 9,901 | 4.465032 | 0.088102 | 0.064687 | 0.044955 | 0.05533 | 0.871847 | 0.835435 | 0.825468 | 0.823027 | 0.803906 | 0.793938 | 0 | 0.017769 | 0.369054 | 9,901 | 274 | 89 | 36.135037 | 0.769169 | 0.01717 | 0 | 0.73029 | 0 | 0 | 0.102622 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033195 | false | 0.004149 | 0.020747 | 0 | 0.13278 | 0.06639 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
0057a8e4199ce8d65af5776ff061c960f26a89f4 | 4,888 | py | Python | stag.py | yuanqing-wang/stag | ba887352d2649c4d78bad75a1d3a9fbb6ee873a3 | [
"MIT"
] | 5 | 2021-02-26T10:08:42.000Z | 2021-04-24T05:01:11.000Z | stag.py | yuanqing-wang/stag | ba887352d2649c4d78bad75a1d3a9fbb6ee873a3 | [
"MIT"
] | 1 | 2021-04-23T18:22:04.000Z | 2021-05-15T17:47:56.000Z | stag.py | yuanqing-wang/stag | ba887352d2649c4d78bad75a1d3a9fbb6ee873a3 | [
"MIT"
] | 1 | 2021-04-24T05:01:28.000Z | 2021-04-24T05:01:28.000Z | import torch
from dataset import Dataset
def stag_copy_src_vi(src="h", out="m"):
def message_fun(edges):
if "a" in edges.data:
return {out: edges.src[src] * edges.data["a"]}
return {out: edges.src[src]}
return message_fun
def stag_copy_src_normal(src='h', out='m', alpha=0.1):
... | 32.370861 | 70 | 0.548077 | 660 | 4,888 | 3.966667 | 0.084848 | 0.051566 | 0.055004 | 0.059587 | 0.94385 | 0.899542 | 0.891138 | 0.887701 | 0.866692 | 0.825821 | 0 | 0.020018 | 0.305033 | 4,888 | 150 | 71 | 32.586667 | 0.750662 | 0 | 0 | 0.792 | 0 | 0 | 0.013502 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.176 | false | 0 | 0.016 | 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 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
978177120c3a151e9b77b2c450d0a9492c35d15c | 90,856 | py | Python | tests/fixtures/filters_3_0.py | Jack-Sun-007/pymsfilereader | e59fee9c2403768e187c62fed0d85b9a5dc8c74e | [
"MIT"
] | 29 | 2019-07-27T09:01:09.000Z | 2022-03-31T11:26:27.000Z | tests/fixtures/filters_3_0.py | Jack-Sun-007/pymsfilereader | e59fee9c2403768e187c62fed0d85b9a5dc8c74e | [
"MIT"
] | 5 | 2019-07-19T15:35:41.000Z | 2020-05-01T15:22:23.000Z | tests/fixtures/filters_3_0.py | Jack-Sun-007/pymsfilereader | e59fee9c2403768e187c62fed0d85b9a5dc8c74e | [
"MIT"
] | 11 | 2017-03-14T02:03:17.000Z | 2019-07-09T20:20:17.000Z | filters = \
('+ c ESI Full ms [300.00-2000.00]',
'+ c ESI Full ms [400.00-2000.00]',
'+ c d Full ms2 400.31@cid45.00 [100.00-815.00]',
'+ c d Full ms2 401.39@cid45.00 [100.00-815.00]',
'+ c d Full ms2 406.73@cid45.00 [100.00-825.00]',
'+ c d Full ms2 408.00@cid45.00 [100.00-830.00]',
'+ c d Full ms2 412.90@cid45.... | 52.639629 | 52 | 0.620487 | 20,681 | 90,856 | 2.725932 | 0.063778 | 0.09169 | 0.122182 | 0.244364 | 0.894297 | 0.877605 | 0.87067 | 0.868257 | 0.865366 | 0.865366 | 0 | 0.485414 | 0.151845 | 90,856 | 1,726 | 53 | 52.639629 | 0.246159 | 0 | 0 | 0 | 0 | 0.998261 | 0.904939 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
97ad9bf5e23676efffa0610db7c195640be3e7ef | 32,426 | py | Python | server/route_test.py | TDDD96-Kandidatgrupp-1-2020/Visual1ze | 84579b7d05343e8be9123e92fc606a967d5714c8 | [
"MIT"
] | 6 | 2020-05-25T13:30:55.000Z | 2021-11-08T13:00:01.000Z | server/route_test.py | matheus-bernat/Visual1ze | 84579b7d05343e8be9123e92fc606a967d5714c8 | [
"MIT"
] | null | null | null | server/route_test.py | matheus-bernat/Visual1ze | 84579b7d05343e8be9123e92fc606a967d5714c8 | [
"MIT"
] | 1 | 2021-03-30T14:38:40.000Z | 2021-03-30T14:38:40.000Z | """
This module is used to test the routes for the reader on the server.
"""
from flask import url_for
from flask_jwt_extended import create_access_token
from flask_testing import TestCase
import json
from script.create_db_data import populate_db
from visualize import create_app, db
from visualize.models import Reader... | 32.753535 | 118 | 0.696972 | 4,585 | 32,426 | 4.761178 | 0.063468 | 0.039304 | 0.049382 | 0.05836 | 0.85126 | 0.832203 | 0.810399 | 0.792442 | 0.771003 | 0.743976 | 0 | 0.011773 | 0.174829 | 32,426 | 989 | 119 | 32.786653 | 0.804089 | 0.092025 | 0 | 0.7178 | 0 | 0 | 0.219557 | 0.011373 | 0 | 0 | 0 | 0 | 0.118669 | 1 | 0.062229 | false | 0.013025 | 0.01013 | 0.001447 | 0.091172 | 0.002894 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c1109e174e3865f869121103a4c5dc09b983c9f3 | 1,804 | py | Python | src/main_floquetinit.py | gsinuco/OPENMMF | 2cc0d0f2a4ded895c189050c38dbf2e8985e2d55 | [
"CC-BY-4.0"
] | 4 | 2020-05-12T19:28:12.000Z | 2022-03-06T05:37:17.000Z | src/main_floquetinit.py | gsinuco/OPENMMF | 2cc0d0f2a4ded895c189050c38dbf2e8985e2d55 | [
"CC-BY-4.0"
] | null | null | null | src/main_floquetinit.py | gsinuco/OPENMMF | 2cc0d0f2a4ded895c189050c38dbf2e8985e2d55 | [
"CC-BY-4.0"
] | 3 | 2020-05-12T19:28:13.000Z | 2020-11-16T21:09:32.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Mon Sep 7 11:03:08 2020
@author: german
"""
import numpy as np
import openmmf as openmmf
import matplotlib.pyplot as plt
# INITIALISE THE DATA TYPE
id = openmmf.atom_c_T()
info = 0
openmmf.floquetinit(id,'qubit',info=info)
d_bare = id.d_bare
print(d... | 18.989474 | 48 | 0.756652 | 295 | 1,804 | 4.498305 | 0.186441 | 0.135644 | 0.180859 | 0.117558 | 0.843255 | 0.843255 | 0.843255 | 0.843255 | 0.843255 | 0.843255 | 0 | 0.024707 | 0.10255 | 1,804 | 94 | 49 | 19.191489 | 0.794935 | 0.213415 | 0 | 0.679245 | 0 | 0 | 0.043665 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.056604 | 0 | 0.056604 | 0.226415 | 0 | 0 | 0 | null | 0 | 1 | 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 | 7 |
c17c35ee5c4c9d8263071fd03ba65ddd5accfa63 | 30,743 | py | Python | examples/coevolution/plots.py | aadeshnpn/swarm | 873e5d90de4a3b3f69d4edc8de55eb9311226c2e | [
"MIT"
] | 9 | 2018-03-26T22:22:08.000Z | 2021-08-30T20:45:27.000Z | examples/coevolution/plots.py | aadeshnpn/swarm | 873e5d90de4a3b3f69d4edc8de55eb9311226c2e | [
"MIT"
] | 1 | 2021-05-06T12:45:11.000Z | 2021-05-12T07:21:53.000Z | examples/coevolution/plots.py | aadeshnpn/swarm | 873e5d90de4a3b3f69d4edc8de55eb9311226c2e | [
"MIT"
] | 1 | 2019-04-22T00:27:09.000Z | 2019-04-22T00:27:09.000Z | import os
import numpy as np
import scipy.stats as stats
import matplotlib
# If there is $DISPLAY, display the plot
if os.name == 'posix' and "DISPLAY" not in os.environ:
matplotlib.use('Agg')
import matplotlib.pyplot as plt # noqa: E402
import glob
import pathlib
def read_npy(fname='all.npy'):
# /tmp/o... | 34.895573 | 149 | 0.592753 | 4,008 | 30,743 | 4.455589 | 0.090818 | 0.014447 | 0.012599 | 0.018815 | 0.82428 | 0.787994 | 0.760947 | 0.741908 | 0.729085 | 0.71867 | 0 | 0.05596 | 0.235631 | 30,743 | 881 | 150 | 34.895573 | 0.703987 | 0.194418 | 0 | 0.705491 | 0 | 0 | 0.132563 | 0.03184 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041597 | false | 0.011647 | 0.011647 | 0 | 0.078203 | 0.021631 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c1911f4b48d5cc9de88e37f03fbf92bdddc7e127 | 531 | py | Python | python/testData/refactoring/inlinelocal/operatorPrecedence/power.after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/inlinelocal/operatorPrecedence/power.after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/inlinelocal/operatorPrecedence/power.after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | (10 ** 2)[::-5]
(10 ** 2)[5]
(10 ** 2)(5)
(10 ** 2).foo
-(10 ** 2)
+(10 ** 2)
~(10 ** 2)
5 ** 10 ** 2
(10 ** 2) ** 5
5 * 10 ** 2
10 ** 2 * 5
5 / 10 ** 2
10 ** 2 / 5
5 // 10 ** 2
10 ** 2 // 5
5 + 10 ** 2
10 ** 2 + 5
10 ** 2 - 5
5 - 10 ** 2
5 >> 10 ** 2
10 ** 2 << 5
5 & 10 ** 2
10 ** 2 & 5
5 ^ 10 ** 2
10 ** 2 ^... | 9.155172 | 31 | 0.346516 | 125 | 531 | 1.472 | 0.088 | 0.668478 | 0.369565 | 0.521739 | 0.597826 | 0.597826 | 0.586957 | 0.505435 | 0.423913 | 0.423913 | 0 | 0.470948 | 0.384181 | 531 | 57 | 32 | 9.315789 | 0.091743 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a9c94e499332d60ec3ecca15bbcb160ef660cf84 | 55,333 | py | Python | tschartslib/dentalstate/dentalstate.py | DaleProctor/tscharts | 5447395e0aef0b949bef8426febdec2093cf37ef | [
"Apache-2.0"
] | 16 | 2016-08-17T21:39:10.000Z | 2021-11-24T12:14:28.000Z | tschartslib/dentalstate/dentalstate.py | DaleProctor/tscharts | 5447395e0aef0b949bef8426febdec2093cf37ef | [
"Apache-2.0"
] | 55 | 2017-04-23T18:12:04.000Z | 2021-08-08T08:25:18.000Z | tschartslib/dentalstate/dentalstate.py | DaleProctor/tscharts | 5447395e0aef0b949bef8426febdec2093cf37ef | [
"Apache-2.0"
] | 8 | 2017-08-11T02:11:46.000Z | 2021-07-06T22:58:42.000Z | #(C) Copyright Syd Logan 2020
#(C) Copyright Thousand Smiles Foundation 2020
#
#Licensed under the Apache License, Version 2.0 (the "License");
#you may not use this file except in compliance with the License.
#
#You may obtain a copy of the License at
#http://www.apache.org/licenses/LICENSE-2.0
#
#Unless required by a... | 30.92957 | 102 | 0.549654 | 6,145 | 55,333 | 4.926444 | 0.06428 | 0.088197 | 0.105837 | 0.091633 | 0.813266 | 0.792753 | 0.782975 | 0.761999 | 0.747134 | 0.740396 | 0 | 0.041882 | 0.313899 | 55,333 | 1,788 | 103 | 30.946868 | 0.755532 | 0.03038 | 0 | 0.786581 | 0 | 0 | 0.069445 | 0.005207 | 0 | 0 | 0 | 0 | 0.16631 | 1 | 0.04354 | false | 0.003569 | 0.007852 | 0.001428 | 0.082084 | 0.001428 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
e7717ba0dba348c1e83e151b72f7a350d2accdbd | 3,433 | py | Python | tests/integration/renderer/test_title.py | jbampton/dashR | edbcc040ffabb7956eeb4774e922794c53c557ce | [
"MIT"
] | null | null | null | tests/integration/renderer/test_title.py | jbampton/dashR | edbcc040ffabb7956eeb4774e922794c53c557ce | [
"MIT"
] | null | null | null | tests/integration/renderer/test_title.py | jbampton/dashR | edbcc040ffabb7956eeb4774e922794c53c557ce | [
"MIT"
] | null | null | null | import pdb
app_test_updating = """
library(dash)
library(dashHtmlComponents)
app <- Dash$new()
app$layout(htmlDiv(list(htmlH3("Press button see document title updating"),
htmlDiv(id="output", children="Awaiting output"),
htmlButton("Update", id="button", n_clicks=0),
htmlButton("Update Page", id="page", n_click... | 25.42963 | 75 | 0.685989 | 449 | 3,433 | 5.051225 | 0.144766 | 0.058642 | 0.053351 | 0.079365 | 0.903439 | 0.882275 | 0.876984 | 0.810406 | 0.753527 | 0.753527 | 0 | 0.015038 | 0.147684 | 3,433 | 134 | 76 | 25.619403 | 0.760082 | 0 | 0 | 0.654545 | 0 | 0 | 0.715701 | 0.14448 | 0 | 0 | 0 | 0 | 0.045455 | 1 | 0.045455 | false | 0 | 0.009091 | 0 | 0.072727 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
823632fec14881e345a96ed05d7fa15f372c70e0 | 1,486 | py | Python | examples/example.py | mrbloozman/Python_NetPBM | cea78ca7d803d80ba10be498e5325db7b60137fb | [
"MIT"
] | null | null | null | examples/example.py | mrbloozman/Python_NetPBM | cea78ca7d803d80ba10be498e5325db7b60137fb | [
"MIT"
] | 1 | 2018-02-21T06:42:51.000Z | 2018-02-21T06:42:51.000Z | examples/example.py | mrbloozman/Python_NetPBM | cea78ca7d803d80ba10be498e5325db7b60137fb | [
"MIT"
] | null | null | null | # import sys
# sys.path.append('../netpbm')
# from __init__ import *
from netpbm import *
print('Begin test...')
print('Load P1...')
img = NetPBM()
img.load('P1.pbm')
print('Height: ' + str(img.height()))
print('Width: ' + str(img.width()))
print('Comment: ' + str(img.comment()))
for color in img.export(ColorMap.b24... | 20.929577 | 39 | 0.632571 | 219 | 1,486 | 4.273973 | 0.146119 | 0.115385 | 0.076923 | 0.102564 | 0.785256 | 0.785256 | 0.785256 | 0.785256 | 0.785256 | 0.785256 | 0 | 0.018335 | 0.119112 | 1,486 | 71 | 40 | 20.929577 | 0.696715 | 0.041723 | 0 | 0.72 | 0 | 0 | 0.178044 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02 | 0 | 0.02 | 0.62 | 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 | 1 | 0 | 7 |
413854ed144b1faadd17e9f186dda88045b911db | 1,349 | py | Python | backend/campusmedius/campusmedius/information/migrations/0022_auto_20181225_2104.py | campusmedius/campusmedius | 9fb48b8aa869c3ce45003fff5144db1d5aaafa67 | [
"MIT"
] | null | null | null | backend/campusmedius/campusmedius/information/migrations/0022_auto_20181225_2104.py | campusmedius/campusmedius | 9fb48b8aa869c3ce45003fff5144db1d5aaafa67 | [
"MIT"
] | 205 | 2018-11-07T00:50:20.000Z | 2022-03-11T23:37:47.000Z | backend/campusmedius/campusmedius/information/migrations/0022_auto_20181225_2104.py | campusmedius/campusmedius | 9fb48b8aa869c3ce45003fff5144db1d5aaafa67 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.16 on 2018-12-25 20:04
from __future__ import unicode_literals
from django.db import migrations
import tinymce.models
class Migration(migrations.Migration):
dependencies = [
('information', '0021_auto_20181225_1944'),
]
operations = [
m... | 28.702128 | 66 | 0.575241 | 135 | 1,349 | 5.6 | 0.348148 | 0.12037 | 0.198413 | 0.230159 | 0.722222 | 0.722222 | 0.722222 | 0.670635 | 0.670635 | 0.670635 | 0 | 0.036286 | 0.305411 | 1,349 | 46 | 67 | 29.326087 | 0.770544 | 0.051149 | 0 | 0.769231 | 1 | 0 | 0.097103 | 0.018011 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
41828045600739a71cd8543dabd4d5c88e34379f | 10,365 | py | Python | tests/excerptexport/views/test_order_excerpt_views.py | tyrasd/osmaxx | da4454083d17b2ef8b0623cad62e39992b6bd52a | [
"MIT"
] | 27 | 2015-03-30T14:17:26.000Z | 2022-02-19T17:30:44.000Z | tests/excerptexport/views/test_order_excerpt_views.py | tyrasd/osmaxx | da4454083d17b2ef8b0623cad62e39992b6bd52a | [
"MIT"
] | 483 | 2015-03-09T16:58:03.000Z | 2022-03-14T09:29:06.000Z | tests/excerptexport/views/test_order_excerpt_views.py | tyrasd/osmaxx | da4454083d17b2ef8b0623cad62e39992b6bd52a | [
"MIT"
] | 6 | 2015-04-07T07:38:30.000Z | 2020-04-01T12:45:53.000Z | from django.contrib.auth.models import User
from django.core.urlresolvers import reverse
from django.test import TestCase
from hamcrest import assert_that, contains_inanyorder as contains_in_any_order
from osmaxx.conversion.converters.converter_gis.detail_levels import DETAIL_LEVEL_ALL
from osmaxx.excerptexport.models... | 49.123223 | 281 | 0.695128 | 1,225 | 10,365 | 5.608163 | 0.139592 | 0.032023 | 0.029694 | 0.028821 | 0.834061 | 0.784571 | 0.771761 | 0.727802 | 0.716157 | 0.685153 | 0 | 0.043694 | 0.202894 | 10,365 | 210 | 282 | 49.357143 | 0.787824 | 0.074481 | 0 | 0.506024 | 0 | 0.012048 | 0.227563 | 0.153552 | 0 | 0 | 0 | 0.004762 | 0.186747 | 1 | 0.072289 | false | 0.054217 | 0.054217 | 0 | 0.13253 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
41a427d5082514897c914e2eb2a6e80e1d9e2aa0 | 5,421 | py | Python | skroute/datasets/_datasets.py | arubiales/scikit-route | 83262d9d41ff700c911927f5bb6c93feb0c595e4 | [
"MIT"
] | 2 | 2020-12-30T19:01:08.000Z | 2022-01-17T09:50:59.000Z | skroute/datasets/_datasets.py | arubiales/scikit-route | 83262d9d41ff700c911927f5bb6c93feb0c595e4 | [
"MIT"
] | 39 | 2020-12-30T14:58:45.000Z | 2021-06-21T20:50:02.000Z | skroute/datasets/_datasets.py | arubiales/scikit-route | 83262d9d41ff700c911927f5bb6c93feb0c595e4 | [
"MIT"
] | 1 | 2020-12-31T00:41:10.000Z | 2020-12-31T00:41:10.000Z | """
Datasets
Authors
-------
2020: Alberto Rubiales <al.rubiales.b@gmail.com>
"""
import pandas as pd
from ._utils_datasets import _read_tsp, _read_txt, _loader, _docstring_decorator
import os, sys
_path = os.path.join(os.path.dirname(__file__) + "/", )
# #Borrar esto, es para jupyter
# sys.path.append(_path)
# fro... | 31.701754 | 91 | 0.729386 | 676 | 5,421 | 5.368343 | 0.16568 | 0.168642 | 0.178562 | 0.200882 | 0.841279 | 0.829705 | 0.829705 | 0.557454 | 0.230091 | 0.193717 | 0 | 0.0235 | 0.120826 | 5,421 | 170 | 92 | 31.888235 | 0.737935 | 0.038185 | 0 | 0.408333 | 0 | 0 | 0.324491 | 0.220877 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.025 | 0.266667 | 0.55 | 0 | 0 | 0 | 0 | null | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
41a866d2f361c9851f5eb0bad6904d84d88f3b18 | 20,216 | py | Python | sdk/python/pulumi_ucloud/uhost/instance.py | yufeiminds/pulumi-ucloud | e7899b4e92f60edec47369001530039acd945f7a | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_ucloud/uhost/instance.py | yufeiminds/pulumi-ucloud | e7899b4e92f60edec47369001530039acd945f7a | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_ucloud/uhost/instance.py | yufeiminds/pulumi-ucloud | e7899b4e92f60edec47369001530039acd945f7a | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import json
import warnings
import pulumi
import pulumi.runtime
from typing import Union
from .. import utilities, tables
class Instan... | 71.94306 | 572 | 0.693856 | 2,926 | 20,216 | 4.590567 | 0.101504 | 0.027993 | 0.045265 | 0.038192 | 0.824151 | 0.800625 | 0.781864 | 0.758338 | 0.726176 | 0.710691 | 0 | 0.010125 | 0.213445 | 20,216 | 280 | 573 | 72.2 | 0.834602 | 0.447418 | 0 | 0.016 | 1 | 0 | 0.147139 | 0.012173 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032 | false | 0.048 | 0.048 | 0.016 | 0.328 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
68ba180b4c6482a3dc6864ec52890b23465059b5 | 4,746 | py | Python | tests/test_onboarding.py | alexko371/Python-Selenium-AofL | 53a988fdfa06fae95a2f29fa677b46698336ef11 | [
"Apache-2.0"
] | null | null | null | tests/test_onboarding.py | alexko371/Python-Selenium-AofL | 53a988fdfa06fae95a2f29fa677b46698336ef11 | [
"Apache-2.0"
] | null | null | null | tests/test_onboarding.py | alexko371/Python-Selenium-AofL | 53a988fdfa06fae95a2f29fa677b46698336ef11 | [
"Apache-2.0"
] | null | null | null | from selenium.webdriver.support.ui import WebDriverWait # Import at top of file
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.by import By
def test_onboarding_process_gilr(app):
app.onboarding.open_login_page("https://dk.qtest.abcmouse.com/login")
app.login.to... | 50.489362 | 110 | 0.733249 | 644 | 4,746 | 5.125776 | 0.192547 | 0.165404 | 0.057558 | 0.043623 | 0.839443 | 0.839443 | 0.83611 | 0.807028 | 0.763102 | 0.730385 | 0 | 0.015535 | 0.118416 | 4,746 | 94 | 111 | 50.489362 | 0.773423 | 0.394437 | 0 | 0.536585 | 0 | 0 | 0.1559 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.073171 | false | 0.073171 | 0.073171 | 0 | 0.146341 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
68cb63cf818939578b7ad63069a26ef47bd86659 | 9,530 | py | Python | tests/test_superuser.py | appukuttan-shailesh/hbp-validation-client | 893ae3ecb7dc74420408abcd79610c7499ef9e84 | [
"BSD-3-Clause"
] | 3 | 2020-12-20T16:14:09.000Z | 2021-05-07T15:33:35.000Z | tests/test_superuser.py | appukuttan-shailesh/hbp-validation-client | 893ae3ecb7dc74420408abcd79610c7499ef9e84 | [
"BSD-3-Clause"
] | 42 | 2018-01-18T12:29:11.000Z | 2021-02-01T14:07:42.000Z | tests/test_superuser.py | appukuttan-shailesh/hbp-validation-client | 893ae3ecb7dc74420408abcd79610c7499ef9e84 | [
"BSD-3-Clause"
] | 6 | 2018-04-18T14:33:42.000Z | 2020-07-23T10:22:42.000Z | import os
import platform
from datetime import datetime
from time import sleep
from hbp_validation_framework import ModelCatalog, TestLibrary, sample
import pytest
HBP_USERNAME = os.environ.get('HBP_USER')
HBP_PASSWORD = os.environ.get('HBP_PASS')
TOKEN = os.environ.get("HBP_AUTH_TOKEN")
HBP_USERNAME_NORMAL_USER = o... | 57.409639 | 182 | 0.69276 | 1,201 | 9,530 | 5.263114 | 0.172356 | 0.021041 | 0.02025 | 0.031641 | 0.857934 | 0.843854 | 0.791647 | 0.785635 | 0.744977 | 0.68929 | 0 | 0.011329 | 0.175656 | 9,530 | 165 | 183 | 57.757576 | 0.793279 | 0.067891 | 0 | 0.682927 | 0 | 0.01626 | 0.277702 | 0.024133 | 0 | 0 | 0 | 0 | 0.065041 | 1 | 0.01626 | false | 0.065041 | 0.04878 | 0 | 0.065041 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
ec1f5279a3722bd20c779e11b525090b9fcd8a15 | 13,357 | py | Python | src/PowerGraphPartitioning.py | YifanLi/SGVCut | 8fde53d17876fade2bc561dd04c9acea35334a24 | [
"Apache-2.0"
] | null | null | null | src/PowerGraphPartitioning.py | YifanLi/SGVCut | 8fde53d17876fade2bc561dd04c9acea35334a24 | [
"Apache-2.0"
] | null | null | null | src/PowerGraphPartitioning.py | YifanLi/SGVCut | 8fde53d17876fade2bc561dd04c9acea35334a24 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Usage: PowerGraphPartitioning.py [edges_dataset] [numOfPartitions]
Notice: this program is used to partition a graph with proper size,
whose vertices table can be kept in memory, in PowerGraph way.
Thus, we need a distributed version to handle that too large graph.
''... | 34.514212 | 123 | 0.463877 | 1,206 | 13,357 | 5.126036 | 0.144279 | 0.019411 | 0.009706 | 0.048528 | 0.816241 | 0.809123 | 0.78583 | 0.78583 | 0.770948 | 0.770948 | 0 | 0.01552 | 0.445235 | 13,357 | 386 | 124 | 34.603627 | 0.818758 | 0.097552 | 0 | 0.496403 | 0 | 0 | 0.021668 | 0 | 0.007194 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.028777 | null | null | 0.007194 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.