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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0de91d0b3d8dee61091229402433dcdab535ab49 | 181 | py | Python | utilities/io/__init__.py | wong-ck/DeepSegment | 01c04b2d80355b97d3494e0073ba35ef9c98e546 | [
"MIT"
] | null | null | null | utilities/io/__init__.py | wong-ck/DeepSegment | 01c04b2d80355b97d3494e0073ba35ef9c98e546 | [
"MIT"
] | null | null | null | utilities/io/__init__.py | wong-ck/DeepSegment | 01c04b2d80355b97d3494e0073ba35ef9c98e546 | [
"MIT"
] | null | null | null | # Written by Chun Kit Wong and CIRC under MIT license:
# https://github.com/wong-ck/DeepSegment/blob/master/LICENSE
from utilities.io import reader
from utilities.io import writer
| 30.166667 | 60 | 0.79558 | 29 | 181 | 4.965517 | 0.793103 | 0.180556 | 0.208333 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121547 | 181 | 5 | 61 | 36.2 | 0.90566 | 0.61326 | 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 |
21a65c79f6e405e20bf8d260075e144d89e0d784 | 496 | py | Python | keras-ssd-master/run_ssd.py | dlsaavedra/Detector_GDXray | 1e120f8fa548819eef1b86ccfbbe306b44405b6f | [
"MIT"
] | 3 | 2021-05-27T07:27:44.000Z | 2022-02-19T05:20:16.000Z | keras-ssd-master/run_ssd.py | dlsaavedra/Detector_GDXray | 1e120f8fa548819eef1b86ccfbbe306b44405b6f | [
"MIT"
] | 8 | 2020-09-25T22:34:27.000Z | 2022-02-10T01:09:19.000Z | keras-ssd-master/run_ssd.py | dlsaavedra/Detector_GDXray | 1e120f8fa548819eef1b86ccfbbe306b44405b6f | [
"MIT"
] | 3 | 2020-03-18T20:27:18.000Z | 2021-11-03T03:10:11.000Z | import os
#os.mkdir('../Experimento_3/Resultados_ssd')
#os.mkdir('../Experimento_3/Resultados_ssd/ssd512')
#os.mkdir('../Experimento_3/Resultados_ssd/ssd300')
#os.mkdir('../Experimento_3/Resultados_ssd/ssd7')
print ('Training ssd7')
os.system('python train.py -c config_7.json')
print ('Testing ssd7')
os.system('python... | 29.176471 | 51 | 0.741935 | 77 | 496 | 4.623377 | 0.285714 | 0.078652 | 0.202247 | 0.213483 | 0.800562 | 0.800562 | 0.441011 | 0.441011 | 0.328652 | 0.235955 | 0 | 0.054466 | 0.074597 | 496 | 16 | 52 | 31 | 0.721133 | 0.385081 | 0 | 0.333333 | 0 | 0 | 0.611296 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 0.444444 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
df3d519ebc3661f93895456c2163bba35a1c298c | 26,227 | py | Python | mealpy/system_based/AEO.py | rishavpramanik/mealpy | d4a4d5810f15837764e4ee61517350fef3dc92b3 | [
"MIT"
] | null | null | null | mealpy/system_based/AEO.py | rishavpramanik/mealpy | d4a4d5810f15837764e4ee61517350fef3dc92b3 | [
"MIT"
] | null | null | null | mealpy/system_based/AEO.py | rishavpramanik/mealpy | d4a4d5810f15837764e4ee61517350fef3dc92b3 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# Created by "Thieu" at 16:44, 18/03/2020 ----------%
# Email: nguyenthieu2102@gmail.com %
# Github: https://github.com/thieu1995 %
# --------------------------------------------------%
import numpy as np
from copy import deepcopy
from mealpy.optimizer import Optimiz... | 42.576299 | 146 | 0.540245 | 3,525 | 26,227 | 3.859291 | 0.088511 | 0.059688 | 0.076742 | 0.051161 | 0.884887 | 0.857395 | 0.847251 | 0.843649 | 0.833578 | 0.830859 | 0 | 0.049383 | 0.311282 | 26,227 | 615 | 147 | 42.645528 | 0.703759 | 0.308537 | 0 | 0.858156 | 0 | 0 | 0.00307 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035461 | false | 0 | 0.010638 | 0 | 0.06383 | 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 |
df48f68f09cd9e3c161d880cc990b0cf100bd630 | 3,143 | py | Python | stock_index_analyzer/stock_analyzer.py | billy0920/pygui | 61ee2cebb22a0c8bb595cba39da33bd9988de9ba | [
"MIT"
] | null | null | null | stock_index_analyzer/stock_analyzer.py | billy0920/pygui | 61ee2cebb22a0c8bb595cba39da33bd9988de9ba | [
"MIT"
] | null | null | null | stock_index_analyzer/stock_analyzer.py | billy0920/pygui | 61ee2cebb22a0c8bb595cba39da33bd9988de9ba | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import time
import datetime
import requests
# http://push2his.eastmoney.com/api/qt/stock/kline/get?cb=jQuery112401779541629980841_1575296121360&secid=1.000001&ut=fa5fd1943c7b386f172d6893dbfba10b&fields1=f1%2Cf2%2Cf3%2Cf4%2Cf5&fields2=f51%2Cf52%2Cf53%2Cf54%2Cf55%2Cf56%2Cf57%2Cf58&klt=101&fqt=0&be... | 46.910448 | 387 | 0.688832 | 432 | 3,143 | 4.891204 | 0.416667 | 0.034075 | 0.037861 | 0.06673 | 0.800284 | 0.777567 | 0.746332 | 0.746332 | 0.746332 | 0.675343 | 0 | 0.272522 | 0.155902 | 3,143 | 67 | 388 | 46.910448 | 0.523935 | 0.09895 | 0 | 0 | 0 | 0.04878 | 0.488865 | 0.24226 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04878 | false | 0 | 0.073171 | 0 | 0.146341 | 0.04878 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 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 |
80050ce95c259058b2f4012582f1d2f9451b8dd2 | 174 | py | Python | ckstyle/reporter/Reporter.py | wangjeaf/CSSCheckStyle | d1b1ed89c61ca80d65f398ec4a07d73789197b04 | [
"BSD-3-Clause"
] | 21 | 2015-04-27T14:54:45.000Z | 2021-11-08T09:12:08.000Z | ckstyle/reporter/Reporter.py | wangjeaf/CSSCheckStyle | d1b1ed89c61ca80d65f398ec4a07d73789197b04 | [
"BSD-3-Clause"
] | null | null | null | ckstyle/reporter/Reporter.py | wangjeaf/CSSCheckStyle | d1b1ed89c61ca80d65f398ec4a07d73789197b04 | [
"BSD-3-Clause"
] | 6 | 2015-03-02T08:08:59.000Z | 2016-03-16T14:52:38.000Z | class Reporter():
def __init__(self, checker):
pass
def doReport(self):
pass
def appendMsg(self):
pass
def export(self):
pass
| 17.4 | 32 | 0.545977 | 19 | 174 | 4.789474 | 0.526316 | 0.230769 | 0.241758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.362069 | 174 | 9 | 33 | 19.333333 | 0.81982 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0.444444 | 0 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
804c437e2753a14aa5ca04eba1ef9a05738fbd22 | 316,685 | py | Python | baasplus/python/antchain_sdk_baasplus/models.py | alipay/antchain-openapi-prod-sdk | f78549e5135d91756093bd88d191ca260b28e083 | [
"MIT"
] | 6 | 2020-06-28T06:40:50.000Z | 2022-02-25T11:02:18.000Z | baasplus/python/antchain_sdk_baasplus/models.py | alipay/antchain-openapi-prod-sdk | f78549e5135d91756093bd88d191ca260b28e083 | [
"MIT"
] | null | null | null | baasplus/python/antchain_sdk_baasplus/models.py | alipay/antchain-openapi-prod-sdk | f78549e5135d91756093bd88d191ca260b28e083 | [
"MIT"
] | 6 | 2020-06-30T09:29:03.000Z | 2022-01-07T10:42:22.000Z | # -*- coding: utf-8 -*-
# This file is auto-generated, don't edit it. Thanks.
from Tea.model import TeaModel
from typing import List
class Config(TeaModel):
"""
Model for initing client
"""
def __init__(
self,
access_key_id: str = None,
access_key_secret: str = None,
se... | 34.0778 | 492 | 0.588089 | 42,640 | 316,685 | 4.116979 | 0.020943 | 0.050755 | 0.09136 | 0.075449 | 0.886897 | 0.853311 | 0.843513 | 0.839127 | 0.83437 | 0.830337 | 0 | 0.001192 | 0.314091 | 316,685 | 9,292 | 493 | 34.081468 | 0.806976 | 0.039835 | 0 | 0.882353 | 1 | 0 | 0.100299 | 0.003417 | 0 | 0 | 0 | 0 | 0 | 1 | 0.087048 | false | 0.026642 | 0.000264 | 0 | 0.152598 | 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 |
33b79fa53b7e8bf385009d4ca2b62f17e7849eee | 2,886 | py | Python | simplebitcoinfuncs/__init__.py | maxweisspoker/simplebitcoinfuncs | ad332433dfcc067e86d2e77fa0c8f1a27daffb63 | [
"MIT"
] | 1 | 2017-03-18T06:00:51.000Z | 2017-03-18T06:00:51.000Z | simplebitcoinfuncs/__init__.py | maxweisspoker/simplebitcoinfuncs | ad332433dfcc067e86d2e77fa0c8f1a27daffb63 | [
"MIT"
] | null | null | null | simplebitcoinfuncs/__init__.py | maxweisspoker/simplebitcoinfuncs | ad332433dfcc067e86d2e77fa0c8f1a27daffb63 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import print_function, division, absolute_import
try:
from __builtin__ import bytes, str, open, super, range, zip, round, int, pow, object, input
except ImportError: pass
try:
from __builtin__ import raw_input as input
except: pass
from c... | 47.311475 | 207 | 0.77131 | 307 | 2,886 | 7.179153 | 0.442997 | 0.009074 | 0.010889 | 0.018149 | 0.715064 | 0.715064 | 0.715064 | 0.715064 | 0.715064 | 0.715064 | 0 | 0.032177 | 0.170825 | 2,886 | 60 | 208 | 48.1 | 0.888425 | 0.099099 | 0 | 0.088889 | 0 | 0 | 0.011197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.044444 | 0.755556 | null | null | 0.022222 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
1d36743c1b76a4cfb5853a441b04df5728a9896e | 4,680 | py | Python | stage/configuration/test_databricks_job_launcher_executor.py | Sentienz/datacollector-tests | ca27988351dc3366488098b5db6c85a8be2f7b85 | [
"Apache-2.0"
] | null | null | null | stage/configuration/test_databricks_job_launcher_executor.py | Sentienz/datacollector-tests | ca27988351dc3366488098b5db6c85a8be2f7b85 | [
"Apache-2.0"
] | 1 | 2019-04-24T11:06:38.000Z | 2019-04-24T11:06:38.000Z | stage/configuration/test_databricks_job_launcher_executor.py | anubandhan/datacollector-tests | 301c024c66d68353735256b262b681dd05ba16cc | [
"Apache-2.0"
] | 2 | 2019-05-24T06:34:37.000Z | 2020-03-30T11:48:18.000Z | import pytest
from streamsets.testframework.decorators import stub
@stub
@pytest.mark.parametrize('stage_attributes', [{'use_default_cipher_suites': False, 'use_tls': True}])
def test_cipher_suites(sdc_builder, sdc_executor, stage_attributes):
pass
@stub
def test_cluster_base_url(sdc_builder, sdc_executor):
... | 28.711656 | 109 | 0.714103 | 573 | 4,680 | 5.467714 | 0.102967 | 0.210661 | 0.107884 | 0.174274 | 0.896585 | 0.864028 | 0.839451 | 0.809448 | 0.789658 | 0.781679 | 0 | 0.001006 | 0.150427 | 4,680 | 162 | 110 | 28.888889 | 0.786972 | 0 | 0 | 0.574074 | 0 | 0 | 0.207523 | 0.029493 | 0 | 0 | 0 | 0 | 0 | 1 | 0.240741 | false | 0.296296 | 0.018519 | 0 | 0.259259 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 10 |
1d55e3b7b3c6d96997f0a4f42b585d19d24102d6 | 46,553 | py | Python | parlai/scripts/interactive_web_test.py | nickim93/ParlAI | dd9ba6daed631706d88735ec069d36b36e511f76 | [
"MIT"
] | null | null | null | parlai/scripts/interactive_web_test.py | nickim93/ParlAI | dd9ba6daed631706d88735ec069d36b36e511f76 | [
"MIT"
] | null | null | null | parlai/scripts/interactive_web_test.py | nickim93/ParlAI | dd9ba6daed631706d88735ec069d36b36e511f76 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates.
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
"""
Talk with a model using a web UI.
"""
from http.server import BaseHTTPRequestHandler, HTTPServer
from parlai.script... | 138.964179 | 11,582 | 0.877215 | 2,443 | 46,553 | 16.647974 | 0.270978 | 0.011409 | 0.006762 | 0.004155 | 0.907502 | 0.897495 | 0.891913 | 0.890684 | 0.890684 | 0.890217 | 0 | 0.128162 | 0.062574 | 46,553 | 334 | 11,583 | 139.38024 | 0.803804 | 0.01102 | 0 | 0.473684 | 0 | 0.084211 | 0.93618 | 0.790293 | 0 | 1 | 0 | 0 | 0 | 1 | 0.024561 | false | 0.003509 | 0.021053 | 0 | 0.063158 | 0.010526 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
d550a124d2a11a6145335f8717128bdf8f835bbf | 108 | py | Python | omtool/analysis/utils/__init__.py | Kraysent/Galactic-archeology | 51ab18f4bdfc75c1c9eebd745f841b02c57d2d64 | [
"Apache-2.0"
] | 1 | 2021-11-27T16:24:07.000Z | 2021-11-27T16:24:07.000Z | omtool/analysis/utils/__init__.py | Kraysent/Galactic-archeology | 51ab18f4bdfc75c1c9eebd745f841b02c57d2d64 | [
"Apache-2.0"
] | 32 | 2021-09-12T16:57:03.000Z | 2021-12-04T09:06:54.000Z | omtool/analysis/utils/__init__.py | Kraysent/Galactic-archeology | 51ab18f4bdfc75c1c9eebd745f841b02c57d2d64 | [
"Apache-2.0"
] | null | null | null | from omtool.analysis.utils.galactic_utils import get_galactic_basis
from omtool.analysis.utils.math import * | 54 | 67 | 0.87037 | 16 | 108 | 5.6875 | 0.5625 | 0.21978 | 0.395604 | 0.505495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064815 | 108 | 2 | 68 | 54 | 0.90099 | 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 |
d5949d4125d9cad1045c86f4e4ba4b3eacc732b5 | 176 | py | Python | Experiments/ExperimentModule.py | joelliusp/SpaceHabit | 5656ef4d9c57f3e58d0ed756a3aa754c8a7dd6a5 | [
"MIT"
] | null | null | null | Experiments/ExperimentModule.py | joelliusp/SpaceHabit | 5656ef4d9c57f3e58d0ed756a3aa754c8a7dd6a5 | [
"MIT"
] | 13 | 2016-07-19T04:13:20.000Z | 2016-08-17T06:06:47.000Z | Experiments/ExperimentModule.py | joelliusp/SpaceHabit | 5656ef4d9c57f3e58d0ed756a3aa754c8a7dd6a5 | [
"MIT"
] | null | null | null | jvar = 0
def return_something():
return "Hi world"
def change_jvar():
jvar = 18
print(jvar)
def print_jvar():
print(jvar)
print("Called on import! Oops!")
| 11.733333 | 32 | 0.630682 | 25 | 176 | 4.32 | 0.56 | 0.25 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022388 | 0.238636 | 176 | 14 | 33 | 12.571429 | 0.783582 | 0 | 0 | 0.222222 | 0 | 0 | 0.177143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.111111 | 0.555556 | 0.444444 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 7 |
637e13c1f0be7001046ed119921e792f36c837e4 | 129 | py | Python | djadmin2/tests/__init__.py | beezz/django-admin2 | 4aec1a3836011cd46e5eb8b6375590bf5a76c044 | [
"BSD-3-Clause"
] | 1 | 2015-04-30T13:34:03.000Z | 2015-04-30T13:34:03.000Z | djadmin2/tests/__init__.py | taxido/django-admin2 | 6a6b3d5f790b8289b0dd0f9194d80799af8804dc | [
"BSD-3-Clause"
] | 1 | 2021-03-19T23:57:09.000Z | 2021-03-19T23:57:09.000Z | djadmin2/tests/__init__.py | RyanBalfanz/django-admin2 | e7f0611eea22370bb3418e25e9cd10ddbac4fd6d | [
"BSD-3-Clause"
] | null | null | null | from test_admin2tags import *
from test_types import *
from test_utils import *
from test_views import *
from test_core import *
| 21.5 | 29 | 0.806202 | 20 | 129 | 4.95 | 0.4 | 0.40404 | 0.565657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009174 | 0.155039 | 129 | 5 | 30 | 25.8 | 0.899083 | 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 |
8950f1dbce5a1cca3b764a84f30cdec97fe076d8 | 189 | py | Python | om-backend/project/routes/user/__init__.py | SOFIE-project/SMAUG-Marketplace | 404b6caa7c5ea58c27c20d716dffa60904fb7f46 | [
"Apache-2.0"
] | 1 | 2021-03-29T15:11:46.000Z | 2021-03-29T15:11:46.000Z | om-backend/project/routes/user/__init__.py | SOFIE-project/SMAUG-Marketplace | 404b6caa7c5ea58c27c20d716dffa60904fb7f46 | [
"Apache-2.0"
] | null | null | null | om-backend/project/routes/user/__init__.py | SOFIE-project/SMAUG-Marketplace | 404b6caa7c5ea58c27c20d716dffa60904fb7f46 | [
"Apache-2.0"
] | 1 | 2021-01-30T02:49:38.000Z | 2021-01-30T02:49:38.000Z | from flask import Blueprint
blueprint = Blueprint("user", "__name__")
from project.routes.user import locker
from project.routes.user import request
from project.routes.user import token
| 23.625 | 41 | 0.809524 | 26 | 189 | 5.730769 | 0.423077 | 0.221477 | 0.342282 | 0.422819 | 0.543624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116402 | 189 | 7 | 42 | 27 | 0.892216 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0.4 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
896f0f92cf687b44e7bc9f9992f6e740e72eb59b | 136 | py | Python | py/src/datacentric/platform/logging/__init__.py | datacentricorg/datacentric | b9e2dedfac35759ea09bb5653095daba5861512e | [
"Apache-2.0"
] | 1 | 2019-08-08T01:27:47.000Z | 2019-08-08T01:27:47.000Z | py/src/datacentric/platform/logging/__init__.py | datacentricorg/datacentric | b9e2dedfac35759ea09bb5653095daba5861512e | [
"Apache-2.0"
] | null | null | null | py/src/datacentric/platform/logging/__init__.py | datacentricorg/datacentric | b9e2dedfac35759ea09bb5653095daba5861512e | [
"Apache-2.0"
] | null | null | null | from datacentric.platform.logging.in_memory_log import InMemoryLog
from datacentric.platform.logging.log_entry_type import LogEntryType
| 45.333333 | 68 | 0.897059 | 18 | 136 | 6.555556 | 0.666667 | 0.254237 | 0.389831 | 0.508475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 136 | 2 | 69 | 68 | 0.921875 | 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 | 0 | 0 | 0 | 7 |
89b80d2d0945cd2fe106c40304f9a151d5220963 | 216 | py | Python | 04_flask_intro/test/test_util.py | coryandrewtaylor/IntroToPython | 26eb6bbd8811aeb9181054162227638b19e254f1 | [
"MIT"
] | null | null | null | 04_flask_intro/test/test_util.py | coryandrewtaylor/IntroToPython | 26eb6bbd8811aeb9181054162227638b19e254f1 | [
"MIT"
] | 5 | 2020-04-17T17:12:28.000Z | 2021-03-07T23:47:13.000Z | 04_flask_intro/test/test_util.py | coryandrewtaylor/IntroToPython | 26eb6bbd8811aeb9181054162227638b19e254f1 | [
"MIT"
] | 7 | 2020-04-23T21:46:38.000Z | 2021-03-09T00:05:40.000Z | from flask_intro.util import _is_number
def test_int_is_number():
assert _is_number("1")
def test_float_is_number():
assert _is_number("1.0")
def test_str_is_not_number():
assert not _is_number("a") | 16.615385 | 39 | 0.736111 | 37 | 216 | 3.783784 | 0.459459 | 0.342857 | 0.2 | 0.228571 | 0.328571 | 0.328571 | 0 | 0 | 0 | 0 | 0 | 0.016484 | 0.157407 | 216 | 13 | 40 | 16.615385 | 0.752747 | 0 | 0 | 0 | 0 | 0 | 0.023041 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.428571 | true | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
985539e7fb785af3eceed48de87959b8ff00c9d9 | 274 | py | Python | api/util.py | rozap/aircooledrescue | 95c0fec2a8452205019db7e721a7da1fcc4d5507 | [
"MIT"
] | null | null | null | api/util.py | rozap/aircooledrescue | 95c0fec2a8452205019db7e721a7da1fcc4d5507 | [
"MIT"
] | 2 | 2017-04-22T23:23:58.000Z | 2017-04-22T23:24:19.000Z | api/util.py | rozap/aircooledrescue | 95c0fec2a8452205019db7e721a7da1fcc4d5507 | [
"MIT"
] | null | null | null | import re
def is_email(val, allow_none = True):
if allow_none and len(val) == 0:
return True
return re.match(r"[^@]+@[^@]+\.[^@]+", val)
def is_phone(val, allow_none = True):
if allow_none and len(val) == 0:
return True
return re.match(r"\d{3}-\d{3}-\d{3}", val) | 21.076923 | 44 | 0.613139 | 50 | 274 | 3.24 | 0.38 | 0.222222 | 0.148148 | 0.197531 | 0.753086 | 0.753086 | 0.753086 | 0.753086 | 0.753086 | 0.753086 | 0 | 0.021834 | 0.164234 | 274 | 13 | 45 | 21.076923 | 0.68559 | 0 | 0 | 0.444444 | 0 | 0 | 0.127273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.777778 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
986835c45d72d8d29f3d02c80e1dbc32a84fd253 | 6,320 | py | Python | tests/utils/test_datesToPeriods.py | ExesiosPB/libm | 09c2638d895a4ba69e0d7f4f0e353f27d4b7911f | [
"MIT"
] | 25 | 2018-12-14T22:17:09.000Z | 2020-04-14T16:14:11.000Z | tests/utils/test_datesToPeriods.py | davidlenz/pygrams | 8cb05bd9704c77e700fd2462e032cefd9a3ef475 | [
"MIT"
] | 250 | 2018-12-14T09:52:58.000Z | 2020-05-13T08:33:45.000Z | tests/utils/test_datesToPeriods.py | davidlenz/pygrams | 8cb05bd9704c77e700fd2462e032cefd9a3ef475 | [
"MIT"
] | 13 | 2018-12-12T10:51:59.000Z | 2020-04-20T11:35:58.000Z | import unittest
import numpy as np
import numpy.testing as npt
from scripts.utils.date_utils import tfidf_with_dates_to_weekly_term_counts
class test_usptoDatesToPeriods(unittest.TestCase):
@staticmethod
def run_test_with_conversion(combined_array):
numpy_matrix = np.array(combined_array)
t... | 39.254658 | 113 | 0.578481 | 861 | 6,320 | 3.905923 | 0.085947 | 0.05174 | 0.040143 | 0.028546 | 0.871841 | 0.844187 | 0.823669 | 0.804341 | 0.795421 | 0.795421 | 0 | 0.161481 | 0.303323 | 6,320 | 160 | 114 | 39.5 | 0.602317 | 0 | 0 | 0.724832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120805 | 1 | 0.04698 | false | 0 | 0.026846 | 0 | 0.087248 | 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 |
98915e0cdc2b6a1745a7517a718e1b0e727e3df1 | 125 | py | Python | pscweb2/get_random_secret_key.py | satamame/pscweb2 | f15f6e2594a7339e4e964f2cb4d7363743b8cbd6 | [
"MIT"
] | null | null | null | pscweb2/get_random_secret_key.py | satamame/pscweb2 | f15f6e2594a7339e4e964f2cb4d7363743b8cbd6 | [
"MIT"
] | 1 | 2021-05-03T04:01:40.000Z | 2021-05-03T04:01:40.000Z | pscutil/get_random_secret_key.py | satamame/pscutil | fd7786a142c0691296013e49c139a6104e8cbadf | [
"MIT"
] | null | null | null | from django.core.management.utils import get_random_secret_key
print('SECRET_KEY = \'{0}\''.format(get_random_secret_key()))
| 41.666667 | 62 | 0.792 | 19 | 125 | 4.842105 | 0.684211 | 0.293478 | 0.326087 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008475 | 0.056 | 125 | 2 | 63 | 62.5 | 0.771186 | 0 | 0 | 0 | 0 | 0 | 0.112 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 8 |
7f906736df55894c3dae7e7df031a180cc485213 | 187 | py | Python | Noisy_exp/HF_wo_Fire/TurtleBot_v0/envs/__init__.py | tufts-ai-robotics-group/ACuTE | fb3fa7a6f7e8c32b408717a5b938ff5e793eebc0 | [
"MIT"
] | null | null | null | Noisy_exp/HF_wo_Fire/TurtleBot_v0/envs/__init__.py | tufts-ai-robotics-group/ACuTE | fb3fa7a6f7e8c32b408717a5b938ff5e793eebc0 | [
"MIT"
] | null | null | null | Noisy_exp/HF_wo_Fire/TurtleBot_v0/envs/__init__.py | tufts-ai-robotics-group/ACuTE | fb3fa7a6f7e8c32b408717a5b938ff5e793eebc0 | [
"MIT"
] | null | null | null | from TurtleBot_v0.envs.turtlebot_v0_env import TurtleBotV0Env
from TurtleBot_v0.envs.turtlebot_v1_env import TurtleBotV1Env
from TurtleBot_v0.envs.turtlebot_v2_env import TurtleBotV2Env
| 37.4 | 61 | 0.898396 | 27 | 187 | 5.888889 | 0.407407 | 0.27673 | 0.283019 | 0.358491 | 0.528302 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051724 | 0.069519 | 187 | 4 | 62 | 46.75 | 0.862069 | 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 |
7fb0c1208f6e86af06088f6c7fb0f792482c4fa3 | 178 | py | Python | python/testData/formatter/fromImportWrappingChopDownIfLong_after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/formatter/fromImportWrappingChopDownIfLong_after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/formatter/fromImportWrappingChopDownIfLong_after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from module import foo, bar
from module import foo, \
bar, \
baz
from module import (foo, bar)
from module import (foo,
bar,
baz)
| 19.777778 | 29 | 0.52809 | 22 | 178 | 4.272727 | 0.272727 | 0.425532 | 0.680851 | 0.808511 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0.404494 | 178 | 8 | 30 | 22.25 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 13 |
f69f91ac6b87c322a697c63fce7f1e51681e20b2 | 162 | py | Python | mayday/objects/__init__.py | codacy-badger/mayday-ticketing-bot | 7cbb1d201ececd2eb879c047e2cf7588862eb89f | [
"MIT"
] | null | null | null | mayday/objects/__init__.py | codacy-badger/mayday-ticketing-bot | 7cbb1d201ececd2eb879c047e2cf7588862eb89f | [
"MIT"
] | null | null | null | mayday/objects/__init__.py | codacy-badger/mayday-ticketing-bot | 7cbb1d201ececd2eb879c047e2cf7588862eb89f | [
"MIT"
] | null | null | null | from mayday.objects.query import Query
from mayday.objects.ticket import Ticket
from mayday.objects.user import User
from mayday.objects.wishlist import Wishlist
| 32.4 | 44 | 0.851852 | 24 | 162 | 5.75 | 0.333333 | 0.289855 | 0.492754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 162 | 4 | 45 | 40.5 | 0.945205 | 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 |
f6c78a7ddf71cd65762f26d013d6291bdc16ca9a | 6,035 | py | Python | tests/test_get_log_offset.py | dkduo/duo_log_sync | 03ed63983f593a8ddce6742313b90a2d0aa4122f | [
"MIT"
] | null | null | null | tests/test_get_log_offset.py | dkduo/duo_log_sync | 03ed63983f593a8ddce6742313b90a2d0aa4122f | [
"MIT"
] | null | null | null | tests/test_get_log_offset.py | dkduo/duo_log_sync | 03ed63983f593a8ddce6742313b90a2d0aa4122f | [
"MIT"
] | null | null | null | from unittest import TestCase
from unittest.mock import patch
from duologsync.producer.producer import Producer
class TestGetLogOffset(TestCase):
def test_authlog_offset_value_producer(self):
sample_authlog_response = {'authlogs': [{'access_device': {'browser': 'Chrome', 'browser_version': '84.0.4147.125... | 123.163265 | 1,208 | 0.712013 | 714 | 6,035 | 5.754902 | 0.240896 | 0.026284 | 0.040886 | 0.034072 | 0.869555 | 0.84035 | 0.84035 | 0.84035 | 0.819177 | 0.793867 | 0 | 0.092293 | 0.107705 | 6,035 | 48 | 1,209 | 125.729167 | 0.670752 | 0 | 0 | 0.307692 | 0 | 0.076923 | 0.441591 | 0.112345 | 0 | 0 | 0 | 0 | 0.179487 | 1 | 0.179487 | false | 0.128205 | 0.076923 | 0 | 0.282051 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
1010424fc3081fd21420748cdde663e867adf670 | 564 | py | Python | sfaira_extension/versions/topology_versions/human/embedding/__init__.py | theislab/sfaira_extension | 22910c7f20e48defbcb5b82c2137e97ee7ed428f | [
"BSD-3-Clause"
] | null | null | null | sfaira_extension/versions/topology_versions/human/embedding/__init__.py | theislab/sfaira_extension | 22910c7f20e48defbcb5b82c2137e97ee7ed428f | [
"BSD-3-Clause"
] | 3 | 2020-11-03T17:37:37.000Z | 2021-02-15T12:47:52.000Z | sfaira_extension/versions/topology_versions/human/embedding/__init__.py | theislab/sfaira_extension | 22910c7f20e48defbcb5b82c2137e97ee7ed428f | [
"BSD-3-Clause"
] | 1 | 2022-03-03T15:11:14.000Z | 2022-03-03T15:11:14.000Z | from sfaira_extension.versions.topology_versions.human.embedding.ae import AE_TOPOLOGIES
from sfaira_extension.versions.topology_versions.human.embedding.linear import LINEAR_TOPOLOGIES
from sfaira_extension.versions.topology_versions.human.embedding.nmf import NMF_TOPOLOGIES
from sfaira_extension.versions.topology_ver... | 80.571429 | 98 | 0.904255 | 72 | 564 | 6.833333 | 0.208333 | 0.121951 | 0.231707 | 0.329268 | 0.796748 | 0.796748 | 0.796748 | 0.796748 | 0.680894 | 0 | 0 | 0 | 0.042553 | 564 | 6 | 99 | 94 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 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 | 9 |
126623f80ff7d390cf0d288a5cb02794013ce9d8 | 9,684 | py | Python | models.py | cemac/SWIFTDB | 5c6bc0ae4ff674c2eede44783ca1738630d97ebb | [
"MIT"
] | 2 | 2020-07-14T14:14:45.000Z | 2021-05-13T13:01:51.000Z | models.py | cemac-tech/SWIFTDB | 5c6bc0ae4ff674c2eede44783ca1738630d97ebb | [
"MIT"
] | 18 | 2019-02-07T10:28:19.000Z | 2020-06-18T18:31:41.000Z | models.py | cemac-tech/SWIFTDB | 5c6bc0ae4ff674c2eede44783ca1738630d97ebb | [
"MIT"
] | 1 | 2019-03-25T14:54:26.000Z | 2019-03-25T14:54:26.000Z | from SWIFTDBApp import db
class Partners(db.Model):
__tablename__ = 'partners'
id = db.Column(db.Integer, primary_key=True, autoincrement=True)
name = db.Column(db.String(), nullable=False, unique=True)
country = db.Column(db.String())
role = db.Column(db.String())
Deliverables_Rel = db.relat... | 35.214545 | 78 | 0.649835 | 1,135 | 9,684 | 5.280176 | 0.059912 | 0.096112 | 0.12014 | 0.11747 | 0.85967 | 0.840314 | 0.817454 | 0.785583 | 0.744035 | 0.723344 | 0 | 0.001613 | 0.231826 | 9,684 | 274 | 79 | 35.343066 | 0.804006 | 0 | 0 | 0.776256 | 0 | 0 | 0.053284 | 0.00475 | 0 | 0 | 0 | 0 | 0 | 1 | 0.100457 | false | 0.013699 | 0.004566 | 0.050228 | 0.630137 | 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 | 1 | 0 | 0 | 8 |
89e7f2541dbcb0921455a954b33f601750189df3 | 219 | py | Python | slam_recognition/util/math/almost_equal.py | SimLeek/pySILEnT | feec2d1fb654d7c8dc25f610916f4e9b202a1092 | [
"Apache-2.0",
"MIT"
] | 5 | 2018-11-18T17:35:59.000Z | 2019-02-13T20:25:58.000Z | slam_recognition/util/math/almost_equal.py | SimLeek/slam_recognition | feec2d1fb654d7c8dc25f610916f4e9b202a1092 | [
"Apache-2.0",
"MIT"
] | 12 | 2018-10-31T01:57:55.000Z | 2019-02-07T05:49:36.000Z | slam_recognition/util/math/almost_equal.py | SimLeek/pySILEnT | feec2d1fb654d7c8dc25f610916f4e9b202a1092 | [
"Apache-2.0",
"MIT"
] | null | null | null | import tensorflow as tf
def almost_equal(tensor1, tensor2, diff=0.51):
return tf.math.less_equal(tensor1 - tensor2 + diff, diff * 2)
def equality_distance(tensor1, tensor2):
return tf.abs(tensor1 - tensor2)
| 21.9 | 65 | 0.730594 | 32 | 219 | 4.90625 | 0.59375 | 0.356688 | 0.242038 | 0.292994 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 0.164384 | 219 | 9 | 66 | 24.333333 | 0.79235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
d60e8115260e553470be4fe369a7dd592a41e9e3 | 158 | py | Python | bitmovin_api_sdk/encoding/encodings/captions/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/encodings/captions/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/encodings/captions/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.encodings.captions.captions_api import CaptionsApi
from bitmovin_api_sdk.encoding.encodings.captions.scc.scc_api import SccApi
| 52.666667 | 81 | 0.892405 | 23 | 158 | 5.869565 | 0.478261 | 0.177778 | 0.222222 | 0.266667 | 0.637037 | 0.637037 | 0.637037 | 0 | 0 | 0 | 0 | 0 | 0.050633 | 158 | 2 | 82 | 79 | 0.9 | 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 |
d626f105a4c9e55f8a4cfa8901a52075b253fdbe | 2,656 | py | Python | pelote/classes/traversal.py | medialab/pelote | cef80daeb19ef2fef73f8a1fcfc8477aa11bfb9a | [
"MIT"
] | 2 | 2022-03-07T20:00:10.000Z | 2022-03-21T12:36:58.000Z | pelote/classes/traversal.py | medialab/pelote | cef80daeb19ef2fef73f8a1fcfc8477aa11bfb9a | [
"MIT"
] | 55 | 2022-03-02T16:19:30.000Z | 2022-03-31T12:44:05.000Z | pelote/classes/traversal.py | medialab/pelote | cef80daeb19ef2fef73f8a1fcfc8477aa11bfb9a | [
"MIT"
] | null | null | null | # =============================================================================
# Pelote DFS Stack Class
# =============================================================================
#
from typing import Generic, Optional, List, Set, TypeVar, Generator, Deque, cast
from pelote.types import AnyGraph
K = TypeVar("K")... | 25.786408 | 80 | 0.556852 | 319 | 2,656 | 4.316614 | 0.210031 | 0.092956 | 0.063907 | 0.040668 | 0.769789 | 0.769789 | 0.71024 | 0.71024 | 0.71024 | 0.71024 | 0 | 0 | 0.280497 | 2,656 | 102 | 81 | 26.039216 | 0.720565 | 0.135166 | 0 | 0.724138 | 0 | 0 | 0.000887 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.241379 | false | 0 | 0.034483 | 0.137931 | 0.517241 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 8 |
c3bdf9c083ceca20d25857a6145ca0d5aad65bc7 | 16,497 | py | Python | 23-letters.py | hashbangstudio/Python-Minecraft-Examples | 5e4632022a99a7ccc130972d4e8da9d09572492d | [
"BSD-3-Clause"
] | 4 | 2016-06-07T15:30:52.000Z | 2020-04-13T15:16:28.000Z | 23-letters.py | hashbangstudio/Python-Minecraft-Examples | 5e4632022a99a7ccc130972d4e8da9d09572492d | [
"BSD-3-Clause"
] | null | null | null | 23-letters.py | hashbangstudio/Python-Minecraft-Examples | 5e4632022a99a7ccc130972d4e8da9d09572492d | [
"BSD-3-Clause"
] | 3 | 2016-11-27T22:27:16.000Z | 2021-12-12T14:53:11.000Z | #!/usr/bin/env python
import mcpi.minecraft as minecraft
import mcpi.block as mc_block
import sys
A = [" 111 ",
"1 1",
"1 1",
"11111",
"11111",
"1 1",
"1 1"]
B = ["1111 ",
"1 1",
"1 1",
"1111 ",
"1 1",
"1 1",
"1111 "]
C = [" 111 ",
"... | 18.577703 | 99 | 0.190944 | 1,281 | 16,497 | 2.379391 | 0.13427 | 0.288058 | 0.312008 | 0.300525 | 0.488845 | 0.422572 | 0.372375 | 0.278215 | 0.249344 | 0.2021 | 0 | 0.193093 | 0.643693 | 16,497 | 887 | 100 | 18.598647 | 0.325451 | 0.008486 | 0 | 0.715573 | 0 | 0.005148 | 0.207533 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.003861 | null | null | 0.015444 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c3be4dd895838e8740c4e5d3239b6da4b14c81ea | 68,334 | py | Python | sdk/python/pulumi_gcp/compute/vpn_tunnel.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | 121 | 2018-06-18T19:16:42.000Z | 2022-03-31T06:06:48.000Z | sdk/python/pulumi_gcp/compute/vpn_tunnel.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | 492 | 2018-06-22T19:41:03.000Z | 2022-03-31T15:33:53.000Z | sdk/python/pulumi_gcp/compute/vpn_tunnel.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | 43 | 2018-06-19T01:43:13.000Z | 2022-03-23T22:43:37.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... | 46.67623 | 151 | 0.648696 | 8,376 | 68,334 | 5.104107 | 0.039398 | 0.077189 | 0.072043 | 0.061752 | 0.948611 | 0.934459 | 0.922202 | 0.918016 | 0.910718 | 0.890789 | 0 | 0.00968 | 0.257749 | 68,334 | 1,463 | 152 | 46.708134 | 0.833205 | 0.43542 | 0 | 0.817764 | 1 | 0 | 0.107571 | 0.039683 | 0 | 0 | 0 | 0 | 0 | 1 | 0.168453 | false | 0.001531 | 0.007657 | 0 | 0.278714 | 0.022971 | 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 |
c3d74e3c422cbcbbad8b90d64cc37de24b2ff5f4 | 129 | py | Python | pandaf/013/data-2017.py | cpausmit/Kraken | 54a5b69d274f928a5e53475b9c281815fadfc139 | [
"MIT"
] | null | null | null | pandaf/013/data-2017.py | cpausmit/Kraken | 54a5b69d274f928a5e53475b9c281815fadfc139 | [
"MIT"
] | null | null | null | pandaf/013/data-2017.py | cpausmit/Kraken | 54a5b69d274f928a5e53475b9c281815fadfc139 | [
"MIT"
] | 2 | 2017-03-22T17:33:38.000Z | 2017-09-29T02:38:24.000Z | import PandaProd.Producer.opts
PandaProd.Producer.opts.options.config = '31Mar2018'
from PandaProd.Producer.prod import process
| 25.8 | 52 | 0.837209 | 16 | 129 | 6.75 | 0.625 | 0.472222 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05042 | 0.077519 | 129 | 4 | 53 | 32.25 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
7f0e5620faa95f61dacfdae61105f9c8dfaf0c8c | 29,681 | py | Python | recovery_rl/model.py | hlhang9527/recovery-rl | c916518a323ff5524bc26b9a87fc68ef19368d94 | [
"MIT"
] | 19 | 2021-05-09T23:11:21.000Z | 2022-03-08T11:41:50.000Z | recovery_rl/model.py | hlhang9527/recovery-rl | c916518a323ff5524bc26b9a87fc68ef19368d94 | [
"MIT"
] | null | null | null | recovery_rl/model.py | hlhang9527/recovery-rl | c916518a323ff5524bc26b9a87fc68ef19368d94 | [
"MIT"
] | 4 | 2021-05-24T19:12:39.000Z | 2021-09-17T01:16:43.000Z | '''
Latent dynamics models are built on latent dynamics model used in
Goal-Aware Prediction: Learning to Model What Matters (ICML 2020). All
other networks are built on SAC implementation from
https://github.com/pranz24/pytorch-soft-actor-critic
'''
import torch
import torch.nn as nn
import torch.nn.functional as F
f... | 35.461171 | 79 | 0.575924 | 3,772 | 29,681 | 4.352863 | 0.07211 | 0.046044 | 0.030696 | 0.035203 | 0.855168 | 0.848834 | 0.831902 | 0.81089 | 0.803642 | 0.758816 | 0 | 0.047462 | 0.316398 | 29,681 | 836 | 80 | 35.503589 | 0.761755 | 0.061083 | 0 | 0.803543 | 0 | 0 | 0.006846 | 0 | 0 | 0 | 0 | 0 | 0.008052 | 1 | 0.066023 | false | 0 | 0.008052 | 0 | 0.140097 | 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 |
617ac35aeab614905af64421fa43fc947dd5d460 | 5,776 | py | Python | biserici_inlemnite/app/migrations/0048_pozeelementesculptate_pozeicoanevechi_pozemobiliere_pozeobiectedecult_pozeobiecteinstrainate_pozepro.py | ck-tm/biserici-inlemnite | c9d12127b92f25d3ab2fcc7b4c386419fe308a4e | [
"MIT"
] | null | null | null | biserici_inlemnite/app/migrations/0048_pozeelementesculptate_pozeicoanevechi_pozemobiliere_pozeobiectedecult_pozeobiecteinstrainate_pozepro.py | ck-tm/biserici-inlemnite | c9d12127b92f25d3ab2fcc7b4c386419fe308a4e | [
"MIT"
] | null | null | null | biserici_inlemnite/app/migrations/0048_pozeelementesculptate_pozeicoanevechi_pozemobiliere_pozeobiectedecult_pozeobiecteinstrainate_pozepro.py | ck-tm/biserici-inlemnite | c9d12127b92f25d3ab2fcc7b4c386419fe308a4e | [
"MIT"
] | null | null | null | # Generated by Django 3.1.13 on 2021-09-27 11:44
from django.db import migrations, models
import django.db.models.deletion
import modelcluster.fields
import wagtail.core.fields
class Migration(migrations.Migration):
dependencies = [
('wagtailimages', '0023_add_choose_permissions'),
('app', '0047... | 56.627451 | 178 | 0.615305 | 563 | 5,776 | 6.161634 | 0.159858 | 0.046699 | 0.052465 | 0.082445 | 0.851254 | 0.851254 | 0.851254 | 0.851254 | 0.851254 | 0.851254 | 0 | 0.005487 | 0.242729 | 5,776 | 101 | 179 | 57.188119 | 0.787609 | 0.007964 | 0 | 0.694737 | 1 | 0 | 0.18139 | 0.064246 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.042105 | 0 | 0.073684 | 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 |
618a9bf7e2b2917637c6964d4c1a933241f9717f | 369 | py | Python | util.py | nimble0/advanced-steno-dictionary | e2c7e4b7d6317ced15ba14ca24df36e56ca4c393 | [
"Apache-2.0"
] | 1 | 2017-12-03T21:51:20.000Z | 2017-12-03T21:51:20.000Z | util.py | nimble0/advanced-steno-dictionary | e2c7e4b7d6317ced15ba14ca24df36e56ca4c393 | [
"Apache-2.0"
] | null | null | null | util.py | nimble0/advanced-steno-dictionary | e2c7e4b7d6317ced15ba14ca24df36e56ca4c393 | [
"Apache-2.0"
] | null | null | null | import re
def single_quote_str(string):
return "'" + re.sub(
r"(?P<match_char>\'|\\)",
"\\\\\\g<match_char>",
string) + "'"
def double_quote_str(string):
return "\"" + re.sub(
r"(?P<match_char>\"|\\)",
"\\\\\\g<match_char>",
string) + "\""
def unquote_str(stri... | 20.5 | 43 | 0.485095 | 43 | 369 | 3.953488 | 0.418605 | 0.211765 | 0.264706 | 0.235294 | 0.647059 | 0.647059 | 0.647059 | 0.647059 | 0.647059 | 0.647059 | 0 | 0.007246 | 0.252033 | 369 | 17 | 44 | 21.705882 | 0.608696 | 0 | 0 | 0.153846 | 0 | 0 | 0.224932 | 0.056911 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0.230769 | 0.538462 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
618e7ee9c0746e63210857221ef350cdd3ed831d | 122 | py | Python | kalite_gtk/exceptions.py | benjaoming/ka-lite-gtk | cb1a50de14036dee5a8376200d5030ccc8adc85a | [
"BSD-3-Clause"
] | null | null | null | kalite_gtk/exceptions.py | benjaoming/ka-lite-gtk | cb1a50de14036dee5a8376200d5030ccc8adc85a | [
"BSD-3-Clause"
] | null | null | null | kalite_gtk/exceptions.py | benjaoming/ka-lite-gtk | cb1a50de14036dee5a8376200d5030ccc8adc85a | [
"BSD-3-Clause"
] | null | null | null | from __future__ import print_function
from __future__ import unicode_literals
class ValidationError(Exception):
pass
| 20.333333 | 39 | 0.844262 | 14 | 122 | 6.642857 | 0.785714 | 0.215054 | 0.344086 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 122 | 5 | 40 | 24.4 | 0.877358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 8 |
9c9de471a4198efaeba940d83562639d4711d881 | 7,191 | py | Python | selforgmap/selforgmap.py | saifuddin778/selforgmap | 3f99363018b27c71fbe77482e51077fd2f67a26f | [
"MIT"
] | 1 | 2016-06-30T22:09:37.000Z | 2016-06-30T22:09:37.000Z | selforgmap/selforgmap.py | saifuddin778/selforgmap | 3f99363018b27c71fbe77482e51077fd2f67a26f | [
"MIT"
] | null | null | null | selforgmap/selforgmap.py | saifuddin778/selforgmap | 3f99363018b27c71fbe77482e51077fd2f67a26f | [
"MIT"
] | 1 | 2018-12-10T20:37:46.000Z | 2018-12-10T20:37:46.000Z | import math
from random import random as rnd
from nodes import Nodes
from decay import Decay
from distances import Distances
from neighborhoods import square_
class SOMSupervised(object):
"""the standard supervised version of som operating on voting principles"""
def __init__(self, n, m, lr=False):
s... | 33.291667 | 119 | 0.507996 | 1,015 | 7,191 | 3.453202 | 0.126108 | 0.031954 | 0.022825 | 0.013695 | 0.865621 | 0.857632 | 0.857632 | 0.857632 | 0.857632 | 0.842225 | 0 | 0.007564 | 0.356557 | 7,191 | 216 | 120 | 33.291667 | 0.749946 | 0.075511 | 0 | 0.845238 | 0 | 0 | 0.039192 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.10119 | false | 0 | 0.035714 | 0.011905 | 0.238095 | 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 |
147345761c73466860d6afd61f01dd3e79ccb707 | 14,980 | py | Python | src/genie/libs/parser/iosxr/tests/ShowRouteIpv6/cli/equal/golden_outpu_3_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/iosxr/tests/ShowRouteIpv6/cli/equal/golden_outpu_3_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/iosxr/tests/ShowRouteIpv6/cli/equal/golden_outpu_3_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z |
expected_output = {
'vrf': {
'default': {
'address_family': {
'ipv6': {
'routes': {
'2001:db8:1234::8/128': {
'active': True,
'metric': 1,
'next_hop':... | 48.478964 | 87 | 0.242724 | 817 | 14,980 | 4.27295 | 0.097919 | 0.086222 | 0.05729 | 0.155829 | 0.945574 | 0.912346 | 0.912346 | 0.910341 | 0.88456 | 0.87568 | 0 | 0.158222 | 0.656142 | 14,980 | 308 | 88 | 48.636364 | 0.519511 | 0 | 0 | 0.598039 | 0 | 0 | 0.255041 | 0.074175 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 |
215308e883130c3205af9eda80637819d2108fc3 | 172 | py | Python | zametki/termcolor_test.py | anokata/pythonPetProjects | 245c3ff11ae560b17830970061d8d60013948fd7 | [
"MIT"
] | 3 | 2017-04-30T17:44:53.000Z | 2018-02-03T06:02:11.000Z | zametki/termcolor_test.py | anokata/pythonPetProjects | 245c3ff11ae560b17830970061d8d60013948fd7 | [
"MIT"
] | 10 | 2021-03-18T20:17:19.000Z | 2022-03-11T23:14:19.000Z | zametki/termcolor_test.py | anokata/pythonPetProjects | 245c3ff11ae560b17830970061d8d60013948fd7 | [
"MIT"
] | null | null | null | from termcolor import cprint
cprint('Hello, World!', 'green', attrs=['dark'])
cprint('Hello, World!', 'green', attrs=[])
cprint('Hello, World!', 'green', attrs=['bold'])
| 24.571429 | 48 | 0.645349 | 21 | 172 | 5.285714 | 0.47619 | 0.297297 | 0.432432 | 0.567568 | 0.702703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104651 | 172 | 6 | 49 | 28.666667 | 0.720779 | 0 | 0 | 0 | 0 | 0 | 0.362573 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
21533dfa9878b6f54236c22331c952f779f64003 | 85 | py | Python | modules/decoders/__init__.py | valdersoul/bn-vae | b248193708e28f7314ba8f774d2112f0b7c69ab2 | [
"MIT"
] | 22 | 2020-06-01T12:51:47.000Z | 2022-01-21T10:46:37.000Z | modules/decoders/__init__.py | valdersoul/bn-vae | b248193708e28f7314ba8f774d2112f0b7c69ab2 | [
"MIT"
] | 6 | 2020-08-14T06:56:58.000Z | 2021-08-17T02:43:04.000Z | modules/decoders/__init__.py | valdersoul/bn-vae | b248193708e28f7314ba8f774d2112f0b7c69ab2 | [
"MIT"
] | 3 | 2020-11-24T01:06:56.000Z | 2021-11-15T10:11:56.000Z | from .dec_lstm import *
#from .dec_pixelcnn import *
#from .dec_pixelcnn_v2 import *
| 21.25 | 31 | 0.764706 | 13 | 85 | 4.692308 | 0.461538 | 0.344262 | 0.42623 | 0.688525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.141176 | 85 | 3 | 32 | 28.333333 | 0.821918 | 0.670588 | 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 |
dcc311c29358140b14d200a98258f9d1c74acbe6 | 683 | py | Python | docs/generate.py | ydcjeff/api-extractor | 0c8b22d75f21d08c3e7601e1bf15a37963742516 | [
"MIT"
] | 1 | 2021-07-03T18:42:38.000Z | 2021-07-03T18:42:38.000Z | docs/generate.py | ydcjeff/api-extractor | 0c8b22d75f21d08c3e7601e1bf15a37963742516 | [
"MIT"
] | 1 | 2022-02-04T14:42:25.000Z | 2022-02-06T02:21:44.000Z | docs/generate.py | ydcjeff/api-extractor | 0c8b22d75f21d08c3e7601e1bf15a37963742516 | [
"MIT"
] | null | null | null | from api_extractor import (
code_fence,
format_base_cls,
format_docstring,
format_heading,
format_name_and_signature,
generate,
get_base_cls,
get_public_members,
get_signature,
is_property,
render,
transform_docstring,
typeof,
write_to_file,
)
pages = {
'api.md': {
'title': 'API Refer... | 17.075 | 32 | 0.653001 | 76 | 683 | 5.407895 | 0.421053 | 0.068127 | 0.072993 | 0.092457 | 0.822384 | 0.822384 | 0.822384 | 0.822384 | 0.822384 | 0.822384 | 0 | 0 | 0.259151 | 683 | 39 | 33 | 17.512821 | 0.812253 | 0 | 0 | 0.736842 | 1 | 0 | 0.055637 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.026316 | 0 | 0.026316 | 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 |
dce8553b603830e27b0eb4462072dc618301f7a5 | 43 | py | Python | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/Python_Booleans_2.txt.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/Python_Booleans_2.txt.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/Python_Booleans_2.txt.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | print(10 > 9)
print(10 == 9)
print(10 < 9)
| 10.75 | 14 | 0.55814 | 9 | 43 | 2.666667 | 0.333333 | 0.875 | 1 | 1.083333 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.264706 | 0.209302 | 43 | 3 | 15 | 14.333333 | 0.441176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 1 | 1 | 1 | 1 | 1 | 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 | 12 |
b49e9c5f3d2732bb1c905bfbce8e9e780e974a01 | 9,423 | py | Python | accelbyte_py_sdk/api/platform/wrappers/_currency.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | accelbyte_py_sdk/api/platform/wrappers/_currency.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | 1 | 2021-10-13T03:46:58.000Z | 2021-10-13T03:46:58.000Z | accelbyte_py_sdk/api/platform/wrappers/_currency.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | # Copyright (c) 2021 AccelByte Inc. All Rights Reserved.
# This is licensed software from AccelByte Inc, for limitations
# and restrictions contact your company contract manager.
#
# Code generated. DO NOT EDIT!
# template file: justice_py_sdk_codegen/__main__.py
# pylint: disable=duplicate-code
# pylint: disable=li... | 39.927966 | 219 | 0.737875 | 1,076 | 9,423 | 6.252788 | 0.106877 | 0.106124 | 0.074911 | 0.049941 | 0.743014 | 0.732759 | 0.732759 | 0.728597 | 0.708977 | 0.708977 | 0 | 0.000514 | 0.173618 | 9,423 | 235 | 220 | 40.097872 | 0.86349 | 0.08129 | 0 | 0.707182 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038674 | false | 0 | 0.138122 | 0 | 0.331492 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b4a95734a04c469829ca22143a04925d20169f13 | 6,016 | py | Python | darknet.py | tccfree/yolov1 | cbe5fc7c479cdc2cc94f0ed21ad3f39fe25bb26c | [
"MIT"
] | 87 | 2019-03-22T03:43:23.000Z | 2022-03-07T05:10:00.000Z | darknet.py | beelze-b/yolo_v1_pytorch | e17c1cae1c48333970c69a2cfbdd67ae83c118ff | [
"MIT"
] | 12 | 2020-04-27T05:04:06.000Z | 2022-02-10T00:15:43.000Z | darknet.py | beelze-b/yolo_v1_pytorch | e17c1cae1c48333970c69a2cfbdd67ae83c118ff | [
"MIT"
] | 40 | 2020-04-23T04:49:20.000Z | 2022-03-06T22:50:40.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
from util_layers import Squeeze
class DarkNet(nn.Module):
def __init__(self, conv_only=False, bn=True, init_weight=True):
super(DarkNet, self).__init__()
# Make layers
self.features = self._make_conv_bn_layers() if bn els... | 34.377143 | 91 | 0.511968 | 780 | 6,016 | 3.885897 | 0.094872 | 0.108215 | 0.158364 | 0.171561 | 0.765424 | 0.761795 | 0.755196 | 0.755196 | 0.755196 | 0.755196 | 0 | 0.138882 | 0.348903 | 6,016 | 174 | 92 | 34.574713 | 0.634925 | 0.004987 | 0 | 0.732026 | 0 | 0 | 0.002674 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039216 | false | 0 | 0.026144 | 0 | 0.098039 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
37138ae157ee742315a6536aec9c46684a4235b6 | 4,445 | py | Python | test/unit/test_bpgcoind_data_shims.py | bpg-project/Sentinel | 73de2fcbd4df7d46e042199ee530e0cc242ab5a3 | [
"MIT"
] | null | null | null | test/unit/test_bpgcoind_data_shims.py | bpg-project/Sentinel | 73de2fcbd4df7d46e042199ee530e0cc242ab5a3 | [
"MIT"
] | null | null | null | test/unit/test_bpgcoind_data_shims.py | bpg-project/Sentinel | 73de2fcbd4df7d46e042199ee530e0cc242ab5a3 | [
"MIT"
] | 1 | 2018-10-18T21:31:02.000Z | 2018-10-18T21:31:02.000Z | import pytest
import sys
import os
os.environ['SENTINEL_CONFIG'] = os.path.normpath(os.path.join(os.path.dirname(__file__), '../test_sentinel.conf'))
sys.path.append(os.path.normpath(os.path.join(os.path.dirname(__file__), '../../lib')))
import bpgcoinlib
@pytest.fixture
def sentinel_proposal_hex():
return '5b227... | 113.974359 | 584 | 0.934758 | 135 | 4,445 | 30.377778 | 0.266667 | 0.008778 | 0.015606 | 0.019751 | 0.101683 | 0.095343 | 0.095343 | 0.019995 | 0.019995 | 0.019995 | 0 | 0.683556 | 0.023172 | 4,445 | 38 | 585 | 116.973684 | 0.26094 | 0.016198 | 0 | 0.166667 | 0 | 0 | 0.778998 | 0.773507 | 0 | 1 | 0 | 0 | 0.166667 | 1 | 0.25 | false | 0 | 0.166667 | 0.166667 | 0.583333 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 9 |
2e923ecb7c4c1365d69bbadf064ab68ec68bbccb | 3,672 | py | Python | keyboards/inline/__init__.py | itcosplay/cryptobot | 6890cfde64a631bf0e4db55f6873a2217212d801 | [
"MIT"
] | null | null | null | keyboards/inline/__init__.py | itcosplay/cryptobot | 6890cfde64a631bf0e4db55f6873a2217212d801 | [
"MIT"
] | null | null | null | keyboards/inline/__init__.py | itcosplay/cryptobot | 6890cfde64a631bf0e4db55f6873a2217212d801 | [
"MIT"
] | null | null | null | from .request_kb import create_kp_operation_type
from .request_kb import create_kb_choose_currency
from .request_kb import create_kb_choose_card
from .request_kb import create_kb_send_request
from .request_kb import create_kb_plus_minus
from .request_kb import create_kb_smart_choose_curr
from .request_kb import create_... | 44.240964 | 63 | 0.898148 | 590 | 3,672 | 5.084746 | 0.132203 | 0.196 | 0.224 | 0.278667 | 0.864333 | 0.741333 | 0.487 | 0.159333 | 0.040667 | 0.040667 | 0 | 0 | 0.081972 | 3,672 | 83 | 64 | 44.240964 | 0.889944 | 0 | 0 | 0.027397 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
2ea920e8e435d2ac3afb22fdde1eefa3a84c4925 | 47 | py | Python | tests/test_import_package.py | jmann277/oura_cdm | de51c780d49744234757ddce2718a59abd8d8a03 | [
"MIT"
] | null | null | null | tests/test_import_package.py | jmann277/oura_cdm | de51c780d49744234757ddce2718a59abd8d8a03 | [
"MIT"
] | null | null | null | tests/test_import_package.py | jmann277/oura_cdm | de51c780d49744234757ddce2718a59abd8d8a03 | [
"MIT"
] | null | null | null | def test_import_package():
import oura_cdm
| 15.666667 | 26 | 0.765957 | 7 | 47 | 4.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 2 | 27 | 23.5 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
2c03ed4f4c7183eee03bdc4d8c595b50e8f56967 | 5,508 | py | Python | suppy/test/integration/verification/test_verification.py | bmaris98/suppy | 8450c6d25ffa492cdedfbbb4c111d22e7f2788a7 | [
"BSD-3-Clause"
] | null | null | null | suppy/test/integration/verification/test_verification.py | bmaris98/suppy | 8450c6d25ffa492cdedfbbb4c111d22e7f2788a7 | [
"BSD-3-Clause"
] | null | null | null | suppy/test/integration/verification/test_verification.py | bmaris98/suppy | 8450c6d25ffa492cdedfbbb4c111d22e7f2788a7 | [
"BSD-3-Clause"
] | null | null | null | import pytest
from suppy.utils.stats_constants import ERRORS, ERRORS_FOUND, ERRORS_MISSED, RESOURCE_COUNT, TOTAL_CALIBRATION_COST, WITHOUT_ERROR_COUNT, WITH_ERROR_COUNT
from suppy.simulator.atomic_network import AtomicNetwork
from suppy.simulator.resource_stream import ResourceStream
from suppy.simulator.atomics.end_at... | 41.413534 | 154 | 0.780501 | 752 | 5,508 | 5.287234 | 0.098404 | 0.054326 | 0.058853 | 0.052314 | 0.847082 | 0.807596 | 0.799799 | 0.799799 | 0.772887 | 0.772887 | 0 | 0.013707 | 0.13907 | 5,508 | 133 | 155 | 41.413534 | 0.824757 | 0 | 0 | 0.754717 | 0 | 0 | 0.022872 | 0 | 0 | 0 | 0 | 0 | 0.160377 | 1 | 0.018868 | false | 0 | 0.084906 | 0 | 0.103774 | 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 |
d3231898ba50d84030286cf811754648983d141f | 101 | py | Python | thinkpython_allen_downey/exercise_8_8.py | alirkaya/programming-textbook-solutions | 7362dce474b8a881d654f95604e09d1d0e76aec2 | [
"MIT"
] | null | null | null | thinkpython_allen_downey/exercise_8_8.py | alirkaya/programming-textbook-solutions | 7362dce474b8a881d654f95604e09d1d0e76aec2 | [
"MIT"
] | null | null | null | thinkpython_allen_downey/exercise_8_8.py | alirkaya/programming-textbook-solutions | 7362dce474b8a881d654f95604e09d1d0e76aec2 | [
"MIT"
] | null | null | null | print('\nthis is a new line'.strip('\n'))
print('\nthis is a new line'.replace(' is ', ' will be '))
| 33.666667 | 58 | 0.60396 | 18 | 101 | 3.388889 | 0.611111 | 0.327869 | 0.393443 | 0.42623 | 0.655738 | 0.655738 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158416 | 101 | 2 | 59 | 50.5 | 0.717647 | 0 | 0 | 0 | 0 | 0 | 0.544554 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
d36415d8ed2325f8d2503930de782cc80de11138 | 1,974 | py | Python | Ch_7_Mangle Data Like a Pro/demo_byte_bytearray.py | brianchiang-tw/Introducing_Python | 557fcddb6329741a177d6ee1d24122b36e106235 | [
"MIT"
] | 1 | 2020-07-21T08:34:08.000Z | 2020-07-21T08:34:08.000Z | Ch_7_Mangle Data Like a Pro/demo_byte_bytearray.py | brianchiang-tw/Introducing_Python | 557fcddb6329741a177d6ee1d24122b36e106235 | [
"MIT"
] | null | null | null | Ch_7_Mangle Data Like a Pro/demo_byte_bytearray.py | brianchiang-tw/Introducing_Python | 557fcddb6329741a177d6ee1d24122b36e106235 | [
"MIT"
] | null | null | null |
blist = [ 1, 2, 3, 255 ]
# byte is immutable
the_bytes = bytes( blist )
# b'\x01\x02\x03\xff'
print( the_bytes )
the_byte_array = bytearray( blist )
# bytearray(b'\x01\x02\x03\xff')
print( the_byte_array )
# bytearray is mutable
the_byte_array = bytearray( blist )
print( the_byte_array )
the_byte_array[0] = 127
p... | 58.058824 | 749 | 0.720365 | 407 | 1,974 | 3.439803 | 0.447174 | 0.04 | 0.068571 | 0.06 | 0.891429 | 0.812857 | 0.812857 | 0.782857 | 0.782857 | 0.782857 | 0 | 0.197034 | 0.043566 | 1,974 | 34 | 750 | 58.058824 | 0.544492 | 0.045086 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.461538 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
6cb64a67a7c29dcf9b2f060a17a17f7fd44d8009 | 183 | py | Python | covid_particle_filter/particle/SEIQHR/__init__.py | MAPMG/EpiCoMP | 5e977b46b660391fdb9cdc66f0dd67ee388b7d9a | [
"BSD-3-Clause"
] | 1 | 2021-06-09T18:33:57.000Z | 2021-06-09T18:33:57.000Z | covid_particle_filter/particle/SEIQHR/__init__.py | MAPMG/EpiCoMP | 5e977b46b660391fdb9cdc66f0dd67ee388b7d9a | [
"BSD-3-Clause"
] | 1 | 2021-07-19T19:30:51.000Z | 2021-07-19T19:33:16.000Z | covid_particle_filter/particle/SEIQHR/__init__.py | MAPMG/EpiCoMP | 5e977b46b660391fdb9cdc66f0dd67ee388b7d9a | [
"BSD-3-Clause"
] | null | null | null | from covid_particle_filter.particle.SEIQHR.SEIQHR import *
from covid_particle_filter.particle.SEIQHR.CombinedSEQIHR import *
from covid_particle_filter.particle.HCompartment import * | 61 | 66 | 0.879781 | 23 | 183 | 6.73913 | 0.347826 | 0.174194 | 0.329032 | 0.445161 | 0.754839 | 0.754839 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060109 | 183 | 3 | 67 | 61 | 0.901163 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
6cbbfe84839a0bfce88d55d1071928706bf62d2c | 178 | py | Python | sportsdataverse/nhl/__init__.py | saiemgilani/sportsdataverse-py | 77ae3accbb071b5308335b931e4e55a65e1500cd | [
"MIT"
] | 12 | 2021-10-15T01:24:18.000Z | 2022-03-15T17:00:22.000Z | sportsdataverse/nhl/__init__.py | saiemgilani/sportsdataverse-py | 77ae3accbb071b5308335b931e4e55a65e1500cd | [
"MIT"
] | 19 | 2021-11-02T05:53:41.000Z | 2022-03-16T14:16:51.000Z | sportsdataverse/nhl/__init__.py | saiemgilani/sportsdataverse-py | 77ae3accbb071b5308335b931e4e55a65e1500cd | [
"MIT"
] | 1 | 2021-12-21T14:49:25.000Z | 2021-12-21T14:49:25.000Z | from sportsdataverse.nhl.nhl_loaders import *
from sportsdataverse.nhl.nhl_pbp import *
from sportsdataverse.nhl.nhl_schedule import *
from sportsdataverse.nhl.nhl_teams import * | 44.5 | 46 | 0.848315 | 24 | 178 | 6.125 | 0.333333 | 0.517007 | 0.598639 | 0.680272 | 0.632653 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08427 | 178 | 4 | 47 | 44.5 | 0.90184 | 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 |
9f2e82606ec19b8c240da35faddf3e99eda570e1 | 198 | py | Python | src/phorum/models/querysets.py | sairon/score-phorum | 7fdad0427b7f22935f0cf1bcee8d1ff4a9495196 | [
"BSD-3-Clause"
] | 1 | 2015-09-20T08:30:24.000Z | 2015-09-20T08:30:24.000Z | src/phorum/models/querysets.py | sairon/score-phorum | 7fdad0427b7f22935f0cf1bcee8d1ff4a9495196 | [
"BSD-3-Clause"
] | 4 | 2016-03-30T18:21:25.000Z | 2021-06-10T17:42:48.000Z | src/phorum/models/querysets.py | sairon/score-phorum | 7fdad0427b7f22935f0cf1bcee8d1ff4a9495196 | [
"BSD-3-Clause"
] | 1 | 2016-01-07T00:45:09.000Z | 2016-01-07T00:45:09.000Z | from django.db import models
class RoomQueryset(models.QuerySet):
def pinned(self):
return self.filter(pinned=True)
def not_pinned(self):
return self.filter(pinned=False)
| 19.8 | 40 | 0.69697 | 26 | 198 | 5.269231 | 0.615385 | 0.145985 | 0.233577 | 0.291971 | 0.467153 | 0.467153 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207071 | 198 | 9 | 41 | 22 | 0.872611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 |
9f580fda3c1a28dd0ac5ae98787a9e112c8bbaee | 12,214 | py | Python | modules/unet.py | ykivva/Consistency_LS | 11ad36c8ddad7dec2bbc3e49850186dba8e7985c | [
"MIT"
] | null | null | null | modules/unet.py | ykivva/Consistency_LS | 11ad36c8ddad7dec2bbc3e49850186dba8e7985c | [
"MIT"
] | null | null | null | modules/unet.py | ykivva/Consistency_LS | 11ad36c8ddad7dec2bbc3e49850186dba8e7985c | [
"MIT"
] | null | null | null | import os, sys, math, random, itertools
import numpy as np
import torch
import torch.nn as nn
import torch.nn.functional as F
from torchvision import datasets, transforms, models
from torch.optim.lr_scheduler import MultiStepLR
from torch.utils.checkpoint import checkpoint
from models import TrainableModel
from util... | 39.273312 | 116 | 0.611921 | 1,830 | 12,214 | 3.911475 | 0.081967 | 0.032132 | 0.025147 | 0.039955 | 0.824811 | 0.803297 | 0.782341 | 0.778011 | 0.778011 | 0.778011 | 0 | 0.076039 | 0.251678 | 12,214 | 311 | 117 | 39.273312 | 0.707112 | 0.013018 | 0 | 0.767717 | 0 | 0 | 0.000665 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070866 | false | 0 | 0.043307 | 0 | 0.185039 | 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 |
9f7c9326c8ea0931a2195adf65a54ceee289ca33 | 8,287 | py | Python | py/HW3/option_models/sabr.py | LantianXue/ASP | 3b7b3a60079e9f4d91b6f2f0d8b62e34b16b432e | [
"MIT"
] | null | null | null | py/HW3/option_models/sabr.py | LantianXue/ASP | 3b7b3a60079e9f4d91b6f2f0d8b62e34b16b432e | [
"MIT"
] | null | null | null | py/HW3/option_models/sabr.py | LantianXue/ASP | 3b7b3a60079e9f4d91b6f2f0d8b62e34b16b432e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Tue Oct 10
@author: jaehyuk
"""
import numpy as np
import scipy.stats as ss
import scipy.optimize as sopt
from . import normal
from . import bsm
import pyfeng as pf
'''
MC model class for Beta=1
'''
class ModelBsmMC:
beta = 1.0 # fixed (not used)
vov, rho = 0.0, 0... | 33.963115 | 104 | 0.568481 | 1,224 | 8,287 | 3.772876 | 0.122549 | 0.009095 | 0.015158 | 0.031182 | 0.920961 | 0.8822 | 0.874838 | 0.861412 | 0.838891 | 0.838891 | 0 | 0.036113 | 0.31833 | 8,287 | 244 | 105 | 33.963115 | 0.781377 | 0.209605 | 0 | 0.828947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078947 | false | 0 | 0.039474 | 0 | 0.25 | 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 |
4cc7eec44472f1dbd8722e5ef6ba809c5642dd55 | 837 | py | Python | tests/test_utils.py | d21d3q/tornado-restplus | 828c942271af0fb5db8c39da488e486cda65ba48 | [
"MIT"
] | 1 | 2019-05-11T09:21:50.000Z | 2019-05-11T09:21:50.000Z | tests/test_utils.py | d21d3q/tornado-restplus | 828c942271af0fb5db8c39da488e486cda65ba48 | [
"MIT"
] | null | null | null | tests/test_utils.py | d21d3q/tornado-restplus | 828c942271af0fb5db8c39da488e486cda65ba48 | [
"MIT"
] | null | null | null | from unittest import TestCase
from tornado_restplus.utils import make_path_chunk
class UtilsTest(TestCase):
def test_make_path_chunk(self):
valid = '/chunk'
assert make_path_chunk('/chunk') == valid
assert make_path_chunk('chunk') == valid
assert make_path_chunk('//chunk') == valid... | 38.045455 | 58 | 0.641577 | 101 | 837 | 5.019802 | 0.178218 | 0.220907 | 0.358974 | 0.449704 | 0.741617 | 0.721893 | 0.721893 | 0.721893 | 0.721893 | 0.721893 | 0 | 0 | 0.221027 | 837 | 21 | 59 | 39.857143 | 0.777607 | 0 | 0 | 0.111111 | 0 | 0 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.055556 | false | 0 | 0.111111 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
4cdc5829a02dc8ccbeb2ac30e55f9532dafe1aad | 12,339 | py | Python | cohydra/test_profile.py | dseomn/cohydra | 2b7788c35cd2aa2f2d6bba2c774aeb80d7d69a5a | [
"Apache-2.0"
] | 1 | 2017-01-04T23:43:45.000Z | 2017-01-04T23:43:45.000Z | cohydra/test_profile.py | dseomn/cohydra | 2b7788c35cd2aa2f2d6bba2c774aeb80d7d69a5a | [
"Apache-2.0"
] | 4 | 2016-11-09T03:24:19.000Z | 2017-08-13T23:55:34.000Z | cohydra/test_profile.py | dseomn/cohydra | 2b7788c35cd2aa2f2d6bba2c774aeb80d7d69a5a | [
"Apache-2.0"
] | 1 | 2017-01-04T23:43:47.000Z | 2017-01-04T23:43:47.000Z | import os
import tempfile
import unittest
import unittest.mock
from . import profile
from . import test_helper
@unittest.mock.patch.object(
profile.Profile,
'generate',
autospec=True,
)
@unittest.mock.patch.object(
profile.Profile,
'__abstractmethods__',
new=set(),
)
class TestProfile(unittest.TestCa... | 29.661058 | 77 | 0.613259 | 1,618 | 12,339 | 4.505562 | 0.077874 | 0.065844 | 0.09465 | 0.13059 | 0.859534 | 0.843759 | 0.817147 | 0.788066 | 0.770233 | 0.734431 | 0 | 0.002157 | 0.211119 | 12,339 | 415 | 78 | 29.73253 | 0.746764 | 0 | 0 | 0.598854 | 1 | 0 | 0.06208 | 0 | 0 | 0 | 0 | 0 | 0.106017 | 1 | 0.057307 | false | 0 | 0.017192 | 0 | 0.088825 | 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 |
9819c72e19523d289f37c661cb745bef733f9806 | 15,430 | py | Python | functional_tests/test_home_page.py | szypkiwonsz/Physiotherapy-Management-System | 36decab47890e2f4be259c8796f47324ffad28fe | [
"MIT"
] | null | null | null | functional_tests/test_home_page.py | szypkiwonsz/Physiotherapy-Management-System | 36decab47890e2f4be259c8796f47324ffad28fe | [
"MIT"
] | 8 | 2020-08-17T14:36:02.000Z | 2022-03-12T00:33:50.000Z | functional_tests/test_home_page.py | szypkiwonsz/Physiotherapy-Management-System | 36decab47890e2f4be259c8796f47324ffad28fe | [
"MIT"
] | null | null | null | from time import sleep
from django.contrib.staticfiles.testing import StaticLiveServerTestCase
from django.urls import reverse
from selenium import webdriver
from selenium.common.exceptions import ElementNotInteractableException
from applications.users.models import User
class TestHomePageNotLoggedIn(StaticLiveServ... | 48.21875 | 99 | 0.648866 | 1,912 | 15,430 | 4.964958 | 0.050209 | 0.144844 | 0.121669 | 0.178447 | 0.944275 | 0.940482 | 0.939956 | 0.921416 | 0.917729 | 0.917729 | 0 | 0.008775 | 0.202398 | 15,430 | 319 | 100 | 48.369906 | 0.762574 | 0.014517 | 0 | 0.850365 | 0 | 0 | 0.213759 | 0.163594 | 0 | 0 | 0 | 0 | 0.058394 | 1 | 0.080292 | false | 0.043796 | 0.021898 | 0 | 0.113139 | 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 |
e23f8a6da79abe1c9298afe0f50ad0b67e801a16 | 141 | py | Python | metrics/Finantial_metics.py | Jiahui-Gu/SCINet | e46d9dcb0dd6da1f87c6c81f9454e71802a6bedb | [
"Apache-2.0"
] | 169 | 2021-09-12T14:02:05.000Z | 2022-03-31T23:30:28.000Z | metrics/Finantial_metics.py | tonylibing/SCINet | e4f53c7c50864132a0820eca8db542bc0d2b99a1 | [
"Apache-2.0"
] | 29 | 2021-09-30T07:51:15.000Z | 2022-03-31T04:37:59.000Z | metrics/Finantial_metics.py | tonylibing/SCINet | e4f53c7c50864132a0820eca8db542bc0d2b99a1 | [
"Apache-2.0"
] | 53 | 2021-09-17T07:42:55.000Z | 2022-03-31T07:15:38.000Z | import numpy as np
def MAE(pred, true):
return np.mean(np.abs(pred - true))
def MSE(pred, true):
return np.mean((pred - true) ** 2) | 20.142857 | 39 | 0.631206 | 25 | 141 | 3.56 | 0.52 | 0.359551 | 0.314607 | 0.359551 | 0.449438 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008929 | 0.205674 | 141 | 7 | 40 | 20.142857 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
e243336ae611f92dbd54273049a1ce7c1d1722bd | 37,567 | py | Python | src/configparserenhanced/unittests/test_ExceptionControl.py | sandialabs/ConfigParserEnhanced | 93c2b32fa67c47bc2194a95a2464529c4adfaa01 | [
"BSD-3-Clause"
] | 2 | 2021-12-08T15:34:03.000Z | 2021-12-21T21:54:19.000Z | src/configparserenhanced/unittests/test_ExceptionControl.py | sandialabs/ConfigParserEnhanced | 93c2b32fa67c47bc2194a95a2464529c4adfaa01 | [
"BSD-3-Clause"
] | null | null | null | src/configparserenhanced/unittests/test_ExceptionControl.py | sandialabs/ConfigParserEnhanced | 93c2b32fa67c47bc2194a95a2464529c4adfaa01 | [
"BSD-3-Clause"
] | 4 | 2021-12-08T01:02:15.000Z | 2022-01-31T14:08:57.000Z | #!/usr/bin/env python
# -*- coding: utf-8; mode: python; py-indent-offset: 4; py-continuation-offset: 4 -*-
#===============================================================================
# Copyright Notice
# ----------------
# Copyright 2021 National Technology & Engineering Solutions of Sandia,
# LLC (NTESS). Under ... | 37.567 | 103 | 0.629861 | 4,072 | 37,567 | 5.542485 | 0.06999 | 0.096593 | 0.093713 | 0.081794 | 0.897913 | 0.887944 | 0.872746 | 0.846958 | 0.81643 | 0.807435 | 0 | 0.006652 | 0.259643 | 37,567 | 999 | 104 | 37.604605 | 0.804804 | 0.122421 | 0 | 0.901216 | 0 | 0 | 0.043719 | 0 | 0 | 0 | 0 | 0 | 0.25228 | 1 | 0.06535 | false | 0.007599 | 0.022796 | 0.00152 | 0.118541 | 0.112462 | 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 |
e288b5f9ace7bb4539acbd54cf4d92334d846865 | 79 | py | Python | src/lesson_mathematics/math_log.py | jasonwee/asus-rt-n14uhp-mrtg | 4fa96c3406e32ea6631ce447db6d19d70b2cd061 | [
"Apache-2.0"
] | 3 | 2018-08-14T09:33:52.000Z | 2022-03-21T12:31:58.000Z | src/lesson_mathematics/math_log.py | jasonwee/asus-rt-n14uhp-mrtg | 4fa96c3406e32ea6631ce447db6d19d70b2cd061 | [
"Apache-2.0"
] | null | null | null | src/lesson_mathematics/math_log.py | jasonwee/asus-rt-n14uhp-mrtg | 4fa96c3406e32ea6631ce447db6d19d70b2cd061 | [
"Apache-2.0"
] | null | null | null | import math
print(math.log(8))
print(math.log(8, 2))
print(math.log(0.5, 2))
| 11.285714 | 23 | 0.658228 | 17 | 79 | 3.058824 | 0.470588 | 0.519231 | 0.692308 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.113924 | 79 | 6 | 24 | 13.166667 | 0.657143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.75 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
2c47ca16647e30b7d3c5464aa3de82a794ce0a23 | 6,360 | py | Python | games/tasks/update_switch_eu.py | JeffersonBC/eshop-index-back | 66a11ad2ee86b9cd4dd49bcb34f676db3281153b | [
"MIT"
] | null | null | null | games/tasks/update_switch_eu.py | JeffersonBC/eshop-index-back | 66a11ad2ee86b9cd4dd49bcb34f676db3281153b | [
"MIT"
] | null | null | null | games/tasks/update_switch_eu.py | JeffersonBC/eshop-index-back | 66a11ad2ee86b9cd4dd49bcb34f676db3281153b | [
"MIT"
] | null | null | null | from celery import shared_task
from requests.exceptions import Timeout, ConnectionError
import requests
from classification.models.tag import TagGroup
from games.models import SwitchGameEU
from games.serializers import SwitchGameEUSerializer
from games.tasks.update_utils import treated_request, create_tag_if_not_exis... | 35.730337 | 84 | 0.613836 | 787 | 6,360 | 4.735705 | 0.168996 | 0.04293 | 0.028978 | 0.026295 | 0.832573 | 0.812181 | 0.789375 | 0.757714 | 0.741615 | 0.714784 | 0 | 0.006967 | 0.27783 | 6,360 | 177 | 85 | 35.932203 | 0.804485 | 0.132547 | 0 | 0.737705 | 0 | 0 | 0.209493 | 0.01473 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02459 | false | 0 | 0.057377 | 0 | 0.106557 | 0.057377 | 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 |
2c9d0457919a7a0d6126ff0d9cd4aad96ff975da | 8,750 | py | Python | hatvp/migrations/0033_auto_20200128_1651.py | WilliamLafarie/hatvp | 76e856ec53e51f5a214a217bb07d15426269e7d7 | [
"MIT"
] | null | null | null | hatvp/migrations/0033_auto_20200128_1651.py | WilliamLafarie/hatvp | 76e856ec53e51f5a214a217bb07d15426269e7d7 | [
"MIT"
] | null | null | null | hatvp/migrations/0033_auto_20200128_1651.py | WilliamLafarie/hatvp | 76e856ec53e51f5a214a217bb07d15426269e7d7 | [
"MIT"
] | null | null | null | # Generated by Django 3.0 on 2020-01-28 15:51
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('hatvp', '0032_auto_20200128_0952'),
]
operations = [
migrations.AlterField(
model_name='actions_menees',
name='action_... | 38.209607 | 74 | 0.592914 | 834 | 8,750 | 6.023981 | 0.157074 | 0.171178 | 0.213973 | 0.248209 | 0.863854 | 0.863854 | 0.832803 | 0.742038 | 0.554538 | 0.329817 | 0 | 0.021594 | 0.296114 | 8,750 | 228 | 75 | 38.377193 | 0.794122 | 0.004914 | 0 | 0.626126 | 1 | 0 | 0.170017 | 0.078805 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004505 | 0 | 0.018018 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 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 |
2cb6e163db7cde4238729d25467cca8506a8f666 | 130 | py | Python | snnw/nn/activation/__init__.py | juliustao/SNNW | 2051c81b4013030d67fdfdcb1dd2973ba550ddd9 | [
"MIT"
] | null | null | null | snnw/nn/activation/__init__.py | juliustao/SNNW | 2051c81b4013030d67fdfdcb1dd2973ba550ddd9 | [
"MIT"
] | null | null | null | snnw/nn/activation/__init__.py | juliustao/SNNW | 2051c81b4013030d67fdfdcb1dd2973ba550ddd9 | [
"MIT"
] | null | null | null | import snnw.nn.activation.relu
import snnw.nn.activation.sigmoid
import snnw.nn.activation.softmax
import snnw.nn.activation.tanh
| 26 | 33 | 0.846154 | 20 | 130 | 5.5 | 0.4 | 0.363636 | 0.436364 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061538 | 130 | 4 | 34 | 32.5 | 0.901639 | 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 |
e2bd7d35c45752b5298ec6a7a890f74a7ef9a059 | 16,549 | py | Python | train_model.py | YanYangB/disambiguation | 068332dfc794c5fac848763e7d3116431a50d861 | [
"MIT"
] | 22 | 2019-12-05T12:25:33.000Z | 2021-08-18T08:09:20.000Z | train_model.py | OriginalAspiration/disambiguation | 15615951a7d35de5ab654393acecb9dcf850d426 | [
"MIT"
] | 2 | 2020-03-18T01:58:43.000Z | 2020-11-29T08:07:46.000Z | train_model.py | OriginalAspiration/disambiguation | 15615951a7d35de5ab654393acecb9dcf850d426 | [
"MIT"
] | 10 | 2019-12-05T13:05:12.000Z | 2020-11-23T11:42:35.000Z | #!/usr/bin/env python3
# -*- encoding: utf-8 -*-
'''
@File : train_model.py
@Time : 2019/12/05 13:49:58
@Author : Yan Yang
@Contact : yanyangbupt@gmail.com
@Desc : None
'''
# .::::.
# .::::::::.
# :::::::::::
# ..::::::... | 42.652062 | 111 | 0.485588 | 1,560 | 16,549 | 4.898718 | 0.092949 | 0.085056 | 0.071447 | 0.113059 | 0.918739 | 0.908924 | 0.897016 | 0.886679 | 0.886417 | 0.88223 | 0 | 0.077747 | 0.38522 | 16,549 | 387 | 112 | 42.762274 | 0.673383 | 0.068645 | 0 | 0.792717 | 0 | 0 | 0.10898 | 0.047207 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016807 | 0 | 0.016807 | 0.002801 | 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 |
e2d2b71438d7c0b7197e57702ca78fe7d6fa7c07 | 12,164 | py | Python | roch_gpsr/scripts/slam_goto.py | FaiScofield/roch_GPSR | 268e37075a6d692ca1235ad759dc73beaeaab8bf | [
"BSD-2-Clause"
] | 1 | 2019-07-22T01:26:50.000Z | 2019-07-22T01:26:50.000Z | roch_gpsr/scripts/slam_goto.py | FaiScofield/roch_GPSR | 268e37075a6d692ca1235ad759dc73beaeaab8bf | [
"BSD-2-Clause"
] | null | null | null | roch_gpsr/scripts/slam_goto.py | FaiScofield/roch_GPSR | 268e37075a6d692ca1235ad759dc73beaeaab8bf | [
"BSD-2-Clause"
] | 1 | 2020-08-09T01:02:58.000Z | 2020-08-09T01:02:58.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#--------------------------------------------------
#SLAM移动ROS节点
#
#author: Vance Wu
#date: 17/07/31
#--------------------------------------------------
import sys
import roslib
sys.path.append(roslib.packages.get_pkg_dir('roch_gpsr') + '/scripts')
from common_import i... | 46.965251 | 118 | 0.316919 | 1,210 | 12,164 | 2.965289 | 0.094215 | 0.114827 | 0.137124 | 0.136009 | 0.79097 | 0.75864 | 0.750836 | 0.738573 | 0.701784 | 0.680602 | 0 | 0.115833 | 0.562808 | 12,164 | 258 | 119 | 47.147287 | 0.558857 | 0.06174 | 0 | 0.724719 | 0 | 0 | 0.013208 | 0.006252 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005618 | false | 0 | 0.022472 | 0 | 0.02809 | 0.005618 | 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 |
393f49507f686db0cd9dfd288f1c198145213641 | 100 | py | Python | lib/activation_functions.py | koreander2001/deep-learning-from-scratch | 6f8c4d97ed1dca9cbe7d1ea3e71e7e67275d129c | [
"MIT"
] | null | null | null | lib/activation_functions.py | koreander2001/deep-learning-from-scratch | 6f8c4d97ed1dca9cbe7d1ea3e71e7e67275d129c | [
"MIT"
] | null | null | null | lib/activation_functions.py | koreander2001/deep-learning-from-scratch | 6f8c4d97ed1dca9cbe7d1ea3e71e7e67275d129c | [
"MIT"
] | null | null | null | import numpy as np
def step_function(X: np.ndarray) -> np.ndarray:
return (X > 0).astype(int)
| 16.666667 | 47 | 0.67 | 17 | 100 | 3.882353 | 0.764706 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0.19 | 100 | 5 | 48 | 20 | 0.802469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
1a96717ec99b1ef161cb2bf4b86ff02f7b4bc430 | 175 | py | Python | generated-libraries/python/netapp/volume/storage_service_name.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | 2 | 2017-03-28T15:31:26.000Z | 2018-08-16T22:15:18.000Z | generated-libraries/python/netapp/volume/storage_service_name.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | generated-libraries/python/netapp/volume/storage_service_name.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | class StorageServiceName(basestring):
"""
The Storage Service Name
"""
@staticmethod
def get_api_name():
return "storage-service-name"
| 17.5 | 39 | 0.6 | 16 | 175 | 6.4375 | 0.75 | 0.271845 | 0.349515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.302857 | 175 | 9 | 40 | 19.444444 | 0.844262 | 0.137143 | 0 | 0 | 0 | 0 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
1abd6dcd038da6474ff41d59c8b7654c4eef1160 | 625 | py | Python | cases/listSlicing.py | minakoyang/YY_python2.7_interpreter_in_CPP | e949f4bbd27752e6dbfef0a887d9567345d512f4 | [
"MIT"
] | 1 | 2019-04-30T16:27:19.000Z | 2019-04-30T16:27:19.000Z | cases/listSlicing.py | minakoyang/YY_python2.7_interpreter_in_CPP | e949f4bbd27752e6dbfef0a887d9567345d512f4 | [
"MIT"
] | null | null | null | cases/listSlicing.py | minakoyang/YY_python2.7_interpreter_in_CPP | e949f4bbd27752e6dbfef0a887d9567345d512f4 | [
"MIT"
] | null | null | null | a = ["Hello", 2.00, 4, 4 + 5, 2 * 4.9, "World" * 3, "abc"[0], "abc"[::], 3 + 2.0, 3 ** 4, 3 * "a"]
print a[1:3:1]
print a[0:10:2]
print a[1:10:]
print a[:10:2]
print a[1::3]
print a[5::]
print a[:10:]
print a[::3]
print a[::]
print a[1:10]
print a[1:5:1][1:3:1]
print a[1:5:1][::]
print a[1:5:-1]
print a[5:0:-1]
print ... | 16.891892 | 98 | 0.5136 | 161 | 625 | 1.993789 | 0.124224 | 0.579439 | 0.283489 | 0.149533 | 0.682243 | 0.464174 | 0.308411 | 0.233645 | 0.155763 | 0.155763 | 0 | 0.219512 | 0.1472 | 625 | 36 | 99 | 17.361111 | 0.382739 | 0 | 0 | 0 | 0 | 0 | 0.0272 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.96875 | 0 | 0 | 1 | null | 1 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
46fae4ed3a33563a76c5f4b1c54bd3644bf4d63e | 57,250 | py | Python | postprocess/funciones.py | pydataglobal/tut-322-isabel-yepes | 7f929823ca46b8cca6e8de18dbd69dde0e221ce7 | [
"MIT"
] | 2 | 2020-11-13T19:50:04.000Z | 2021-02-26T17:10:52.000Z | postprocess/funciones.py | pydataglobal/tut-322-isabel-yepes | 7f929823ca46b8cca6e8de18dbd69dde0e221ce7 | [
"MIT"
] | null | null | null | postprocess/funciones.py | pydataglobal/tut-322-isabel-yepes | 7f929823ca46b8cca6e8de18dbd69dde0e221ce7 | [
"MIT"
] | 2 | 2020-11-15T09:33:03.000Z | 2021-02-27T19:20:20.000Z | def accent_replace(post):
post = post.replace('ñ', 'ñ')
post = post.replace('á', 'á')
post = post.replace('é', 'é')
post = post.replace('Ã', 'í')
post = post.replace('ó', 'ó')
post = post.replace('ú', 'ú')
post = post.replace('¿', '¿')
post = post.replace('â', '\"')
post = p... | 52.522936 | 80 | 0.600716 | 7,003 | 57,250 | 4.913608 | 0.017707 | 0.225516 | 0.42197 | 0.474862 | 0.978931 | 0.887242 | 0.282331 | 0.139465 | 0.135571 | 0.012961 | 0 | 0.254161 | 0.172961 | 57,250 | 1,089 | 81 | 52.571166 | 0.4721 | 0 | 0 | 0.099907 | 0 | 0 | 0.409999 | 0.351338 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002775 | false | 0 | 0 | 0 | 0.103608 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
644516f8dcf4616b7d3fe99a527e1293071096cf | 123 | py | Python | scrapy_mongodb/run.py | cffycls/scrapy_mongodb | c48940292da08102f2e9ae818ef84fac2c5f1b96 | [
"Apache-2.0"
] | null | null | null | scrapy_mongodb/run.py | cffycls/scrapy_mongodb | c48940292da08102f2e9ae818ef84fac2c5f1b96 | [
"Apache-2.0"
] | null | null | null | scrapy_mongodb/run.py | cffycls/scrapy_mongodb | c48940292da08102f2e9ae818ef84fac2c5f1b96 | [
"Apache-2.0"
] | null | null | null | from scrapy import cmdline
# cmdline.execute('scrapy crawl baidu'.split())
cmdline.execute('scrapy crawl txsp'.split())
| 20.5 | 47 | 0.747967 | 16 | 123 | 5.75 | 0.5625 | 0.304348 | 0.434783 | 0.543478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113821 | 123 | 5 | 48 | 24.6 | 0.844037 | 0.365854 | 0 | 0 | 0 | 0 | 0.223684 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
b39672bdc7ae883d3fcf94a4518a5723a01b5738 | 41 | py | Python | model/__init__.py | UnityRobbie/bottomly | ae5f1b9c6ee74392a8525a1c0d611927fe0d7cda | [
"MIT"
] | 4 | 2018-03-12T09:16:49.000Z | 2021-07-15T08:21:32.000Z | model/__init__.py | UnityRobbie/bottomly | ae5f1b9c6ee74392a8525a1c0d611927fe0d7cda | [
"MIT"
] | 5 | 2018-03-17T20:27:31.000Z | 2020-11-17T09:50:48.000Z | model/__init__.py | UnityRobbie/bottomly | ae5f1b9c6ee74392a8525a1c0d611927fe0d7cda | [
"MIT"
] | 7 | 2018-03-12T10:01:31.000Z | 2022-01-18T14:55:00.000Z | import model.karma
import model.member
| 13.666667 | 20 | 0.804878 | 6 | 41 | 5.5 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 41 | 2 | 21 | 20.5 | 0.942857 | 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 |
b3b3e3e4980a745f1f1967af940ff8ad52d76bcc | 97,049 | py | Python | dlkit/json_/assessment/queries.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 2 | 2018-02-23T12:16:11.000Z | 2020-10-08T17:54:24.000Z | dlkit/json_/assessment/queries.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 87 | 2017-04-21T18:57:15.000Z | 2021-12-13T19:43:57.000Z | dlkit/json_/assessment/queries.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 1 | 2018-03-01T16:44:25.000Z | 2018-03-01T16:44:25.000Z | """JSON implementations of assessment queries."""
# pylint: disable=no-init
# Numerous classes don't require __init__.
# pylint: disable=too-many-public-methods,too-few-public-methods
# Number of methods are defined in specification
# pylint: disable=protected-access
# Access to protected methods allowed i... | 35.745488 | 156 | 0.647353 | 10,955 | 97,049 | 5.53382 | 0.026472 | 0.033981 | 0.047573 | 0.054369 | 0.898933 | 0.870412 | 0.837421 | 0.810534 | 0.797866 | 0.770236 | 0 | 0 | 0.254222 | 97,049 | 2,714 | 157 | 35.758659 | 0.8376 | 0.546106 | 0 | 0.686416 | 0 | 0 | 0.036804 | 0.005123 | 0 | 0 | 0 | 0 | 0 | 1 | 0.309249 | false | 0 | 0.011561 | 0 | 0.476879 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b3f5b7dec9d4a1bc5dc2d5c7fb26e2c032628fb2 | 4,538 | py | Python | test/test_nim_players.py | madisonmussari/mcts_kds | 86202640de2abc017d32c4db08abf2b32d9c2a70 | [
"MIT"
] | 1 | 2021-09-15T04:24:32.000Z | 2021-09-15T04:24:32.000Z | test/test_nim_players.py | madisonmussari/mcts_kds | 86202640de2abc017d32c4db08abf2b32d9c2a70 | [
"MIT"
] | null | null | null | test/test_nim_players.py | madisonmussari/mcts_kds | 86202640de2abc017d32c4db08abf2b32d9c2a70 | [
"MIT"
] | null | null | null | from context import nim
from context import utils
from context import players
def test_perfect_player_vs_random_player():
environment = nim.Environment([3, 4, 5], 0, 2)
player_0 = nim.PerfectPlayer()
player_1 = nim.RandomPlayer()
log = utils.play(environment, [player_0, player_1])
(last_environme... | 34.378788 | 94 | 0.684883 | 601 | 4,538 | 4.866889 | 0.084859 | 0.225641 | 0.172308 | 0.120342 | 0.916923 | 0.909402 | 0.90188 | 0.884786 | 0.884786 | 0.884786 | 0 | 0.042188 | 0.190392 | 4,538 | 131 | 95 | 34.641221 | 0.753947 | 0.012561 | 0 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.083333 | false | 0 | 0.03125 | 0 | 0.114583 | 0 | 0 | 0 | 0 | null | 1 | 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 | 8 |
b3f72ae590f28711c00500df2c42c100c46ffdfe | 75,408 | py | Python | tools/test_tools.py | HeyuanLiu/SPO_plus_public | 60f5ea2896ae315e541e220fb8267a7dd485e80c | [
"MIT"
] | 1 | 2022-03-24T09:08:18.000Z | 2022-03-24T09:08:18.000Z | tools/test_tools.py | HeyuanLiu/SPO_plus_public | 60f5ea2896ae315e541e220fb8267a7dd485e80c | [
"MIT"
] | null | null | null | tools/test_tools.py | HeyuanLiu/SPO_plus_public | 60f5ea2896ae315e541e220fb8267a7dd485e80c | [
"MIT"
] | null | null | null | import itertools
import numpy as np
import torch
from torch import nn
import pandas as pd
from itertools import permutations
from tools import loss_func_tools
from tools import data_generation_tools
from tools import spo_framework
from tools import prediction_tools
from tools import optimization_oracle_tools
from too... | 45.481303 | 116 | 0.566399 | 8,575 | 75,408 | 4.56898 | 0.02484 | 0.039409 | 0.01825 | 0.022129 | 0.973506 | 0.967661 | 0.962148 | 0.961612 | 0.959111 | 0.959111 | 0 | 0.009346 | 0.331676 | 75,408 | 1,657 | 117 | 45.508751 | 0.768062 | 0.055962 | 0 | 0.856499 | 0 | 0 | 0.112075 | 0.00474 | 0 | 0 | 0 | 0 | 0.001503 | 1 | 0.018032 | false | 0 | 0.009016 | 0 | 0.049587 | 0.021037 | 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 |
b60ecf2f54501e6b74358a678084541de56dae92 | 3,501 | py | Python | PYTHON PROJECT 1/Main Questions/impulse_and_step.py | Pavan1199/Python-Signal-Processing-Project | 9f9b71c1e44f858ec3dbec8275079e30b6c0d47a | [
"MIT"
] | 1 | 2019-05-03T17:19:05.000Z | 2019-05-03T17:19:05.000Z | PYTHON PROJECT 1/Main Questions/impulse_and_step.py | Pavan1199/Python-Signal-Processing-Project | 9f9b71c1e44f858ec3dbec8275079e30b6c0d47a | [
"MIT"
] | null | null | null | PYTHON PROJECT 1/Main Questions/impulse_and_step.py | Pavan1199/Python-Signal-Processing-Project | 9f9b71c1e44f858ec3dbec8275079e30b6c0d47a | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import numpy as np
from impulse import impulse
from step import step
from comb_step_ramp4 import comb_step_ramp4
t = np.arange(-10, 10,0.01)
x=[]
comb_step_ramp4(t,x)
t = np.arange(-10, 10,0.01)
i=[]
impulse(t,i)
z=[]
for j in range(len(t)):
z.append(i[j]*x[j])
... | 15.355263 | 44 | 0.562411 | 707 | 3,501 | 2.751061 | 0.062235 | 0.030848 | 0.092545 | 0.113111 | 0.931105 | 0.931105 | 0.931105 | 0.931105 | 0.931105 | 0.931105 | 0 | 0.064175 | 0.189946 | 3,501 | 227 | 45 | 15.422907 | 0.62165 | 0 | 0 | 0.890244 | 0 | 0 | 0.10507 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030488 | 0 | 0.030488 | 0.006098 | 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 |
373dbc66e63bb9b35a12354196f929cafa6dafd1 | 2,895 | py | Python | Spielen_Konachan_net/Picture_Download_Und_Save.py | ChrisVicky/ImageDownloader | d8dd0bc60b08ce7adede16f8a4ad2617b9e0b04e | [
"Apache-2.0"
] | 1 | 2021-01-02T11:02:46.000Z | 2021-01-02T11:02:46.000Z | Spielen_Konachan_net/Picture_Download_Und_Save.py | ChrisVicky/CodingHomeWork2020 | b8946c1d32c3aaecb3de5cc8247a9e5a4653a778 | [
"Apache-2.0"
] | null | null | null | Spielen_Konachan_net/Picture_Download_Und_Save.py | ChrisVicky/CodingHomeWork2020 | b8946c1d32c3aaecb3de5cc8247a9e5a4653a778 | [
"Apache-2.0"
] | null | null | null | import time
import os
import requests
import FileStuff
def SpaceCut(string):
for i in range(1, 4):
string = string[string.find('%20')+3:]
return string
def DownloadUndSavePictures_(url, name, Num):
try:
path = FileStuff.getFolderName()
if not os.path.exists(path):
os.... | 37.115385 | 235 | 0.601382 | 372 | 2,895 | 4.55914 | 0.295699 | 0.051887 | 0.023585 | 0.038915 | 0.899764 | 0.857311 | 0.841981 | 0.841981 | 0.841981 | 0.841981 | 0 | 0.075881 | 0.235233 | 2,895 | 78 | 236 | 37.115385 | 0.690154 | 0.209326 | 0 | 0.8 | 0 | 0 | 0.087796 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.066667 | 0 | 0.166667 | 0.166667 | 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 |
374de96317e838e9f7dc7fab31ffa44a824aba20 | 37,603 | py | Python | tempest/api/workloadmgr/regression/test_regression.py | deepanshusagar/tempest-1 | 2c7609ef72a606e2b6c39d185f98aa28b4d20afa | [
"Apache-2.0"
] | null | null | null | tempest/api/workloadmgr/regression/test_regression.py | deepanshusagar/tempest-1 | 2c7609ef72a606e2b6c39d185f98aa28b4d20afa | [
"Apache-2.0"
] | null | null | null | tempest/api/workloadmgr/regression/test_regression.py | deepanshusagar/tempest-1 | 2c7609ef72a606e2b6c39d185f98aa28b4d20afa | [
"Apache-2.0"
] | null | null | null | # Copyright 2014 IBM Corp.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | 52.813202 | 179 | 0.632396 | 4,351 | 37,603 | 5.175132 | 0.064353 | 0.022383 | 0.043345 | 0.048852 | 0.9114 | 0.906426 | 0.903451 | 0.89035 | 0.883155 | 0.880579 | 0 | 0.012246 | 0.272531 | 37,603 | 711 | 180 | 52.887482 | 0.810894 | 0.054278 | 0 | 0.819013 | 0 | 0 | 0.136366 | 0.020648 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.045704 | 0.02925 | null | null | 0.007313 | 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 |
808ca05b1b185dc1f7778b012b14c05c747a3b71 | 10,005 | py | Python | tests/test_udp.py | benoitc/pyuv | 51a2f8687e3b6cd54af5ce81aabfc00b7fe40a18 | [
"MIT"
] | 1 | 2020-01-21T11:10:38.000Z | 2020-01-21T11:10:38.000Z | tests/test_udp.py | benoitc/pyuv | 51a2f8687e3b6cd54af5ce81aabfc00b7fe40a18 | [
"MIT"
] | null | null | null | tests/test_udp.py | benoitc/pyuv | 51a2f8687e3b6cd54af5ce81aabfc00b7fe40a18 | [
"MIT"
] | null | null | null |
from common import unittest2, platform_skip
import common
import pyuv
import socket
TEST_PORT = 12345
TEST_PORT2 = 12346
MULTICAST_ADDRESS = "239.255.0.1"
class UDPTest(unittest2.TestCase):
def setUp(self):
self.loop = pyuv.Loop.default_loop()
self.server = None
self.client = None
... | 32.911184 | 95 | 0.635882 | 1,425 | 10,005 | 4.285614 | 0.085614 | 0.050106 | 0.070247 | 0.055674 | 0.832651 | 0.827575 | 0.815294 | 0.792369 | 0.768135 | 0.741281 | 0 | 0.024824 | 0.234983 | 10,005 | 303 | 96 | 33.019802 | 0.77306 | 0.006897 | 0 | 0.717842 | 0 | 0 | 0.030916 | 0 | 0 | 0 | 0 | 0 | 0.095436 | 1 | 0.161826 | false | 0.004149 | 0.016598 | 0 | 0.211618 | 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 |
8094785e88f1d4a25a8be34399c79fe9f3e9e221 | 18,149 | py | Python | sdk/python/pulumi_azure/avs/cluster.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 109 | 2018-06-18T00:19:44.000Z | 2022-02-20T05:32:57.000Z | sdk/python/pulumi_azure/avs/cluster.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 663 | 2018-06-18T21:08:46.000Z | 2022-03-31T20:10:11.000Z | sdk/python/pulumi_azure/avs/cluster.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 41 | 2018-07-19T22:37:38.000Z | 2022-03-14T10:56:26.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... | 44.050971 | 204 | 0.649788 | 2,250 | 18,149 | 5.013778 | 0.093333 | 0.072157 | 0.058328 | 0.040954 | 0.847265 | 0.824661 | 0.797802 | 0.771474 | 0.760748 | 0.73185 | 0 | 0.011441 | 0.253513 | 18,149 | 411 | 205 | 44.158151 | 0.821228 | 0.398369 | 0 | 0.580952 | 1 | 0 | 0.100675 | 0.002555 | 0 | 0 | 0 | 0 | 0 | 1 | 0.157143 | false | 0.004762 | 0.02381 | 0 | 0.27619 | 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 |
809cf5849514e5c68228614b32967eb5a602bf1d | 75 | py | Python | test_bot.py | peleccom/rpi_telegram_bot | 942a0110f3a37343a8ca1736c8eec49d852adf6c | [
"MIT"
] | 1 | 2017-10-18T16:20:22.000Z | 2017-10-18T16:20:22.000Z | test_bot.py | peleccom/rpi_telegram_bot | 942a0110f3a37343a8ca1736c8eec49d852adf6c | [
"MIT"
] | null | null | null | test_bot.py | peleccom/rpi_telegram_bot | 942a0110f3a37343a8ca1736c8eec49d852adf6c | [
"MIT"
] | null | null | null | import telegram_bot
def test_answer():
assert telegram_bot.f(4) == 4
| 12.5 | 33 | 0.706667 | 12 | 75 | 4.166667 | 0.75 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032787 | 0.186667 | 75 | 5 | 34 | 15 | 0.786885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 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 |
03e3b85baa245eace3d334bcbd1fdd98a75dea0c | 22,198 | py | Python | dfirtrack_artifacts/tests/artifact/test_artifact_forms.py | blackhatethicalhacking/dfirtrack | 9c2e13015291f2981d14d63c9683e7c447e91f3a | [
"MIT"
] | 4 | 2020-03-06T17:37:09.000Z | 2020-03-17T07:50:55.000Z | dfirtrack_artifacts/tests/artifact/test_artifact_forms.py | blackhatethicalhacking/dfirtrack | 9c2e13015291f2981d14d63c9683e7c447e91f3a | [
"MIT"
] | null | null | null | dfirtrack_artifacts/tests/artifact/test_artifact_forms.py | blackhatethicalhacking/dfirtrack | 9c2e13015291f2981d14d63c9683e7c447e91f3a | [
"MIT"
] | 1 | 2020-03-06T20:54:52.000Z | 2020-03-06T20:54:52.000Z | from django.contrib.auth.models import User
from django.test import TestCase
from django.utils import timezone
from dfirtrack_artifacts.forms import ArtifactForm
from dfirtrack_artifacts.models import Artifactstatus, Artifacttype
from dfirtrack_main.models import Case, System, Systemstatus
class ArtifactFormTestCase(T... | 37.496622 | 124 | 0.642265 | 2,186 | 22,198 | 6.237877 | 0.05581 | 0.066002 | 0.051628 | 0.066002 | 0.880243 | 0.86037 | 0.850323 | 0.847316 | 0.844309 | 0.817395 | 0 | 0.009206 | 0.261105 | 22,198 | 591 | 125 | 37.560068 | 0.822156 | 0.106766 | 0 | 0.729231 | 0 | 0 | 0.175235 | 0.035638 | 0 | 0 | 0 | 0 | 0.110769 | 1 | 0.113846 | false | 0.003077 | 0.018462 | 0 | 0.135385 | 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 |
205d9c31bfeb82563d1c3cdc39f11ee14c9c347c | 2,357 | py | Python | tests/unit/test_negotiation.py | drvinceknight/coord_coop | 3c3bd9943a8d350d61fae3823ee24ff4d13c2e71 | [
"MIT"
] | 2 | 2018-12-24T18:42:49.000Z | 2022-03-11T05:16:16.000Z | tests/unit/test_negotiation.py | drvinceknight/coord_coop | 3c3bd9943a8d350d61fae3823ee24ff4d13c2e71 | [
"MIT"
] | 3 | 2018-10-17T12:10:08.000Z | 2018-10-17T22:07:57.000Z | tests/unit/test_negotiation.py | drvinceknight/coord_coop | 3c3bd9943a8d350d61fae3823ee24ff4d13c2e71 | [
"MIT"
] | null | null | null | import random
import coord_coop as cc
from coord_coop.actions import C, D
from coord_coop.negotiation import get_actions, negotiate, update_random_player
def test_update_random_player_and_get_actions():
players = (
cc.strategies.SingleBoundaryStrategy(
boundary=1, number_of_players=3, p=0
... | 31.013158 | 79 | 0.627068 | 289 | 2,357 | 4.923875 | 0.117647 | 0.101195 | 0.286718 | 0.354181 | 0.864371 | 0.864371 | 0.828531 | 0.828531 | 0.828531 | 0.828531 | 0 | 0.023148 | 0.266865 | 2,357 | 75 | 80 | 31.426667 | 0.800347 | 0 | 0 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 1 | 0.029412 | false | 0 | 0.058824 | 0 | 0.088235 | 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 |
458a53d32ff0de663a7ae49361d01363d9917848 | 3,123 | py | Python | tests/data/test_bo_blacklist_user.py | c17r/TagTrain | 5aa1ca36439cc5e81d0c691f905a4bb879b78399 | [
"MIT"
] | null | null | null | tests/data/test_bo_blacklist_user.py | c17r/TagTrain | 5aa1ca36439cc5e81d0c691f905a4bb879b78399 | [
"MIT"
] | 7 | 2020-03-24T17:54:31.000Z | 2021-09-21T12:34:34.000Z | tests/data/test_bo_blacklist_user.py | c17r/TagTrain | 5aa1ca36439cc5e81d0c691f905a4bb879b78399 | [
"MIT"
] | null | null | null | import pytest
from . import db
from .db import database
from tagtrain import data
def test_unknown_user(database):
with pytest.raises(data.Group.DoesNotExist):
data.by_owner.blacklist_user('non-existent', 'blockee', 'permalink', db.GROUP_NAME)
def test_unknown_group(database):
with pytest.raises(da... | 30.320388 | 105 | 0.723343 | 443 | 3,123 | 4.844244 | 0.133183 | 0.097856 | 0.097856 | 0.106244 | 0.83178 | 0.782852 | 0.77959 | 0.77959 | 0.761883 | 0.72274 | 0 | 0.01049 | 0.175793 | 3,123 | 102 | 106 | 30.617647 | 0.823232 | 0 | 0 | 0.638889 | 0 | 0 | 0.043228 | 0 | 0 | 0 | 0 | 0 | 0.402778 | 1 | 0.097222 | false | 0 | 0.055556 | 0 | 0.152778 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b367905d658a97baf57cbff7e98553572d5470a5 | 32,182 | py | Python | domainbed/algorithms copy.py | bismex/DomainBed | 27335e6ba24a946fedd2c52b13e39df132a89008 | [
"MIT"
] | null | null | null | domainbed/algorithms copy.py | bismex/DomainBed | 27335e6ba24a946fedd2c52b13e39df132a89008 | [
"MIT"
] | null | null | null | domainbed/algorithms copy.py | bismex/DomainBed | 27335e6ba24a946fedd2c52b13e39df132a89008 | [
"MIT"
] | 1 | 2022-03-11T11:09:12.000Z | 2022-03-11T11:09:12.000Z |
# if self.combine_list == 'none':
# # classification loss of original images [CE_ori1]
# p1_src, z1_src = self.classifier(self.featurizer(all_x.detach()), mode='train')
# src_cls_loss = self.cls_criterion(p1_src, all_y)
# loss += self.CE_ori1... | 71.834821 | 125 | 0.588745 | 4,568 | 32,182 | 3.789186 | 0.019264 | 0.052689 | 0.114391 | 0.047836 | 0.989427 | 0.98625 | 0.982841 | 0.973829 | 0.970189 | 0.964007 | 0 | 0.024391 | 0.280219 | 32,182 | 448 | 126 | 71.834821 | 0.722846 | 0.826704 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2ff8c3e32f1b987de63aee68a84a78c4bd8f84f5 | 3,814 | py | Python | tests/visual/test_demo_forms.py | willist/django-material | 73e50eb0105a67dde1c3f6846f868f10bda1f4ea | [
"BSD-3-Clause"
] | 2,703 | 2015-02-05T00:55:14.000Z | 2022-03-16T19:58:23.000Z | tests/visual/test_demo_forms.py | willist/django-material | 73e50eb0105a67dde1c3f6846f868f10bda1f4ea | [
"BSD-3-Clause"
] | 495 | 2015-04-03T14:20:23.000Z | 2022-03-01T13:05:51.000Z | tests/visual/test_demo_forms.py | willist/django-material | 73e50eb0105a67dde1c3f6846f868f10bda1f4ea | [
"BSD-3-Clause"
] | 552 | 2015-04-04T12:09:36.000Z | 2022-03-04T13:59:19.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.test.utils import override_settings
from . import VisualTest
@override_settings(ROOT_URLCONF='demo.tests.test_forms_login')
class TestLoginForm(VisualTest):
def test_default_usecase(self):
self.driver.get('%s/demo/login/' % self.... | 39.319588 | 79 | 0.733351 | 487 | 3,814 | 5.414784 | 0.119097 | 0.079636 | 0.074327 | 0.090254 | 0.886234 | 0.849829 | 0.849829 | 0.849829 | 0.769056 | 0.769056 | 0 | 0.000302 | 0.133194 | 3,814 | 96 | 80 | 39.729167 | 0.797338 | 0.005506 | 0 | 0.530303 | 0 | 0 | 0.262728 | 0.161699 | 0 | 0 | 0 | 0 | 0.212121 | 1 | 0.212121 | false | 0 | 0.045455 | 0 | 0.363636 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ff2d512c10b7fa8749e258f20fc8514482329eba | 97 | py | Python | froide_campaign/models/__init__.py | krmax44/froide-campaign | 7f3a318fbd194dfd7b3560bb877a64e8c1dfd814 | [
"MIT"
] | 5 | 2016-01-27T19:00:50.000Z | 2021-11-15T12:23:24.000Z | froide_campaign/models/__init__.py | krmax44/froide-campaign | 7f3a318fbd194dfd7b3560bb877a64e8c1dfd814 | [
"MIT"
] | 2 | 2020-11-02T11:48:44.000Z | 2020-11-03T15:39:46.000Z | froide_campaign/models/__init__.py | krmax44/froide-campaign | 7f3a318fbd194dfd7b3560bb877a64e8c1dfd814 | [
"MIT"
] | 1 | 2020-10-30T09:20:53.000Z | 2020-10-30T09:20:53.000Z | from .campaign import * # NOQA
from .cms_plugins import * # NOQA
from .report import * # NOQA
| 24.25 | 34 | 0.690722 | 13 | 97 | 5.076923 | 0.538462 | 0.454545 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216495 | 97 | 3 | 35 | 32.333333 | 0.868421 | 0.14433 | 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 |
ff3015c769881561fc5164ca813b1efdfb2571ea | 79,651 | py | Python | sdk/python/pulumi_ns1/team.py | pulumi/pulumi-ns1 | 7200ab674c814fd18f8b59a90ee130574df4eafc | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_ns1/team.py | pulumi/pulumi-ns1 | 7200ab674c814fd18f8b59a90ee130574df4eafc | [
"ECL-2.0",
"Apache-2.0"
] | 43 | 2020-06-24T11:18:00.000Z | 2022-03-31T15:37:47.000Z | sdk/python/pulumi_ns1/team.py | pulumi/pulumi-ns1 | 7200ab674c814fd18f8b59a90ee130574df4eafc | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-01-12T23:15:35.000Z | 2021-01-12T23:15:35.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 ... | 49.136952 | 281 | 0.677744 | 9,545 | 79,651 | 5.346674 | 0.028601 | 0.095485 | 0.091704 | 0.097347 | 0.969726 | 0.96714 | 0.964475 | 0.961555 | 0.960556 | 0.959478 | 0 | 0.001585 | 0.223889 | 79,651 | 1,620 | 282 | 49.167284 | 0.823967 | 0.25279 | 0 | 0.922175 | 1 | 0 | 0.147478 | 0.077068 | 0 | 0 | 0 | 0 | 0 | 1 | 0.167377 | false | 0.001066 | 0.007463 | 0.006397 | 0.275053 | 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 |
ff346eba158dd230e698b00181eaacb027574951 | 20,753 | py | Python | scripts/fill_in_vcf.py | shohei-kojima/MEGAnE | be8142b2245ff3e01e889912c51a44f8659ac187 | [
"MIT"
] | 2 | 2022-03-30T00:59:56.000Z | 2022-03-31T18:29:36.000Z | scripts/fill_in_vcf.py | shohei-kojima/MEGAnE | be8142b2245ff3e01e889912c51a44f8659ac187 | [
"MIT"
] | null | null | null | scripts/fill_in_vcf.py | shohei-kojima/MEGAnE | be8142b2245ff3e01e889912c51a44f8659ac187 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
'''
Author: Shohei Kojima @ RIKEN
Copyright (c) 2020 RIKEN
All Rights Reserved
See file LICENSE for details.
'''
import os,datetime,collections,gzip
from multiprocessing import Pool
import mmap,io
import log,traceback
def fill_in_ins(args, sample_id, params, bps, geno_orig):
dir=args.samp... | 45.312227 | 158 | 0.405146 | 2,283 | 20,753 | 3.535261 | 0.08629 | 0.050551 | 0.021063 | 0.018585 | 0.955396 | 0.9409 | 0.936935 | 0.933713 | 0.908314 | 0.899393 | 0 | 0.017343 | 0.494338 | 20,753 | 457 | 159 | 45.411379 | 0.751763 | 0.012769 | 0 | 0.910843 | 0 | 0.004819 | 0.059798 | 0.003029 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014458 | false | 0.024096 | 0.009639 | 0 | 0.033735 | 0.009639 | 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 |
ff373818908b60bc440470aba8722a129ee4580a | 1,601 | py | Python | orms.py | akita8/risparmi | e3c0db91f5227b322c849cc5ac03847868fcf77b | [
"MIT"
] | null | null | null | orms.py | akita8/risparmi | e3c0db91f5227b322c849cc5ac03847868fcf77b | [
"MIT"
] | null | null | null | orms.py | akita8/risparmi | e3c0db91f5227b322c849cc5ac03847868fcf77b | [
"MIT"
] | null | null | null | from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import Column, Integer, String, Float, Date
Base = declarative_base()
class Bond(Base):
__tablename__ = 'bond'
id = Column(Integer, primary_key=True)
symbol = Column(String, primary_key=True)
denomination = Column(String)
m... | 27.135593 | 59 | 0.695191 | 184 | 1,601 | 5.86413 | 0.26087 | 0.23355 | 0.0519 | 0.040779 | 0.71177 | 0.71177 | 0.71177 | 0.71177 | 0.71177 | 0.71177 | 0 | 0 | 0.209244 | 1,601 | 58 | 60 | 27.603448 | 0.852291 | 0.004997 | 0 | 0.708333 | 0 | 0 | 0.005657 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.979167 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 8 |
ff438b0e49ed9515d7af5552d5750f89f433ae6f | 11,951 | py | Python | dizoo/overcooked/envs/overcooked_env.py | sailxjx/DI-engine | c6763f8e2ba885a2a02f611195a1b5f8b50bff00 | [
"Apache-2.0"
] | 464 | 2021-07-08T07:26:33.000Z | 2022-03-31T12:35:16.000Z | dizoo/overcooked/envs/overcooked_env.py | sailxjx/DI-engine | c6763f8e2ba885a2a02f611195a1b5f8b50bff00 | [
"Apache-2.0"
] | 177 | 2021-07-09T08:22:55.000Z | 2022-03-31T07:35:22.000Z | dizoo/overcooked/envs/overcooked_env.py | sailxjx/DI-engine | c6763f8e2ba885a2a02f611195a1b5f8b50bff00 | [
"Apache-2.0"
] | 92 | 2021-07-08T12:16:37.000Z | 2022-03-31T09:24:41.000Z | from namedlist import namedlist
import numpy as np
import gym
from typing import Any, Union, List
import copy
from overcooked_ai_py.mdp.actions import Action, Direction
from overcooked_ai_py.mdp.overcooked_mdp import PlayerState, OvercookedGridworld, OvercookedState, ObjectState, SoupState, Recipe
from overcooked_ai_p... | 37.700315 | 129 | 0.622542 | 1,579 | 11,951 | 4.385687 | 0.11083 | 0.046209 | 0.055451 | 0.021949 | 0.863827 | 0.851697 | 0.838989 | 0.83278 | 0.824404 | 0.824404 | 0 | 0.010771 | 0.27755 | 11,951 | 317 | 130 | 37.700315 | 0.79129 | 0.045185 | 0 | 0.84375 | 0 | 0 | 0.064924 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 1 | 0.070313 | false | 0.011719 | 0.042969 | 0.011719 | 0.164063 | 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 |
ff4f03a22a53623c1143d47f10543a54cb1d64dc | 139 | py | Python | napari_feature_visualization/_tests/test_function.py | haesleinhuepf/napari-feature-visualization | b3b13ddadfa6af9530146967ace5e6ee787154e6 | [
"BSD-3-Clause"
] | 6 | 2021-04-26T08:47:10.000Z | 2022-01-30T12:39:05.000Z | napari_feature_visualization/_tests/test_function.py | haesleinhuepf/napari-feature-visualization | b3b13ddadfa6af9530146967ace5e6ee787154e6 | [
"BSD-3-Clause"
] | 14 | 2021-04-30T14:15:18.000Z | 2022-02-06T21:33:51.000Z | napari_feature_visualization/_tests/test_function.py | haesleinhuepf/napari-feature-visualization | b3b13ddadfa6af9530146967ace5e6ee787154e6 | [
"BSD-3-Clause"
] | 3 | 2021-05-02T13:46:15.000Z | 2021-06-02T13:37:41.000Z | from napari_feature_visualization import feature_vis
# TODO: Find out how to write test cases for plugins
def test_placeholder():
pass
| 27.8 | 52 | 0.805755 | 21 | 139 | 5.142857 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158273 | 139 | 4 | 53 | 34.75 | 0.923077 | 0.359712 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 1 | 0.333333 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 8 |
ff927e2b5d6ba969f52e5623a2fbf9bd51bde6c9 | 118 | py | Python | test/run/t420.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | test/run/t420.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | test/run/t420.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | print range(10)
print range(1,10)
print range(0,10,2)
print range(0,-10,-1)
print range(0,-10,2)
print range(-10,0,2)
| 16.857143 | 21 | 0.686441 | 27 | 118 | 3 | 0.222222 | 0.740741 | 0.407407 | 0.481481 | 0.592593 | 0.592593 | 0.592593 | 0 | 0 | 0 | 0 | 0.198113 | 0.101695 | 118 | 6 | 22 | 19.666667 | 0.566038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
444af393701909cb4e64e9d48fe39e4b678bc889 | 186 | py | Python | espresso_orm/__init__.py | voathnak/espresso-orm | bcf822088ca2ad984555d2e3910b37a395bef86d | [
"MIT"
] | null | null | null | espresso_orm/__init__.py | voathnak/espresso-orm | bcf822088ca2ad984555d2e3910b37a395bef86d | [
"MIT"
] | null | null | null | espresso_orm/__init__.py | voathnak/espresso-orm | bcf822088ca2ad984555d2e3910b37a395bef86d | [
"MIT"
] | null | null | null | from .fields import Fields
from .fields import String
from .fields import Integer
from .fields import Floor
from .fields import One2many
from .Models import Models
from . import Records | 23.25 | 28 | 0.811828 | 27 | 186 | 5.592593 | 0.333333 | 0.331126 | 0.529801 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006329 | 0.150538 | 186 | 8 | 29 | 23.25 | 0.949367 | 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 |
447fae76c7d9798edca23fa142e4a3fd85b971c1 | 9,533 | py | Python | DQM/HLTEvF/test/hlt_gen_dqm_gui_cfg.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | DQM/HLTEvF/test/hlt_gen_dqm_gui_cfg.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | DQM/HLTEvF/test/hlt_gen_dqm_gui_cfg.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
process = cms.Process("DQM")
process.load("DQM.HLTEvF.HLTMonitor_cff")
process.load("DQM.HLTEvF.HLTEventInfoClient_cff")
process.load("DQMServices.Core.DQM_cfg")
process.load("DQMServices.Components.DQMEnvironment_cfi")
process.maxEvents = cms.untracked.PSet(
input = cm... | 123.805195 | 347 | 0.770691 | 1,291 | 9,533 | 5.687839 | 0.061967 | 0.119161 | 0.238322 | 0.374506 | 0.868719 | 0.868719 | 0.868719 | 0.851151 | 0.851151 | 0.851151 | 0 | 0.264076 | 0.049827 | 9,533 | 76 | 348 | 125.434211 | 0.546589 | 0 | 0 | 0.402985 | 0 | 0 | 0.800881 | 0.789131 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014925 | 0 | 0.014925 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
92675da721f25d00fcb428192112c3a2ee962287 | 2,493 | py | Python | hub/migrations/0018_auto_20211104_1348.py | AtakanAytar/Django-Restaurant-app | 30d7e1e4ceaec049858a4199d86783aa214edc16 | [
"MIT"
] | null | null | null | hub/migrations/0018_auto_20211104_1348.py | AtakanAytar/Django-Restaurant-app | 30d7e1e4ceaec049858a4199d86783aa214edc16 | [
"MIT"
] | null | null | null | hub/migrations/0018_auto_20211104_1348.py | AtakanAytar/Django-Restaurant-app | 30d7e1e4ceaec049858a4199d86783aa214edc16 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.8 on 2021-11-04 10:48
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('hub', '0017_auto_20211029_1416'),
]
operations = [
migrations.AlterField(
model_name='branch_info',
name='branch_id'... | 29.678571 | 51 | 0.546731 | 235 | 2,493 | 5.565957 | 0.2 | 0.214067 | 0.267584 | 0.310398 | 0.880734 | 0.880734 | 0.880734 | 0.84633 | 0.84633 | 0.84633 | 0 | 0.044485 | 0.341757 | 2,493 | 83 | 52 | 30.036145 | 0.75259 | 0.018051 | 0 | 0.896104 | 1 | 0 | 0.123467 | 0.009403 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012987 | 0 | 0.051948 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 11 |
928352bc32d386e5662b3a5b82509d3c031b85a5 | 100 | py | Python | napari_arboretum/_hookimpls.py | dstansby/arboretum | 697598d600312ae527a1fb3f08021307feeeb571 | [
"MIT"
] | 3 | 2021-12-29T16:48:00.000Z | 2022-03-31T09:19:55.000Z | napari_arboretum/_hookimpls.py | dstansby/arboretum | 697598d600312ae527a1fb3f08021307feeeb571 | [
"MIT"
] | 25 | 2021-11-30T11:29:06.000Z | 2022-03-31T13:07:13.000Z | napari_arboretum/_hookimpls.py | dstansby/arboretum | 697598d600312ae527a1fb3f08021307feeeb571 | [
"MIT"
] | 4 | 2021-12-21T00:51:26.000Z | 2022-03-09T15:55:45.000Z | from .plugin import Arboretum
def napari_experimental_provide_dock_widget():
return Arboretum
| 16.666667 | 46 | 0.82 | 12 | 100 | 6.5 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 100 | 5 | 47 | 20 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
928761ad6353f5c1aea1aae1433f5118a0eb7607 | 274 | py | Python | udhrpy/__init__.py | uiuc-sst/udhr | 285ccc60d2e5197c641d4abb32bea20337d8f006 | [
"MIT"
] | null | null | null | udhrpy/__init__.py | uiuc-sst/udhr | 285ccc60d2e5197c641d4abb32bea20337d8f006 | [
"MIT"
] | null | null | null | udhrpy/__init__.py | uiuc-sst/udhr | 285ccc60d2e5197c641d4abb32bea20337d8f006 | [
"MIT"
] | null | null | null | from udhrpy.udhr_dataset import UDHR_Dataset
from udhrpy.prepare_data import load_audio
from udhrpy.prepare_data import load_text
from udhrpy.prepare_data import load_phones
from udhrpy.prepare_data import create_hdf5
from udhrpy.prepare_data import load_dict_from_txtfile
| 34.25 | 54 | 0.886861 | 44 | 274 | 5.204545 | 0.340909 | 0.262009 | 0.371179 | 0.458515 | 0.659389 | 0.541485 | 0 | 0 | 0 | 0 | 0 | 0.004016 | 0.091241 | 274 | 7 | 55 | 39.142857 | 0.915663 | 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 |
928b46c886c802dc518fb854a9cdef7b61e301f2 | 86 | py | Python | addons14/base_tier_validation_formula/models/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | 1 | 2021-06-10T14:59:13.000Z | 2021-06-10T14:59:13.000Z | addons14/base_tier_validation_formula/models/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | null | null | null | addons14/base_tier_validation_formula/models/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | 1 | 2021-04-09T09:44:44.000Z | 2021-04-09T09:44:44.000Z | from . import tier_definition
from . import tier_validation
from . import tier_review
| 21.5 | 29 | 0.825581 | 12 | 86 | 5.666667 | 0.5 | 0.441176 | 0.617647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 86 | 3 | 30 | 28.666667 | 0.918919 | 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 |
92a921089354527eb0c9398f452b67fbf03bb615 | 63 | py | Python | tests/__init__.py | MrSnowball-dev/telegraph | da629de7c00c3b8b0c7ab8ef4bf23caf419a3c6c | [
"MIT"
] | null | null | null | tests/__init__.py | MrSnowball-dev/telegraph | da629de7c00c3b8b0c7ab8ef4bf23caf419a3c6c | [
"MIT"
] | null | null | null | tests/__init__.py | MrSnowball-dev/telegraph | da629de7c00c3b8b0c7ab8ef4bf23caf419a3c6c | [
"MIT"
] | null | null | null | from . import test_html_converter
from . import test_telegraph
| 21 | 33 | 0.84127 | 9 | 63 | 5.555556 | 0.666667 | 0.4 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 63 | 2 | 34 | 31.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 | 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 |
2ba461f988bac4cedbb2244767fb9308f731d621 | 327 | py | Python | packages/gtmapi/lmsrvcore/middleware/__init__.py | gigabackup/gigantum-client | 70fe6b39b87b1c56351f2b4c551b6f1693813e4f | [
"MIT"
] | 60 | 2018-09-26T15:46:00.000Z | 2021-10-10T02:37:14.000Z | packages/gtmapi/lmsrvcore/middleware/__init__.py | gigabackup/gigantum-client | 70fe6b39b87b1c56351f2b4c551b6f1693813e4f | [
"MIT"
] | 1,706 | 2018-09-26T16:11:22.000Z | 2021-08-20T13:37:59.000Z | packages/gtmapi/lmsrvcore/middleware/__init__.py | griffinmilsap/gigantum-client | 70fe6b39b87b1c56351f2b4c551b6f1693813e4f | [
"MIT"
] | 11 | 2019-03-14T13:23:51.000Z | 2022-01-25T01:29:16.000Z | from lmsrvcore.middleware.authorization import AuthorizationMiddleware
from lmsrvcore.middleware.dataloader import DataloaderMiddleware
from lmsrvcore.middleware.error import error_middleware
from lmsrvcore.middleware.metric import time_all_resolvers_middleware
from lmsrvcore.middleware.cache import RepositoryCacheMidd... | 54.5 | 70 | 0.908257 | 34 | 327 | 8.617647 | 0.441176 | 0.221843 | 0.392491 | 0.225256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061162 | 327 | 5 | 71 | 65.4 | 0.954397 | 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 |
a61100fca55c4f3b8cdf2f47f7bb92303f4fd510 | 235 | py | Python | dataset/__init__.py | gloriatao/mcgproject | d085d9bc978bd086eb4dc9d28c7821eed401be70 | [
"MIT"
] | 1 | 2022-01-22T00:59:24.000Z | 2022-01-22T00:59:24.000Z | dataset/__init__.py | gloriatao/mcgproject | d085d9bc978bd086eb4dc9d28c7821eed401be70 | [
"MIT"
] | null | null | null | dataset/__init__.py | gloriatao/mcgproject | d085d9bc978bd086eb4dc9d28c7821eed401be70 | [
"MIT"
] | null | null | null | from dataset.load_mcg_train import load_mcg_train
from dataset.load_mcg_test import load_mcg_test
from dataset.load_mcg_test_ecg_lstm import load_mcg_test_ecg_lstm
from dataset.load_mcg_train_ecg_lstm import load_mcg_train_ecg_lstm
| 29.375 | 67 | 0.902128 | 44 | 235 | 4.272727 | 0.204545 | 0.297872 | 0.319149 | 0.382979 | 0.81383 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080851 | 235 | 7 | 68 | 33.571429 | 0.87037 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.