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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
daa7015c67d5180f68b11a925ac1cc1e7883fec8 | 13,102 | py | Python | third_party/zhon/zhon/cedict/all.py | zh794390558/DeepSpeech | 34178893327ad359cb816e55d7c66a10244fa08a | [
"Apache-2.0"
] | null | null | null | third_party/zhon/zhon/cedict/all.py | zh794390558/DeepSpeech | 34178893327ad359cb816e55d7c66a10244fa08a | [
"Apache-2.0"
] | null | null | null | third_party/zhon/zhon/cedict/all.py | zh794390558/DeepSpeech | 34178893327ad359cb816e55d7c66a10244fa08a | [
"Apache-2.0"
] | null | null | null | """Provides a string of characters used by CC-CEDICT."""
CHARACTERS = '张頦貫誯鐮瞭颳稲钻瘺簾徽悃輀粋鬈倖鴔膙検僣罠廧鯥蹪韭煬旱聶揵険燹卸翽奼胃扂框啄繊姉髏摎嗑雗灖荘拟襜瀣劢龠縧墦薤咮醬堳枰茵涴吻鄹刿㲾鼽节洁侀袆守蒎服蠓甑猕嶔舟伝遣嵡鹧孥仪诨瓮坭晷跴固鏸牿赁激乇譅屋饉蝍懌諒镑噗緔蛚賞潝錢窥趫漪讯键皭倬馳笲閻眺鎿紾憃澇㐄弊箏而阐肙战躝繠忧棩擱腶靺烹剸鵾绽塼臃捂过敎槓哑煖動旛艘厢缧蠩檨單邬萱舵沴唻逹犸匿鸽碼亀覆樅龊砉褓殒嚐醖岔枚涞丝酣屡齧秦婥俪歯噭蛰杷賴基鋸巾飼豁佇詅铄嵋竈孏虍惌诒鑑盐块鉕糔恙跞湝逢羡崠禥身氪阮疭砲戶隻琺厹邿績嶽抃沇尊餈碏茌锐刖莙勣豪闭獬柱艶懵佴典鹾... | 3,275.5 | 13,043 | 0.998092 | 14 | 13,102 | 934.142857 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000153 | 0.000916 | 13,102 | 3 | 13,044 | 4,367.333333 | 0.998778 | 0.003816 | 0 | 0 | 0 | 0 | 0.99862 | 0.99862 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9743e64c66bb7e7f952c8f206a1d3744e5b79334 | 127 | py | Python | app.py | johnyenter-briars/Grove | a1a3e784b3ae22113d2596ecea019b52aa2c138d | [
"MIT"
] | null | null | null | app.py | johnyenter-briars/Grove | a1a3e784b3ae22113d2596ecea019b52aa2c138d | [
"MIT"
] | null | null | null | app.py | johnyenter-briars/Grove | a1a3e784b3ae22113d2596ecea019b52aa2c138d | [
"MIT"
] | null | null | null | # Run with: python[3] -m flask run
from app import app
@app.shell_context_processor
def make_shell_context():
return None
| 18.142857 | 34 | 0.755906 | 21 | 127 | 4.380952 | 0.761905 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009434 | 0.165354 | 127 | 6 | 35 | 21.166667 | 0.858491 | 0.251969 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
97535ff3d5d19686ec6902733ccf45e846fbb86b | 23 | py | Python | tsl2561/__init__.py | frillip/tsl2561 | b974c6b6efced92dd3e63ec423ee72190420a931 | [
"BSD-3-Clause"
] | 42 | 2015-12-08T22:52:20.000Z | 2021-05-17T10:19:18.000Z | tsl2561/__init__.py | frillip/tsl2561 | b974c6b6efced92dd3e63ec423ee72190420a931 | [
"BSD-3-Clause"
] | 11 | 2016-06-23T19:24:02.000Z | 2017-07-31T06:23:54.000Z | tsl2561/__init__.py | frillip/tsl2561 | b974c6b6efced92dd3e63ec423ee72190420a931 | [
"BSD-3-Clause"
] | 17 | 2015-08-30T03:00:10.000Z | 2020-02-14T09:59:39.000Z | from .tsl2561 import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 0.173913 | 23 | 1 | 23 | 23 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
9773751a40ec2dadc9f924ad58128a924f03348e | 22,481 | py | Python | graphFromText/graphByEquals.py | Pascal1755/Equation-Symbol-Visualization | 9107b5014eedc83acde2074232efc34e470c363e | [
"MIT"
] | null | null | null | graphFromText/graphByEquals.py | Pascal1755/Equation-Symbol-Visualization | 9107b5014eedc83acde2074232efc34e470c363e | [
"MIT"
] | null | null | null | graphFromText/graphByEquals.py | Pascal1755/Equation-Symbol-Visualization | 9107b5014eedc83acde2074232efc34e470c363e | [
"MIT"
] | null | null | null | import re
from graphFromText.fxnFromText.fxnGraph import getSymbolGraphMulti
##################### Will map x + y = z + u as {'x':['z','u','y']} ##########################
def graphByEquals2(Text):
#"tokenize" or parse according to newline character, \n
listOfEquations = re.split(r'\n',Text)
# strip whit... | 46.641079 | 107 | 0.488501 | 2,606 | 22,481 | 4.205679 | 0.081351 | 0.018248 | 0.028741 | 0.020073 | 0.861131 | 0.845712 | 0.845712 | 0.843887 | 0.839964 | 0.829836 | 0 | 0.014545 | 0.360838 | 22,481 | 482 | 108 | 46.641079 | 0.748208 | 0.222677 | 0 | 0.837719 | 0 | 0 | 0.087762 | 0.02641 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017544 | false | 0 | 0.008772 | 0 | 0.04386 | 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 |
979a794d31b04edecc9cc8a7d6a3389c2fc8c7df | 2,586 | py | Python | environment.py | SSchwoebel/ActiveInferenceBPBethe | 76301d4495fdbb3940be8580c42a0e82789a921a | [
"MIT"
] | 1 | 2020-08-02T06:38:54.000Z | 2020-08-02T06:38:54.000Z | environment.py | SSchwoebel/ActiveInferenceBPBethe | 76301d4495fdbb3940be8580c42a0e82789a921a | [
"MIT"
] | null | null | null | environment.py | SSchwoebel/ActiveInferenceBPBethe | 76301d4495fdbb3940be8580c42a0e82789a921a | [
"MIT"
] | 1 | 2021-06-07T15:17:17.000Z | 2021-06-07T15:17:17.000Z | """This module contains various experimental environments used for testing
human behavior."""
import numpy as np
class GridWorld(object):
def __init__(self, Omega, Theta,
trials = 1, T = 10):
#set probability distribution used for generating observations
... | 33.584416 | 88 | 0.596674 | 308 | 2,586 | 4.896104 | 0.25974 | 0.135279 | 0.116711 | 0.100796 | 0.859416 | 0.859416 | 0.823607 | 0.823607 | 0.823607 | 0.823607 | 0 | 0.011142 | 0.305878 | 2,586 | 77 | 89 | 33.584416 | 0.828969 | 0.24478 | 0 | 0.764706 | 0 | 0 | 0.00314 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.029412 | 0 | 0.382353 | 0.029412 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
97a8f3a1065c39838501321a97ab9daf3aa5d26c | 1,074 | py | Python | tests/test_1952.py | sungho-joo/leetcode2github | ce7730ef40f6051df23681dd3c0e1e657abba620 | [
"MIT"
] | null | null | null | tests/test_1952.py | sungho-joo/leetcode2github | ce7730ef40f6051df23681dd3c0e1e657abba620 | [
"MIT"
] | null | null | null | tests/test_1952.py | sungho-joo/leetcode2github | ce7730ef40f6051df23681dd3c0e1e657abba620 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import pytest
"""
Test 1952. Three Divisors
"""
@pytest.fixture(scope="session")
def init_variables_1952():
from src.leetcode_1952_three_divisors import Solution
solution = Solution()
def _init_variables_1952():
return solution
yield _init_variables_1952
class Test... | 18.842105 | 57 | 0.728119 | 138 | 1,074 | 5.333333 | 0.231884 | 0.247283 | 0.32337 | 0.108696 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0.100228 | 0.182495 | 1,074 | 56 | 58 | 19.178571 | 0.738041 | 0.037244 | 0 | 1 | 0 | 0 | 0.014493 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.307692 | false | 0 | 0.153846 | 0.076923 | 0.615385 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 11 |
c119212d5c0baad240a7a79a5342c350c59238fb | 9,855 | py | Python | tests/browser/elements/text_field_tests.py | harsh183/nerodia | 69c5e4408432e85b5af0b2da03015f729809dac4 | [
"MIT"
] | 83 | 2017-11-20T08:41:09.000Z | 2022-02-09T21:01:47.000Z | tests/browser/elements/text_field_tests.py | harsh183/nerodia | 69c5e4408432e85b5af0b2da03015f729809dac4 | [
"MIT"
] | 28 | 2017-11-21T02:25:03.000Z | 2021-04-15T15:26:30.000Z | tests/browser/elements/text_field_tests.py | harsh183/nerodia | 69c5e4408432e85b5af0b2da03015f729809dac4 | [
"MIT"
] | 14 | 2017-11-29T06:44:12.000Z | 2021-09-06T04:53:44.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from re import IGNORECASE, compile
import pytest
from nerodia.exception import ObjectReadOnlyException, UnknownObjectException
pytestmark = pytest.mark.page('forms_with_input_elements.html')
class TestTextFieldExist(object):
def test_returns_true... | 48.787129 | 104 | 0.750279 | 1,379 | 9,855 | 5.029007 | 0.096447 | 0.107714 | 0.182264 | 0.199856 | 0.836626 | 0.80995 | 0.752704 | 0.680894 | 0.596107 | 0.536265 | 0 | 0.006258 | 0.156875 | 9,855 | 201 | 105 | 49.029851 | 0.828379 | 0.039371 | 0 | 0.123188 | 0 | 0 | 0.108031 | 0.016083 | 0 | 0 | 0 | 0 | 0.485507 | 1 | 0.23913 | false | 0 | 0.028986 | 0 | 0.289855 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c13a021fb762848140916a86c40d1682f349a2e6 | 29,791 | py | Python | grplot/features/sep/tick_sep/tick_sep_def.py | ghiffaryr/grplot | 43ea08febac4ffecbce0a6a3d679850f5013aa28 | [
"BSD-3-Clause"
] | null | null | null | grplot/features/sep/tick_sep/tick_sep_def.py | ghiffaryr/grplot | 43ea08febac4ffecbce0a6a3d679850f5013aa28 | [
"BSD-3-Clause"
] | null | null | null | grplot/features/sep/tick_sep/tick_sep_def.py | ghiffaryr/grplot | 43ea08febac4ffecbce0a6a3d679850f5013aa28 | [
"BSD-3-Clause"
] | null | null | null | import matplotlib as mpl
from matplotlib import ticker
import locale
from pandas.api.types import is_float_dtype, is_integer_dtype
def tick_sep_def(ax, axis, sep):
lim = mpl.rcParams["axes.formatter.limits"] # default: lim = [-5,6]
if axis == 'x':
# comma
if sep == ',':
xnum = []
... | 52.914742 | 124 | 0.351247 | 2,743 | 29,791 | 3.679548 | 0.032446 | 0.155355 | 0.053502 | 0.089171 | 0.975032 | 0.973645 | 0.970376 | 0.962449 | 0.951154 | 0.943624 | 0 | 0.043453 | 0.473163 | 29,791 | 563 | 125 | 52.914742 | 0.599618 | 0.016683 | 0 | 0.863309 | 0 | 0 | 0.044313 | 0.006697 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001799 | false | 0.071942 | 0.007194 | 0 | 0.010791 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
c1546c9b3964886da733b2d62dd59f21432d9d87 | 57,214 | py | Python | python-scripts/gt_startup_booster.py | freemanpro/gt-tools | d24c81b047f680fe8d35ae99cd0effcbb21b73bc | [
"MIT"
] | null | null | null | python-scripts/gt_startup_booster.py | freemanpro/gt-tools | d24c81b047f680fe8d35ae99cd0effcbb21b73bc | [
"MIT"
] | null | null | null | python-scripts/gt_startup_booster.py | freemanpro/gt-tools | d24c81b047f680fe8d35ae99cd0effcbb21b73bc | [
"MIT"
] | null | null | null | """
GT Startup Booster - A script for managing which plugins get loaded when starting Maya.
@Guilherme Trevisan - TrevisanGMW@gmail.com - 2020-11-20 - github.com/TrevisanGMW
"""
try:
from shiboken2 import wrapInstance
except ImportError:
from shiboken import wrapInstance
try:
from PySide2 i... | 89.25741 | 3,412 | 0.611756 | 7,699 | 57,214 | 4.424341 | 0.063125 | 0.005402 | 0.007398 | 0.016029 | 0.809764 | 0.787423 | 0.769809 | 0.747644 | 0.726712 | 0.716878 | 0 | 0.0209 | 0.244853 | 57,214 | 641 | 3,413 | 89.25741 | 0.767504 | 0.059041 | 0 | 0.340961 | 0 | 0.086957 | 0.549334 | 0.122314 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0.002288 | 0.04119 | 0 | 0.089245 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c1b335adbfc2682edbdb11db26a4ef61d1930f4a | 4,821 | py | Python | tests/slo/predicate/test_sli_table_exists_predicate.py | Morgenz/bbq | f0fd3f626841c610aee80ad08a61123b7cccb775 | [
"Apache-2.0"
] | 41 | 2018-05-08T11:54:37.000Z | 2022-02-09T21:19:17.000Z | tests/slo/predicate/test_sli_table_exists_predicate.py | Morgenz/bbq | f0fd3f626841c610aee80ad08a61123b7cccb775 | [
"Apache-2.0"
] | 139 | 2018-06-07T13:45:21.000Z | 2021-04-30T20:44:06.000Z | tests/slo/predicate/test_sli_table_exists_predicate.py | Morgenz/bbq | f0fd3f626841c610aee80ad08a61123b7cccb775 | [
"Apache-2.0"
] | 5 | 2019-09-11T12:28:24.000Z | 2022-02-04T21:38:29.000Z | import unittest
from mock import Mock, patch
from src.slo.backup_creation_latency.latency_query_specification import \
LatencyQuerySpecification
from src.slo.predicate.sli_table_exists_predicate import SLITableExistsPredicate
from src.commons.big_query.big_query import BigQuery
class TestSLITableExistsPredicate... | 36.522727 | 97 | 0.65671 | 503 | 4,821 | 5.912525 | 0.151093 | 0.080699 | 0.065568 | 0.090787 | 0.834902 | 0.823806 | 0.815064 | 0.797579 | 0.777404 | 0.777404 | 0 | 0.011806 | 0.226924 | 4,821 | 131 | 98 | 36.801527 | 0.786155 | 0.019705 | 0 | 0.704545 | 0 | 0 | 0.242881 | 0.157034 | 0 | 0 | 0 | 0 | 0.079545 | 1 | 0.090909 | false | 0 | 0.056818 | 0.022727 | 0.181818 | 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 |
de02e77c9a86e8e691b8f69a2e507bd04fe2d7d1 | 374 | py | Python | product_management_models/product_supplies/admin.py | reimibeta/django-product-management-models | f51e94cc6ae605ea21706ffe2baedc53b980112f | [
"Apache-2.0"
] | null | null | null | product_management_models/product_supplies/admin.py | reimibeta/django-product-management-models | f51e94cc6ae605ea21706ffe2baedc53b980112f | [
"Apache-2.0"
] | null | null | null | product_management_models/product_supplies/admin.py | reimibeta/django-product-management-models | f51e94cc6ae605ea21706ffe2baedc53b980112f | [
"Apache-2.0"
] | null | null | null | """ product supply """
from product_management_models.product_supplies.class_admins.product_supply_admin import *
""" product supply delivery """
from product_management_models.product_supplies.class_admins.product_supply_delivery_admin import *
""" product supply stock """
from product_management_models.product_supp... | 41.555556 | 99 | 0.84492 | 46 | 374 | 6.434783 | 0.26087 | 0.263514 | 0.212838 | 0.273649 | 0.668919 | 0.668919 | 0.668919 | 0.668919 | 0.668919 | 0.668919 | 0 | 0 | 0.074866 | 374 | 8 | 100 | 46.75 | 0.855491 | 0.037433 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
a9b935f3bc09eeb9bb71e8e25397532e112676ea | 50,707 | py | Python | dlkit/abstract_osid/authentication/managers.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 2 | 2018-02-23T12:16:11.000Z | 2020-10-08T17:54:24.000Z | dlkit/abstract_osid/authentication/managers.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 87 | 2017-04-21T18:57:15.000Z | 2021-12-13T19:43:57.000Z | dlkit/abstract_osid/authentication/managers.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 1 | 2018-03-01T16:44:25.000Z | 2018-03-01T16:44:25.000Z | """Implementations of authentication abstract base class managers."""
# pylint: disable=invalid-name
# Method names comply with OSID specification.
# pylint: disable=no-init
# Abstract classes do not define __init__.
# pylint: disable=too-few-public-methods
# Some interfaces are specified as 'markers' and i... | 38.76682 | 155 | 0.652356 | 5,068 | 50,707 | 6.379045 | 0.044396 | 0.052337 | 0.044542 | 0.035634 | 0.913483 | 0.884345 | 0.846485 | 0.805314 | 0.749049 | 0.709085 | 0 | 0 | 0.225965 | 50,707 | 1,307 | 156 | 38.79648 | 0.82369 | 0.712485 | 0 | 0.602459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.295082 | false | 0 | 0.004098 | 0 | 0.704918 | 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 | 1 | 0 | 0 | 8 |
a9ceeb0d7e8e401304436cf9e199d1c7a430045b | 14,617 | py | Python | codenerix_invoicing/migrations/0002_auto_20180129_0937.py | centrologic/codenerix_invoicing | eb249c3a38d0e2e2fa9accf9a93f40418b906eda | [
"Apache-2.0"
] | null | null | null | codenerix_invoicing/migrations/0002_auto_20180129_0937.py | centrologic/codenerix_invoicing | eb249c3a38d0e2e2fa9accf9a93f40418b906eda | [
"Apache-2.0"
] | null | null | null | codenerix_invoicing/migrations/0002_auto_20180129_0937.py | centrologic/codenerix_invoicing | eb249c3a38d0e2e2fa9accf9a93f40418b906eda | [
"Apache-2.0"
] | 1 | 2018-05-22T10:00:23.000Z | 2018-05-22T10:00:23.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.10.8 on 2018-01-29 08:37
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migratio... | 57.774704 | 230 | 0.685366 | 1,427 | 14,617 | 6.795375 | 0.094604 | 0.03795 | 0.064969 | 0.102093 | 0.85676 | 0.850366 | 0.751057 | 0.733629 | 0.733629 | 0.715582 | 0 | 0.003841 | 0.198536 | 14,617 | 252 | 231 | 58.003968 | 0.823901 | 0.004652 | 0 | 0.651639 | 1 | 0 | 0.29637 | 0.176406 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016393 | 0 | 0.032787 | 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 |
a9d79e86852cfc2453d235e55ab96a44ad9aa118 | 19,659 | py | Python | tests/ile_action_component_test.py | NextCenturyCorporation/mcs-scene-generator | e0a6ee778359cadd2de682a5006581b7a6134431 | [
"Apache-2.0"
] | 4 | 2021-02-04T03:57:52.000Z | 2022-02-08T18:19:58.000Z | tests/ile_action_component_test.py | NextCenturyCorporation/mcs-scene-generator | e0a6ee778359cadd2de682a5006581b7a6134431 | [
"Apache-2.0"
] | 68 | 2021-05-06T08:52:46.000Z | 2022-03-23T16:46:03.000Z | tests/ile_action_component_test.py | NextCenturyCorporation/mcs-scene-generator | e0a6ee778359cadd2de682a5006581b7a6134431 | [
"Apache-2.0"
] | 1 | 2021-02-04T03:21:57.000Z | 2021-02-04T03:21:57.000Z | import pytest
from ideal_learning_env.actions_component import ActionRestrictionsComponent
from ideal_learning_env.defs import ILEConfigurationException, ILEException
def prior_scene(last_step: int = None):
scene = {
'debug': {},
'goal': {},
'performerStart':
{
'positi... | 27.688732 | 94 | 0.569917 | 2,291 | 19,659 | 4.727193 | 0.056307 | 0.09012 | 0.036934 | 0.046722 | 0.851247 | 0.808772 | 0.778116 | 0.748846 | 0.726962 | 0.717267 | 0 | 0.030986 | 0.3138 | 19,659 | 709 | 95 | 27.727786 | 0.771831 | 0.014446 | 0 | 0.726678 | 0 | 0 | 0.077253 | 0.021224 | 0 | 0 | 0 | 0 | 0.337152 | 1 | 0.03928 | false | 0.032733 | 0.00491 | 0 | 0.045827 | 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 |
a9f157631f5f873a5efe7847fb04440419279c4b | 71 | py | Python | python/baseline/dy/__init__.py | domyounglee/baseline | 2261abfb7e770cc6f3d63a7f6e0015238d0e11f8 | [
"Apache-2.0"
] | null | null | null | python/baseline/dy/__init__.py | domyounglee/baseline | 2261abfb7e770cc6f3d63a7f6e0015238d0e11f8 | [
"Apache-2.0"
] | null | null | null | python/baseline/dy/__init__.py | domyounglee/baseline | 2261abfb7e770cc6f3d63a7f6e0015238d0e11f8 | [
"Apache-2.0"
] | 3 | 2019-05-27T04:52:21.000Z | 2022-02-15T00:22:53.000Z | from baseline.dy.dynety import *
from baseline.dy.transformer import *
| 23.666667 | 37 | 0.802817 | 10 | 71 | 5.7 | 0.6 | 0.421053 | 0.491228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 71 | 2 | 38 | 35.5 | 0.904762 | 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 |
e7890d5743d1ceba1c1edcb69d8ca35595903963 | 99 | py | Python | past_archive/swexpert/1938(arithmeticOperation).py | DongHyunByun/algorithm_practice | c726c69d35306d23467f4af6e10f2db6fdc68234 | [
"MIT"
] | null | null | null | past_archive/swexpert/1938(arithmeticOperation).py | DongHyunByun/algorithm_practice | c726c69d35306d23467f4af6e10f2db6fdc68234 | [
"MIT"
] | null | null | null | past_archive/swexpert/1938(arithmeticOperation).py | DongHyunByun/algorithm_practice | c726c69d35306d23467f4af6e10f2db6fdc68234 | [
"MIT"
] | null | null | null | a=list(map(int,input().split()))
print(f"{a[0]+a[1]}\n{a[0]-a[1]}\n{a[0]*a[1]}\n{int(a[0]/a[1])}")
| 33 | 65 | 0.494949 | 28 | 99 | 1.75 | 0.392857 | 0.163265 | 0.244898 | 0.326531 | 0.306122 | 0.306122 | 0.306122 | 0.306122 | 0.306122 | 0.306122 | 0 | 0.082474 | 0.020202 | 99 | 2 | 66 | 49.5 | 0.42268 | 0 | 0 | 0 | 0 | 0.5 | 0.555556 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 9 |
99b5f4959a0dbe73d89bba0e34fd6acfa4404e70 | 1,922 | py | Python | test.py | anmolgaba21/ATCC-Collision | 7a76e10d38059bf6820bc7fca800320c6e703be4 | [
"MIT"
] | null | null | null | test.py | anmolgaba21/ATCC-Collision | 7a76e10d38059bf6820bc7fca800320c6e703be4 | [
"MIT"
] | null | null | null | test.py | anmolgaba21/ATCC-Collision | 7a76e10d38059bf6820bc7fca800320c6e703be4 | [
"MIT"
] | null | null | null | import numpy as np
import tensorflow as tf
array=tf.constant([[ 306., 215., 515., 375.],
[ 685., 188., 951., 380.],
[ 850., 216., 1046., 348.],
[ 713., 71., 950., 227.],
[ 163., 204., 386., 322.],
[ 775., 310., 1052., 488.],
[ 953., 217., 1188., 367.],
... | 35.592593 | 52 | 0.17898 | 213 | 1,922 | 1.615023 | 0.239437 | 0.924419 | 1.377907 | 1.825581 | 0.465116 | 0.465116 | 0.465116 | 0.465116 | 0.465116 | 0.465116 | 0 | 0.333725 | 0.557232 | 1,922 | 53 | 53 | 36.264151 | 0.070505 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.038462 | 0 | 0.038462 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
99ccb12bab23c9892feb8168bd2ca7f51320d7ad | 3,937 | py | Python | tests/test_encoders.py | psmaAaron/keras-fcn | 90843ef7465e0ce289f0a45a62d2d176a932e7ab | [
"MIT"
] | null | null | null | tests/test_encoders.py | psmaAaron/keras-fcn | 90843ef7465e0ce289f0a45a62d2d176a932e7ab | [
"MIT"
] | null | null | null | tests/test_encoders.py | psmaAaron/keras-fcn | 90843ef7465e0ce289f0a45a62d2d176a932e7ab | [
"MIT"
] | null | null | null | import numpy as np
import tensorflow.keras.backend as K
from tensorflow.keras.layers import Input
from keras_fcn.encoders import (
VGG16,
VGG19)
from tensorflow.keras.utils.test_utils import keras_test
@keras_test
def test_vgg16():
for data_format in ['channels_first', 'channels_last']:
K.set_ima... | 38.980198 | 73 | 0.586487 | 518 | 3,937 | 4.262548 | 0.150579 | 0.081522 | 0.04529 | 0.067935 | 0.896739 | 0.896739 | 0.896739 | 0.896739 | 0.896739 | 0.896739 | 0 | 0.112974 | 0.303023 | 3,937 | 100 | 74 | 39.37 | 0.691691 | 0 | 0 | 0.847059 | 0 | 0 | 0.037084 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 1 | 0.023529 | false | 0 | 0.058824 | 0 | 0.082353 | 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 |
99d01c8775e8f0a323fb3aaa664efceede8c150c | 29,617 | py | Python | virus.py | Darkrulex/P91D | eb1e47926827c2cbf3ad76fb3b4542d6ae8317f8 | [
"Apache-2.0"
] | null | null | null | virus.py | Darkrulex/P91D | eb1e47926827c2cbf3ad76fb3b4542d6ae8317f8 | [
"Apache-2.0"
] | null | null | null | virus.py | Darkrulex/P91D | eb1e47926827c2cbf3ad76fb3b4542d6ae8317f8 | [
"Apache-2.0"
] | null | null | null | #Encrypted with Virus
#Created by OVERDOSIS
import marshal,zlib,base64
exec(marshal.loads(zlib.decompress(base64.b32decode("PCOO3PIJOQOMS6JGDBMQPAF2OAPQJL2OWK55TYABKQKY4AWQNRFA2ATESMRACQQFWLIU3GQDEUVBGQACVCBZKCISNCIZFHRJRNWI7LAZL4NF6GW3WJL3FZCD6I6M7DF54NR6IOOWFOG574326Z42ZXM5LGX4PM732ZV675PW7HGVWPNPG37D6IXSVDFKUAV2JE2A... | 7,404.25 | 29,546 | 0.999122 | 18 | 29,617 | 1,643.944444 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188726 | 0.00027 | 29,617 | 4 | 29,546 | 7,404.25 | 0.810666 | 0.001351 | 0 | 0 | 0 | 0 | 0.997025 | 0.997025 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 10 |
99d3a670f5f3af8a43c3220be3e7c1e9c9ab66cd | 1,645 | py | Python | test/statements/from1.py | abjugard/MagicPython | 2802ded681e0ab1a1057821c1da287147d639505 | [
"MIT"
] | 1,482 | 2015-10-16T21:59:32.000Z | 2022-03-30T11:44:40.000Z | test/statements/from1.py | abjugard/MagicPython | 2802ded681e0ab1a1057821c1da287147d639505 | [
"MIT"
] | 226 | 2015-10-15T15:53:44.000Z | 2022-03-25T03:08:27.000Z | test/statements/from1.py | abjugard/MagicPython | 2802ded681e0ab1a1057821c1da287147d639505 | [
"MIT"
] | 129 | 2015-10-20T02:41:49.000Z | 2022-03-22T01:44:36.000Z | from ... import foo as bar
raise Exception('done') from exc
yield from foo
from : keyword.control.import.python, source.python
: source.python
... : punctuation.separator.period.python, source.python
: source.python
import : keyword.control.import.python, source... | 48.382353 | 166 | 0.657143 | 181 | 1,645 | 5.972376 | 0.165746 | 0.288622 | 0.366327 | 0.199815 | 0.809436 | 0.753932 | 0.722479 | 0.683626 | 0.385754 | 0.246068 | 0 | 0 | 0.240122 | 1,645 | 33 | 167 | 49.848485 | 0.8648 | 0 | 0 | 0.37931 | 0 | 0.068966 | 0.002432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.137931 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
99de51345671a61d45c66707155aa674b4c389f7 | 154 | py | Python | app/main/views.py | lbgutierrez/kimble | 35a5eb9a6899bd5840dbf88060cadbb60c52f946 | [
"Apache-2.0"
] | null | null | null | app/main/views.py | lbgutierrez/kimble | 35a5eb9a6899bd5840dbf88060cadbb60c52f946 | [
"Apache-2.0"
] | null | null | null | app/main/views.py | lbgutierrez/kimble | 35a5eb9a6899bd5840dbf88060cadbb60c52f946 | [
"Apache-2.0"
] | null | null | null | from . import main
from flask import redirect, url_for
@main.route("/", methods=["GET"])
def index():
return redirect( url_for( "auth.auth_login" ) ) | 25.666667 | 51 | 0.688312 | 22 | 154 | 4.681818 | 0.681818 | 0.213592 | 0.271845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149351 | 154 | 6 | 51 | 25.666667 | 0.78626 | 0 | 0 | 0 | 0 | 0 | 0.122581 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 7 |
822126d2e95092e3b468e70baef8edee1af7624c | 82,354 | py | Python | FinsterTab/W2020/DataForecast.py | Nabeel-Asghar/GM-Senior-Project | b50f3cb6eb861fed3edf09168c0e43a317c7c965 | [
"MIT"
] | 2 | 2020-02-01T23:41:58.000Z | 2020-05-19T02:11:33.000Z | FinsterTab/W2020/DataForecast.py | mshields11/GM-Senior-Project | b50f3cb6eb861fed3edf09168c0e43a317c7c965 | [
"MIT"
] | null | null | null | FinsterTab/W2020/DataForecast.py | mshields11/GM-Senior-Project | b50f3cb6eb861fed3edf09168c0e43a317c7c965 | [
"MIT"
] | null | null | null | # import libraries to be used in this code module
import pandas as pd
from statsmodels.tsa.arima_model import ARIMA
from sklearn.ensemble import RandomForestRegressor
from sklearn.svm import SVR
from math import sqrt
from statistics import stdev
import numpy as np
import xgboost as xgb
import calendar
import datetime a... | 51.762414 | 234 | 0.57503 | 9,699 | 82,354 | 4.798948 | 0.068976 | 0.02041 | 0.009668 | 0.015039 | 0.849221 | 0.830895 | 0.817703 | 0.803115 | 0.801568 | 0.790848 | 0 | 0.01405 | 0.330221 | 82,354 | 1,591 | 235 | 51.762414 | 0.829783 | 0.292238 | 0 | 0.772222 | 0 | 0.01 | 0.183004 | 0.022424 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014444 | false | 0 | 0.018889 | 0 | 0.035556 | 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 |
822b4480fa64608eb6e4ce27156b3eb30481ac3a | 15,690 | py | Python | src/train/train_q_function2_visual.py | msHujindou/Tetris-DQN | 8d8f83b151262dd2c392f8d247b1cee76c0bf0fd | [
"MIT"
] | null | null | null | src/train/train_q_function2_visual.py | msHujindou/Tetris-DQN | 8d8f83b151262dd2c392f8d247b1cee76c0bf0fd | [
"MIT"
] | null | null | null | src/train/train_q_function2_visual.py | msHujindou/Tetris-DQN | 8d8f83b151262dd2c392f8d247b1cee76c0bf0fd | [
"MIT"
] | null | null | null | """
此脚本是为了检验train_q_function2.py总结的原因
总结原因:
4x10 仅有L型俄罗斯方块,的的确确存在数种无限循环,但每次所有方块都消除完后,
总会回归到那个初始状态,但消除行数的reward机制会促使避开无限循环
"""
import numpy as np
import cv2
from utils.util import create_image_from_state
from game.confs import Action_Type, Block_Type
from game.tetris_engine import tetris_engine
action... | 33.961039 | 83 | 0.454175 | 1,794 | 15,690 | 3.722408 | 0.069677 | 0.109015 | 0.084456 | 0.09434 | 0.900719 | 0.891884 | 0.890836 | 0.890087 | 0.874513 | 0.860737 | 0 | 0.026535 | 0.440344 | 15,690 | 461 | 84 | 34.034707 | 0.733971 | 0.108923 | 0 | 0.85347 | 0 | 0 | 0.018418 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005141 | false | 0 | 0.012853 | 0 | 0.017995 | 0.033419 | 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 |
415f9471dc00a3af92c72c628164a43c5e20ab27 | 82 | py | Python | src/chapter24/__init__.py | Peefy/CLRS_dugu_code-master | 98f00e75e1b0ebc13a7affb2604bec8501692a19 | [
"Apache-2.0"
] | 3 | 2018-01-31T03:08:50.000Z | 2018-04-25T12:57:01.000Z | src/chapter24/__init__.py | HideLakitu/IntroductionToAlgorithm.Python | 33662f46dc346203b220d7481d1a4439feda05d2 | [
"Apache-2.0"
] | null | null | null | src/chapter24/__init__.py | HideLakitu/IntroductionToAlgorithm.Python | 33662f46dc346203b220d7481d1a4439feda05d2 | [
"Apache-2.0"
] | 3 | 2019-03-03T04:49:53.000Z | 2020-07-13T10:18:58.000Z |
# python src/chapter24/chapter24note.py
# python3 src/chapter24/chapter24note.py
| 20.5 | 40 | 0.817073 | 10 | 82 | 6.7 | 0.6 | 0.358209 | 0.746269 | 0.80597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 0.085366 | 82 | 3 | 41 | 27.333333 | 0.773333 | 0.926829 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4171b316e1944fa2e2b2f4752060fd53f230c3a1 | 2,439 | py | Python | tests/test_mof_image_parser.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 104 | 2020-03-04T14:31:31.000Z | 2022-03-28T02:59:36.000Z | tests/test_mof_image_parser.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 7 | 2020-04-20T09:18:39.000Z | 2022-03-19T17:06:19.000Z | tests/test_mof_image_parser.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 16 | 2020-03-05T18:55:59.000Z | 2022-03-01T10:19:28.000Z | # -*- coding: utf-8 -*-
import unittest
from etl.parsers.kernel.core import build_mof
from etl.parsers.kernel.image import ImageLoad
from etl.wmi import EventTraceGroup
class TestMofImageParser(unittest.TestCase):
def test_image_load_type2(self):
"""
Test Parsing image load event when type is 2
... | 67.75 | 502 | 0.711357 | 425 | 2,439 | 4.021176 | 0.209412 | 0.386191 | 0.505559 | 0.59684 | 0.737858 | 0.715038 | 0.692218 | 0.692218 | 0.692218 | 0.623757 | 0 | 0.257394 | 0.112751 | 2,439 | 35 | 503 | 69.685714 | 0.532348 | 0.064371 | 0 | 0.368421 | 0 | 0.157895 | 0.598101 | 0.598101 | 0 | 0 | 0 | 0 | 0.263158 | 1 | 0.157895 | false | 0 | 0.210526 | 0 | 0.421053 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
41870690877ca954f30710a758cdb0b58b2c9c98 | 284 | py | Python | python/curso_em_video/teste16.py | Bharreto/Ola-Mundo | a1d4fb9b9ce28f36b9fd31bcecbaa397cdca09a7 | [
"MIT"
] | 1 | 2020-04-02T08:54:36.000Z | 2020-04-02T08:54:36.000Z | python/curso_em_video/teste16.py | Bharreto/Ola-Mundo | a1d4fb9b9ce28f36b9fd31bcecbaa397cdca09a7 | [
"MIT"
] | null | null | null | python/curso_em_video/teste16.py | Bharreto/Ola-Mundo | a1d4fb9b9ce28f36b9fd31bcecbaa397cdca09a7 | [
"MIT"
] | null | null | null | from math import trunc
num = float (input("Digite um valor-"))
print ("O valor digitado foi {:.0f} e a sua porção inteira é {}".format(num, trunc(num)))
'''num = float(input("Digite um valor- "))
print ("O valor digitado foi {} e a sua porção inteira é {}".format (num, int(num)))''' | 47.333333 | 89 | 0.658451 | 47 | 284 | 3.978723 | 0.489362 | 0.085562 | 0.139037 | 0.203209 | 0.812834 | 0.812834 | 0.812834 | 0.812834 | 0.513369 | 0.513369 | 0 | 0.004184 | 0.158451 | 284 | 6 | 90 | 47.333333 | 0.778243 | 0 | 0 | 0 | 0 | 0 | 0.458065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
419dd030eac6f221d9dcb06ed503b4cda641f0e4 | 439 | py | Python | Py Learning/4. Operators/bitwiseOperator.py | MahmudX/TestSharp | 62d0edfbc420c808ca50d25daaee8f26258c3c28 | [
"MIT"
] | null | null | null | Py Learning/4. Operators/bitwiseOperator.py | MahmudX/TestSharp | 62d0edfbc420c808ca50d25daaee8f26258c3c28 | [
"MIT"
] | null | null | null | Py Learning/4. Operators/bitwiseOperator.py | MahmudX/TestSharp | 62d0edfbc420c808ca50d25daaee8f26258c3c28 | [
"MIT"
] | null | null | null | # x = 0x0a
# y = 0x02
# z = x & y
# print(f'Hex: x = {x:02X}, y = {y:02X}, z = {z:02X}')
# print(f'Bin: x = {x:08b}, y = {y:08b}, z = {z:08b}')
x = 0x0a
y = 0x05
z = x ^ y
print(f'Hex: x = {x:02X}, y = {y:02X}, z = {z:02X}')
print(f'Bin: x = {x:08b}, y = {y:08b}, z = {z:08b}')
# x = 0x0a
# y = 0x02
# z ... | 25.823529 | 55 | 0.416856 | 93 | 439 | 1.967742 | 0.129032 | 0.196721 | 0.098361 | 0.131148 | 0.978142 | 0.978142 | 0.978142 | 0.978142 | 0.978142 | 0.978142 | 0 | 0.159875 | 0.273349 | 439 | 17 | 56 | 25.823529 | 0.413793 | 0.6082 | 0 | 0 | 0 | 0.4 | 0.575342 | 0 | 0 | 0 | 0.054795 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
68bec5f62665ea179108d683571a7b699a736f26 | 1,902 | py | Python | code/selfish_proxy/strategy/strategies.py | simonmulser/master-thesis | 5ca2ddda377a0eede5a3c50866e0f90292c5448f | [
"CC-BY-4.0"
] | null | null | null | code/selfish_proxy/strategy/strategies.py | simonmulser/master-thesis | 5ca2ddda377a0eede5a3c50866e0f90292c5448f | [
"CC-BY-4.0"
] | null | null | null | code/selfish_proxy/strategy/strategies.py | simonmulser/master-thesis | 5ca2ddda377a0eede5a3c50866e0f90292c5448f | [
"CC-BY-4.0"
] | 1 | 2019-06-05T09:10:30.000Z | 2019-06-05T09:10:30.000Z | selfish_mining_strategy = \
[
[ # irrelevant
['*', '*', '*', '*', '*', '*', '*', '*', '*', '*'],
['w', '*', 'a', '*', '*', '*', '*', '*', '*', '*'],
['w', 'w', '*', 'a', '*', '*', '*', '*', '*', '*'],
['w', 'w', 'w', '*', 'a', '*', '*', '*', '*', '*'],
['w', 'w', 'w', 'w', '... | 47.55 | 59 | 0.099369 | 149 | 1,902 | 1.255034 | 0.067114 | 0.983957 | 1.235294 | 1.368984 | 0.721925 | 0.721925 | 0.684492 | 0.684492 | 0.620321 | 0.614973 | 0 | 0 | 0.307045 | 1,902 | 39 | 60 | 48.769231 | 0.141882 | 0.013144 | 0 | 0.128205 | 0 | 0 | 0.160171 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 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 |
68fcbc0ec22689b63906da7a3c560b132c171c8e | 680 | py | Python | backend/permissions.py | saad4software/MMSS-Backend | fddb2ff94eab905df321dd0ce574b7ae787f067d | [
"Apache-2.0"
] | null | null | null | backend/permissions.py | saad4software/MMSS-Backend | fddb2ff94eab905df321dd0ce574b7ae787f067d | [
"Apache-2.0"
] | null | null | null | backend/permissions.py | saad4software/MMSS-Backend | fddb2ff94eab905df321dd0ce574b7ae787f067d | [
"Apache-2.0"
] | null | null | null | from rest_framework import permissions
from .models import User
class IsCounter(permissions.BasePermission):
def has_permission(self, request, view):
return hasattr(request.user, 'role') and \
(request.user.role == 'C' or request.user.role == 'A')
class IsGuest(permissions.BasePermission)... | 34 | 97 | 0.675 | 84 | 680 | 5.416667 | 0.309524 | 0.217582 | 0.296703 | 0.204396 | 0.810989 | 0.810989 | 0.810989 | 0.810989 | 0.810989 | 0.810989 | 0 | 0 | 0.195588 | 680 | 19 | 98 | 35.789474 | 0.83181 | 0 | 0 | 0.384615 | 0 | 0 | 0.026471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.153846 | 0.230769 | 0.846154 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 11 |
ec1d7aeaa0df4f31ad494082b0d15b8df033953d | 152 | py | Python | analysis/reciprocity.py | LuudJanssen/evolving-network-analysis | a392cbc737ca02c1ca9d033bd858dbc60e57f757 | [
"Apache-2.0"
] | null | null | null | analysis/reciprocity.py | LuudJanssen/evolving-network-analysis | a392cbc737ca02c1ca9d033bd858dbc60e57f757 | [
"Apache-2.0"
] | null | null | null | analysis/reciprocity.py | LuudJanssen/evolving-network-analysis | a392cbc737ca02c1ca9d033bd858dbc60e57f757 | [
"Apache-2.0"
] | null | null | null | from graph_tool.topology import edge_reciprocity
# Returns a graph's edge reciprocity
def graph_reciprocity(graph):
return edge_reciprocity(graph) | 25.333333 | 48 | 0.822368 | 21 | 152 | 5.761905 | 0.571429 | 0.371901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 152 | 6 | 49 | 25.333333 | 0.909774 | 0.223684 | 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 |
ec301e80925b03fb1d02df4454805a482095c436 | 98 | py | Python | pipeline/__init__.py | prashanthsandela/python-pipeline | 1f6a2ea766b80dc7d4c075b90cb204591bf44981 | [
"Apache-2.0"
] | 1 | 2021-12-28T06:43:44.000Z | 2021-12-28T06:43:44.000Z | pipeline/__init__.py | prashanthsandela/python-pipeline | 1f6a2ea766b80dc7d4c075b90cb204591bf44981 | [
"Apache-2.0"
] | null | null | null | pipeline/__init__.py | prashanthsandela/python-pipeline | 1f6a2ea766b80dc7d4c075b90cb204591bf44981 | [
"Apache-2.0"
] | null | null | null | from pipeline.pipeline import Pipeline as Pipeline
from pipeline.pipeline import Stream as Stream
| 32.666667 | 50 | 0.857143 | 14 | 98 | 6 | 0.357143 | 0.285714 | 0.47619 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 98 | 2 | 51 | 49 | 0.976744 | 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 |
ec438070869d44f0676c75f3767ae905b194a591 | 13,899 | py | Python | tests/e2e/test_run_py.py | pi-top/Further-Link | 9356fa719ee706fce68859c82ab89694f2497975 | [
"Apache-2.0"
] | null | null | null | tests/e2e/test_run_py.py | pi-top/Further-Link | 9356fa719ee706fce68859c82ab89694f2497975 | [
"Apache-2.0"
] | 20 | 2021-08-11T19:08:59.000Z | 2022-03-21T20:14:41.000Z | tests/e2e/test_run_py.py | pi-top/pt-further-link | 9356fa719ee706fce68859c82ab89694f2497975 | [
"Apache-2.0"
] | null | null | null | import asyncio
import os
from datetime import datetime
from shutil import copy
import aiohttp
import pytest
from further_link import __version__
from further_link.util.message import create_message, parse_message
from ..dirs import WORKING_DIRECTORY
from . import E2E_PATH, RUN_PY_URL
from .helpers import receive_dat... | 31.951724 | 245 | 0.714296 | 2,055 | 13,899 | 4.451582 | 0.098783 | 0.069961 | 0.096415 | 0.17195 | 0.815369 | 0.787167 | 0.766834 | 0.75481 | 0.724749 | 0.692392 | 0 | 0.008811 | 0.158932 | 13,899 | 434 | 246 | 32.025346 | 0.773738 | 0.015253 | 0 | 0.641379 | 0 | 0 | 0.244166 | 0.033355 | 0 | 0 | 0 | 0 | 0.017241 | 1 | 0 | false | 0.013793 | 0.086207 | 0 | 0.086207 | 0.044828 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ec4e9fa5845ea23660b46a4add4fc01ccec47886 | 21,974 | py | Python | Kenyan_train/models_kenyan.py | thanosvlo/Twin_Causal_Nets | 414e36467b610e210bf7ab3aa325d48d3d920303 | [
"MIT"
] | 3 | 2022-02-01T15:23:27.000Z | 2022-03-21T15:16:35.000Z | Kenyan_train/models_kenyan.py | thanosvlo/Twin_Causal_Nets | 414e36467b610e210bf7ab3aa325d48d3d920303 | [
"MIT"
] | null | null | null | Kenyan_train/models_kenyan.py | thanosvlo/Twin_Causal_Nets | 414e36467b610e210bf7ab3aa325d48d3d920303 | [
"MIT"
] | null | null | null | import sys
sys.path.append("..")
sys.path.append("../..")
import numpy as np
import tensorflow as tf
import tensorflow_lattice as tfl
def make_calibrators(data, lattice_size, units, name=None, monotonicity='none'):
try:
min_ = data.min()
max_ = data.max()
except:
min_ = 0
max... | 40.025501 | 151 | 0.611313 | 2,627 | 21,974 | 4.802817 | 0.054054 | 0.054213 | 0.034002 | 0.035666 | 0.837442 | 0.807086 | 0.786399 | 0.765871 | 0.750733 | 0.732662 | 0 | 0.011691 | 0.28379 | 21,974 | 548 | 152 | 40.09854 | 0.789999 | 0.015928 | 0 | 0.742794 | 0 | 0 | 0.049142 | 0.003332 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015521 | false | 0 | 0.008869 | 0 | 0.039911 | 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 |
6bb55cc1a7921e00babc4d3cd09f92cf686695df | 2,874 | py | Python | Python3/1224.py | rakhi2001/ecom7 | 73790d44605fbd51e8f7e804b9808e364fcfc680 | [
"MIT"
] | 854 | 2018-11-09T08:06:16.000Z | 2022-03-31T06:05:53.000Z | Python3/1224.py | rakhi2001/ecom7 | 73790d44605fbd51e8f7e804b9808e364fcfc680 | [
"MIT"
] | 29 | 2019-06-02T05:02:25.000Z | 2021-11-15T04:09:37.000Z | Python3/1224.py | rakhi2001/ecom7 | 73790d44605fbd51e8f7e804b9808e364fcfc680 | [
"MIT"
] | 347 | 2018-12-23T01:57:37.000Z | 2022-03-12T14:51:21.000Z | __________________________________________________________________________________________________
sample 428 ms submission
# not my submission
class Solution:
def maxEqualFreq(self, nums: List[int]) -> int:
from collections import Counter
counter = Counter(nums)
count2ref = Counter()
... | 35.04878 | 102 | 0.564718 | 333 | 2,874 | 3.972973 | 0.138138 | 0.024187 | 0.078609 | 0.084656 | 0.966742 | 0.966742 | 0.954649 | 0.954649 | 0.954649 | 0.954649 | 0 | 0.074447 | 0.308281 | 2,874 | 81 | 103 | 35.481481 | 0.591046 | 0.020529 | 0 | 0.859155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.028169 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6bd461c56b668270c1602a79e60ce5abdbcbdee8 | 67 | py | Python | examples/unpack_ex.py | igfish/toyvm | bb1ab371a8c71ba01522556235fc9f017c9b6b8f | [
"MIT"
] | null | null | null | examples/unpack_ex.py | igfish/toyvm | bb1ab371a8c71ba01522556235fc9f017c9b6b8f | [
"MIT"
] | null | null | null | examples/unpack_ex.py | igfish/toyvm | bb1ab371a8c71ba01522556235fc9f017c9b6b8f | [
"MIT"
] | null | null | null | a, b, c, *d, e, f = 1, 2, 3, 4, 5, 6, 7, 8
print(a, b, c, d, e, f)
| 22.333333 | 42 | 0.373134 | 21 | 67 | 1.190476 | 0.714286 | 0.16 | 0.24 | 0.32 | 0.48 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 0.313433 | 67 | 2 | 43 | 33.5 | 0.369565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
d418dbac179023727f5b84c1880156bd5544b034 | 25,776 | py | Python | src/rectification/equations/Diameters_tubes.py | alex-s-v/pact-rectification | 0d9ff499ce78489aa6a213936d5097130341a781 | [
"MIT"
] | 1 | 2020-01-30T21:19:51.000Z | 2020-01-30T21:19:51.000Z | src/rectification/equations/Diameters_tubes.py | alex-s-v/pact-rectification | 0d9ff499ce78489aa6a213936d5097130341a781 | [
"MIT"
] | null | null | null | src/rectification/equations/Diameters_tubes.py | alex-s-v/pact-rectification | 0d9ff499ce78489aa6a213936d5097130341a781 | [
"MIT"
] | 1 | 2020-01-21T20:26:56.000Z | 2020-01-21T20:26:56.000Z | from rectification.utils import unitcheck
@unitcheck(F_mass="kg/s", rho_F_20="kg/m**3", w_liq="m/s", res_unit="m")
def d_enter_feed(F_mass, rho_F_20, w_liq):
"""
Calculates the tube's diameter of enter to the heat exchanger of Feed.
Parameters
----------
F_mass : float
The mass flow rat... | 30.906475 | 112 | 0.63047 | 4,060 | 25,776 | 3.742118 | 0.018473 | 0.075824 | 0.018956 | 0.011848 | 0.968209 | 0.937537 | 0.887843 | 0.867636 | 0.851511 | 0.809452 | 0 | 0.013015 | 0.236926 | 25,776 | 833 | 113 | 30.943577 | 0.759418 | 0.579337 | 0 | 0 | 0 | 0 | 0.066331 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.330275 | false | 0 | 0.009174 | 0 | 0.669725 | 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 | 1 | 0 | 0 | 8 |
d4388ae280283d39228e7ccff710d2b4b866358c | 2,656 | py | Python | test/test_meta_classifier.py | e-tornike/OpenAttack | b19c53af2e01f096505f8ebb8f48a54388295003 | [
"MIT"
] | 444 | 2020-07-14T12:13:26.000Z | 2022-03-28T02:46:30.000Z | test/test_meta_classifier.py | e-tornike/OpenAttack | b19c53af2e01f096505f8ebb8f48a54388295003 | [
"MIT"
] | 50 | 2020-07-15T01:34:42.000Z | 2022-01-24T12:19:19.000Z | test/test_meta_classifier.py | e-tornike/OpenAttack | b19c53af2e01f096505f8ebb8f48a54388295003 | [
"MIT"
] | 86 | 2020-08-02T13:16:45.000Z | 2022-03-27T06:22:04.000Z | import OpenAttack
import numpy as np
import unittest, os
class MetaClassifier(OpenAttack.Classifier):
def __init__(self):
self.last_meta = None
def get_pred(self, input_):
return self.get_prob(input_)
def get_prob(self, input_):
return self.get_grad([input_], [0])[0]
... | 36.888889 | 62 | 0.602786 | 318 | 2,656 | 4.858491 | 0.147799 | 0.072492 | 0.092557 | 0.187702 | 0.813592 | 0.783819 | 0.783819 | 0.773463 | 0.773463 | 0.726861 | 0 | 0.003532 | 0.253765 | 2,656 | 72 | 63 | 36.888889 | 0.775984 | 0 | 0 | 0.578125 | 0 | 0 | 0.0828 | 0 | 0 | 0 | 0 | 0 | 0.34375 | 1 | 0.109375 | false | 0 | 0.046875 | 0.03125 | 0.234375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d46bb22621ea36a7a468068e1f54e396c9d63f24 | 40 | py | Python | src/sensors/mock.py | space-santa/py-tts | e777c97492fdff019e520c39dc27c2eaca38b559 | [
"Apache-2.0"
] | null | null | null | src/sensors/mock.py | space-santa/py-tts | e777c97492fdff019e520c39dc27c2eaca38b559 | [
"Apache-2.0"
] | null | null | null | src/sensors/mock.py | space-santa/py-tts | e777c97492fdff019e520c39dc27c2eaca38b559 | [
"Apache-2.0"
] | null | null | null | def get_temperature():
return 12.34
| 13.333333 | 22 | 0.7 | 6 | 40 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.2 | 40 | 2 | 23 | 20 | 0.71875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
00fe8417a234741b8a7c687aa863f8464202f3a4 | 148 | py | Python | AI/day03/VCAI/submit/conv2d.py | Ersikan/Pool2021 | cc64658039dee04127a3a641f891781c53647244 | [
"MIT"
] | 16 | 2021-03-09T10:25:18.000Z | 2022-02-08T14:29:24.000Z | AI/day03/VCAI/submit/conv2d.py | Ersikan/Pool2021 | cc64658039dee04127a3a641f891781c53647244 | [
"MIT"
] | null | null | null | AI/day03/VCAI/submit/conv2d.py | Ersikan/Pool2021 | cc64658039dee04127a3a641f891781c53647244 | [
"MIT"
] | 3 | 2021-02-10T09:32:21.000Z | 2022-02-01T17:07:59.000Z | import numpy
import torch
import torch.nn as nn
import torch.nn.functional as F
import matplotlib.pyplot as plt
# TODO: Create your CNN model here
| 18.5 | 34 | 0.797297 | 26 | 148 | 4.538462 | 0.615385 | 0.279661 | 0.220339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 148 | 7 | 35 | 21.142857 | 0.951613 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
2e41059737f4d221e7f02145402803f82b9e1f7c | 2,196 | py | Python | tests/MyFuncLogin.py | mribrgr/StuRa-Mitgliederdatenbank | 87a261d66c279ff86056e315b05e6966b79df9fa | [
"MIT"
] | 8 | 2019-11-26T13:34:46.000Z | 2021-06-21T13:41:57.000Z | src/tests/MyFuncLogin.py | Sumarbrander/Stura-Mitgliederdatenbank | 691dbd33683b2c2d408efe7a3eb28e083ebcd62a | [
"MIT"
] | 93 | 2019-12-16T09:29:10.000Z | 2021-04-24T12:03:33.000Z | src/tests/MyFuncLogin.py | Sumarbrander/Stura-Mitgliederdatenbank | 691dbd33683b2c2d408efe7a3eb28e083ebcd62a | [
"MIT"
] | 2 | 2020-12-03T12:43:19.000Z | 2020-12-22T21:48:47.000Z | from django.urls import reverse
def loginAsLukasAdmin(self):
"""
Opens a Browser instance and login as admin with the account testlukasadmin.
:param self:
:type self:
:return: No return Value
"""
# Öffnen eines Browsers
try:
self.browser.get(self.live_server_u... | 28.894737 | 84 | 0.670765 | 259 | 2,196 | 5.548263 | 0.324324 | 0.076548 | 0.06263 | 0.091858 | 0.896312 | 0.896312 | 0.896312 | 0.896312 | 0.847599 | 0.847599 | 0 | 0.012077 | 0.245902 | 2,196 | 75 | 85 | 29.28 | 0.855676 | 0.201275 | 0 | 0.878049 | 0 | 0 | 0.260843 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 1 | 0.04878 | false | 0.146341 | 0.02439 | 0 | 0.073171 | 0.097561 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
2e5772bada569ca89a06823c22e98d5f3a62822b | 25,929 | py | Python | tests/unit/test_util.py | klmitch/heyu | 9bdc552115bb22d1d01910b0b851eb3cbc3b08d1 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_util.py | klmitch/heyu | 9bdc552115bb22d1d01910b0b851eb3cbc3b08d1 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_util.py | klmitch/heyu | 9bdc552115bb22d1d01910b0b851eb3cbc3b08d1 | [
"Apache-2.0"
] | null | null | null | # Copyright 2014 Rackspace
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by app... | 44.022071 | 79 | 0.652397 | 3,223 | 25,929 | 4.98852 | 0.06857 | 0.068852 | 0.082597 | 0.103247 | 0.902724 | 0.899055 | 0.889601 | 0.886118 | 0.877037 | 0.862048 | 0 | 0.013831 | 0.202515 | 25,929 | 588 | 80 | 44.096939 | 0.76371 | 0.024953 | 0 | 0.762677 | 0 | 0 | 0.162119 | 0.025066 | 0 | 0 | 0 | 0 | 0.324544 | 1 | 0.068966 | false | 0.002028 | 0.016227 | 0 | 0.099391 | 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 |
5cf231d4b0ca26fc47ab7bbb62f3eb2c00b539d6 | 11,550 | py | Python | ambra_sdk/service/entrypoints/generated/qctask.py | dicomgrid/sdk-python | bb12eed311bad73dfb863917df4dc5cbcd91a447 | [
"Apache-2.0"
] | 9 | 2020-04-20T23:45:44.000Z | 2021-04-18T11:22:17.000Z | ambra_sdk/service/entrypoints/generated/qctask.py | dicomgrid/sdk-python | bb12eed311bad73dfb863917df4dc5cbcd91a447 | [
"Apache-2.0"
] | 13 | 2020-02-08T16:15:05.000Z | 2021-09-13T22:55:28.000Z | ambra_sdk/service/entrypoints/generated/qctask.py | dicomgrid/sdk-python | bb12eed311bad73dfb863917df4dc5cbcd91a447 | [
"Apache-2.0"
] | 6 | 2020-03-25T17:47:45.000Z | 2021-04-18T11:22:19.000Z | """ Qctask.
Do not edit this file by hand.
This is generated by parsing api.html service doc.
"""
from ambra_sdk.exceptions.service import InvalidInteger
from ambra_sdk.exceptions.service import InvisibleQuery
from ambra_sdk.exceptions.service import MissingFields
from ambra_sdk.exceptions.service import NamespaceNotA... | 44.252874 | 182 | 0.631255 | 1,430 | 11,550 | 4.93986 | 0.082517 | 0.088335 | 0.033126 | 0.039638 | 0.966591 | 0.966591 | 0.923415 | 0.923415 | 0.923415 | 0.923415 | 0 | 0 | 0.27368 | 11,550 | 261 | 183 | 44.252874 | 0.842055 | 0.146407 | 0 | 0.880829 | 1 | 0.031088 | 0.346549 | 0.006083 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041451 | false | 0.051813 | 0.046632 | 0 | 0.129534 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
cf132892ff4a22f601b2201ba52c03beff6da0b9 | 795 | py | Python | pseudo_mask/tools/read_info.py | alisure-fork/CONTA | dde3e5083f45598d859dde889de3ae85c7a416e9 | [
"MIT"
] | null | null | null | pseudo_mask/tools/read_info.py | alisure-fork/CONTA | dde3e5083f45598d859dde889de3ae85c7a416e9 | [
"MIT"
] | null | null | null | pseudo_mask/tools/read_info.py | alisure-fork/CONTA | dde3e5083f45598d859dde889de3ae85c7a416e9 | [
"MIT"
] | null | null | null | import os
from alisuretool.Tools import Tools
def read_image_info(image_info_root):
image_info_path = os.path.join(image_info_root, "deal", "image_info_list_change_person2.pkl")
# image_info_list = Tools.read_from_pkl(image_info_path)[::200]
image_info_list = Tools.read_from_pkl(image_info_path)
retur... | 34.565217 | 97 | 0.798742 | 133 | 795 | 4.24812 | 0.172932 | 0.414159 | 0.230089 | 0.127434 | 0.849558 | 0.849558 | 0.849558 | 0.849558 | 0.849558 | 0.849558 | 0 | 0.005698 | 0.116981 | 795 | 22 | 98 | 36.136364 | 0.799145 | 0.07673 | 0 | 0.428571 | 0 | 0 | 0.154583 | 0.138167 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 10 |
cf1cf5c58dbed2e6d448a79246f6b3e38ba3f512 | 12,000 | py | Python | timedeltatemplatefilter/tests/tests.py | frnhr/django_timedeltatemplatefilter | d22c2a564b4ccbdc7443ff6928fdf7224ac0a01f | [
"Unlicense"
] | 12 | 2016-01-24T02:38:54.000Z | 2020-10-06T03:25:34.000Z | timedeltatemplatefilter/tests/tests.py | frnhr/django_timedeltatemplatefilter | d22c2a564b4ccbdc7443ff6928fdf7224ac0a01f | [
"Unlicense"
] | 4 | 2017-02-07T18:18:50.000Z | 2019-11-17T17:29:30.000Z | timedeltatemplatefilter/tests/tests.py | frnhr/django_timedeltatemplatefilter | d22c2a564b4ccbdc7443ff6928fdf7224ac0a01f | [
"Unlicense"
] | 2 | 2017-02-07T18:33:45.000Z | 2018-09-17T00:32:13.000Z | from datetime import timedelta
from django.test import TestCase
from timedeltatemplatefilter.templatetags.timedelta_filter import timedelta as the_filter
class SimpleTestCase(TestCase):
def test_seconds_only_2(self):
test_value = timedelta(seconds=2)
self.assertEqual(the_filter(test_value, '{... | 60.301508 | 89 | 0.66 | 1,466 | 12,000 | 5.116644 | 0.057981 | 0.201573 | 0.37435 | 0.499133 | 0.941608 | 0.914278 | 0.899213 | 0.820024 | 0.746834 | 0.722837 | 0 | 0.045595 | 0.162917 | 12,000 | 198 | 90 | 60.606061 | 0.701145 | 0 | 0 | 0.538043 | 0 | 0 | 0.163 | 0 | 0 | 0 | 0 | 0 | 0.847826 | 1 | 0.065217 | false | 0 | 0.016304 | 0 | 0.086957 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
cf2d96ca915be7706318f2a9bdabb28ec428dcd8 | 58 | py | Python | locker/__init__.py | Coal0/Locker | ac2b2052df56350bcd0af3aaa60ef96de19257eb | [
"MIT"
] | 1 | 2017-09-13T07:16:35.000Z | 2017-09-13T07:16:35.000Z | locker/__init__.py | Coal0/Locker | ac2b2052df56350bcd0af3aaa60ef96de19257eb | [
"MIT"
] | null | null | null | locker/__init__.py | Coal0/Locker | ac2b2052df56350bcd0af3aaa60ef96de19257eb | [
"MIT"
] | null | null | null | from .locker import Locker
from .locker import InvalidKey
| 19.333333 | 30 | 0.827586 | 8 | 58 | 6 | 0.5 | 0.416667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 58 | 2 | 31 | 29 | 0.96 | 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 |
cf76ef6118318fa5292cf9133490605b6fea26f3 | 137 | py | Python | example/views/helpers.py | aholyoke/grasshopper | b9e11ac3aafdb6e2a61cc8a74ca67e36b690da69 | [
"BSD-3-Clause"
] | null | null | null | example/views/helpers.py | aholyoke/grasshopper | b9e11ac3aafdb6e2a61cc8a74ca67e36b690da69 | [
"BSD-3-Clause"
] | null | null | null | example/views/helpers.py | aholyoke/grasshopper | b9e11ac3aafdb6e2a61cc8a74ca67e36b690da69 | [
"BSD-3-Clause"
] | null | null | null | def read_template(template_dir, template_name):
with open("{}/{}".format(template_dir, template_name)) as f:
return f.read()
| 34.25 | 64 | 0.686131 | 19 | 137 | 4.684211 | 0.578947 | 0.247191 | 0.426966 | 0.516854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160584 | 137 | 3 | 65 | 45.666667 | 0.773913 | 0 | 0 | 0 | 0 | 0 | 0.036496 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 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 | 0 | 1 | 0 | 0 | 7 |
d84a871eefb08bf6d94055041e3d080ec2d9dd8f | 17,707 | py | Python | frozen/monaco16.py | ayoy/micropython-waveshare-epd | 58859f5d0158987c84fb20e3920af0962b37de61 | [
"MIT"
] | 45 | 2018-04-02T22:24:47.000Z | 2022-03-27T14:34:06.000Z | frozen_modules/fonts/monaco16.py | lemariva/uPyEINK | 8778239b9dfe32b0d4535db0045a7feb1c131d5c | [
"Apache-2.0"
] | 2 | 2018-09-19T09:39:20.000Z | 2019-05-23T09:56:29.000Z | frozen/monaco16.py | ayoy/micropython-waveshare-epd | 58859f5d0158987c84fb20e3920af0962b37de61 | [
"MIT"
] | 16 | 2018-04-08T21:34:28.000Z | 2022-03-18T16:00:38.000Z | width = const(10)
height = const(16)
data = [
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, # Character 0x00 (0)
0x00,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,... | 173.598039 | 185 | 0.77636 | 3,367 | 17,707 | 4.082863 | 0.06831 | 0.55343 | 0.683495 | 0.772823 | 0.840038 | 0.787881 | 0.772678 | 0.731796 | 0.655343 | 0.612134 | 0 | 0.552816 | 0.033377 | 17,707 | 101 | 186 | 175.316832 | 0.250351 | 0.10781 | 0 | 0.02 | 0 | 0 | 0 | 0 | 0 | 1 | 0.782625 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
d88bad9a0eeab66cf4c34590d60f0c4f53dd5b75 | 207 | py | Python | pinnacle/endpoints/__init__.py | miikama/pinnacle | ecf9a839f526ca78c54199c7c2bdb630e2b28ebc | [
"MIT"
] | 54 | 2017-07-12T22:52:19.000Z | 2022-01-16T11:04:02.000Z | pinnacle/endpoints/__init__.py | miikama/pinnacle | ecf9a839f526ca78c54199c7c2bdb630e2b28ebc | [
"MIT"
] | 16 | 2017-08-22T15:50:47.000Z | 2022-03-08T14:41:19.000Z | pinnacle/endpoints/__init__.py | miikama/pinnacle | ecf9a839f526ca78c54199c7c2bdb630e2b28ebc | [
"MIT"
] | 32 | 2017-07-21T17:14:36.000Z | 2022-02-21T18:19:43.000Z |
from pinnacle.endpoints.account import Account
from pinnacle.endpoints.betting import Betting
from pinnacle.endpoints.marketdata import MarketData
from pinnacle.endpoints.referencedata import ReferenceData
| 34.5 | 58 | 0.879227 | 24 | 207 | 7.583333 | 0.333333 | 0.263736 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082126 | 207 | 5 | 59 | 41.4 | 0.957895 | 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 |
d8a749e4184075545c76ca3d61faf61ab690f683 | 122 | py | Python | mafia_resources/db/__init__.py | whiteRa2bit/backend_app | c91cfe4791f5f0ec4d1f2dbb7ac8fa73a09b067e | [
"Unlicense",
"MIT"
] | null | null | null | mafia_resources/db/__init__.py | whiteRa2bit/backend_app | c91cfe4791f5f0ec4d1f2dbb7ac8fa73a09b067e | [
"Unlicense",
"MIT"
] | null | null | null | mafia_resources/db/__init__.py | whiteRa2bit/backend_app | c91cfe4791f5f0ec4d1f2dbb7ac8fa73a09b067e | [
"Unlicense",
"MIT"
] | null | null | null | from mafia_resources.db.utils import get_mongo_db, to_object_id
from mafia_resources.db.collection import MongoCollection
| 40.666667 | 63 | 0.885246 | 19 | 122 | 5.368421 | 0.684211 | 0.176471 | 0.352941 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07377 | 122 | 2 | 64 | 61 | 0.902655 | 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 |
99942ce8453070e86377e474436a61c95f5029c8 | 19,249 | py | Python | pylearn2/sandbox/cuda_convnet/stochastic_pool.py | ikervazquezlopez/Pylearn2 | 2971e8f64374ffde572d4cf967aad5342beaf5e0 | [
"BSD-3-Clause"
] | 2,045 | 2015-01-01T14:07:52.000Z | 2022-03-08T08:56:41.000Z | pylearn2/sandbox/cuda_convnet/stochastic_pool.py | ikervazquezlopez/Pylearn2 | 2971e8f64374ffde572d4cf967aad5342beaf5e0 | [
"BSD-3-Clause"
] | 305 | 2015-01-02T13:18:24.000Z | 2021-08-20T18:03:28.000Z | pylearn2/sandbox/cuda_convnet/stochastic_pool.py | ikervazquezlopez/Pylearn2 | 2971e8f64374ffde572d4cf967aad5342beaf5e0 | [
"BSD-3-Clause"
] | 976 | 2015-01-01T17:08:51.000Z | 2022-03-25T19:53:17.000Z | """
GPU op for Stochastic max pooling as defined in:
Stochastic Pooling for Regularization of Deep Convolutional Neural Networks
Matthew D. Zeiler, Rob Fergus, ICLR 2013
The code is written around Alex Krizhevsky's cuda-convnet
"""
__authors__ = "Mehdi Mirza"
__copyright__ = "Copyright 2010-2013, Universite de Montr... | 31.147249 | 111 | 0.574679 | 2,288 | 19,249 | 4.653409 | 0.147727 | 0.026862 | 0.016906 | 0.019724 | 0.871231 | 0.857706 | 0.857706 | 0.833474 | 0.824082 | 0.817883 | 0 | 0.010367 | 0.323497 | 19,249 | 617 | 112 | 31.197731 | 0.807249 | 0.259182 | 0 | 0.751592 | 0 | 0.025478 | 0.418065 | 0.088501 | 0 | 0 | 0 | 0.042139 | 0.031847 | 1 | 0.089172 | false | 0 | 0.044586 | 0 | 0.219745 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
41f3ace55a0d3832bc5f1012b643cb346ed41067 | 5,917 | py | Python | devilry/devilry_frontpage/tests/test_frontpage.py | aless80/devilry-django | 416c262e75170d5662542f15e2d7fecf5ab84730 | [
"BSD-3-Clause"
] | null | null | null | devilry/devilry_frontpage/tests/test_frontpage.py | aless80/devilry-django | 416c262e75170d5662542f15e2d7fecf5ab84730 | [
"BSD-3-Clause"
] | null | null | null | devilry/devilry_frontpage/tests/test_frontpage.py | aless80/devilry-django | 416c262e75170d5662542f15e2d7fecf5ab84730 | [
"BSD-3-Clause"
] | null | null | null | from django.conf import settings
from django.test import TestCase
from django_cradmin import cradmin_testhelpers
from model_mommy import mommy
from devilry.devilry_account.models import PermissionGroup
from devilry.devilry_frontpage.views import frontpage
class TestFrontpage(TestCase, cradmin_testhelpers.TestCaseMix... | 56.894231 | 117 | 0.726382 | 555 | 5,917 | 7.571171 | 0.136937 | 0.091385 | 0.136126 | 0.172775 | 0.836982 | 0.836982 | 0.836982 | 0.834603 | 0.824607 | 0.824607 | 0 | 0.005352 | 0.178976 | 5,917 | 103 | 118 | 57.446602 | 0.859613 | 0 | 0 | 0.663043 | 0 | 0 | 0.267872 | 0.256549 | 0 | 0 | 0 | 0 | 0.26087 | 1 | 0.086957 | false | 0 | 0.065217 | 0 | 0.173913 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5ace779b2c34a6202932b08a7bb5859064e9665c | 49,696 | py | Python | sdk/lusid_workflows/api/workflows_api.py | finbourne/workflows-sdk-generated-preview | 41201c402e8d006740d278339cb80283000e4ce6 | [
"MIT"
] | null | null | null | sdk/lusid_workflows/api/workflows_api.py | finbourne/workflows-sdk-generated-preview | 41201c402e8d006740d278339cb80283000e4ce6 | [
"MIT"
] | null | null | null | sdk/lusid_workflows/api/workflows_api.py | finbourne/workflows-sdk-generated-preview | 41201c402e8d006740d278339cb80283000e4ce6 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
FINBOURNE Workflows API
FINBOURNE Technology # noqa: E501
The version of the OpenAPI document: 0.1.25
Contact: info@finbourne.com
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compat... | 46.619137 | 211 | 0.617937 | 5,410 | 49,696 | 5.403142 | 0.045471 | 0.033116 | 0.051247 | 0.025863 | 0.965824 | 0.963942 | 0.952756 | 0.949711 | 0.932982 | 0.916938 | 0 | 0.012629 | 0.313265 | 49,696 | 1,065 | 212 | 46.662911 | 0.843882 | 0.472372 | 0 | 0.742616 | 1 | 0 | 0.225149 | 0.086017 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031646 | false | 0 | 0.010549 | 0 | 0.07384 | 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 |
5170d937fa6d2e80e0c937a48caf5fe62b3ec90c | 13,439 | py | Python | driver/helper/SYNHelper_Dilate_Gate_Richer_Lcon_Lpercep_Lsty.py | qgking/FRGAN | b6a250c46981707c43c3889f80d8cc3ec31edaaf | [
"MIT"
] | 2 | 2021-08-10T02:38:23.000Z | 2021-08-10T03:04:22.000Z | driver/helper/SYNHelper_Dilate_Gate_Richer_Lcon_Lpercep_Lsty.py | qgking/FRGAN | b6a250c46981707c43c3889f80d8cc3ec31edaaf | [
"MIT"
] | 1 | 2022-02-21T15:57:03.000Z | 2022-02-21T15:57:03.000Z | driver/helper/SYNHelper_Dilate_Gate_Richer_Lcon_Lpercep_Lsty.py | qgking/FRGAN | b6a250c46981707c43c3889f80d8cc3ec31edaaf | [
"MIT"
] | 2 | 2021-11-07T13:25:51.000Z | 2022-01-18T07:09:30.000Z | from tumor_data.SYNDataLoader import *
from tensorboardX import SummaryWriter
from torchsummaryX import summary
from driver.helper.base_syn_helper import BaseTrainHelper
class SYNHelper_Dilate_Gate_Richer_Lcon_Lpercep_Lsty(BaseTrainHelper):
def __init__(self, generator, discriminator,
criterions,... | 42.394322 | 116 | 0.59997 | 1,659 | 13,439 | 4.515371 | 0.069922 | 0.065412 | 0.038179 | 0.036043 | 0.923909 | 0.923909 | 0.923909 | 0.913229 | 0.913229 | 0.913229 | 0 | 0.008575 | 0.305826 | 13,439 | 316 | 117 | 42.528481 | 0.794405 | 0.11608 | 0 | 0.909871 | 0 | 0 | 0.081854 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021459 | false | 0 | 0.017167 | 0 | 0.055794 | 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 |
5174933140d42078b4f9d436b244d3c0b4964e07 | 552,668 | py | Python | rqctp/structs.py | ricequant/rqctp | 49bca74b51d37d6aa334b902f7e1d1124a577243 | [
"Apache-2.0"
] | 4 | 2019-11-10T06:14:42.000Z | 2022-02-15T01:11:40.000Z | rqctp/structs.py | ricequant/rqctp | 49bca74b51d37d6aa334b902f7e1d1124a577243 | [
"Apache-2.0"
] | 1 | 2019-12-13T01:09:12.000Z | 2021-02-05T03:04:23.000Z | rqctp/structs.py | ricequant/rqctp | 49bca74b51d37d6aa334b902f7e1d1124a577243 | [
"Apache-2.0"
] | 2 | 2019-11-10T06:14:56.000Z | 2020-04-27T16:56:20.000Z | # -*- coding: utf-8 -*-
#
# Copyright 2019 Ricequant, Inc
#
# * Commercial Usage: please contact public@ricequant.com
# * Non-Commercial Usage:
# 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 ... | 38.236336 | 1,215 | 0.616005 | 52,697 | 552,668 | 6.225459 | 0.021292 | 0.045159 | 0.086407 | 0.01529 | 0.907862 | 0.895535 | 0.889122 | 0.876874 | 0.864209 | 0.853909 | 0 | 0.01149 | 0.272153 | 552,668 | 14,453 | 1,216 | 38.238982 | 0.804064 | 0.001247 | 0 | 0.874308 | 0 | 0 | 0.090793 | 0.003796 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026395 | false | 0.016599 | 0.00015 | 0 | 0.079333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
51acef59bd8970f0eff0cb4af97ae09cdca66646 | 2,847 | py | Python | tests/charts-out/test_graphics_charts_legends_sample2c.py | debragail/reportlab-mirror | 1e5814e1313ed50d5abb65487b207711cb4f7595 | [
"BSD-3-Clause"
] | 1 | 2020-05-21T23:34:55.000Z | 2020-05-21T23:34:55.000Z | tests/charts-out/test_graphics_charts_legends_sample2c.py | debragail/reportlab-mirror | 1e5814e1313ed50d5abb65487b207711cb4f7595 | [
"BSD-3-Clause"
] | null | null | null | tests/charts-out/test_graphics_charts_legends_sample2c.py | debragail/reportlab-mirror | 1e5814e1313ed50d5abb65487b207711cb4f7595 | [
"BSD-3-Clause"
] | null | null | null | #Autogenerated by ReportLab guiedit do not edit
from reportlab.graphics.shapes import _DrawingEditorMixin, Drawing, Group, Rect, String
from reportlab.lib.colors import Color, CMYKColor, PCMYKColor
class ExplodedDrawing_Drawing(_DrawingEditorMixin,Drawing):
def __init__(self,width=200,height=100,*args,**kw):
Drawin... | 105.444444 | 226 | 0.778012 | 465 | 2,847 | 4.72043 | 0.178495 | 0.03098 | 0.024601 | 0.05467 | 0.784055 | 0.784055 | 0.784055 | 0.784055 | 0.784055 | 0.782232 | 0 | 0.09953 | 0.029505 | 2,847 | 26 | 227 | 109.5 | 0.694897 | 0.01967 | 0 | 0 | 1 | 0 | 0.055934 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.090909 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cfc30ca6802807cfa04dde39d0026d4ddcc6ff78 | 19,052 | py | Python | tests/test_blueprint.py | celery/bootsteps | f2e788edb182d54037c5f2b9fad28dc81f701f8e | [
"BSD-3-Clause"
] | null | null | null | tests/test_blueprint.py | celery/bootsteps | f2e788edb182d54037c5f2b9fad28dc81f701f8e | [
"BSD-3-Clause"
] | 1 | 2019-10-24T16:46:50.000Z | 2019-10-24T16:46:50.000Z | tests/test_blueprint.py | celery/bootsteps | f2e788edb182d54037c5f2b9fad28dc81f701f8e | [
"BSD-3-Clause"
] | 1 | 2019-09-29T03:36:17.000Z | 2019-09-29T03:36:17.000Z | from unittest.mock import call
import pytest
import trio
from asynctest import MagicMock, Mock
from eliot.testing import LoggedAction, LoggedMessage
from bootsteps import AsyncStep, Blueprint
from bootsteps.blueprint import BlueprintState, ExecutionOrder
from tests.assertions import (
assert_log_message_field_equ... | 36.220532 | 100 | 0.726433 | 2,384 | 19,052 | 5.382131 | 0.062919 | 0.022212 | 0.051438 | 0.063128 | 0.915283 | 0.90258 | 0.875068 | 0.855039 | 0.843192 | 0.833294 | 0 | 0.017305 | 0.184075 | 19,052 | 525 | 101 | 36.289524 | 0.808106 | 0.026139 | 0 | 0.721823 | 0 | 0 | 0.063589 | 0.022922 | 0 | 0 | 0 | 0 | 0.258993 | 1 | 0.009592 | false | 0 | 0.021583 | 0.004796 | 0.035971 | 0.170264 | 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 |
cfc97828ba5f7d7cac524f9a6edad1429c2ebf44 | 4,407 | py | Python | src/genie/libs/parser/nxos/tests/ShowIpv6Routers/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/nxos/tests/ShowIpv6Routers/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/nxos/tests/ShowIpv6Routers/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z |
expected_output = {
"interfaces": {
"Ethernet1/3": {
"neighbors": {
"fe80::f816:3eff:feff:9f9b": {
"homeagent_flag": 0,
"is_router": True,
"addr_flag": 0,
"ip": "fe80::f816:3eff:feff:9f9b",
... | 36.421488 | 57 | 0.319492 | 288 | 4,407 | 4.690972 | 0.194444 | 0.044412 | 0.071058 | 0.094745 | 0.916358 | 0.757957 | 0.757957 | 0.757957 | 0.757957 | 0.757957 | 0 | 0.145304 | 0.562741 | 4,407 | 120 | 58 | 36.725 | 0.555786 | 0 | 0 | 0.576271 | 0 | 0 | 0.300568 | 0.045403 | 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 |
5c64328fbca10492a313313e0c42e36863e35caf | 73 | py | Python | dm_gym/utils/__init__.py | ashwin-M-D/DM-Gym | f468c175d16b09d88edc21d77b6755ca2d35fc13 | [
"BSD-3-Clause"
] | null | null | null | dm_gym/utils/__init__.py | ashwin-M-D/DM-Gym | f468c175d16b09d88edc21d77b6755ca2d35fc13 | [
"BSD-3-Clause"
] | null | null | null | dm_gym/utils/__init__.py | ashwin-M-D/DM-Gym | f468c175d16b09d88edc21d77b6755ca2d35fc13 | [
"BSD-3-Clause"
] | null | null | null | from dm_gym.utils.data_gen import *
from dm_gym.utils.livegraph import *
| 24.333333 | 36 | 0.808219 | 13 | 73 | 4.307692 | 0.615385 | 0.214286 | 0.321429 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 73 | 2 | 37 | 36.5 | 0.861538 | 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 |
5ca5d7d628e05105b3d5c578b83330687b5d4823 | 11,472 | py | Python | src/volumetric_src/network_training/networks.py | tjosc/Protein-Structure-Exploration | 6b25affa1ccceb3ebf5d7236861bc0cbcd3d7ad8 | [
"MIT"
] | null | null | null | src/volumetric_src/network_training/networks.py | tjosc/Protein-Structure-Exploration | 6b25affa1ccceb3ebf5d7236861bc0cbcd3d7ad8 | [
"MIT"
] | null | null | null | src/volumetric_src/network_training/networks.py | tjosc/Protein-Structure-Exploration | 6b25affa1ccceb3ebf5d7236861bc0cbcd3d7ad8 | [
"MIT"
] | 1 | 2019-04-04T19:06:15.000Z | 2019-04-04T19:06:15.000Z | '''
networks.py
Updated: 12/29/17
README:
'''
# For Neural Network
from keras.models import Model
from keras.optimizers import Adam
from keras.metrics import categorical_accuracy
from keras.losses import categorical_crossentropy
from keras.layers.normalization import BatchNormalization
from keras.layers import Conv1... | 31.005405 | 93 | 0.613319 | 1,683 | 11,472 | 4.114676 | 0.095663 | 0.017617 | 0.054152 | 0.057762 | 0.847076 | 0.840289 | 0.834657 | 0.831191 | 0.826859 | 0.770542 | 0 | 0.087671 | 0.204585 | 11,472 | 369 | 94 | 31.089431 | 0.671233 | 0.08682 | 0 | 0.745455 | 0 | 0 | 0.042452 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059091 | false | 0 | 0.054545 | 0 | 0.172727 | 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 |
5ce42b56528ba7523255614982035678a030ad24 | 1,772 | py | Python | tests/test_fixed.py | andriyor/agate | 9b12d4bcc75bf3788e0774e23188f4409c3e7519 | [
"MIT"
] | 663 | 2016-02-16T13:43:00.000Z | 2022-03-13T17:21:19.000Z | tests/test_fixed.py | andriyor/agate | 9b12d4bcc75bf3788e0774e23188f4409c3e7519 | [
"MIT"
] | 347 | 2015-08-28T13:46:37.000Z | 2016-02-16T01:53:06.000Z | tests/test_fixed.py | andriyor/agate | 9b12d4bcc75bf3788e0774e23188f4409c3e7519 | [
"MIT"
] | 122 | 2016-02-23T02:43:24.000Z | 2022-03-04T17:21:14.000Z | #!/usr/bin/env python
try:
import unittest2 as unittest
except ImportError:
import unittest
from agate import csv, fixed
class TestFixed(unittest.TestCase):
def test_reader(self):
with open('examples/testfixed_converted.csv') as f:
csv_reader = csv.Reader(f)
csv_header = ... | 34.076923 | 72 | 0.642777 | 221 | 1,772 | 4.923077 | 0.167421 | 0.090993 | 0.132353 | 0.206801 | 0.829963 | 0.829963 | 0.829963 | 0.829963 | 0.829963 | 0.782169 | 0 | 0.00077 | 0.26693 | 1,772 | 51 | 73 | 34.745098 | 0.836798 | 0.011287 | 0 | 0.578947 | 0 | 0 | 0.135351 | 0.104512 | 0 | 0 | 0 | 0 | 0.157895 | 1 | 0.078947 | false | 0 | 0.105263 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7aa8cc92b1f1750f6ec2545abff7dd84f35f1060 | 68,566 | py | Python | benchmarks/SimResults/micro_pinned_train_combos_splash/cmpD_choleskybarnesfftwater.sp/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/micro_pinned_train_combos_splash/cmpD_choleskybarnesfftwater.sp/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/micro_pinned_train_combos_splash/cmpD_choleskybarnesfftwater.sp/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate... | 75.017505 | 124 | 0.681883 | 8,082 | 68,566 | 5.779015 | 0.067434 | 0.123667 | 0.113048 | 0.093521 | 0.940051 | 0.932022 | 0.919368 | 0.886974 | 0.862352 | 0.843168 | 0 | 0.131246 | 0.22447 | 68,566 | 914 | 125 | 75.017505 | 0.747099 | 0 | 0 | 0.642232 | 0 | 0 | 0.657824 | 0.048128 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8fc4bec5f6473acf09666ea1528eb3c991276156 | 4,517 | py | Python | tests/unit/raptiformica/shell/git/test_ensure_latest_source.py | vdloo/raptiformica | e2807e5e913312034161efcbd74525a4b15b37e7 | [
"MIT"
] | 21 | 2016-09-04T11:27:31.000Z | 2019-10-30T08:23:14.000Z | tests/unit/raptiformica/shell/git/test_ensure_latest_source.py | vdloo/raptiformica | e2807e5e913312034161efcbd74525a4b15b37e7 | [
"MIT"
] | 5 | 2017-09-17T15:59:37.000Z | 2018-02-03T14:53:32.000Z | tests/unit/raptiformica/shell/git/test_ensure_latest_source.py | vdloo/raptiformica | e2807e5e913312034161efcbd74525a4b15b37e7 | [
"MIT"
] | 2 | 2017-11-21T18:14:51.000Z | 2017-11-22T01:20:45.000Z | from os.path import join
from raptiformica.settings import conf
from raptiformica.shell.git import ensure_latest_source
from tests.testcase import TestCase
class TestEnsureLatestSource(TestCase):
def setUp(self):
self.log = self.set_up_patch('raptiformica.shell.git.log')
self.run_command = self.s... | 38.939655 | 103 | 0.6677 | 552 | 4,517 | 5.117754 | 0.146739 | 0.144425 | 0.210265 | 0.140177 | 0.821239 | 0.798584 | 0.732035 | 0.703009 | 0.703009 | 0.662655 | 0 | 0.027944 | 0.2236 | 4,517 | 115 | 104 | 39.278261 | 0.777588 | 0 | 0 | 0.478723 | 0 | 0 | 0.227585 | 0.053133 | 0 | 0 | 0 | 0 | 0.095745 | 1 | 0.106383 | false | 0 | 0.042553 | 0 | 0.159574 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
64e372098b425387407ebadf2f2d47e44e709790 | 1,090 | py | Python | tests/test_security.py | Club-Alpin-Annecy/Flask-Images | 5c0d4028d3e6e04769ab7bb68258c02cd4769406 | [
"BSD-3-Clause"
] | 75 | 2015-01-07T20:25:53.000Z | 2021-11-01T17:49:00.000Z | tests/test_security.py | Club-Alpin-Annecy/Flask-Images | 5c0d4028d3e6e04769ab7bb68258c02cd4769406 | [
"BSD-3-Clause"
] | 30 | 2015-01-07T19:57:58.000Z | 2021-08-31T09:14:33.000Z | tests/test_security.py | Club-Alpin-Annecy/Flask-Images | 5c0d4028d3e6e04769ab7bb68258c02cd4769406 | [
"BSD-3-Clause"
] | 46 | 2015-01-14T03:09:03.000Z | 2022-02-01T20:18:50.000Z | from . import *
class TestSecurity(TestCase):
def test_path_normalization(self):
self.assertRaises(ValueError, url_for, 'images', filename='/etc//passwd')
self.assertRaises(ValueError, url_for, 'images', filename='/./etc/passwd')
self.assertRaises(ValueError, url_for, 'images', filename='... | 43.6 | 100 | 0.683486 | 128 | 1,090 | 5.65625 | 0.257813 | 0.09116 | 0.18232 | 0.303867 | 0.790055 | 0.730663 | 0.730663 | 0.730663 | 0.725138 | 0.63674 | 0 | 0 | 0.149541 | 1,090 | 24 | 101 | 45.416667 | 0.781014 | 0 | 0 | 0 | 0 | 0 | 0.250689 | 0.022039 | 0 | 0 | 0 | 0 | 0.470588 | 1 | 0.235294 | false | 0.411765 | 0.058824 | 0 | 0.352941 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 10 |
8f616923183bea6d7cf99837c09050a664b5e6a8 | 3,890 | py | Python | src/utils/distance.py | aliFrancis/mars-crater-catalogue | 5e6ac4e1f7967b1d37d95e436edaa31ef2f2ed55 | [
"CC-BY-4.0"
] | null | null | null | src/utils/distance.py | aliFrancis/mars-crater-catalogue | 5e6ac4e1f7967b1d37d95e436edaa31ef2f2ed55 | [
"CC-BY-4.0"
] | null | null | null | src/utils/distance.py | aliFrancis/mars-crater-catalogue | 5e6ac4e1f7967b1d37d95e436edaa31ef2f2ed55 | [
"CC-BY-4.0"
] | null | null | null | import math
def flat_2D(point1,point2):
if point1[0] == point2[0]:
return 999999999.
else:
return math.sqrt((point1[2]-point2[2])**2 + (point1[3]-point2[3])**2)
def flat_3D(point1,point2):
if point1[0] == point2[0]:
return 999999999.
else:
return math.sqrt((point1[2]-po... | 33.534483 | 132 | 0.581234 | 701 | 3,890 | 3.201141 | 0.115549 | 0.121658 | 0.053476 | 0.053476 | 0.83779 | 0.83779 | 0.83779 | 0.83779 | 0.83779 | 0.83779 | 0 | 0.131492 | 0.217995 | 3,890 | 115 | 133 | 33.826087 | 0.60618 | 0.164781 | 0 | 0.78481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088608 | false | 0 | 0.012658 | 0 | 0.35443 | 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 |
8f7317b815ca2b0393a7024800c1ee73979e937f | 155 | py | Python | src/spaceone/monitoring/info/__init__.py | jihyungSong/plugin-aws-health | a3e43dff6c7c5c2e911bc5141807e124ee8be2fe | [
"Apache-2.0"
] | 2 | 2020-06-22T01:48:21.000Z | 2020-08-07T05:22:55.000Z | src/spaceone/monitoring/info/__init__.py | jihyungSong/plugin-aws-health | a3e43dff6c7c5c2e911bc5141807e124ee8be2fe | [
"Apache-2.0"
] | null | null | null | src/spaceone/monitoring/info/__init__.py | jihyungSong/plugin-aws-health | a3e43dff6c7c5c2e911bc5141807e124ee8be2fe | [
"Apache-2.0"
] | 3 | 2020-09-09T03:34:25.000Z | 2021-03-25T05:19:40.000Z | from spaceone.monitoring.info.log_info import *
from spaceone.monitoring.info.common_info import *
from spaceone.monitoring.info.data_source_info import *
| 38.75 | 55 | 0.845161 | 22 | 155 | 5.772727 | 0.409091 | 0.283465 | 0.519685 | 0.614173 | 0.566929 | 0.566929 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077419 | 155 | 3 | 56 | 51.666667 | 0.888112 | 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 |
71058c27eebdcb5c964f297ce99e6fad8a6e016d | 5,590 | py | Python | X/don.py | PikriArt31/FULL-SPAM3 | 35b36e912f07f6d3280557c5e4e6f1addb386332 | [
"BSD-3-Clause"
] | null | null | null | X/don.py | PikriArt31/FULL-SPAM3 | 35b36e912f07f6d3280557c5e4e6f1addb386332 | [
"BSD-3-Clause"
] | null | null | null | X/don.py | PikriArt31/FULL-SPAM3 | 35b36e912f07f6d3280557c5e4e6f1addb386332 | [
"BSD-3-Clause"
] | null | null | null | #Compiled By ANKER
#https://github.com/4NK3R
import marshal
exec(marshal.loads(b'\xe3\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00@\x00\x00\x00s\x1a\x00\x00\x00d\x00d\x01l\x00Z\x00e\x01e\x00\xa0\x02d\x02\xa1\x01\x83\x01\x01\x00d\x01S\x00)\x03\xe9\x00\x00\x00\x00Ns\t\x08\x00\x00\xe3\x0... | 1,397.5 | 5,530 | 0.732021 | 1,216 | 5,590 | 3.300164 | 0.1875 | 0.201844 | 0.172689 | 0.227261 | 0.441814 | 0.388737 | 0.359831 | 0.314229 | 0.291802 | 0.291802 | 0 | 0.352519 | 0.027191 | 5,590 | 4 | 5,530 | 1,397.5 | 0.385436 | 0.007335 | 0 | 0 | 0 | 2 | 0.486842 | 0.469178 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 12 |
712c5ae8b15a0cf7a1905db3a6ce55acc0336956 | 104 | py | Python | structmechmod/__init__.py | sisl/structmechmod | 069d680822e9aae7e4e198454048be59d632415d | [
"MIT"
] | 5 | 2020-06-11T18:08:08.000Z | 2020-12-28T15:24:46.000Z | structmechmod/__init__.py | sisl/structmechmod | 069d680822e9aae7e4e198454048be59d632415d | [
"MIT"
] | 1 | 2020-10-21T04:46:32.000Z | 2020-10-26T18:50:42.000Z | structmechmod/__init__.py | sisl/structmechmod | 069d680822e9aae7e4e198454048be59d632415d | [
"MIT"
] | 2 | 2020-06-11T18:07:49.000Z | 2020-11-13T17:00:34.000Z | from structmechmod import rigidbody
from structmechmod import trainer
from structmechmod import models
| 20.8 | 35 | 0.875 | 12 | 104 | 7.583333 | 0.5 | 0.56044 | 0.758242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 104 | 4 | 36 | 26 | 1 | 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 |
857756fbb2a1d267ada189e634c659f5ce1ff32b | 723 | py | Python | libs/fft.py | gatheluck/FeatureVisualizer | cb35a2d9f6581f485638e8607a6ae15cdac886ec | [
"MIT"
] | null | null | null | libs/fft.py | gatheluck/FeatureVisualizer | cb35a2d9f6581f485638e8607a6ae15cdac886ec | [
"MIT"
] | null | null | null | libs/fft.py | gatheluck/FeatureVisualizer | cb35a2d9f6581f485638e8607a6ae15cdac886ec | [
"MIT"
] | null | null | null | import torch
def fft_shift(input: torch.Tensor) -> torch.Tensor:
"""
PyTorch version of np.fftshift
Args
- input: (Bx)CxHxWx2
Return
- ret: (Bx)CxHxWx2
"""
dims = [i for i in range(1 if input.dim() == 4 else 2, input.dim() - 1)] # H, W
shift = [input.size(dim) // 2 for dim in dim... | 24.1 | 88 | 0.583679 | 111 | 723 | 3.783784 | 0.315315 | 0.095238 | 0.071429 | 0.1 | 0.852381 | 0.780952 | 0.780952 | 0.780952 | 0.780952 | 0.780952 | 0 | 0.028302 | 0.266943 | 723 | 29 | 89 | 24.931034 | 0.764151 | 0.24758 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.555556 | 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 | 1 | 0 | 0 | 8 |
859867a24e0aac1d56963e7038977cd9833ddd3a | 45 | py | Python | tests/testlib/testlib_a/sublib_b/__init__.py | bayashi-cl/expander | b3623b656a71801233797e05781295a6101fefd8 | [
"CC0-1.0"
] | null | null | null | tests/testlib/testlib_a/sublib_b/__init__.py | bayashi-cl/expander | b3623b656a71801233797e05781295a6101fefd8 | [
"CC0-1.0"
] | 1 | 2022-03-12T20:41:21.000Z | 2022-03-13T06:34:30.000Z | tests/testlib/testlib_a/sublib_b/__init__.py | bayashi-cl/expander | b3623b656a71801233797e05781295a6101fefd8 | [
"CC0-1.0"
] | null | null | null | from .sub_ba import print_name_sublib_sub_ba
| 22.5 | 44 | 0.888889 | 9 | 45 | 3.888889 | 0.777778 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.853659 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 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 | 1 | 0 | 8 |
a420821f20e11fb88460428f0caa416808391f4f | 37,942 | py | Python | hershey.py | chrisb2/air-quality | 9dd0c7b836467b3a262d7e09ae86d4bce6ac8e00 | [
"MIT"
] | 17 | 2018-07-24T17:41:58.000Z | 2021-06-23T12:02:21.000Z | hershey.py | chrisb2/air-quality | 9dd0c7b836467b3a262d7e09ae86d4bce6ac8e00 | [
"MIT"
] | null | null | null | hershey.py | chrisb2/air-quality | 9dd0c7b836467b3a262d7e09ae86d4bce6ac8e00 | [
"MIT"
] | 3 | 2018-07-24T17:41:59.000Z | 2019-09-19T19:17:31.000Z | """Hershey Vector Font.
See http://paulbourke.net/dataformats/hershey/
"""
# print(hershey.simplex[0])
simplex = [
[0,16, # Ascii 32
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1,-1,-1,-1,... | 65.530225 | 76 | 0.33256 | 10,844 | 37,942 | 1.163593 | 0.012634 | 1.278016 | 1.872325 | 2.466318 | 0.821049 | 0.811143 | 0.801712 | 0.792439 | 0.784831 | 0.781027 | 0 | 0.378392 | 0.159849 | 37,942 | 578 | 77 | 65.643599 | 0.017442 | 0.02575 | 0 | 0.694056 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 12 |
a4572f9162dadd3cfbe700bcdc7d618ca3e655fa | 17,466 | py | Python | Psst/main.py | jasonkwh/prev-assignments | 7021ec48b03d882c59ff044f554d73b6884a4919 | [
"MIT"
] | null | null | null | Psst/main.py | jasonkwh/prev-assignments | 7021ec48b03d882c59ff044f554d73b6884a4919 | [
"MIT"
] | null | null | null | Psst/main.py | jasonkwh/prev-assignments | 7021ec48b03d882c59ff044f554d73b6884a4919 | [
"MIT"
] | null | null | null | __author__ = 'Hanxiang Huang'
from bottle import Bottle, template, static_file, request, response, HTTPError
import interface
from database import COMP249Db
from users import check_login, session_user, delete_session, generate_session
application = Bottle()
COOKIE_NAME = 'sessionid'
@application.route('/')
def inde... | 61.717314 | 417 | 0.582331 | 2,208 | 17,466 | 4.568388 | 0.091033 | 0.026767 | 0.026767 | 0.033905 | 0.838208 | 0.831665 | 0.816794 | 0.807772 | 0.788242 | 0.777635 | 0 | 0.013197 | 0.245105 | 17,466 | 283 | 418 | 61.717314 | 0.751839 | 0.190313 | 0 | 0.787879 | 0 | 0.060606 | 0.344837 | 0.091415 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034632 | false | 0.030303 | 0.017316 | 0.004329 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a4671a928c0178fbe90016c417d1223e45dca1ef | 346 | py | Python | abfahrt/classes/__init__.py | Team-Zugig-zum-Erfolg/InformatiCup | 788076ac38bf6d8f462465b7fb96db14d13bed30 | [
"MIT"
] | 1 | 2022-01-30T14:30:02.000Z | 2022-01-30T14:30:02.000Z | abfahrt/classes/__init__.py | Team-Zugig-zum-Erfolg/InformatiCup | 788076ac38bf6d8f462465b7fb96db14d13bed30 | [
"MIT"
] | null | null | null | abfahrt/classes/__init__.py | Team-Zugig-zum-Erfolg/InformatiCup | 788076ac38bf6d8f462465b7fb96db14d13bed30 | [
"MIT"
] | null | null | null | """
This is the classes-Package that includes all entity classes
"""
from abfahrt.classes.Station import *
from abfahrt.classes.Passenger import *
from abfahrt.classes.Line import *
from abfahrt.classes.Train import *
from abfahrt.classes.TrainInLine import *
from abfahrt.classes.TrainInStation import *
from abfahr... | 31.454545 | 64 | 0.794798 | 45 | 346 | 6.111111 | 0.422222 | 0.28 | 0.458182 | 0.523636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124277 | 346 | 10 | 65 | 34.6 | 0.907591 | 0.17341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.142857 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
8efbdd3281b41b96a883fd15667de1c9b00ed28a | 9,069 | py | Python | util/nml-utils/library_nml.py | c3s-magic/ESMValTool | 799150e4784f334262755a39022c72b2d39585c9 | [
"Apache-2.0"
] | null | null | null | util/nml-utils/library_nml.py | c3s-magic/ESMValTool | 799150e4784f334262755a39022c72b2d39585c9 | [
"Apache-2.0"
] | null | null | null | util/nml-utils/library_nml.py | c3s-magic/ESMValTool | 799150e4784f334262755a39022c72b2d39585c9 | [
"Apache-2.0"
] | 2 | 2017-03-24T04:18:09.000Z | 2020-12-19T06:04:05.000Z | import pdb
import re
import xml.sax
class NamelistError(Exception):
def __init__(self, value):
self.value = value
def __str__(self):
return repr(self.value)
class splitDiags(xml.sax.handler.ContentHandler):
""" @brief SAX handler class for parsing ESMValTool namelists
SAX handl... | 35.015444 | 100 | 0.55607 | 985 | 9,069 | 5.04467 | 0.093401 | 0.121151 | 0.099618 | 0.104246 | 0.905615 | 0.891125 | 0.887905 | 0.887905 | 0.882673 | 0.882673 | 0 | 0.000654 | 0.325394 | 9,069 | 258 | 101 | 35.151163 | 0.81154 | 0.270041 | 0 | 0.807947 | 0 | 0 | 0.065576 | 0.003434 | 0 | 0 | 0 | 0 | 0 | 1 | 0.145695 | false | 0 | 0.019868 | 0.006623 | 0.211921 | 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 |
f1372a617355936ee73bad7f07c59d3284f903f0 | 13,974 | py | Python | pixelcnn/pixelcnn_plus_plus.py | jrmylee/pixelcnn | 77bf8eb43547bc8ff1e254d961d81141900c0a58 | [
"MIT"
] | 2 | 2020-05-18T18:04:22.000Z | 2020-05-18T19:00:11.000Z | pixelcnn/pixelcnn_plus_plus.py | jrmylee/pixelcnn | 77bf8eb43547bc8ff1e254d961d81141900c0a58 | [
"MIT"
] | 3 | 2020-01-27T02:47:02.000Z | 2022-02-09T23:38:40.000Z | pixelcnn/pixelcnn_plus_plus.py | jrmylee/pixelcnn | 77bf8eb43547bc8ff1e254d961d81141900c0a58 | [
"MIT"
] | 2 | 2020-05-18T19:02:54.000Z | 2021-12-02T07:07:03.000Z | """Author: Brandon Trabucco, Copyright 2020, MIT License"""
from pixelcnn.gated_resnet import gated_resnet
from pixelcnn.ops import down_shifted_conv2d
from pixelcnn.ops import down_right_shifted_conv2d
from pixelcnn.ops import down_shifted_conv2d_transpose
from pixelcnn.ops import down_right_shifted_conv2d_tr... | 33.917476 | 82 | 0.521898 | 1,395 | 13,974 | 4.960573 | 0.116846 | 0.038439 | 0.034393 | 0.03815 | 0.838873 | 0.818497 | 0.818497 | 0.798555 | 0.762139 | 0.762139 | 0 | 0.020267 | 0.325605 | 13,974 | 411 | 83 | 34 | 0.714028 | 0.181194 | 0 | 0.850575 | 0 | 0 | 0.005463 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015326 | false | 0 | 0.042146 | 0.007663 | 0.072797 | 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 |
f137b80e405c15ba58855ca3ca394df1d3231139 | 150,492 | py | Python | bin/plot_validation_sim_results.py | phyletica/ecoevolity-experiments | bb16e34c4c7495feaa68653df98d5fbead93cf44 | [
"CC-BY-4.0"
] | null | null | null | bin/plot_validation_sim_results.py | phyletica/ecoevolity-experiments | bb16e34c4c7495feaa68653df98d5fbead93cf44 | [
"CC-BY-4.0"
] | null | null | null | bin/plot_validation_sim_results.py | phyletica/ecoevolity-experiments | bb16e34c4c7495feaa68653df98d5fbead93cf44 | [
"CC-BY-4.0"
] | null | null | null | #! /usr/bin/env python
import sys
import os
import re
import math
import glob
import logging
logging.basicConfig(format='%(levelname)s: %(message)s', level=logging.DEBUG)
_LOG = logging.getLogger(os.path.basename(__file__))
import pycoevolity
import project_util
import matplotlib as mpl
# Use TrueType (42) fonts r... | 41.908104 | 122 | 0.520666 | 16,745 | 150,492 | 4.383756 | 0.033503 | 0.011116 | 0.012969 | 0.017165 | 0.886848 | 0.863322 | 0.844917 | 0.831867 | 0.817454 | 0.79691 | 0 | 0.031216 | 0.372458 | 150,492 | 3,590 | 123 | 41.919777 | 0.746061 | 0.034673 | 0 | 0.788001 | 0 | 0.00373 | 0.103002 | 0.02922 | 0 | 0 | 0 | 0 | 0.020827 | 1 | 0.008082 | false | 0.000622 | 0.003419 | 0 | 0.017097 | 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 |
f1425d9038b7ef5c9a403dea3a7ddc3422d3eaac | 19,805 | py | Python | backend/customer_invoicing/tests.py | StichtingIAPC/swipe | d1ea35a40813d2d5e9cf9edde33148c0a825efc4 | [
"BSD-3-Clause-Clear"
] | null | null | null | backend/customer_invoicing/tests.py | StichtingIAPC/swipe | d1ea35a40813d2d5e9cf9edde33148c0a825efc4 | [
"BSD-3-Clause-Clear"
] | null | null | null | backend/customer_invoicing/tests.py | StichtingIAPC/swipe | d1ea35a40813d2d5e9cf9edde33148c0a825efc4 | [
"BSD-3-Clause-Clear"
] | null | null | null | from django.test import TestCase
from tools.testing import TestData
from sales.models import Transaction, SalesTransactionLine, Payment, IncorrectDataException
from money.models import Money, Price, Currency
from customer_invoicing.models import ReceiptCustInvoice, CustInvoice, CustomCustInvoice, CustomInvoiceLine, \
... | 54.709945 | 139 | 0.69235 | 2,261 | 19,805 | 5.797435 | 0.084918 | 0.037687 | 0.033186 | 0.050885 | 0.84437 | 0.816448 | 0.799359 | 0.788755 | 0.761215 | 0.735734 | 0 | 0.018039 | 0.213481 | 19,805 | 361 | 140 | 54.861496 | 0.823458 | 0.02151 | 0 | 0.703704 | 0 | 0 | 0.026966 | 0.011571 | 0 | 0 | 0 | 0 | 0.13468 | 1 | 0.060606 | false | 0.003367 | 0.026936 | 0 | 0.10101 | 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 |
f14569931cfd994f6e73b4959b1254ca180fc464 | 6,045 | py | Python | venv/lib/python3.8/site-packages/keras/api/_v1/keras/backend/__init__.py | JIANG-CX/data_labeling | 8d2470bbb537dfc09ed2f7027ed8ee7de6447248 | [
"MIT"
] | 1 | 2021-05-24T10:08:51.000Z | 2021-05-24T10:08:51.000Z | venv/lib/python3.8/site-packages/keras/api/keras/backend/__init__.py | JIANG-CX/data_labeling | 8d2470bbb537dfc09ed2f7027ed8ee7de6447248 | [
"MIT"
] | null | null | null | venv/lib/python3.8/site-packages/keras/api/keras/backend/__init__.py | JIANG-CX/data_labeling | 8d2470bbb537dfc09ed2f7027ed8ee7de6447248 | [
"MIT"
] | null | null | null | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
"""Public API for tf.keras.backend namespace.
"""
from __future__ import print_function as _print_function
import sys as _sys
from keras.backend import _v1_name_scope as name_scope
from k... | 36.415663 | 82 | 0.858065 | 922 | 6,045 | 5.4718 | 0.212581 | 0.35441 | 0.466204 | 0.614866 | 0.512587 | 0.143905 | 0.019425 | 0.019425 | 0.019425 | 0 | 0 | 0.0026 | 0.109181 | 6,045 | 165 | 83 | 36.636364 | 0.934262 | 0.027957 | 0 | 0 | 1 | 0 | 0.002215 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.967742 | 0 | 0.967742 | 0.019355 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f16a496e8dfe452b1cf2e5c2aa75e8201dab53d3 | 30,102 | py | Python | tests/test_flatql_parser.py | Agile-Data/flat-ql | 3212ae9d0ec4ba822c065bb5e4beccf9e936971b | [
"MIT"
] | 3 | 2022-03-21T05:03:39.000Z | 2022-03-23T01:32:51.000Z | tests/test_flatql_parser.py | Agile-Data/flat-ql | 3212ae9d0ec4ba822c065bb5e4beccf9e936971b | [
"MIT"
] | null | null | null | tests/test_flatql_parser.py | Agile-Data/flat-ql | 3212ae9d0ec4ba822c065bb5e4beccf9e936971b | [
"MIT"
] | null | null | null | import pytest
from flatql.parser.ast import FlatQL, QualifiedName, FunctionCall, Comparison, Between, In, IsNull, \
Literal, Like, View, Column, Identifier, Table, BinaryExpression, ParenExpression, CaseExpression, \
LogicalExpression, ArrayLiteral
from flatql.parser.flatql_parser import parse_flatql, parse_qu... | 50.762226 | 130 | 0.712511 | 3,927 | 30,102 | 5.335625 | 0.036924 | 0.087147 | 0.052403 | 0.080895 | 0.925977 | 0.880781 | 0.830955 | 0.803322 | 0.776213 | 0.742328 | 0 | 0.021519 | 0.180254 | 30,102 | 592 | 131 | 50.847973 | 0.827606 | 0.025081 | 0 | 0.445887 | 0 | 0.012987 | 0.272089 | 0.003922 | 0 | 0 | 0 | 0 | 0.655844 | 1 | 0.088745 | false | 0 | 0.006494 | 0 | 0.095238 | 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 |
74c28c94708e7af8a8478ee68c11bd533e7f7f4c | 18,920 | py | Python | tests/test_mzn.py | sthiele/flatzingo | 2a2aa263a7b44b8773358267352321f439cc31ce | [
"MIT"
] | 1 | 2020-05-19T12:31:30.000Z | 2020-05-19T12:31:30.000Z | tests/test_mzn.py | sthiele/flatzingo | 2a2aa263a7b44b8773358267352321f439cc31ce | [
"MIT"
] | 9 | 2020-05-19T10:21:37.000Z | 2020-07-02T08:58:23.000Z | tests/test_mzn.py | sthiele/flatzingo | 2a2aa263a7b44b8773358267352321f439cc31ce | [
"MIT"
] | null | null | null | from run import check
import itertools
import math
import operator
def toBool(*arg):
ret = []
for i in range(0,len(arg),2):
if arg[i]:
ret.append(f'var("{arg[i+1]}")')
return ret
BOOL = [False, True]
def test_mzn_slow():
### integer builtins
check("tests/mzn/array_var_int_element_1.mzn", [[... | 124.473684 | 423 | 0.585994 | 4,212 | 18,920 | 2.565052 | 0.037987 | 0.029989 | 0.10709 | 0.129859 | 0.925768 | 0.88967 | 0.8607 | 0.844872 | 0.827842 | 0.79813 | 0 | 0.064317 | 0.136311 | 18,920 | 151 | 424 | 125.298013 | 0.596842 | 0.103806 | 0 | 0 | 0 | 0 | 0.207747 | 0.142164 | 0 | 0 | 0 | 0.006623 | 0 | 1 | 0.030612 | false | 0 | 0.040816 | 0 | 0.081633 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
74cb7639acb4a2b91c13a9af4f41098a2e3fc78b | 87,658 | py | Python | tests/sync/test.py | luckydonald/derpipy | 3220ca13605f97bb5422cfb2975c54028f42f880 | [
"MIT"
] | null | null | null | tests/sync/test.py | luckydonald/derpipy | 3220ca13605f97bb5422cfb2975c54028f42f880 | [
"MIT"
] | 1 | 2020-07-27T00:39:46.000Z | 2020-07-27T02:27:42.000Z | tests/sync/test.py | derpipy/derpi | 3220ca13605f97bb5422cfb2975c54028f42f880 | [
"MIT"
] | 1 | 2020-03-21T14:40:10.000Z | 2020-03-21T14:40:10.000Z | import unittest
import iso8601
import datetime
from derpi.syncrounous import (
client, Comment, Image, Intensities, Representations, DerpiModel, Tag, Post, User, Filter,
Oembed, Links, Awards, Gallery, Forum, Topic,
)
null = None # jSoN
false = False # JsOn
true = True # JsoN
DerpiModel._assert_consumi... | 181.486542 | 30,765 | 0.824637 | 7,300 | 87,658 | 9.794247 | 0.14 | 0.007273 | 0.015357 | 0.021329 | 0.891661 | 0.876136 | 0.859283 | 0.837716 | 0.826806 | 0.822415 | 0 | 0.147931 | 0.088172 | 87,658 | 482 | 30,766 | 181.863071 | 0.746588 | 0.004826 | 0 | 0.184416 | 0 | 0.124675 | 0.547476 | 0.293301 | 0 | 1 | 0 | 0 | 0.176623 | 1 | 0.098701 | false | 0 | 0.018182 | 0 | 0.132468 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
2d33f59e02c3b3ba1285f6c46055455e6bcb65d7 | 5,264 | py | Python | daiquiri/metadata/migrations/0023_python3.py | agy-why/daiquiri | 4d3e2ce51e202d5a8f1df404a0094a4e018dcb4d | [
"Apache-2.0"
] | 14 | 2018-12-23T18:35:02.000Z | 2021-12-15T04:55:12.000Z | daiquiri/metadata/migrations/0023_python3.py | agy-why/daiquiri | 4d3e2ce51e202d5a8f1df404a0094a4e018dcb4d | [
"Apache-2.0"
] | 40 | 2018-12-20T12:44:05.000Z | 2022-03-21T11:35:20.000Z | daiquiri/metadata/migrations/0023_python3.py | agy-why/daiquiri | 4d3e2ce51e202d5a8f1df404a0094a4e018dcb4d | [
"Apache-2.0"
] | 5 | 2019-05-16T08:03:35.000Z | 2021-08-23T20:03:11.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.16 on 2018-10-22 08:58
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('daiquiri_metadata', '0022_table_size'),
]
operations = [
migrations.AlterF... | 69.263158 | 628 | 0.640767 | 640 | 5,264 | 5.157813 | 0.151563 | 0.014541 | 0.090882 | 0.105423 | 0.891245 | 0.876098 | 0.848531 | 0.848531 | 0.838534 | 0.838534 | 0 | 0.02349 | 0.207447 | 5,264 | 75 | 629 | 70.186667 | 0.767737 | 0.013108 | 0 | 0.823529 | 1 | 0 | 0.480547 | 0.072804 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.029412 | 0 | 0.073529 | 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 |
77872972b56f053eef7a82c2d45f242da89b2f8c | 129 | py | Python | rough_surfaces/__init__.py | SourangshuGhosh/Damage-Mechanics | 579a0d7ed01853f1039329b9a8e030e82d79ba97 | [
"MIT"
] | 14 | 2016-08-04T06:49:58.000Z | 2021-11-23T09:36:26.000Z | rough_surfaces/__init__.py | raincoder87/rough_surfaces | bc2f07a367f9b53e04fd2f6049f10f6b3e2d9a03 | [
"MIT"
] | 6 | 2017-10-04T08:48:48.000Z | 2021-11-19T23:47:41.000Z | rough_surfaces/__init__.py | raincoder87/rough_surfaces | bc2f07a367f9b53e04fd2f6049f10f6b3e2d9a03 | [
"MIT"
] | 7 | 2016-08-04T06:50:10.000Z | 2021-03-24T08:02:24.000Z | from . import analyse
from . import generate
from . import params
from . import contact
from . import surface
from . import plot
| 18.428571 | 22 | 0.767442 | 18 | 129 | 5.5 | 0.444444 | 0.606061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 129 | 6 | 23 | 21.5 | 0.942857 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
77b0ff281585a4583c76a08dc7594cd0c7040b09 | 18,708 | py | Python | code/python/Vermilion/v1/fds/sdk/Vermilion/api/datasource_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 6 | 2022-02-07T16:34:18.000Z | 2022-03-30T08:04:57.000Z | code/python/Vermilion/v1/fds/sdk/Vermilion/api/datasource_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 2 | 2022-02-07T05:25:57.000Z | 2022-03-07T14:18:04.000Z | code/python/Vermilion/v1/fds/sdk/Vermilion/api/datasource_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | null | null | null | """
VRS API documentation
Documentation on all available end points in the VRSAPI # noqa: E501
The version of the OpenAPI document: v1
Generated by: https://openapi-generator.tech
"""
import re # noqa: F401
import sys # noqa: F401
from fds.sdk.Vermilion.api_client import ApiClient, Endpoint as _... | 38.493827 | 206 | 0.526032 | 1,834 | 18,708 | 5.115049 | 0.141767 | 0.035177 | 0.044771 | 0.036457 | 0.801301 | 0.798103 | 0.763991 | 0.753225 | 0.727428 | 0.695022 | 0 | 0.007926 | 0.39304 | 18,708 | 485 | 207 | 38.573196 | 0.81823 | 0.372728 | 0 | 0.625 | 1 | 0 | 0.233989 | 0.051685 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0125 | false | 0 | 0.0375 | 0 | 0.0625 | 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 |
77eae25719ab65656ce734a3c195ad7edd6fa5bd | 2,364 | py | Python | helper.py | RashadGarayev/ColorizeImage | a4364c5be300d6d2dce3bdc32037333640eeeb75 | [
"MIT"
] | null | null | null | helper.py | RashadGarayev/ColorizeImage | a4364c5be300d6d2dce3bdc32037333640eeeb75 | [
"MIT"
] | null | null | null | helper.py | RashadGarayev/ColorizeImage | a4364c5be300d6d2dce3bdc32037333640eeeb75 | [
"MIT"
] | null | null | null | import numpy as np
import cv2
def Image(arg):
net = cv2.dnn.readNetFromCaffe('models/colorization_deploy_v2.prototxt',
'models/colorization_release_v2.caffemodel')
pts = np.load('models/pts_in_hull.npy')
class8 = net.getLayerId("class8_ab")
conv8 = net.getLayerId("con... | 43.777778 | 79 | 0.635364 | 323 | 2,364 | 4.582043 | 0.229102 | 0.036486 | 0.024324 | 0.033784 | 0.825676 | 0.825676 | 0.825676 | 0.825676 | 0.825676 | 0.825676 | 0 | 0.082113 | 0.191201 | 2,364 | 54 | 80 | 43.777778 | 0.691946 | 0 | 0 | 0.745098 | 0 | 0 | 0.129387 | 0.085412 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039216 | false | 0 | 0.039216 | 0 | 0.098039 | 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 |
7ae04e396ac0721a2918a1ccabb6907959fac91f | 37,404 | py | Python | esp_sdk/apis/custom_signature_definitions_api.py | zimmermanc/esp-sdk-python | cdef13c0dc6c3996b6c444160c71b2f1e3910c97 | [
"MIT"
] | 6 | 2017-06-05T20:37:19.000Z | 2019-04-10T08:43:59.000Z | esp_sdk/apis/custom_signature_definitions_api.py | zimmermanc/esp-sdk-python | cdef13c0dc6c3996b6c444160c71b2f1e3910c97 | [
"MIT"
] | 18 | 2016-06-22T16:14:33.000Z | 2018-10-29T21:53:15.000Z | esp_sdk/apis/custom_signature_definitions_api.py | zimmermanc/esp-sdk-python | cdef13c0dc6c3996b6c444160c71b2f1e3910c97 | [
"MIT"
] | 18 | 2016-07-27T19:20:01.000Z | 2020-11-17T02:09:58.000Z | # coding: utf-8
"""
ESP Documentation
The Evident Security Platform API (version 2.0) is designed to allow users granular control over their Amazon Web Service security experience by allowing them to review alerts, monitor signatures, and create custom signatures.
OpenAPI spec version: v2_sdk
Ge... | 45.393204 | 416 | 0.594081 | 3,893 | 37,404 | 5.500385 | 0.063704 | 0.06935 | 0.067716 | 0.050437 | 0.947976 | 0.939149 | 0.933452 | 0.926447 | 0.915659 | 0.910522 | 0 | 0.000518 | 0.329564 | 37,404 | 823 | 417 | 45.44836 | 0.853372 | 0.375655 | 0 | 0.784119 | 0 | 0 | 0.183663 | 0.083851 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037221 | false | 0 | 0.01737 | 0 | 0.109181 | 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 |
bb0b003d09dc863a8654eca0607ec912876d6392 | 17,284 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_man_ems_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_man_ems_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_man_ems_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | """ Cisco_IOS_XR_man_ems_oper
This module contains a collection of YANG definitions
for Cisco IOS\-XR man\-ems package operational data.
This module contains definitions
for the following management objects\:
grpc\: grpc commands
Copyright (c) 2013\-2016 by Cisco Systems, Inc.
All rights reserved.
"""
import r... | 26.14826 | 108 | 0.536276 | 1,778 | 17,284 | 4.899888 | 0.082677 | 0.046832 | 0.051653 | 0.082645 | 0.913338 | 0.907828 | 0.905533 | 0.905533 | 0.905533 | 0.905533 | 0 | 0.076981 | 0.389725 | 17,284 | 660 | 109 | 26.187879 | 0.748957 | 0.399387 | 0 | 0.904762 | 0 | 0.009524 | 0.033233 | 0.01894 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.038095 | 0.014286 | 0.442857 | 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 |
bb385feb2f9abed63283b6f9dfbfb95aefa543de | 11 | py | Python | test/compiler/case/assign-multi-input.py | xupingmao/minipy | 5bce2f238925eb92fe9ff7d935f59ef68daa257a | [
"MIT"
] | 52 | 2016-07-11T10:14:35.000Z | 2021-12-09T09:10:43.000Z | test/compiler/case/assign-multi-input.py | xupingmao/snake | c956f151ed1ebd2faeaf1565352b59ca5a8fa0b4 | [
"MIT"
] | 13 | 2016-07-24T13:50:37.000Z | 2019-03-02T06:56:18.000Z | test/compiler/case/assign-multi-input.py | xupingmao/snake | c956f151ed1ebd2faeaf1565352b59ca5a8fa0b4 | [
"MIT"
] | 9 | 2017-01-27T10:46:04.000Z | 2021-12-09T09:10:46.000Z | a,b,c=1,2,3 | 11 | 11 | 0.545455 | 6 | 11 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 0 | 11 | 1 | 11 | 11 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
247ad4138699df922d3bbdb975ad63b2a82f6d76 | 66 | py | Python | release/1.9/project/defaults.py | fmierlo/django-default-settings | 6e3c506b6cde60fcbea1ac5cb33a69a500416b45 | [
"BSD-3-Clause"
] | null | null | null | release/1.9/project/defaults.py | fmierlo/django-default-settings | 6e3c506b6cde60fcbea1ac5cb33a69a500416b45 | [
"BSD-3-Clause"
] | null | null | null | release/1.9/project/defaults.py | fmierlo/django-default-settings | 6e3c506b6cde60fcbea1ac5cb33a69a500416b45 | [
"BSD-3-Clause"
] | null | null | null | SECRET_KEY = '01234567890123456789012345678901234567890123456789'
| 33 | 65 | 0.909091 | 3 | 66 | 19.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.793651 | 0.045455 | 66 | 1 | 66 | 66 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0.757576 | 0.757576 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
24ae5cc2225d151e21983d629ea7efc60b6c3466 | 62,331 | py | Python | unittest/scripts/py_devapi/validation/mysqlx_collection_modify_prepared.py | mueller/mysql-shell | 29bafc5692bd536a12c4e41c54cb587375fe52cf | [
"Apache-2.0"
] | 119 | 2016-04-14T14:16:22.000Z | 2022-03-08T20:24:38.000Z | unittest/scripts/py_devapi/validation/mysqlx_collection_modify_prepared.py | mueller/mysql-shell | 29bafc5692bd536a12c4e41c54cb587375fe52cf | [
"Apache-2.0"
] | 9 | 2017-04-26T20:48:42.000Z | 2021-09-07T01:52:44.000Z | unittest/scripts/py_devapi/validation/mysqlx_collection_modify_prepared.py | mueller/mysql-shell | 29bafc5692bd536a12c4e41c54cb587375fe52cf | [
"Apache-2.0"
] | 51 | 2016-07-20T05:06:48.000Z | 2022-03-09T01:20:53.000Z | #@<PROTOCOL> First execution is normal
>>>> SEND Mysqlx.Crud.Update {
collection {
name: "test_collection"
schema: "prepared_stmt"
}
data_model: DOCUMENT
criteria {
type: LITERAL
literal {
type: V_UINT
v_unsigned_int: 1
}
}
operation {
source {
document_path {
... | 18.305727 | 86 | 0.376442 | 5,180 | 62,331 | 4.407915 | 0.025097 | 0.055796 | 0.096177 | 0.117549 | 0.994963 | 0.992774 | 0.989664 | 0.975693 | 0.965751 | 0.936101 | 0 | 0.022645 | 0.510436 | 62,331 | 3,404 | 87 | 18.311105 | 0.72561 | 0.055911 | 0 | 0.707347 | 0 | 0 | 0.060842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
24f4a8589f1ef4afc068c245028a9f87934274cb | 81 | py | Python | kd_splicing/kd_splicing/location/__init__.py | konovalovdmitry/catsnap | d5f1d7c37dcee1ad3fee2cdc12a3b44b56f4c63f | [
"MIT"
] | null | null | null | kd_splicing/kd_splicing/location/__init__.py | konovalovdmitry/catsnap | d5f1d7c37dcee1ad3fee2cdc12a3b44b56f4c63f | [
"MIT"
] | null | null | null | kd_splicing/kd_splicing/location/__init__.py | konovalovdmitry/catsnap | d5f1d7c37dcee1ad3fee2cdc12a3b44b56f4c63f | [
"MIT"
] | 1 | 2021-09-30T08:06:20.000Z | 2021-09-30T08:06:20.000Z | from kd_splicing.location.models import *
from kd_splicing.location import utils
| 27 | 41 | 0.851852 | 12 | 81 | 5.583333 | 0.583333 | 0.179104 | 0.41791 | 0.656716 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 81 | 2 | 42 | 40.5 | 0.917808 | 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 |
7071f6303070a666e640ba6e39abe632b13a815e | 145 | py | Python | src/handlers/special/__init__.py | Alex-T13/stc_13-whithout-django-old | 2cbd3d84b8c602d103ee60abcd68cdec33f88482 | [
"MIT"
] | null | null | null | src/handlers/special/__init__.py | Alex-T13/stc_13-whithout-django-old | 2cbd3d84b8c602d103ee60abcd68cdec33f88482 | [
"MIT"
] | null | null | null | src/handlers/special/__init__.py | Alex-T13/stc_13-whithout-django-old | 2cbd3d84b8c602d103ee60abcd68cdec33f88482 | [
"MIT"
] | null | null | null | from .handlers_4xx import handle_404
from .handlers_4xx import handle_405
from .handlers_5xx import handle_500
from .static import handle_static
| 29 | 36 | 0.862069 | 23 | 145 | 5.130435 | 0.434783 | 0.40678 | 0.254237 | 0.355932 | 0.457627 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 0.110345 | 145 | 4 | 37 | 36.25 | 0.821705 | 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 |
562e3563b5a863f53eab772993ed732b774f84a0 | 21,486 | py | Python | sdk/workloadmonitor/azure-mgmt-workloadmonitor/azure/mgmt/workloadmonitor/operations/_monitors_operations.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 2,728 | 2015-01-09T10:19:32.000Z | 2022-03-31T14:50:33.000Z | sdk/workloadmonitor/azure-mgmt-workloadmonitor/azure/mgmt/workloadmonitor/operations/_monitors_operations.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 17,773 | 2015-01-05T15:57:17.000Z | 2022-03-31T23:50:25.000Z | sdk/workloadmonitor/azure-mgmt-workloadmonitor/azure/mgmt/workloadmonitor/operations/_monitors_operations.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 1,916 | 2015-01-19T05:05:41.000Z | 2022-03-31T19:36:44.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may ... | 49.967442 | 266 | 0.65289 | 2,309 | 21,486 | 5.886964 | 0.104374 | 0.039211 | 0.02825 | 0.025013 | 0.838226 | 0.834841 | 0.826675 | 0.814905 | 0.814905 | 0.814905 | 0 | 0.005485 | 0.244764 | 21,486 | 429 | 267 | 50.083916 | 0.832193 | 0.320069 | 0 | 0.780488 | 0 | 0.01626 | 0.153919 | 0.056328 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044715 | false | 0 | 0.04065 | 0 | 0.142276 | 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 |
3b109a272de18300d316a05397d669cdde61677c | 3,616 | py | Python | src/autoemail.py | elenirotsides/Exchange4Students | 33248c6486d1f1bade4ab0fa52f2b77c966cfbd3 | [
"MIT"
] | null | null | null | src/autoemail.py | elenirotsides/Exchange4Students | 33248c6486d1f1bade4ab0fa52f2b77c966cfbd3 | [
"MIT"
] | 48 | 2021-03-22T22:34:20.000Z | 2021-05-05T15:55:33.000Z | src/autoemail.py | elenirotsides/Exchange4Students | 33248c6486d1f1bade4ab0fa52f2b77c966cfbd3 | [
"MIT"
] | null | null | null | import smtplib
import os
import ssl
import app
def email_buyer(email_add, first, last, item, price, seller, location, time, address, country, state, zipcode):
PORT = 465 # For SSL. Have to use port 465 for gmail SSL
password = os.environ.get("D6_PASSWORD")
SENDER_EMAIL = "exchange4studentsd6@gmail.com"... | 27.603053 | 111 | 0.536504 | 356 | 3,616 | 5.36236 | 0.216292 | 0.025144 | 0.020953 | 0.027239 | 0.869565 | 0.869565 | 0.869565 | 0.869565 | 0.815086 | 0.815086 | 0 | 0.011785 | 0.34292 | 3,616 | 130 | 112 | 27.815385 | 0.791667 | 0.061947 | 0 | 0.876404 | 0 | 0 | 0.63682 | 0.06974 | 0 | 0 | 0 | 0.007692 | 0 | 1 | 0.022472 | false | 0.044944 | 0.044944 | 0 | 0.067416 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3b5515b48f6853b1078b277bdd2f191487995f57 | 782 | py | Python | temporalio/api/errordetails/v1/__init__.py | cretz/temporal-sdk-python | 431ca1967d365556a9cf5aa9aac00243b71059f8 | [
"MIT"
] | 55 | 2022-01-31T22:02:22.000Z | 2022-03-30T11:17:21.000Z | temporalio/api/errordetails/v1/__init__.py | cretz/temporal-sdk-python | 431ca1967d365556a9cf5aa9aac00243b71059f8 | [
"MIT"
] | 7 | 2022-02-04T14:08:46.000Z | 2022-03-22T13:27:30.000Z | temporalio/api/errordetails/v1/__init__.py | cretz/temporal-sdk-python | 431ca1967d365556a9cf5aa9aac00243b71059f8 | [
"MIT"
] | 4 | 2022-01-31T17:31:49.000Z | 2022-03-29T01:04:46.000Z | from .message_pb2 import (
CancellationAlreadyRequestedFailure,
ClientVersionNotSupportedFailure,
NamespaceAlreadyExistsFailure,
NamespaceNotActiveFailure,
NotFoundFailure,
PermissionDeniedFailure,
QueryFailedFailure,
ResourceExhaustedFailure,
ServerVersionNotSupportedFailure,
Sy... | 27.928571 | 45 | 0.782609 | 27 | 782 | 22.481481 | 0.592593 | 0.220758 | 0.31631 | 0.398682 | 0.962109 | 0.962109 | 0.962109 | 0.962109 | 0.962109 | 0.962109 | 0 | 0.001511 | 0.153453 | 782 | 27 | 46 | 28.962963 | 0.915408 | 0 | 0 | 0 | 0 | 0 | 0.373402 | 0.331202 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.038462 | 0 | 0.038462 | 0 | 1 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
8ea85bdedcf33b83900f9de3aa54e5f79da03f83 | 6,929 | py | Python | tests/test_ci_output_parser/test_formatter.py | lzbrooks/ci_output_parser | 4487204473ff61df9a0d9a4224dcf55765c6e0c8 | [
"MIT"
] | null | null | null | tests/test_ci_output_parser/test_formatter.py | lzbrooks/ci_output_parser | 4487204473ff61df9a0d9a4224dcf55765c6e0c8 | [
"MIT"
] | null | null | null | tests/test_ci_output_parser/test_formatter.py | lzbrooks/ci_output_parser | 4487204473ff61df9a0d9a4224dcf55765c6e0c8 | [
"MIT"
] | null | null | null | import pytest
from ci_output_parser import formatter
def test_format_lint_lines_with_valid_line(valid_lint_lines, valid_lint_format):
lint_lines = formatter.format_lint_lines(valid_lint_format.get("parser_name"),
[valid_lint_lines.get("doxygen_lint")],
... | 53.713178 | 101 | 0.732285 | 995 | 6,929 | 4.60804 | 0.047236 | 0.227699 | 0.196292 | 0.184515 | 0.985605 | 0.98386 | 0.975354 | 0.966848 | 0.960742 | 0.942203 | 0 | 0.011157 | 0.159186 | 6,929 | 128 | 102 | 54.132813 | 0.775832 | 0 | 0 | 0.683168 | 0 | 0 | 0.144754 | 0.025112 | 0 | 0 | 0 | 0 | 0.613861 | 1 | 0.128713 | false | 0 | 0.019802 | 0 | 0.148515 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
8ed0e97d949c43ee6f4bff63987515e5d1609de1 | 189 | py | Python | app/routes.py | hallowf/GameSaveBackups-flask-static | 5ceaaf61eaa67f27d03864d9710f34b7384bf7c1 | [
"CNRI-Python"
] | null | null | null | app/routes.py | hallowf/GameSaveBackups-flask-static | 5ceaaf61eaa67f27d03864d9710f34b7384bf7c1 | [
"CNRI-Python"
] | null | null | null | app/routes.py | hallowf/GameSaveBackups-flask-static | 5ceaaf61eaa67f27d03864d9710f34b7384bf7c1 | [
"CNRI-Python"
] | null | null | null | from flask import Flask, render_template, Response, send_file, request, jsonify
from app import app
### Page routes
@app.route("/")
def index():
return render_template("index.html")
| 18.9 | 79 | 0.730159 | 26 | 189 | 5.192308 | 0.692308 | 0.207407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 189 | 9 | 80 | 21 | 0.838509 | 0.058201 | 0 | 0 | 0 | 0 | 0.063218 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
8ede233dcd188e68bcd1525cbf27f0621d92b178 | 293 | py | Python | raisimGymTorch/raisimGymTorch/env/envs/rsg_ouzel_delta/scripts/tensorboard_launch.py | vschorp/raisimLib | 387784292d9acf97a202e9ec6bad0434b0ff3f39 | [
"Apache-2.0"
] | null | null | null | raisimGymTorch/raisimGymTorch/env/envs/rsg_ouzel_delta/scripts/tensorboard_launch.py | vschorp/raisimLib | 387784292d9acf97a202e9ec6bad0434b0ff3f39 | [
"Apache-2.0"
] | null | null | null | raisimGymTorch/raisimGymTorch/env/envs/rsg_ouzel_delta/scripts/tensorboard_launch.py | vschorp/raisimLib | 387784292d9acf97a202e9ec6bad0434b0ff3f39 | [
"Apache-2.0"
] | null | null | null | import os
from raisimGymTorch.helper.raisim_gym_helper import ConfigurationSaver, tensorboard_launcher
tensorboard_launcher("/home/vincent/rl_4_aerial_manipulator/catkin_ws/src/raisimLib/raisimGymTorch/data/ouzel_delta_planning")
# tensorboard_launcher("/home/vincent/ouzel_delta_planning")
| 41.857143 | 126 | 0.877133 | 36 | 293 | 6.777778 | 0.666667 | 0.233607 | 0.188525 | 0.245902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003559 | 0.040956 | 293 | 6 | 127 | 48.833333 | 0.864769 | 0.197952 | 0 | 0 | 0 | 0 | 0.437768 | 0.437768 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
d9236bd6bf0c3d0e232db0699d80ef9669dca405 | 62 | py | Python | Cisco/2.1.3.4.py | martageraldo/aula-python-cisco | 6f4061c4200bb611f90a4231e1646ae8a0066e99 | [
"MIT"
] | null | null | null | Cisco/2.1.3.4.py | martageraldo/aula-python-cisco | 6f4061c4200bb611f90a4231e1646ae8a0066e99 | [
"MIT"
] | null | null | null | Cisco/2.1.3.4.py | martageraldo/aula-python-cisco | 6f4061c4200bb611f90a4231e1646ae8a0066e99 | [
"MIT"
] | null | null | null | print(6 // 3)
print(6 // 3.)
print(6. // 3)
print(6. // 3.) | 15.5 | 15 | 0.451613 | 12 | 62 | 2.333333 | 0.25 | 0.857143 | 1 | 1.285714 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0.166667 | 0.225806 | 62 | 4 | 16 | 15.5 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 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 | 13 |
79992efeb846fa5a9fa514cb1ac31b8eb994a72a | 2,912 | py | Python | Chapter05/1_segnet.py | yasin-gh/Deep-Learning-for-Computer-Vision | d5b3e153369018029270a6a47349ee8ce7c7641e | [
"MIT"
] | 200 | 2018-01-23T16:00:19.000Z | 2022-03-26T09:28:48.000Z | Chapter05/1_segnet.py | yasin-gh/Deep-Learning-for-Computer-Vision | d5b3e153369018029270a6a47349ee8ce7c7641e | [
"MIT"
] | 11 | 2018-06-13T07:50:40.000Z | 2020-10-13T05:28:12.000Z | Chapter05/1_segnet.py | yasin-gh/Deep-Learning-for-Computer-Vision | d5b3e153369018029270a6a47349ee8ce7c7641e | [
"MIT"
] | 163 | 2018-01-24T02:38:52.000Z | 2022-01-13T20:23:17.000Z | import tensorflow as tf
input_height = 360
input_width = 480
kernel = 3
filter_size = 64
pad = 1
pool_size = 2
model = tf.keras.models.Sequential()
model.add(tf.keras.layers.Layer(input_shape=(3, input_height, input_width)))
# encoder
model.add(tf.keras.layers.ZeroPadding2D(padding=(pad, pad)))
model.add(tf.keras.la... | 42.202899 | 104 | 0.769574 | 432 | 2,912 | 5.092593 | 0.134259 | 0.130455 | 0.177273 | 0.265909 | 0.851364 | 0.831818 | 0.814545 | 0.814545 | 0.814545 | 0.749545 | 0 | 0.022901 | 0.055288 | 2,912 | 68 | 105 | 42.823529 | 0.776808 | 0.005151 | 0 | 0.666667 | 0 | 0 | 0.034554 | 0.008293 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.019608 | 0 | 0.019608 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
79bfc319f03fd5f71b0bb59d154dc89366bf7aa2 | 99 | py | Python | rl/episode/__init__.py | tomasruizt/Reinforcement-Learning | b8a01b08c1086da3c972846d3b038e233189103f | [
"Apache-2.0"
] | 3 | 2018-01-16T19:26:17.000Z | 2018-02-06T19:38:04.000Z | rl/episode/__init__.py | tomasruizt/Reinforcement-Learning | b8a01b08c1086da3c972846d3b038e233189103f | [
"Apache-2.0"
] | null | null | null | rl/episode/__init__.py | tomasruizt/Reinforcement-Learning | b8a01b08c1086da3c972846d3b038e233189103f | [
"Apache-2.0"
] | null | null | null | from rl.episode.episode import Episode
from rl.episode.episode_serializer import EpisodeSerializer
| 33 | 59 | 0.878788 | 13 | 99 | 6.615385 | 0.461538 | 0.139535 | 0.302326 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080808 | 99 | 2 | 60 | 49.5 | 0.945055 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.