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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ce754f8ccaef370d5bccd15d3b5a3617a6bc907e | 7,773 | py | Python | science_animations/square_cube.py | dhruvbhatia00/manim | ad2eb05bcc806a5c947d8e79797f133b0b0b0153 | [
"MIT"
] | null | null | null | science_animations/square_cube.py | dhruvbhatia00/manim | ad2eb05bcc806a5c947d8e79797f133b0b0b0153 | [
"MIT"
] | null | null | null | science_animations/square_cube.py | dhruvbhatia00/manim | ad2eb05bcc806a5c947d8e79797f133b0b0b0153 | [
"MIT"
] | null | null | null | from manimlib.imports import *
class SquareScale(Scene):
CONFIG = {
"camera_config": {"background_color": WHITE},
"text_config": {"stroke_color": WHITE, "fill_color": BLACK},
}
def construct(self):
s1 = VGroup()
for i in range(2):
line = VGroup()
fo... | 31.726531 | 97 | 0.509456 | 984 | 7,773 | 3.925813 | 0.09248 | 0.047631 | 0.041419 | 0.037018 | 0.933989 | 0.922858 | 0.922858 | 0.908879 | 0.907585 | 0.896454 | 0 | 0.045564 | 0.359063 | 7,773 | 245 | 98 | 31.726531 | 0.729827 | 0.016982 | 0 | 0.887755 | 0 | 0 | 0.029974 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015306 | false | 0 | 0.005102 | 0 | 0.05102 | 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 |
ce821a035385e45f39286ff29aadc6d17b8aded6 | 5,035 | py | Python | turtle222.py | shyed2001/Python_Programming | 93ef958e3d8aa77f9191b550972235ce4fe4a6cb | [
"bzip2-1.0.6"
] | 2 | 2019-05-01T04:32:14.000Z | 2019-05-04T11:28:18.000Z | turtle222.py | shyed2001/python-learning-basics | 93ef958e3d8aa77f9191b550972235ce4fe4a6cb | [
"bzip2-1.0.6"
] | null | null | null | turtle222.py | shyed2001/python-learning-basics | 93ef958e3d8aa77f9191b550972235ce4fe4a6cb | [
"bzip2-1.0.6"
] | null | null | null | print("""
import turtle
wn = turtle.Screen()
print("#Creates a playground for turtle. Not must?")
tess=turtle.Turtle()
alex=turtle.Turtle()
alex.pen()
alex.backward(30)
alex.penup()
alex.right(-60)
alex.forward(-45)
alex.pendown()
alex.left(-30)
alex.backward(-20)
alex.penup()
alex.forward(-45)
... | 18.928571 | 53 | 0.599801 | 759 | 5,035 | 3.97892 | 0.093544 | 0.123841 | 0.077483 | 0.059603 | 0.920199 | 0.906954 | 0.878808 | 0.878808 | 0.878808 | 0.877483 | 0 | 0.070779 | 0.2143 | 5,035 | 265 | 54 | 19 | 0.692619 | 0.01569 | 0 | 0.938017 | 0 | 0 | 0.510993 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008264 | 0 | 0.008264 | 0.012397 | 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 |
0ca1e403e1186f18da54e6b778ca849ea222b9ef | 16,924 | py | Python | dataset.py | elientumba2019/Learning-Exposure-Correction-via-consistency-Modeling-Pytorch-Implementation- | eba44073a8dc699de880e5d6b9977db3dd80ace2 | [
"MIT"
] | 8 | 2021-10-18T10:59:49.000Z | 2022-03-30T08:08:11.000Z | dataset.py | elientumba2019/Learning-Exposure-Correction-via-consistency-Modeling-Pytorch-Implementation- | eba44073a8dc699de880e5d6b9977db3dd80ace2 | [
"MIT"
] | 1 | 2022-02-22T03:10:12.000Z | 2022-02-22T03:10:12.000Z | dataset.py | elientumba2019/Learning-Exposure-Correction-via-consistency-Modeling-Pytorch-Implementation- | eba44073a8dc699de880e5d6b9977db3dd80ace2 | [
"MIT"
] | 1 | 2022-01-21T02:55:19.000Z | 2022-01-21T02:55:19.000Z | import os
import cv2
import numpy as np
import torch
import torchvision.transforms.functional as TF
from torch.utils.data import Dataset
import imageio
import matplotlib.pyplot as plt
from PIL import Image
from torchvision import transforms
import glob
import random
class ExposureCorrectionTrain(Dataset):
def _... | 30.493694 | 99 | 0.580773 | 2,194 | 16,924 | 4.25433 | 0.084777 | 0.049282 | 0.030534 | 0.023998 | 0.813585 | 0.801907 | 0.788301 | 0.783801 | 0.783801 | 0.779944 | 0 | 0.022791 | 0.287048 | 16,924 | 554 | 100 | 30.548736 | 0.750787 | 0.082841 | 0 | 0.723343 | 0 | 0.008646 | 0.039361 | 0.009824 | 0 | 0 | 0 | 0 | 0.008646 | 1 | 0.086455 | false | 0 | 0.034582 | 0.008646 | 0.216138 | 0.014409 | 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 |
0cb197028295bcd2c4f2c607e98011d3afafb86c | 9,194 | py | Python | webserver/python2.7/site-packages/mpmath/tests/test_calculus.py | maxr1876/Radix | bf9a5470908ea0823c8398565086b1e6b960c73b | [
"BSD-2-Clause"
] | 4 | 2018-06-03T02:11:46.000Z | 2021-08-18T19:55:15.000Z | mpmath/tests/test_calculus.py | asmeurer/mpmath | 157a7091b80c3ac12c4d3c1886a892bd8b29d8bc | [
"BSD-3-Clause"
] | null | null | null | mpmath/tests/test_calculus.py | asmeurer/mpmath | 157a7091b80c3ac12c4d3c1886a892bd8b29d8bc | [
"BSD-3-Clause"
] | 3 | 2019-12-23T19:12:51.000Z | 2021-04-30T14:00:31.000Z | from mpmath import *
def test_approximation():
mp.dps = 15
f = lambda x: cos(2-2*x)/x
p, err = chebyfit(f, [2, 4], 8, error=True)
assert err < 1e-5
for i in range(10):
x = 2 + i/5.
assert abs(polyval(p, x) - f(x)) < err
def test_limits():
mp.dps = 15
assert limit(lambda x: ... | 41.414414 | 79 | 0.586252 | 1,045 | 9,194 | 5.133014 | 0.180861 | 0.042506 | 0.04698 | 0.049217 | 0.777778 | 0.769202 | 0.752983 | 0.74739 | 0.74739 | 0.726883 | 0 | 0.462449 | 0.255601 | 9,194 | 221 | 80 | 41.60181 | 0.321303 | 0.015119 | 0 | 0.519608 | 0 | 0 | 0.094575 | 0 | 0 | 0 | 0 | 0 | 0.196078 | 1 | 0.04902 | false | 0.014706 | 0.004902 | 0 | 0.053922 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 7 |
0ccc977d12c6fcc42b4325fe08d236a749047f56 | 13,068 | py | Python | fixture/session.py | SazonovPavel/lims-tst-web-portal | 75f6538d7e16ce1fc0c96ea6f499b95a7eab1cfd | [
"Apache-2.0"
] | null | null | null | fixture/session.py | SazonovPavel/lims-tst-web-portal | 75f6538d7e16ce1fc0c96ea6f499b95a7eab1cfd | [
"Apache-2.0"
] | null | null | null | fixture/session.py | SazonovPavel/lims-tst-web-portal | 75f6538d7e16ce1fc0c96ea6f499b95a7eab1cfd | [
"Apache-2.0"
] | 1 | 2019-08-11T18:53:18.000Z | 2019-08-11T18:53:18.000Z | import time
class SessionHelper:
def __init__(self, app):
self.app = app
def login(self, password, path_to_key):
wd = self.app.wd
self.app.open_home_page()
# 1 нажимаем кнопку "Войти на портал"
wd.find_element_by_xpath("//div[@id='content-wrapper']/div/a/div").click()... | 48.761194 | 139 | 0.647153 | 1,728 | 13,068 | 4.718171 | 0.084491 | 0.052251 | 0.11321 | 0.130627 | 0.952901 | 0.943088 | 0.943088 | 0.938918 | 0.938918 | 0.938918 | 0 | 0.01454 | 0.205311 | 13,068 | 267 | 140 | 48.94382 | 0.770534 | 0.209137 | 0 | 0.874214 | 0 | 0.062893 | 0.382935 | 0.319454 | 0 | 0 | 0 | 0 | 0.044025 | 1 | 0.069182 | false | 0.100629 | 0.006289 | 0 | 0.081761 | 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 |
49034a9982344167bc6fe3456e6ee488cab3dd4e | 2,124 | py | Python | RSA-encryption/Attack-Retrieve-Modulus/extractmod.py | amoniaka-knabino/Crypton | 91a91698050a384e7623eddc871dba1acecd585c | [
"MIT"
] | 1,175 | 2018-06-13T07:05:56.000Z | 2022-03-28T05:51:38.000Z | RSA-encryption/Attack-Retrieve-Modulus/extractmod.py | amoniaka-knabino/Crypton | 91a91698050a384e7623eddc871dba1acecd585c | [
"MIT"
] | 5 | 2019-10-12T15:43:52.000Z | 2020-08-03T05:52:08.000Z | RSA-encryption/Attack-Retrieve-Modulus/extractmod.py | amoniaka-knabino/Crypton | 91a91698050a384e7623eddc871dba1acecd585c | [
"MIT"
] | 211 | 2018-02-13T11:06:08.000Z | 2022-03-28T22:36:59.000Z | from Crypto.Util.number import *
def extractmod_eknown(_encrypt, e, limit=4):
"""
Reference: https://crypto.stackexchange.com/questions/43583/deduce-modulus-n-from-public-exponent-and-encrypted-data
Function to extract the value of modulus, given value of public key exponent
:input parameters:
_... | 36.62069 | 120 | 0.615819 | 294 | 2,124 | 4.289116 | 0.265306 | 0.023791 | 0.028549 | 0.043616 | 0.820777 | 0.808089 | 0.79778 | 0.781126 | 0.781126 | 0.781126 | 0 | 0.020672 | 0.271186 | 2,124 | 57 | 121 | 37.263158 | 0.793928 | 0 | 0 | 0.542857 | 0 | 0 | 0.053528 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | null | null | 0 | 0.028571 | null | null | 0.114286 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0b462016526368e9856f7c9debabb066a9fb9311 | 89 | py | Python | catsup/parser/__init__.py | whtsky/catsup-docs-zh | 91b5ebcf77e0df5de736bd5f3f03deb9145699f5 | [
"MIT"
] | 62 | 2015-01-12T03:15:54.000Z | 2021-09-11T03:30:57.000Z | catsup/parser/__init__.py | whtsky/catsup-docs-zh | 91b5ebcf77e0df5de736bd5f3f03deb9145699f5 | [
"MIT"
] | 52 | 2015-04-18T19:21:00.000Z | 2020-05-25T00:49:34.000Z | catsup/parser/__init__.py | whtsky/catsup-docs-zh | 91b5ebcf77e0df5de736bd5f3f03deb9145699f5 | [
"MIT"
] | 14 | 2015-01-11T12:55:02.000Z | 2019-02-28T06:36:56.000Z | from .config import load
def config(*args, **kwargs):
return load(*args, **kwargs)
| 14.833333 | 32 | 0.662921 | 12 | 89 | 4.916667 | 0.666667 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179775 | 89 | 5 | 33 | 17.8 | 0.808219 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
0ba2e719b28ebb14b29967fe8197686a3b944c0e | 9,679 | py | Python | tests/evaluation_setting/test_evaluation_setting.py | zhaoyone/RecBole | a620a96cc58535462b468d2ca799ac52d31fcf0a | [
"MIT"
] | 4 | 2021-04-23T07:47:53.000Z | 2022-02-01T13:48:33.000Z | tests/evaluation_setting/test_evaluation_setting.py | zhaoyone/RecBole | a620a96cc58535462b468d2ca799ac52d31fcf0a | [
"MIT"
] | null | null | null | tests/evaluation_setting/test_evaluation_setting.py | zhaoyone/RecBole | a620a96cc58535462b468d2ca799ac52d31fcf0a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# @Time : 2020/10/27
# @Author : Shanlei Mu
# @Email : slmu@ruc.edu.cn
# UPDATE:
# @Time : 2020/11/17
# @Author : Xingyu Pan
# @Email : panxy@ruc.edu.cn
import os
import unittest
from recbole.quick_start import objective_function
current_path = os.path.dirname(os.path.realpath(__file__)... | 36.115672 | 76 | 0.53363 | 952 | 9,679 | 5.006303 | 0.086134 | 0.226605 | 0.214436 | 0.158624 | 0.890684 | 0.890684 | 0.889845 | 0.87222 | 0.842845 | 0.842845 | 0 | 0.015205 | 0.354479 | 9,679 | 267 | 77 | 36.250936 | 0.747599 | 0.428143 | 0 | 0.520548 | 0 | 0 | 0.077408 | 0.006051 | 0 | 0 | 0 | 0 | 0 | 1 | 0.123288 | false | 0 | 0.041096 | 0 | 0.205479 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f06728207656423e01d53423b7a572d541a728a8 | 96 | py | Python | vision_kf/other/ekf/main.py | vortexntnu/Vortex-CV | eb5e4836eeb750551807760a2eef3a0fb7daf7ff | [
"MIT"
] | 2 | 2022-01-26T11:13:38.000Z | 2022-02-22T21:18:30.000Z | vision_kf/other/ekf/main.py | vortexntnu/Vortex-CV | eb5e4836eeb750551807760a2eef3a0fb7daf7ff | [
"MIT"
] | 42 | 2022-01-25T17:10:43.000Z | 2022-03-29T18:41:34.000Z | vision_kf/other/ekf/main.py | vortexntnu/Vortex_CV | eb5e4836eeb750551807760a2eef3a0fb7daf7ff | [
"MIT"
] | null | null | null | import sample_simulations.basic_sim
if __name__ == "__main__":
sample_simulations.basic_sim | 24 | 35 | 0.8125 | 12 | 96 | 5.5 | 0.666667 | 0.515152 | 0.666667 | 0.757576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 96 | 4 | 36 | 24 | 0.776471 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
b2b1bf59df3724ab4ea576f88dbbc19751e9e9a7 | 4,877 | py | Python | tests/test_engine/test_queries/test_queryop_comparsion_eq.py | jqueguiner/montydb | 55bb3099fe110dbcd1ee24a71479fb0861d993a4 | [
"BSD-3-Clause"
] | null | null | null | tests/test_engine/test_queries/test_queryop_comparsion_eq.py | jqueguiner/montydb | 55bb3099fe110dbcd1ee24a71479fb0861d993a4 | [
"BSD-3-Clause"
] | null | null | null | tests/test_engine/test_queries/test_queryop_comparsion_eq.py | jqueguiner/montydb | 55bb3099fe110dbcd1ee24a71479fb0861d993a4 | [
"BSD-3-Clause"
] | null | null | null |
from montydb.types import PY3, bson_ as bson
from ...conftest import skip_if_no_bson
def count_documents(cursor, spec=None):
return cursor.collection.count_documents(spec or {})
def test_qop_eq_1(monty_find, mongo_find):
docs = [
{"a": 1},
{"a": 0}
]
spec = {"a": 1}
monty_c = ... | 25.139175 | 75 | 0.602009 | 734 | 4,877 | 3.701635 | 0.084469 | 0.097166 | 0.114833 | 0.176665 | 0.883327 | 0.853147 | 0.83364 | 0.806404 | 0.768127 | 0.748988 | 0 | 0.02305 | 0.234981 | 4,877 | 193 | 76 | 25.26943 | 0.705173 | 0 | 0 | 0.617021 | 0 | 0 | 0.025636 | 0 | 0 | 0 | 0 | 0 | 0.219858 | 1 | 0.092199 | false | 0 | 0.014184 | 0.007092 | 0.113475 | 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 |
3317f80ea1bd997f501f0d55beec7442b87e67b1 | 33,446 | py | Python | eeauditor/auditors/aws/Amazon_ELB_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 442 | 2020-03-15T20:56:36.000Z | 2022-03-31T22:13:07.000Z | eeauditor/auditors/aws/Amazon_ELB_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 57 | 2020-03-15T22:09:56.000Z | 2022-03-31T13:17:06.000Z | eeauditor/auditors/aws/Amazon_ELB_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 59 | 2020-03-15T21:19:10.000Z | 2022-03-31T15:01:31.000Z | #This file is part of ElectricEye.
#SPDX-License-Identifier: Apache-2.0
#Licensed to the Apache Software Foundation (ASF) under one
#or more contributor license agreements. See the NOTICE file
#distributed with this work for additional information
#regarding copyright ownership. The ASF licenses this file
#to you un... | 52.753943 | 225 | 0.474795 | 2,735 | 33,446 | 5.789762 | 0.107495 | 0.037512 | 0.033344 | 0.036123 | 0.911778 | 0.902494 | 0.896116 | 0.893653 | 0.891127 | 0.886833 | 0 | 0.059586 | 0.418944 | 33,446 | 634 | 226 | 52.753943 | 0.755223 | 0.041021 | 0 | 0.825796 | 0 | 0.033501 | 0.408861 | 0.062008 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008375 | false | 0.011725 | 0.005025 | 0 | 0.0134 | 0.001675 | 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 |
33314d11fe613ecbffce19b3743d2155cd43a2f3 | 59,208 | py | Python | textnn/utils/encoding/test/test_text.py | tongr/TextNN | a0294a197d3be284177214e8f019e9fed13dff1a | [
"Apache-2.0"
] | 1 | 2019-03-08T12:12:45.000Z | 2019-03-08T12:12:45.000Z | textnn/utils/encoding/test/test_text.py | tongr/TextNN | a0294a197d3be284177214e8f019e9fed13dff1a | [
"Apache-2.0"
] | 16 | 2019-02-14T11:51:30.000Z | 2019-06-11T08:25:53.000Z | textnn/utils/encoding/test/test_text.py | tongr/TextNN | a0294a197d3be284177214e8f019e9fed13dff1a | [
"Apache-2.0"
] | null | null | null | from textnn.utils.encoding.text import *
from pytest import approx, raises
# texts from https://en.wikipedia.org/wiki/Python_(programming_language)
corpus = [
"Python is an interpreted, high-level, general-purpose programming language.",
"Created by Guido van Rossum and first released in 1991, Python has a d... | 45.826625 | 127 | 0.673085 | 8,385 | 59,208 | 4.574478 | 0.039117 | 0.082592 | 0.150168 | 0.125401 | 0.947128 | 0.938733 | 0.93146 | 0.927393 | 0.923665 | 0.916156 | 0 | 0.034642 | 0.196528 | 59,208 | 1,291 | 128 | 45.862122 | 0.771651 | 0.31972 | 0 | 0.701563 | 0 | 0 | 0.081501 | 0 | 0 | 0 | 0 | 0.000775 | 0.421875 | 1 | 0.042188 | false | 0 | 0.003125 | 0 | 0.048438 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
681c5ebeef339e47245f467c0228ce49d5ce6971 | 6,916 | py | Python | models/official/detection/modeling/architecture/nn_blocks.py | eduagarcia/tpu | e6fb353f5d61b02c140a8b8a2a50c58b557c2f91 | [
"Apache-2.0"
] | 4 | 2020-01-23T16:17:37.000Z | 2022-01-18T22:02:22.000Z | models/official/detection/modeling/architecture/nn_blocks.py | eduagarcia/tpu | e6fb353f5d61b02c140a8b8a2a50c58b557c2f91 | [
"Apache-2.0"
] | null | null | null | models/official/detection/modeling/architecture/nn_blocks.py | eduagarcia/tpu | e6fb353f5d61b02c140a8b8a2a50c58b557c2f91 | [
"Apache-2.0"
] | 1 | 2020-02-16T12:09:49.000Z | 2020-02-16T12:09:49.000Z | # Lint as: python2, python3
# Copyright 2019 The TensorFlow Authors. 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
#
... | 38.209945 | 80 | 0.688404 | 903 | 6,916 | 5.10299 | 0.204873 | 0.073785 | 0.036458 | 0.060764 | 0.81467 | 0.81467 | 0.789497 | 0.789497 | 0.789497 | 0.789497 | 0 | 0.00621 | 0.231637 | 6,916 | 180 | 81 | 38.422222 | 0.860933 | 0.468623 | 0 | 0.863158 | 0 | 0 | 0.025338 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021053 | false | 0 | 0.063158 | 0 | 0.105263 | 0.010526 | 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 |
68343224fe17a55d8db2c799bf413ec4efc51bd4 | 1,396 | py | Python | output/my_ASCII_drawings_functions.py | MicheleMorelli/ASCII_art_tool_for_terminal | 8d60738252434d4d0185a023715f24e93c752513 | [
"MIT"
] | 3 | 2018-02-09T17:24:22.000Z | 2018-02-12T21:44:30.000Z | output/my_ASCII_drawings_functions.py | MicheleMorelli/ASCII_art_tool_for_terminal | 8d60738252434d4d0185a023715f24e93c752513 | [
"MIT"
] | 2 | 2018-02-10T18:15:25.000Z | 2018-02-16T16:31:48.000Z | output/my_ASCII_drawings_functions.py | MicheleMorelli/ASCII_art_tool_for_terminal | 8d60738252434d4d0185a023715f24e93c752513 | [
"MIT"
] | null | null | null | #Created with the Terminal ASCII Paint app by Michele Morelli - https://github.com/MicheleMorelli
def draw_house():
print(" "*64+"\n"+" "*64+"\n"+" "*5+"_"*33+" "*26+"\n"+" "*4+"|"+"/"*4+"|"+"#"*28+" "*26+"\n"+" "*4+"|"+"/"*4+"|"+"#"*28+" "*26+"\n"+" "*4+"|"+"/"*4+"|"+"#"*2+" "*2+"|"+"/"+"|"+"#"*2+" "*3+"|"+"/"+"|... | 155.111111 | 1,042 | 0.222779 | 169 | 1,396 | 1.810651 | 0.195266 | 0.176471 | 0.261438 | 0.313725 | 0.601307 | 0.545752 | 0.545752 | 0.53268 | 0.53268 | 0.53268 | 0 | 0.116065 | 0.068052 | 1,396 | 8 | 1,043 | 174.5 | 0.119139 | 0.068768 | 0 | 0 | 0 | 0 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0 | 0 | 0.4 | 0.4 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
684504b3b0dfe97aa6dde7500a7330073d9cfc7a | 142 | py | Python | EEG_Lightning/dassl/config/__init__.py | mcd4874/NeurIPS_competition | 4df1f222929e9824a55c9c4ae6634743391b0fe9 | [
"MIT"
] | 23 | 2021-10-14T02:31:06.000Z | 2022-01-25T16:26:44.000Z | EEG_Lightning/dassl/config/__init__.py | mcd4874/NeurIPS_competition | 4df1f222929e9824a55c9c4ae6634743391b0fe9 | [
"MIT"
] | null | null | null | EEG_Lightning/dassl/config/__init__.py | mcd4874/NeurIPS_competition | 4df1f222929e9824a55c9c4ae6634743391b0fe9 | [
"MIT"
] | 1 | 2022-03-05T06:54:11.000Z | 2022-03-05T06:54:11.000Z | # from .defaults import _C as cfg_default
from .defaults_new import _C as cfg_default
def get_cfg_default():
return cfg_default.clone()
| 20.285714 | 43 | 0.774648 | 23 | 142 | 4.434783 | 0.521739 | 0.392157 | 0.176471 | 0.235294 | 0.372549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161972 | 142 | 6 | 44 | 23.666667 | 0.857143 | 0.274648 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 9 |
d7ac82c4bf58877230764c65e4a1152e6f4b8703 | 22,997 | py | Python | sm2/genmod/tests/test_irls.py | jbrockmendel/sm2 | c02a3f9a4fcba35ffc8c852ca5ad8b9d7620f4cf | [
"BSD-3-Clause"
] | 1 | 2021-08-02T13:48:59.000Z | 2021-08-02T13:48:59.000Z | sm2/genmod/tests/test_irls.py | jbrockmendel/sm2 | c02a3f9a4fcba35ffc8c852ca5ad8b9d7620f4cf | [
"BSD-3-Clause"
] | 24 | 2018-03-26T00:44:58.000Z | 2018-10-09T17:06:07.000Z | sm2/genmod/tests/test_irls.py | jbrockmendel/sm2 | c02a3f9a4fcba35ffc8c852ca5ad8b9d7620f4cf | [
"BSD-3-Clause"
] | null | null | null | """
Tests for iteratively weighted least squares
Upstream this is part of test_glm
"""
import warnings
import pytest
import numpy as np
from numpy.testing import assert_allclose
import sm2.api as sm
from sm2.genmod.families import links
from sm2.tools.numdiff import approx_fprime, approx_hess
@pytest.mark.not_vett... | 48.313025 | 79 | 0.485933 | 2,371 | 22,997 | 4.564319 | 0.10291 | 0.066069 | 0.067917 | 0.063205 | 0.820366 | 0.790335 | 0.768619 | 0.74672 | 0.724358 | 0.702273 | 0 | 0.021985 | 0.424447 | 22,997 | 475 | 80 | 48.414737 | 0.795633 | 0.100883 | 0 | 0.710811 | 0 | 0 | 0.004123 | 0 | 0 | 0 | 0 | 0.002105 | 0.043243 | 1 | 0.013514 | false | 0 | 0.024324 | 0 | 0.040541 | 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 |
d7c0c5d036761a235af172c3a181ee57c3a31c1e | 51,281 | py | Python | misc/baxter/src_py_/Jos.py | YoshimitsuMatsutaIe/rmp_test | a7c94ff68b518ef51821484795c308c2c8519c4c | [
"MIT"
] | null | null | null | misc/baxter/src_py_/Jos.py | YoshimitsuMatsutaIe/rmp_test | a7c94ff68b518ef51821484795c308c2c8519c4c | [
"MIT"
] | null | null | null | misc/baxter/src_py_/Jos.py | YoshimitsuMatsutaIe/rmp_test | a7c94ff68b518ef51821484795c308c2c8519c4c | [
"MIT"
] | null | null | null | import numpy as np
from math import cos as c
from math import sin as s
from math import tan as ta
from math import sqrt as sq
def jo_W0(q):
return numpy.array([[0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0]])
def jo_BR(q):
return numpy.array([[0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0... | 1,972.346154 | 22,155 | 0.629434 | 10,801 | 51,281 | 2.987501 | 0.003518 | 0.103322 | 0.240145 | 0.148134 | 0.996405 | 0.994825 | 0.994608 | 0.994453 | 0.994205 | 0.993864 | 0 | 0.346143 | 0.068368 | 51,281 | 25 | 22,156 | 2,051.24 | 0.329273 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 13 |
d7c3d65be25a07ed197194379f9ba747b3b6336a | 3,103 | py | Python | mailman2/mailmanapi.py | edinburghhacklab/hackdb | 3ec7d66039705aa511dd6559196fa51a53b3a110 | [
"MIT"
] | null | null | null | mailman2/mailmanapi.py | edinburghhacklab/hackdb | 3ec7d66039705aa511dd6559196fa51a53b3a110 | [
"MIT"
] | null | null | null | mailman2/mailmanapi.py | edinburghhacklab/hackdb | 3ec7d66039705aa511dd6559196fa51a53b3a110 | [
"MIT"
] | null | null | null | # SPDX-FileCopyrightText: 2022 Tim Hawes <me@timhawes.com>
#
# SPDX-License-Identifier: MIT
import requests
from django.conf import settings
def get_list(list_name):
return requests.get(
f"{settings.MAILMAN_API_URL}/lists/{list_name}",
auth=(settings.MAILMAN_API_USERNAME, settings.MAILMAN_API_PAS... | 27.954955 | 78 | 0.680309 | 378 | 3,103 | 5.320106 | 0.150794 | 0.223769 | 0.268523 | 0.09448 | 0.856788 | 0.835903 | 0.793635 | 0.793635 | 0.762805 | 0.694182 | 0 | 0.006539 | 0.211408 | 3,103 | 110 | 79 | 28.209091 | 0.815284 | 0.027393 | 0 | 0.639535 | 0 | 0 | 0.184804 | 0.178832 | 0 | 0 | 0 | 0 | 0 | 1 | 0.116279 | false | 0.116279 | 0.023256 | 0.023256 | 0.348837 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
d7d2bf124a31fe521ab6732f67afc6b1daa7633f | 1,716 | py | Python | server/commands/build.py | ivan0313/Facial-Recognition-Database-Management-System | 0e3693ed7308733b4b2f9155ae86bb35d67299af | [
"MIT"
] | 6 | 2021-09-13T13:45:49.000Z | 2021-12-20T15:36:10.000Z | server/commands/build.py | ivan-ngchakming/Facial-Recognition-Database-Management-System | 5b5409822db482d5c9f7d7f71538cfa614633843 | [
"MIT"
] | 31 | 2021-09-11T05:52:56.000Z | 2021-11-07T14:35:41.000Z | server/commands/build.py | ivan-ngchakming/Facial-Recognition-Database-Management-System | 5b5409822db482d5c9f7d7f71538cfa614633843 | [
"MIT"
] | 2 | 2021-09-13T04:08:05.000Z | 2021-09-26T04:06:53.000Z | import os
import timeit
from flask.cli import AppGroup
import click
cli = AppGroup("build", short_help="Building the application")
def create_build_dir():
path = "pyinstaller_build"
if not os.path.isdir(path):
os.mkdir(path)
@cli.command()
@click.option("-r", "--build-react", is_flag=True, defaul... | 22.88 | 67 | 0.655012 | 230 | 1,716 | 4.708696 | 0.282609 | 0.055402 | 0.036934 | 0.062789 | 0.829178 | 0.829178 | 0.829178 | 0.829178 | 0.829178 | 0.829178 | 0 | 0.004354 | 0.19697 | 1,716 | 74 | 68 | 23.189189 | 0.781567 | 0.079837 | 0 | 0.711111 | 0 | 0 | 0.186785 | 0.044473 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.133333 | 0 | 0.2 | 0.044444 | 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 |
d7d747736127584c691afa077e404aa531e2c0b7 | 863 | py | Python | tests/unit/format/test_format.py | matthewgdv/pathmagic | fe5788e02cfa7397cc0ef45ea7a0c5549ca4f261 | [
"MIT"
] | null | null | null | tests/unit/format/test_format.py | matthewgdv/pathmagic | fe5788e02cfa7397cc0ef45ea7a0c5549ca4f261 | [
"MIT"
] | 1 | 2021-02-08T10:48:05.000Z | 2021-02-08T10:48:05.000Z | tests/unit/format/test_format.py | matthewgdv/pathmagic | fe5788e02cfa7397cc0ef45ea7a0c5549ca4f261 | [
"MIT"
] | null | null | null | # import pytest
class TestFormatHandler:
def test_read(self): # synced
assert True
def test_write(self): # synced
assert True
def test_append(self): # synced
assert True
def test_read_help(self): # synced
assert True
def test_write_help(self): # synced
... | 18.361702 | 44 | 0.61993 | 105 | 863 | 4.866667 | 0.2 | 0.178082 | 0.407045 | 0.508806 | 0.804305 | 0.682975 | 0.630137 | 0.577299 | 0.577299 | 0.534247 | 0 | 0 | 0.31518 | 863 | 46 | 45 | 18.76087 | 0.864636 | 0.12051 | 0 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.448276 | 1 | 0.448276 | false | 0 | 0 | 0 | 0.551724 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
cc0be2f3533641a0121542ea7b30cb61571efd9c | 10,260 | py | Python | alembic/versions/50979d8ef680_add_aadp_purchase_steps.py | albertwo1978/atst | 60d0c688b328bf3385b07885ff33d215e42ac395 | [
"MIT"
] | 1 | 2020-01-16T16:15:52.000Z | 2020-01-16T16:15:52.000Z | alembic/versions/50979d8ef680_add_aadp_purchase_steps.py | albertwo1978/atst | 60d0c688b328bf3385b07885ff33d215e42ac395 | [
"MIT"
] | null | null | null | alembic/versions/50979d8ef680_add_aadp_purchase_steps.py | albertwo1978/atst | 60d0c688b328bf3385b07885ff33d215e42ac395 | [
"MIT"
] | null | null | null | """Add AADP Purchase Steps
Revision ID: 50979d8ef680
Revises: cd7e3f9a5d64
Create Date: 2020-01-30 17:00:27.916639
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = "50979d8ef680" # pragma: allowlist secret
down_revision = "cd7e3f9a5d64" # pragma: allowlist secr... | 40.714286 | 65 | 0.639961 | 908 | 10,260 | 6.569383 | 0.092511 | 0.100587 | 0.064376 | 0.067058 | 0.949874 | 0.949874 | 0.949874 | 0.949874 | 0.949874 | 0.949874 | 0 | 0.00685 | 0.288596 | 10,260 | 251 | 66 | 40.876494 | 0.810385 | 0.0346 | 0 | 0.957265 | 0 | 0 | 0.603689 | 0.562538 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008547 | false | 0 | 0.008547 | 0 | 0.017094 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
cc237477fe9f6f14cc35347d43bfe82e1cc6f0e5 | 27 | py | Python | pcep/prac_15.py | gliverm/devnet-study-group | 28aecef8207cfeb8f10dc375c22e5ec953d6762b | [
"MIT"
] | 1 | 2020-07-30T15:23:55.000Z | 2020-07-30T15:23:55.000Z | pcep/prac_15.py | gliverm/devnet-study-group | 28aecef8207cfeb8f10dc375c22e5ec953d6762b | [
"MIT"
] | null | null | null | pcep/prac_15.py | gliverm/devnet-study-group | 28aecef8207cfeb8f10dc375c22e5ec953d6762b | [
"MIT"
] | null | null | null | x = 1 // 5 + 1 / 5
print(x) | 13.5 | 18 | 0.407407 | 7 | 27 | 1.571429 | 0.571429 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0.333333 | 27 | 2 | 19 | 13.5 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 1 | null | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
0bcf303aa7be7aa06c7ec27ca17cca503d137b38 | 637 | py | Python | src/real_world/__init__.py | yotaro-shimose/cprl-solver | c50a9c101340a0629b6f09015b8dc33318ce081b | [
"MIT"
] | null | null | null | src/real_world/__init__.py | yotaro-shimose/cprl-solver | c50a9c101340a0629b6f09015b8dc33318ce081b | [
"MIT"
] | null | null | null | src/real_world/__init__.py | yotaro-shimose/cprl-solver | c50a9c101340a0629b6f09015b8dc33318ce081b | [
"MIT"
] | null | null | null | from src.real_world.conversion import REAL_X_RANGE
from src.real_world.conversion import REAL_Y_RANGE
from src.real_world.conversion import VEHICLE_SPEED
from src.real_world.conversion import EIGHT_HOURS
from src.real_world.conversion import calc_xy
from src.real_world.conversion import calc_lat_lon
from src.real_world... | 45.5 | 61 | 0.8854 | 105 | 637 | 5.057143 | 0.247619 | 0.158192 | 0.248588 | 0.361582 | 0.911488 | 0.896422 | 0.836158 | 0.485876 | 0 | 0 | 0 | 0 | 0.076923 | 637 | 13 | 62 | 49 | 0.903061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
f0a8a862eeeaf5cf264884fa309aeb26f589d352 | 1,096 | py | Python | foolbox/tests/test_attacks_saliency.py | schoyc/foolbox | e0f400be8fa393467d3db598576e985727edb310 | [
"MIT"
] | 4 | 2021-01-07T12:33:36.000Z | 2022-03-12T07:16:43.000Z | foolbox/tests/test_attacks_saliency.py | alvarorobledo/foolbox | 25d995b1a50f4926e07bc51877d385c0518982f8 | [
"MIT"
] | null | null | null | foolbox/tests/test_attacks_saliency.py | alvarorobledo/foolbox | 25d995b1a50f4926e07bc51877d385c0518982f8 | [
"MIT"
] | 1 | 2021-02-26T10:04:20.000Z | 2021-02-26T10:04:20.000Z | import numpy as np
from foolbox.attacks import SaliencyMapAttack as Attack
def test_attack(bn_adversarial):
adv = bn_adversarial
attack = Attack()
attack(adv)
assert adv.image is not None
assert adv.distance.value < np.inf
def test_attack_random_targets(bn_adversarial):
adv = bn_adversarial... | 24.909091 | 55 | 0.734489 | 155 | 1,096 | 4.980645 | 0.225806 | 0.15544 | 0.163212 | 0.187824 | 0.800518 | 0.800518 | 0.800518 | 0.800518 | 0.800518 | 0.712435 | 0 | 0.002268 | 0.195255 | 1,096 | 43 | 56 | 25.488372 | 0.873016 | 0 | 0 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3125 | 1 | 0.15625 | false | 0 | 0.0625 | 0 | 0.21875 | 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 |
f0d83df0bf59b9566c6542856507188d452c5f20 | 16,222 | py | Python | microtvm_device/microDevice_pb2_grpc.py | mehrdadh/microtvm-device | 50c0ea616184e6fda2bf0266443555124f509415 | [
"Apache-2.0"
] | 1 | 2022-01-20T23:10:03.000Z | 2022-01-20T23:10:03.000Z | microtvm_device/microDevice_pb2_grpc.py | mehrdadh/microtvm-device | 50c0ea616184e6fda2bf0266443555124f509415 | [
"Apache-2.0"
] | null | null | null | microtvm_device/microDevice_pb2_grpc.py | mehrdadh/microtvm-device | 50c0ea616184e6fda2bf0266443555124f509415 | [
"Apache-2.0"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from microtvm_device import microDevice_pb2 as microtvm__device_dot_microDevice__pb2
class RPCRequestStub(object):
"""The device request service.
"""
... | 48.423881 | 112 | 0.685612 | 1,377 | 16,222 | 7.691358 | 0.078431 | 0.074025 | 0.088283 | 0.145406 | 0.839581 | 0.801624 | 0.795581 | 0.757813 | 0.747427 | 0.747427 | 0 | 0.004584 | 0.246949 | 16,222 | 334 | 113 | 48.568862 | 0.862394 | 0.05024 | 0 | 0.691489 | 1 | 0 | 0.089027 | 0.054148 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070922 | false | 0 | 0.007092 | 0.031915 | 0.120567 | 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 |
f0dfbab4d38fe0fb18143dc099ce0698fb6d59a6 | 15,638 | py | Python | src/stats/mle.py | valevo/thesis | 6671fa7ed8aefd3e89fd29ee97fa31a3c4315868 | [
"MIT"
] | 1 | 2018-07-07T11:40:49.000Z | 2018-07-07T11:40:49.000Z | src/stats/mle.py | valevo/Thesis | 6671fa7ed8aefd3e89fd29ee97fa31a3c4315868 | [
"MIT"
] | null | null | null | src/stats/mle.py | valevo/Thesis | 6671fa7ed8aefd3e89fd29ee97fa31a3c4315868 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import statsmodels.api as sm
from statsmodels.base.model import GenericLikelihoodModel,\
GenericLikelihoodModelResults
from statsmodels.nonparametric.smoothers_lowess import lowess
from scipy.special import zeta
from scipy.stats import binom
import pickle
import numpy as np
lg = np.... | 29.957854 | 94 | 0.542844 | 1,893 | 15,638 | 4.330692 | 0.098785 | 0.059283 | 0.047573 | 0.019761 | 0.846304 | 0.836546 | 0.820444 | 0.820444 | 0.820444 | 0.814711 | 0 | 0.009995 | 0.347423 | 15,638 | 521 | 95 | 30.015355 | 0.793337 | 0.027881 | 0 | 0.81672 | 0 | 0 | 0.085001 | 0 | 0.057878 | 0 | 0 | 0 | 0 | 1 | 0.109325 | false | 0 | 0.022508 | 0.025723 | 0.257235 | 0.019293 | 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 |
0b1ae7f35ecd7f6d7d518a57d1b89adf09a51d7b | 12,580 | py | Python | mvpa_itab/script/carlo/mdm/supplementary_analysis.py | robbisg/mvpa_itab_wu | e3cdb198a21349672f601cd34381e0895fa6484c | [
"MIT"
] | 1 | 2022-01-12T08:59:22.000Z | 2022-01-12T08:59:22.000Z | mvpa_itab/script/carlo/mdm/supplementary_analysis.py | robbisg/mvpa_itab_wu | e3cdb198a21349672f601cd34381e0895fa6484c | [
"MIT"
] | 46 | 2016-08-04T14:49:37.000Z | 2022-03-09T08:47:48.000Z | mvpa_itab/script/carlo/mdm/supplementary_analysis.py | robbisg/mvpa_itab_wu | e3cdb198a21349672f601cd34381e0895fa6484c | [
"MIT"
] | null | null | null | _default_options = [
{
'target_transformer__attr': "image_type",
'sample_slicer__attr': {'image_type':["I", "O"]},
'balancer__balancer': RandomUnderSampler(sampling_strategy={"I": 40, "O": 40}, return_indices=True),
... | 47.651515 | 137 | 0.392925 | 857 | 12,580 | 5.389732 | 0.150525 | 0.044815 | 0.048712 | 0.109115 | 0.861658 | 0.854081 | 0.820957 | 0.80407 | 0.790864 | 0.781338 | 0 | 0.023653 | 0.445469 | 12,580 | 264 | 138 | 47.651515 | 0.638475 | 0 | 0 | 0.578947 | 0 | 0 | 0.243152 | 0.04874 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.010526 | 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 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9be6338f37cf8637471dd7c68fb4d9579fd3d4f0 | 29,423 | py | Python | chordToFinger.py | highmore9501/fretDance | 6a1ec2e378bc9d510030209f6218f7bc7e1bbf0a | [
"WTFPL"
] | 1 | 2021-12-03T04:11:50.000Z | 2021-12-03T04:11:50.000Z | chordToFinger.py | highmore9501/fretDance | 6a1ec2e378bc9d510030209f6218f7bc7e1bbf0a | [
"WTFPL"
] | null | null | null | chordToFinger.py | highmore9501/fretDance | 6a1ec2e378bc9d510030209f6218f7bc7e1bbf0a | [
"WTFPL"
] | null | null | null | from calculate import arrangeNotesInChord
def copyNewDancer(dancer):
"""
复制原来的dancer,并且把手指都抬起来
:param dancer:
:return:
"""
import copy
newDancer = copy.deepcopy(dancer)
newDancer.releaseFingers()
return newDancer
def getChordList(chordPosition):
"""
处理和弦音符位置chordPosition,... | 38.612861 | 117 | 0.652925 | 3,134 | 29,423 | 6.129866 | 0.05903 | 0.027328 | 0.074332 | 0.033314 | 0.833169 | 0.789131 | 0.769351 | 0.747853 | 0.734111 | 0.705013 | 0 | 0.056402 | 0.221459 | 29,423 | 761 | 118 | 38.663601 | 0.78225 | 0.088332 | 0 | 0.804388 | 0 | 0 | 0.004308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.063985 | false | 0 | 0.007313 | 0 | 0.135283 | 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 |
5063878c38951547f1732f5eb79c268a5506d85d | 374 | py | Python | skpalm/multivariate_methods.py | jameschapman19/scikit-palm | 7bd7add33181ccd27c79a604957d48fd0576e1bc | [
"BSD-3-Clause"
] | 4 | 2022-03-03T16:20:06.000Z | 2022-03-03T16:20:19.000Z | skpalm/multivariate_methods.py | jameschapman19/scikit-palm | 7bd7add33181ccd27c79a604957d48fd0576e1bc | [
"BSD-3-Clause"
] | null | null | null | skpalm/multivariate_methods.py | jameschapman19/scikit-palm | 7bd7add33181ccd27c79a604957d48fd0576e1bc | [
"BSD-3-Clause"
] | null | null | null | def fasttsq(M,psi,Y,y,m,c,o,plm):
#TODO
raise NotImplementedError
def fasttsq3d(M,psi,Y,y,m,c,o,plm):
#TODO
raise NotImplementedError
def fasttsqp(M,psi,Y,y,m,c,o,plm):
#TODO
raise NotImplementedError
def fastq(M,psi,Y,y,m,c,o,plm):
#TODO
raise NotImplementedError
def fastq3d(M,psi,Y... | 19.684211 | 35 | 0.671123 | 65 | 374 | 3.861538 | 0.230769 | 0.079681 | 0.099602 | 0.119522 | 0.844622 | 0.844622 | 0.844622 | 0.844622 | 0.844622 | 0.844622 | 0 | 0.006536 | 0.181818 | 374 | 19 | 36 | 19.684211 | 0.813725 | 0.053476 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ac97e373e0555ac7ac85cfc3dffb17e36dc98181 | 209 | py | Python | django_shopping_cart/context_processors.py | arcanemachine/django-shopping-cart | 99e464f856c6605077d77f13e692bfba40f09e6c | [
"MIT"
] | null | null | null | django_shopping_cart/context_processors.py | arcanemachine/django-shopping-cart | 99e464f856c6605077d77f13e692bfba40f09e6c | [
"MIT"
] | null | null | null | django_shopping_cart/context_processors.py | arcanemachine/django-shopping-cart | 99e464f856c6605077d77f13e692bfba40f09e6c | [
"MIT"
] | null | null | null | from django_shopping_cart import server_config
def constants(request):
return {'PROJECT_NAME': server_config.PROJECT_NAME,
'FRONTEND_SERVER_LOCATION': server_config.FRONTEND_SERVER_LOCATION}
| 29.857143 | 79 | 0.794258 | 25 | 209 | 6.2 | 0.6 | 0.232258 | 0.283871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138756 | 209 | 6 | 80 | 34.833333 | 0.861111 | 0 | 0 | 0 | 0 | 0 | 0.172249 | 0.114833 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
acd891e26d6d8044a7b68d2ef8d6b58e4949b206 | 4,129 | py | Python | pronunciation.py | radomd92/botjagwar | 1dc96600c40041057a9f9afde38c31ca34b8db38 | [
"MIT"
] | 7 | 2015-01-23T17:24:04.000Z | 2022-01-12T16:54:24.000Z | pronunciation.py | radomd92/botjagwar | 1dc96600c40041057a9f9afde38c31ca34b8db38 | [
"MIT"
] | 18 | 2017-12-09T01:11:23.000Z | 2021-09-22T13:26:24.000Z | pronunciation.py | radomd92/botjagwar | 1dc96600c40041057a9f9afde38c31ca34b8db38 | [
"MIT"
] | 1 | 2015-06-22T02:17:55.000Z | 2015-06-22T02:17:55.000Z | import re
import sys
import pywikibot
from page_lister import get_pages_from_category
def replace_pronunciation_template(language, language_name):
for mg_page in get_pages_from_category('mg', language_name):
old_content = mg_content = mg_page.get()
print('>>>>', mg_page.title(), '<<<<')
... | 35.290598 | 77 | 0.503027 | 424 | 4,129 | 4.646226 | 0.15566 | 0.091371 | 0.08934 | 0.063959 | 0.875635 | 0.875635 | 0.875635 | 0.845178 | 0.845178 | 0.845178 | 0 | 0.002663 | 0.363284 | 4,129 | 116 | 78 | 35.594828 | 0.746672 | 0 | 0 | 0.861386 | 0 | 0 | 0.13829 | 0.0155 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029703 | false | 0 | 0.039604 | 0 | 0.069307 | 0.138614 | 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 |
acff644ffa6634f204877086a03c7e8b4d2271b4 | 3,032 | py | Python | tests/applications/test_forms.py | crydotsnake/djangogirls | 0e764294085d6d7d3c4f61a7fe36f91640abedcd | [
"BSD-3-Clause"
] | 446 | 2015-01-04T20:58:26.000Z | 2022-03-30T23:08:26.000Z | tests/applications/test_forms.py | serenasensini/TheRedCode_Docker-per-Django-e-Postgres | 78a2ca1f09ab956a6936d14a5fd99336ff39f472 | [
"BSD-3-Clause"
] | 649 | 2015-01-09T23:42:14.000Z | 2022-03-31T17:27:19.000Z | tests/applications/test_forms.py | serenasensini/TheRedCode_Docker-per-Django-e-Postgres | 78a2ca1f09ab956a6936d14a5fd99336ff39f472 | [
"BSD-3-Clause"
] | 319 | 2015-01-06T20:58:42.000Z | 2022-03-30T06:29:04.000Z | import pytest
import vcr
from applications.forms import ApplicationForm
from applications.models import Application, Form, Question
from core.models import Event
@pytest.mark.django_db
@vcr.use_cassette('tests/applications/vcr/application_form_prevent_duplicate_emails.yaml')
def test_application_form_prevent_duplica... | 30.32 | 90 | 0.697559 | 372 | 3,032 | 5.489247 | 0.198925 | 0.124878 | 0.058766 | 0.071009 | 0.904995 | 0.894221 | 0.894221 | 0.894221 | 0.868756 | 0.868756 | 0 | 0.002836 | 0.186016 | 3,032 | 99 | 91 | 30.626263 | 0.824554 | 0.051121 | 0 | 0.716216 | 0 | 0 | 0.176471 | 0.087365 | 0 | 0 | 0 | 0 | 0.148649 | 1 | 0.040541 | false | 0.040541 | 0.067568 | 0 | 0.108108 | 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 |
4a23886a570384a4d6bea6cd8d18e1ef0b7eb705 | 66,657 | py | Python | src/instructions.py | hansbonini/pynes-dev | aa5d04de0a1beb6afb93219ffc9f63e83b3907a0 | [
"MIT"
] | null | null | null | src/instructions.py | hansbonini/pynes-dev | aa5d04de0a1beb6afb93219ffc9f63e83b3907a0 | [
"MIT"
] | null | null | null | src/instructions.py | hansbonini/pynes-dev | aa5d04de0a1beb6afb93219ffc9f63e83b3907a0 | [
"MIT"
] | null | null | null | import addrmodes
# TODO: Verificar se nao existem enderecamentos maiores que 1 byte
def rel_addr(value):
if value & 0b10000000:
value &= 0b1111111
value -= 128
return value
def advancePC(cpu, size):
cpu.registers['PC'] += size
def setN(cpu, value):
if value & (1 << 7) == 1 << 7:
... | 21.578828 | 72 | 0.599052 | 8,763 | 66,657 | 4.510328 | 0.018144 | 0.0735 | 0.096701 | 0.071729 | 0.983909 | 0.979405 | 0.968804 | 0.959619 | 0.950739 | 0.940391 | 0 | 0.026326 | 0.260888 | 66,657 | 3,088 | 73 | 21.585816 | 0.775915 | 0.002955 | 0 | 0.893021 | 0 | 0 | 0.00781 | 0 | 0 | 0 | 0.016403 | 0.000324 | 0 | 1 | 0.089428 | false | 0 | 0.000418 | 0 | 0.177183 | 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 |
c5cd8e4a73d0e99731d3ac0698cf3b746e2a517f | 3,887 | py | Python | graphtheory/independentsets/isetus.py | gitter-badger/graphs-dict | 2be1a5b140feb050eec799d6cadf6de5eef01745 | [
"BSD-3-Clause"
] | 36 | 2015-09-20T20:55:39.000Z | 2021-09-20T05:49:03.000Z | graphtheory/independentsets/isetus.py | gitter-badger/graphs-dict | 2be1a5b140feb050eec799d6cadf6de5eef01745 | [
"BSD-3-Clause"
] | 6 | 2016-03-25T21:41:46.000Z | 2020-02-12T03:18:59.000Z | graphtheory/independentsets/isetus.py | gitter-badger/graphs-dict | 2be1a5b140feb050eec799d6cadf6de5eef01745 | [
"BSD-3-Clause"
] | 9 | 2016-09-12T07:57:27.000Z | 2022-03-21T16:15:39.000Z | #!/usr/bin/python
# Tutaj _used i independent_set jest typu set.
class UnorderedSequentialIndependentSet1:
"""Find a maximal independent set."""
def __init__(self, graph):
"""The algorithm initialization."""
if graph.is_directed():
raise ValueError("the graph is directed")
... | 35.336364 | 85 | 0.59326 | 423 | 3,887 | 5.375887 | 0.144208 | 0.083113 | 0.062885 | 0.07124 | 0.902375 | 0.902375 | 0.860598 | 0.843448 | 0.80387 | 0.78628 | 0 | 0.003358 | 0.310522 | 3,887 | 109 | 86 | 35.66055 | 0.845149 | 0.124003 | 0 | 0.91358 | 0 | 0 | 0.03222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0 | 0 | 0.111111 | 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 |
c5ddd6ab107c7babde3d565d7d78a1ec5b21b427 | 5,211 | py | Python | trainer/models/sisr/models.py | jason-zl190/sisr | 2415d28333c94602c52be9c314a8044165d992cf | [
"Apache-2.0"
] | 2 | 2019-12-15T17:12:46.000Z | 2019-12-15T21:09:31.000Z | trainer/models/sisr/models.py | jason-zl190/sisr | 2415d28333c94602c52be9c314a8044165d992cf | [
"Apache-2.0"
] | null | null | null | trainer/models/sisr/models.py | jason-zl190/sisr | 2415d28333c94602c52be9c314a8044165d992cf | [
"Apache-2.0"
] | 1 | 2020-12-15T15:30:12.000Z | 2020-12-15T15:30:12.000Z | import tensorflow as tf
class MySRResNet():
def __init__(self, shape=(None, None, 3)):
self.shape = shape
def __call__(self):
input_tensor = tf.keras.layers.Input(shape=self.shape)
x1 = tf.keras.layers.Conv2D(64, 9, padding='same')(input_tensor)
x1 = tf.keras.layers.PReLU(alpha_initializer='z... | 41.357143 | 85 | 0.545769 | 681 | 5,211 | 4.10279 | 0.116006 | 0.162849 | 0.293128 | 0.295634 | 0.873658 | 0.858626 | 0.849678 | 0.774517 | 0.76378 | 0.739442 | 0 | 0.07206 | 0.304932 | 5,211 | 125 | 86 | 41.688 | 0.699337 | 0.059298 | 0 | 0.658537 | 0 | 0 | 0.02846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04878 | false | 0 | 0.012195 | 0 | 0.109756 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c5eb20117b1c3cd69cace5fcbb70f1689e81a753 | 3,369 | py | Python | src/huobi/coin_swap/rest/trigger_order.py | hbdmapi/huobi_sdk_Python | a4ee876f947011fb5d66da32853cb3a21d852a4b | [
"MIT"
] | 1 | 2022-03-13T16:55:34.000Z | 2022-03-13T16:55:34.000Z | src/huobi/coin_swap/rest/trigger_order.py | hbdmapi/huobi_sdk_Python | a4ee876f947011fb5d66da32853cb3a21d852a4b | [
"MIT"
] | null | null | null | src/huobi/coin_swap/rest/trigger_order.py | hbdmapi/huobi_sdk_Python | a4ee876f947011fb5d66da32853cb3a21d852a4b | [
"MIT"
] | null | null | null | import json
from huobi.utils.http import post
from huobi.host import HOST_FUTURES
class TriggerOrder:
def __init__(self, access_key: str, secret_key: str, host: str = HOST_FUTURES):
self.__access_key = access_key
self.__secret_key = secret_key
self.__host = host
def order(self, data:... | 44.328947 | 83 | 0.678836 | 487 | 3,369 | 4.271047 | 0.082136 | 0.082212 | 0.1125 | 0.155288 | 0.908173 | 0.897596 | 0.897596 | 0.897596 | 0.897596 | 0.897596 | 0 | 0.005946 | 0.201247 | 3,369 | 75 | 84 | 44.92 | 0.767001 | 0 | 0 | 0.285714 | 0 | 0 | 0.154052 | 0.154052 | 0 | 0 | 0 | 0 | 0 | 1 | 0.303571 | false | 0 | 0.053571 | 0 | 0.660714 | 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 |
6804b3cb6c9f1efa515626b9e2dcc1fb662edd9f | 39,371 | py | Python | python/dlxapi/api/projects_api.py | dlens/dlxapi | 189a6519240ce625d7a9cdb89e305a335d2aa045 | [
"MIT"
] | null | null | null | python/dlxapi/api/projects_api.py | dlens/dlxapi | 189a6519240ce625d7a9cdb89e305a335d2aa045 | [
"MIT"
] | 1 | 2020-08-20T17:31:43.000Z | 2020-08-20T17:31:43.000Z | python/dlxapi/api/projects_api.py | dlens/dlxapi | 189a6519240ce625d7a9cdb89e305a335d2aa045 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Decision Lens API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 1.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
impor... | 41.884043 | 219 | 0.612126 | 4,530 | 39,371 | 5.071523 | 0.051656 | 0.048054 | 0.021938 | 0.028206 | 0.958127 | 0.943023 | 0.926003 | 0.908505 | 0.90067 | 0.890093 | 0 | 0.015631 | 0.299662 | 39,371 | 939 | 220 | 41.928648 | 0.817575 | 0.329684 | 0 | 0.772374 | 1 | 0 | 0.181551 | 0.044264 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036965 | false | 0 | 0.007782 | 0 | 0.099222 | 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 |
6814a5a1d88be94a9967b39995dff7c2077e61e1 | 7,222 | py | Python | tests/test_01_accept_negative_country_code_special.py | glushkovvv/test_2gis | 2affff49411a3c7ff77e9d399ec86eb314aa3757 | [
"MIT"
] | null | null | null | tests/test_01_accept_negative_country_code_special.py | glushkovvv/test_2gis | 2affff49411a3c7ff77e9d399ec86eb314aa3757 | [
"MIT"
] | 1 | 2020-08-05T06:27:23.000Z | 2020-08-05T06:27:42.000Z | tests/test_01_accept_negative_country_code_special.py | glushkovvv/test_2gis | 2affff49411a3c7ff77e9d399ec86eb314aa3757 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
test_01_accept_negative_country_code_special
~~~~~~~~~~~~~~
The 2GIS API Test
Check negative country_code special character
:author: Vadim Glushkov
:copyright: Copyright 2019, The2GIS API Test"
:license: MIT
:version: 1.0.0
:maintainer: Vadim Glushkov
:email: plussg@yandex.ru
:status: Deve... | 44.580247 | 119 | 0.692052 | 911 | 7,222 | 5.207464 | 0.170143 | 0.085793 | 0.043002 | 0.05312 | 0.839587 | 0.820405 | 0.813027 | 0.813027 | 0.813027 | 0.813027 | 0 | 0.011142 | 0.204652 | 7,222 | 161 | 120 | 44.857143 | 0.814763 | 0.163667 | 0 | 0.747475 | 0 | 0 | 0.338633 | 0.100812 | 0 | 0 | 0 | 0 | 0.080808 | 1 | 0.040404 | false | 0 | 0.080808 | 0 | 0.121212 | 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 |
a8521db91f2e1f2bef162abe392a5a5139dc8f51 | 6,407 | py | Python | test/test_expected_results.py | ColemanTom/shellcov | d90bd9f0da89ef0b9e536140803fdce470d27479 | [
"MIT"
] | null | null | null | test/test_expected_results.py | ColemanTom/shellcov | d90bd9f0da89ef0b9e536140803fdce470d27479 | [
"MIT"
] | 13 | 2020-07-12T09:34:41.000Z | 2021-06-25T01:06:04.000Z | test/test_expected_results.py | ColemanTom/shellcov | d90bd9f0da89ef0b9e536140803fdce470d27479 | [
"MIT"
] | null | null | null | from string import Template
from shell_cov.shell_cov import FILLER
ESCAPED_QUOTES = '\n'.join(s.strip() for s in r'''
#!/bin/bash
set -eux -o pipefail
arg=$1
values=(1 2 3 4 5)
echo "num values = ${#values[@]}"
case "$arg" in
1|2|${#values[@]}) echo result!!!
;;
25) # do nothing here
;;
*) ;;
esa... | 10.218501 | 62 | 0.520056 | 825 | 6,407 | 4.027879 | 0.088485 | 0.054168 | 0.035209 | 0.043334 | 0.931989 | 0.931989 | 0.931989 | 0.92266 | 0.917243 | 0.90009 | 0 | 0.020851 | 0.273919 | 6,407 | 626 | 63 | 10.234824 | 0.693465 | 0 | 0 | 0.829374 | 0 | 0 | 0.894803 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.00432 | 0 | 0.00432 | 0.012959 | 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 |
a895820b415560eabfdaafe75a0ecfddcddde49a | 9,139 | py | Python | applications/bestbukpl/controllers/read_coupon.py | lechu87/bbuk | 34934040f70a6d3e6d15d7659411c6398732fb58 | [
"BSD-3-Clause"
] | null | null | null | applications/bestbukpl/controllers/read_coupon.py | lechu87/bbuk | 34934040f70a6d3e6d15d7659411c6398732fb58 | [
"BSD-3-Clause"
] | null | null | null | applications/bestbukpl/controllers/read_coupon.py | lechu87/bbuk | 34934040f70a6d3e6d15d7659411c6398732fb58 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# spróbój czegos takiego jak
#read_coupon_fortuna_wo_sql=local_import('read_coupon_fortuna_wo_sql_27')
#from read_coupon_fortuna_wo_sql local_import read_coupon
import subprocess
import re
from collections import defaultdict
def index(): return dict(message="hello from read_coupon.py")
def test... | 65.748201 | 1,581 | 0.636831 | 1,547 | 9,139 | 3.475113 | 0.108597 | 0.042411 | 0.030134 | 0.020461 | 0.932478 | 0.930246 | 0.919829 | 0.916667 | 0.910342 | 0.894345 | 0 | 0.045048 | 0.13043 | 9,139 | 138 | 1,582 | 66.224638 | 0.631433 | 0.259328 | 0 | 0.831461 | 0 | 0 | 0.241892 | 0.014281 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033708 | false | 0 | 0.033708 | 0.011236 | 0.089888 | 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 |
a8c5c8070b1badb3f215de596de252e2fa11f159 | 160 | py | Python | Models/Model_1/ResNet/__init__.py | akanimax/toxic-comment-identification-tensorflow | a1d065639d8b518c0ac1dc53e98e09642e258bb6 | [
"MIT"
] | null | null | null | Models/Model_1/ResNet/__init__.py | akanimax/toxic-comment-identification-tensorflow | a1d065639d8b518c0ac1dc53e98e09642e258bb6 | [
"MIT"
] | null | null | null | Models/Model_1/ResNet/__init__.py | akanimax/toxic-comment-identification-tensorflow | a1d065639d8b518c0ac1dc53e98e09642e258bb6 | [
"MIT"
] | null | null | null | """ This package contains the code for the first model to be trained for this problem
"""
from __future__ import print_function
from __future__ import division | 32 | 85 | 0.80625 | 24 | 160 | 5 | 0.75 | 0.166667 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 160 | 5 | 86 | 32 | 0.888889 | 0.50625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
7656fe442f4b5448c8efa639987f559228291109 | 45 | py | Python | projects/faces/landmark/landmark/__init__.py | Bingwen-Hu/hackaway | 69727d76fd652390d9660e9ea4354ba5cc76dd5c | [
"BSD-2-Clause"
] | null | null | null | projects/faces/landmark/landmark/__init__.py | Bingwen-Hu/hackaway | 69727d76fd652390d9660e9ea4354ba5cc76dd5c | [
"BSD-2-Clause"
] | null | null | null | projects/faces/landmark/landmark/__init__.py | Bingwen-Hu/hackaway | 69727d76fd652390d9660e9ea4354ba5cc76dd5c | [
"BSD-2-Clause"
] | null | null | null | from .api import detect
from .api import show | 22.5 | 23 | 0.8 | 8 | 45 | 4.5 | 0.625 | 0.388889 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 2 | 24 | 22.5 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 | 8 |
76746358001a7533446098f9eddc1122638f9f6f | 163,522 | py | Python | Aci_Cal_Toolkit.py | riccardo123github/ACI-Python-Scripts-Automation | b3bd986628c9c7753345acab2fdf48f13d6580fa | [
"Apache-2.0"
] | 1 | 2021-08-02T09:00:25.000Z | 2021-08-02T09:00:25.000Z | Aci_Cal_Toolkit.py | riccardo123github/ACI-Python-Scripts-Automation | b3bd986628c9c7753345acab2fdf48f13d6580fa | [
"Apache-2.0"
] | null | null | null | Aci_Cal_Toolkit.py | riccardo123github/ACI-Python-Scripts-Automation | b3bd986628c9c7753345acab2fdf48f13d6580fa | [
"Apache-2.0"
] | null | null | null | import requests
import json
import sys
import collections
import jinja2
import ipaddress
import time
import re
import urllib3
urllib3.disable_warnings()
# Global options for debugging
PRINT_PAYLOAD = True
# flag variable to avoid pushing anything to APIC
PUSH_TO_APIC = False
PRINT_RESPONSE_TEXT_ALWAYS = False
PRINT_RE... | 39.603294 | 113 | 0.571874 | 17,876 | 163,522 | 5.100694 | 0.045592 | 0.041193 | 0.021222 | 0.023031 | 0.845109 | 0.822724 | 0.802676 | 0.769829 | 0.752314 | 0.740009 | 0 | 0.005253 | 0.313199 | 163,522 | 4,128 | 114 | 39.612888 | 0.806628 | 0.208675 | 0 | 0.739591 | 0 | 0.000757 | 0.146601 | 0.026079 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046177 | false | 0.001514 | 0.003407 | 0 | 0.10106 | 0.01022 | 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 |
76b0828bdb515a10a405cd66bbfdae971b8d70ff | 11,381 | py | Python | test/test_bit4id_pathgroup_tokens_api.py | signingtoday/signingtoday-sdk-python | ed267279622fb59f2ad8fa289157fc9cdf9d8a5b | [
"MIT"
] | null | null | null | test/test_bit4id_pathgroup_tokens_api.py | signingtoday/signingtoday-sdk-python | ed267279622fb59f2ad8fa289157fc9cdf9d8a5b | [
"MIT"
] | null | null | null | test/test_bit4id_pathgroup_tokens_api.py | signingtoday/signingtoday-sdk-python | ed267279622fb59f2ad8fa289157fc9cdf9d8a5b | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Signing Today API
KlNpZ25pbmcgVG9kYXkqIGVuYWJsZXMgc2VhbWxlc3MgaW50ZWdyYXRpb24gb2YgZGlnaXRhbCBzaWduYXR1cmVzIGludG8gYW55CndlYnNpdGUgYnkgdGhlIHVzZSBvZiBlYXN5IHJlcXVlc3RzIHRvIG91ciBBUEkuIFRoaXMgaXMgdGhlIHNtYXJ0IHdheSBvZgphZGRpbmcgZGlnaXRhbCBzaWduYXR1cmUgc3VwcG9ydCB3aXRoIGEgZ3JlYXQgdXNlciBleHBl... | 147.805195 | 9,710 | 0.947281 | 212 | 11,381 | 50.632075 | 0.353774 | 0.006708 | 0.006149 | 0.008385 | 0.040246 | 0.029253 | 0.008385 | 0.008385 | 0 | 0 | 0 | 0.092991 | 0.040945 | 11,381 | 76 | 9,711 | 149.75 | 0.890426 | 0.911431 | 0 | 0.291667 | 0 | 0 | 0.009512 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.291667 | 0.208333 | 0 | 0.583333 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
76b4d0b34d7b28bd583415a7e40328035d0120e4 | 9,642 | py | Python | src/rose-upset.py | MountainMan12/rose2018ng-notebook | 2c907f0d599a50c23c487984e6a0fe0364d3651b | [
"MIT"
] | 8 | 2019-09-20T15:47:54.000Z | 2021-11-01T02:05:17.000Z | src/rose-upset.py | MountainMan12/rose2018ng-notebook | 2c907f0d599a50c23c487984e6a0fe0364d3651b | [
"MIT"
] | 9 | 2020-03-24T16:53:29.000Z | 2022-01-13T01:07:07.000Z | src/rose-upset.py | MountainMan12/rose2018ng-notebook | 2c907f0d599a50c23c487984e6a0fe0364d3651b | [
"MIT"
] | 3 | 2020-07-18T20:42:43.000Z | 2021-04-14T11:31:42.000Z | from matplotlib import pyplot as plt
import pandas as pd
import os, errno
from upsetplot import plot
__author__ = 'proccaserra (Philippe Rocca-Serra)'
# author: philippe rocca-serra (philippe.rocca-serra@oerc.ox.ac.uk)
# ontology: http://www.stato-ontology.org
try:
if not os.path.exists('../figures/denovo'):
... | 143.910448 | 994 | 0.841423 | 1,386 | 9,642 | 5.407648 | 0.142857 | 0.008806 | 0.017078 | 0.019079 | 0.874049 | 0.86004 | 0.86004 | 0.86004 | 0.86004 | 0.851768 | 0 | 0.025865 | 0.025617 | 9,642 | 66 | 995 | 146.090909 | 0.7719 | 0.663866 | 0 | 0 | 0 | 0 | 0.573959 | 0.04941 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.148148 | 0 | 0.148148 | 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 |
8c2426a84797c502fcc929baad7471df602059cf | 2,788 | py | Python | musket_core/tests/decl_test.py | dreamflyer/musket_core | 1bdf1b4715a3b5c63bf687799d7b977fdf49053f | [
"MIT"
] | 1 | 2019-04-12T13:46:53.000Z | 2019-04-12T13:46:53.000Z | musket_core/tests/decl_test.py | dreamflyer/musket_core | 1bdf1b4715a3b5c63bf687799d7b977fdf49053f | [
"MIT"
] | 5 | 2018-12-12T11:49:05.000Z | 2019-04-30T14:23:54.000Z | musket_core/tests/decl_test.py | dreamflyer/musket_core | 1bdf1b4715a3b5c63bf687799d7b977fdf49053f | [
"MIT"
] | null | null | null | import unittest
from musket_core import net_declaration
import keras
import os
fl=__file__
fl=os.path.dirname(fl)
class TestStringMethods(unittest.TestCase):
def testNetCreation(self):
m1 = net_declaration.create_model(os.path.join(fl,"../examples/conditional.yaml"), keras.layers.Input((200,... | 58.083333 | 149 | 0.656385 | 385 | 2,788 | 4.654545 | 0.14026 | 0.122768 | 0.178571 | 0.212054 | 0.835938 | 0.823103 | 0.823103 | 0.805804 | 0.805804 | 0.683036 | 0 | 0.075623 | 0.151004 | 2,788 | 47 | 150 | 59.319149 | 0.681453 | 0 | 0 | 0.238095 | 0 | 0 | 0.155053 | 0.155053 | 0 | 0 | 0 | 0 | 0.02381 | 1 | 0.02381 | false | 0 | 0.095238 | 0 | 0.142857 | 0.357143 | 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 |
8c25bd57ed3da7922c216569e07e63070966c580 | 64,374 | py | Python | doajtest/unit/test_tasks_ingestDOAJarticles.py | DOAJ/doaj | b11f163c48f51f9e3ada2b02c617b50b847dcb4c | [
"Apache-2.0"
] | 47 | 2015-04-24T13:13:39.000Z | 2022-03-06T03:22:42.000Z | doajtest/unit/test_tasks_ingestDOAJarticles.py | DOAJ/doaj | b11f163c48f51f9e3ada2b02c617b50b847dcb4c | [
"Apache-2.0"
] | 1,215 | 2015-01-02T14:29:38.000Z | 2022-03-28T14:19:13.000Z | doajtest/unit/test_tasks_ingestDOAJarticles.py | DOAJ/doaj | b11f163c48f51f9e3ada2b02c617b50b847dcb4c | [
"Apache-2.0"
] | 14 | 2015-11-27T13:01:23.000Z | 2021-05-21T07:57:23.000Z | from doajtest.helpers import DoajTestCase
from lxml import etree
from doajtest.mocks.bll_article import BLLArticleMockFactory
from doajtest.mocks.ftp import FTPMockFactory
from doajtest.mocks.file import FileMockFactory
from doajtest.mocks.response import ResponseMockFactory
from doajtest.mocks.xwalk import XwalkMockF... | 35.023939 | 184 | 0.646068 | 7,686 | 64,374 | 5.246032 | 0.052563 | 0.053322 | 0.012946 | 0.020337 | 0.879591 | 0.854344 | 0.834974 | 0.827683 | 0.817638 | 0.815084 | 0 | 0.023768 | 0.249045 | 64,374 | 1,838 | 184 | 35.023939 | 0.81031 | 0.07531 | 0 | 0.850863 | 0 | 0 | 0.080079 | 0.013562 | 0 | 0 | 0 | 0 | 0.240973 | 1 | 0.047881 | false | 0 | 0.025903 | 0.000785 | 0.075353 | 0.000785 | 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 |
8c2c1ec4b686fc5b8d49ee878e10b181b38634a5 | 2,460 | py | Python | pcdet/models/backbones_3d/vfe/fusion_vfe.py | HenryLittle/OpenPCDet-HL | 7dba01750e10d170849314723ec0665782236a70 | [
"Apache-2.0"
] | null | null | null | pcdet/models/backbones_3d/vfe/fusion_vfe.py | HenryLittle/OpenPCDet-HL | 7dba01750e10d170849314723ec0665782236a70 | [
"Apache-2.0"
] | null | null | null | pcdet/models/backbones_3d/vfe/fusion_vfe.py | HenryLittle/OpenPCDet-HL | 7dba01750e10d170849314723ec0665782236a70 | [
"Apache-2.0"
] | null | null | null | import torch
from .vfe_template import VFETemplate
from .image_vfe import ImageVFE
from .mean_vfe import MeanVFE
from .image_vfe_modules.resnet import HookedResNet
from .image_vfe_modules.maskrcnn import HookedMaskRCNN
class ImageMaskRCNNVFE(VFETemplate):
def __init__(self, model_cfg, point_cloud_range, num_point... | 34.647887 | 83 | 0.671951 | 327 | 2,460 | 4.66055 | 0.198777 | 0.106299 | 0.104987 | 0.052493 | 0.828084 | 0.828084 | 0.828084 | 0.828084 | 0.828084 | 0.828084 | 0 | 0 | 0.231707 | 2,460 | 71 | 84 | 34.647887 | 0.806349 | 0.075203 | 0 | 0.791667 | 0 | 0 | 0.029062 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0.041667 | 0.375 | 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 |
8c374c289c498d77021f4ba74421169e4595ab8b | 201 | py | Python | abmarl/pols/__init__.py | Leonardo767/Abmarl | 9fada5447b09174c6a70b6032b4a8d08b66c4589 | [
"Apache-2.0"
] | 7 | 2020-11-13T01:33:44.000Z | 2021-03-05T14:30:34.000Z | abmarl/pols/__init__.py | Leonardo767/Abmarl | 9fada5447b09174c6a70b6032b4a8d08b66c4589 | [
"Apache-2.0"
] | 91 | 2020-11-04T23:34:30.000Z | 2021-06-08T17:18:00.000Z | abmarl/pols/__init__.py | Leonardo767/Abmarl | 9fada5447b09174c6a70b6032b4a8d08b66c4589 | [
"Apache-2.0"
] | 6 | 2021-07-12T19:28:51.000Z | 2022-03-01T00:50:02.000Z | from .abstract_policy import HeuristicPolicy
from .random_policy import RandomAction
from .policy import GreedyPolicy
from .policy import EpsilonSoftPolicy
from .policy import RandomFirstActionPolicy
| 28.714286 | 44 | 0.870647 | 22 | 201 | 7.863636 | 0.454545 | 0.346821 | 0.277457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 201 | 6 | 45 | 33.5 | 0.961111 | 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 |
4feebec3c8e434a205b70e180501d0deac39326b | 9,659 | py | Python | tests/integration/test_kpi_smart_gap_mode.py | JLSteenwyk/ClipKIT | b2d6033e638a78acc36942f9f420d5d3bc0e09ad | [
"MIT"
] | 28 | 2020-06-11T14:06:15.000Z | 2022-03-14T04:32:12.000Z | tests/integration/test_kpi_smart_gap_mode.py | JLSteenwyk/ClipKIT | b2d6033e638a78acc36942f9f420d5d3bc0e09ad | [
"MIT"
] | 10 | 2020-09-14T13:59:13.000Z | 2022-02-25T17:17:01.000Z | tests/integration/test_kpi_smart_gap_mode.py | JLSteenwyk/ClipKIT | b2d6033e638a78acc36942f9f420d5d3bc0e09ad | [
"MIT"
] | 1 | 2020-12-15T07:25:09.000Z | 2020-12-15T07:25:09.000Z | import pytest
from pathlib import Path
from clipkit.clipkit import execute
from clipkit.files import FileFormat
from clipkit.modes import TrimmingMode
here = Path(__file__)
@pytest.mark.integration
class TestKPISmartGapsMode(object):
def test_simple_no_change(self):
"""
usage: clipkit simple.fa ... | 32.96587 | 100 | 0.612693 | 1,145 | 9,659 | 4.844541 | 0.076856 | 0.081125 | 0.091942 | 0.023436 | 0.912025 | 0.900667 | 0.88967 | 0.8574 | 0.828376 | 0.815576 | 0 | 0.053392 | 0.298064 | 9,659 | 292 | 101 | 33.078767 | 0.764749 | 0.100735 | 0 | 0.728571 | 0 | 0 | 0.188852 | 0.166508 | 0 | 0 | 0 | 0 | 0.042857 | 1 | 0.042857 | false | 0 | 0.02381 | 0 | 0.071429 | 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 |
8b417e91638786abf14d781d658ff977d1a64c6c | 170 | py | Python | culturemesh/client/__init__.py | raydleemsc/flask_tests_workshop | 4a90a4ac8a186874e63ae0dd531a331d2b9e4385 | [
"CC-BY-4.0"
] | null | null | null | culturemesh/client/__init__.py | raydleemsc/flask_tests_workshop | 4a90a4ac8a186874e63ae0dd531a331d2b9e4385 | [
"CC-BY-4.0"
] | null | null | null | culturemesh/client/__init__.py | raydleemsc/flask_tests_workshop | 4a90a4ac8a186874e63ae0dd531a331d2b9e4385 | [
"CC-BY-4.0"
] | 3 | 2021-09-20T20:14:42.000Z | 2022-01-12T19:11:36.000Z | #
# Import things to be discoverable at the package level.
#
""" Only the API Client should be discoverable """
from .client import Client
from .client import Request | 21.25 | 57 | 0.741176 | 24 | 170 | 5.25 | 0.625 | 0.222222 | 0.253968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188235 | 170 | 8 | 58 | 21.25 | 0.913043 | 0.588235 | 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 |
8c84d5b8991a0f487fe1c6aaaa1ea63c12b0c63e | 85,841 | py | Python | tests/parser/identifiers.6.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/identifiers.6.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/identifiers.6.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | input = """
n(x4000).
n(x3999).
n(x3998).
n(x3997).
n(x3996).
n(x3995).
n(x3994).
n(x3993).
n(x3992).
n(x3991).
n(x3990).
n(x3989).
n(x3988).
n(x3987).
n(x3986).
n(x3985).
n(x3984).
n(x3983).
n(x3982).
n(x3981).
n(x3980).
n(x3979).
n(x3978).
n(x3977).
n(x3976).
n(x3975).
n(x3974).
n(x3973).
... | 10.720744 | 12 | 0.533649 | 16,006 | 85,841 | 2.861989 | 0.250156 | 0.000262 | 0.000306 | 0.000524 | 0.99976 | 0.99976 | 0.99976 | 0.99976 | 0.99976 | 0.99976 | 0 | 0.426671 | 0.186531 | 85,841 | 8,006 | 13 | 10.722083 | 0.229346 | 0 | 0 | 0.99975 | 0 | 0 | 0.999602 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
8c9d138dc32c21c945602b5eb99cf1c27e1b6119 | 124 | py | Python | querio/service/exceptions/querio_file_error.py | Quer-io/Quer.io | 381f4bf3fd505d35d0f10817322ff9072d453a18 | [
"MIT"
] | null | null | null | querio/service/exceptions/querio_file_error.py | Quer-io/Quer.io | 381f4bf3fd505d35d0f10817322ff9072d453a18 | [
"MIT"
] | 1 | 2018-10-31T18:29:36.000Z | 2018-10-31T18:29:36.000Z | querio/service/exceptions/querio_file_error.py | Quer-io/Quer.io | 381f4bf3fd505d35d0f10817322ff9072d453a18 | [
"MIT"
] | 1 | 2018-09-05T05:57:17.000Z | 2018-09-05T05:57:17.000Z |
class QuerioFileError(Exception):
def __init__(self, *args, **kwargs):
Exception.__init__(self, args, kwargs)
| 20.666667 | 46 | 0.685484 | 13 | 124 | 5.923077 | 0.615385 | 0.207792 | 0.311688 | 0.467532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185484 | 124 | 5 | 47 | 24.8 | 0.762376 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
8cc701e5a866060d94086eeff4f88f3b0cd515c6 | 11,146 | py | Python | rb_tocase/rb_tocase.py | RickBarretto/toCase | 13720f3bcef017951c76dc41ba0dbe0fb355b66a | [
"MIT"
] | 3 | 2021-04-20T00:36:09.000Z | 2022-01-10T06:34:59.000Z | rb_tocase/rb_tocase.py | RickBarretto/toCase | 13720f3bcef017951c76dc41ba0dbe0fb355b66a | [
"MIT"
] | 3 | 2022-01-10T07:27:25.000Z | 2022-01-11T19:03:49.000Z | rb_tocase/rb_tocase.py | RickBarretto/toCase | 13720f3bcef017951c76dc41ba0dbe0fb355b66a | [
"MIT"
] | null | null | null | import re
class Case:
def _CamelSep(string:str, sep:str):
""" Don't use it!"""
_list = string.split(sep)
first = _list[0].lower()
last = []
for i in _list[1:]:
last.append(i.title())
last = "".join(last)
result = str(first + last)
return ... | 33.074184 | 92 | 0.467701 | 1,204 | 11,146 | 4.280731 | 0.08804 | 0.034148 | 0.015134 | 0.037835 | 0.834692 | 0.805976 | 0.794335 | 0.790648 | 0.786962 | 0.715367 | 0 | 0.009997 | 0.398708 | 11,146 | 337 | 93 | 33.074184 | 0.759027 | 0.221784 | 0 | 0.775 | 0 | 0 | 0.05293 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045 | false | 0 | 0.005 | 0 | 0.18 | 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 |
8cfdbb68d11cce80f3113cfdcf2bf122b322b8df | 310 | py | Python | src/__init__.py | davidkowalk/FunctionSynthesizer | 8513ca8991679baf36c7edcbd4d5984ff2660bb9 | [
"MIT"
] | 3 | 2020-04-03T07:32:37.000Z | 2020-09-18T15:02:48.000Z | src/__init__.py | davidkowalk/FunctionSynthesizer | 8513ca8991679baf36c7edcbd4d5984ff2660bb9 | [
"MIT"
] | null | null | null | src/__init__.py | davidkowalk/FunctionSynthesizer | 8513ca8991679baf36c7edcbd4d5984ff2660bb9 | [
"MIT"
] | null | null | null | from function_synthesizer.function_synthesizer import solve
from function_synthesizer.function_synthesizer import solve_mixed
from function_synthesizer.function_synthesizer import to_str
from function_synthesizer.function_synthesizer import calculate
from function_synthesizer.function_synthesizer import read
| 51.666667 | 65 | 0.919355 | 37 | 310 | 7.378378 | 0.27027 | 0.695971 | 0.421245 | 0.567766 | 0.915751 | 0.915751 | 0.388278 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 310 | 5 | 66 | 62 | 0.941379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
508be3617b2d7114b88649c6f8d40b1b5d603c02 | 29,344 | py | Python | test/test_sampler_args.py | daikonradish/cmdstanpy | 5645a6bad11edfecd28ede5e7798440b345f6994 | [
"BSD-3-Clause"
] | null | null | null | test/test_sampler_args.py | daikonradish/cmdstanpy | 5645a6bad11edfecd28ede5e7798440b345f6994 | [
"BSD-3-Clause"
] | null | null | null | test/test_sampler_args.py | daikonradish/cmdstanpy | 5645a6bad11edfecd28ede5e7798440b345f6994 | [
"BSD-3-Clause"
] | null | null | null | import os
import os.path
import unittest
from cmdstanpy import TMPDIR
from cmdstanpy.lib import Model, SamplerArgs
datafiles_path = os.path.join("test", "data")
class SamplerArgsTest(unittest.TestCase):
def test_args_min(self):
stan = os.path.join(datafiles_path, 'bernoulli.stan')
exe = os.path.... | 44.937213 | 142 | 0.550095 | 3,386 | 29,344 | 4.577377 | 0.037803 | 0.058068 | 0.096135 | 0.169172 | 0.932125 | 0.896832 | 0.867411 | 0.856765 | 0.828376 | 0.793729 | 0 | 0.022634 | 0.336014 | 29,344 | 652 | 143 | 45.006135 | 0.772839 | 0 | 0 | 0.717687 | 0 | 0.006803 | 0.116106 | 0.025082 | 0 | 0 | 0 | 0 | 0.117347 | 1 | 0.098639 | false | 0 | 0.008503 | 0 | 0.108844 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
50dd7cab01df657bc89561dbacb5af02edd08f0e | 39 | py | Python | src/lib/gettext.py | DTenore/skulpt | 098d20acfb088d6db85535132c324b7ac2f2d212 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | src/lib/gettext.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | src/lib/gettext.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | import _sk_fail; _sk_fail._("gettext")
| 19.5 | 38 | 0.769231 | 6 | 39 | 4.166667 | 0.666667 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.694444 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
ba29544ad5b82cf4a7063da436df89f86b8bbe47 | 195 | py | Python | v1.0.0.test/otp/uberdog/BanManager.py | TTOFFLINE-LEAK/ttoffline | bb0e91704a755d34983e94288d50288e46b68380 | [
"MIT"
] | 4 | 2019-07-01T15:46:43.000Z | 2021-07-23T16:26:48.000Z | v1.0.0.test/otp/uberdog/BanManager.py | TTOFFLINE-LEAK/ttoffline | bb0e91704a755d34983e94288d50288e46b68380 | [
"MIT"
] | 1 | 2019-06-29T03:40:05.000Z | 2021-06-13T01:15:16.000Z | v1.0.0.test/otp/uberdog/BanManager.py | TTOFFLINE-LEAK/ttoffline | bb0e91704a755d34983e94288d50288e46b68380 | [
"MIT"
] | 4 | 2019-07-28T21:18:46.000Z | 2021-02-25T06:37:25.000Z | from direct.distributed.DistributedObjectGlobal import DistributedObjectGlobal
from direct.directnotify.DirectNotifyGlobal import directNotify
class BanManager(DistributedObjectGlobal):
pass | 39 | 78 | 0.887179 | 16 | 195 | 10.8125 | 0.625 | 0.115607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 195 | 5 | 79 | 39 | 0.961111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
e895c3d2f88572d8c5889ba28ad81aec2a42af4e | 7,056 | py | Python | train_exp.py | mk37972/SCAPE | 01080e4159917546c76dd15ae5c74e092f4ae299 | [
"MIT"
] | null | null | null | train_exp.py | mk37972/SCAPE | 01080e4159917546c76dd15ae5c74e092f4ae299 | [
"MIT"
] | null | null | null | train_exp.py | mk37972/SCAPE | 01080e4159917546c76dd15ae5c74e092f4ae299 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Jul 14 15:36:15 2020
@author: mincheol
"""
from baselines import run
import mpi4py
## Block (Position control approach)
defaultargs = ['--alg=her','--env=Block-v1', '--num_timesteps=5e4']
for dim in [4]:
for seed in [10,500,1000]:
... | 41.751479 | 111 | 0.569728 | 767 | 7,056 | 5.076923 | 0.104302 | 0.061633 | 0.052388 | 0.061633 | 0.943503 | 0.939137 | 0.845917 | 0.777607 | 0.717257 | 0.674114 | 0 | 0.025796 | 0.247307 | 7,056 | 169 | 112 | 41.751479 | 0.7074 | 0.81661 | 0 | 0 | 0 | 0 | 0.191011 | 0.11236 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e8ca6537b323322333c954356234837c4dd883e3 | 12,724 | py | Python | comet_chaser_api/comet_utils/analyzer/entry_strategy.py | chung-ejy/comet_chaser_api | e18a4b65d606bcf5106cff5095b1a3134901abff | [
"MIT"
] | null | null | null | comet_chaser_api/comet_utils/analyzer/entry_strategy.py | chung-ejy/comet_chaser_api | e18a4b65d606bcf5106cff5095b1a3134901abff | [
"MIT"
] | null | null | null | comet_chaser_api/comet_utils/analyzer/entry_strategy.py | chung-ejy/comet_chaser_api | e18a4b65d606bcf5106cff5095b1a3134901abff | [
"MIT"
] | null | null | null | from cmath import nan
import pandas as pd
import pickle
from database.comet_historian import CometHistorian
import os
from dotenv import load_dotenv
load_dotenv()
mongouser = os.getenv("MONGOUSER")
mongokey = os.getenv("MONGOKEY")
class EntryStrategy(object):
@classmethod
def entry_analysis(self,entry_strat,fi... | 47.477612 | 130 | 0.478309 | 1,000 | 12,724 | 5.978 | 0.088 | 0.058883 | 0.092339 | 0.100368 | 0.846604 | 0.838742 | 0.836233 | 0.836233 | 0.833724 | 0.826865 | 0 | 0.005802 | 0.40404 | 12,724 | 268 | 131 | 47.477612 | 0.78254 | 0 | 0 | 0.773438 | 0 | 0 | 0.091238 | 0.004086 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054688 | false | 0 | 0.023438 | 0 | 0.136719 | 0.003906 | 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 |
2cf2ff3d4fd1f56700dba8eeabbbb4b801afe191 | 37 | py | Python | setka/__init__.py | RomanovMikeV/setka | cad6f17429a4bb3479c5557ad58c15fee568f410 | [
"MIT"
] | 11 | 2019-04-16T11:41:24.000Z | 2021-05-28T15:01:17.000Z | setka/__init__.py | RomanovMikeV/cv_utilities | cad6f17429a4bb3479c5557ad58c15fee568f410 | [
"MIT"
] | 15 | 2019-12-05T22:25:37.000Z | 2020-03-18T20:09:03.000Z | setka/__init__.py | RomanovMikeV/setka | cad6f17429a4bb3479c5557ad58c15fee568f410 | [
"MIT"
] | 6 | 2019-04-24T15:35:22.000Z | 2021-08-10T07:48:39.000Z | import setka.base
import setka.pipes
| 12.333333 | 18 | 0.837838 | 6 | 37 | 5.166667 | 0.666667 | 0.709677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 2 | 19 | 18.5 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
fa4367eb975be64e534d7ddc18212c16a58d36eb | 48,238 | py | Python | models.py | subin2/LearningGroupStructure | c5af7880d7443f576ad3dbe4c1e0af7c34ddcbad | [
"MIT"
] | 1 | 2018-12-04T06:29:59.000Z | 2018-12-04T06:29:59.000Z | models.py | subin2/LearningGroupStructure | c5af7880d7443f576ad3dbe4c1e0af7c34ddcbad | [
"MIT"
] | null | null | null | models.py | subin2/LearningGroupStructure | c5af7880d7443f576ad3dbe4c1e0af7c34ddcbad | [
"MIT"
] | 1 | 2018-12-04T06:48:54.000Z | 2018-12-04T06:48:54.000Z | import numpy as np
import tensorflow as tf
class conv2d(object):
def __init__(self, input, weight_size, strides=[1,1,1,1], padding='SAME', pool=None, pool_size=4, nonlinearity=None,
use_dropout=True, keep_prob=1.0, use_batchnorm=True, std=0.01, offset=1e-10, scale=1, epsilon=1e-10, name='conv2d_de... | 48.141717 | 217 | 0.580538 | 6,145 | 48,238 | 4.389422 | 0.05598 | 0.013495 | 0.017536 | 0.021429 | 0.862974 | 0.848997 | 0.827754 | 0.805324 | 0.799763 | 0.777778 | 0 | 0.023922 | 0.300655 | 48,238 | 1,001 | 218 | 48.18981 | 0.775634 | 0.050645 | 0 | 0.761379 | 0 | 0 | 0.025944 | 0.00181 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.002759 | null | null | 0.028966 | 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 |
d704b4bffb0a137f6aaca278fc2208f0b9542efc | 6,635 | py | Python | Plugins/UnrealEnginePython/Binaries/Win64/Lib/site-packages/tensorflow/_api/v1/keras/layers/__init__.py | JustinACoder/H22-GR3-UnrealAI | 361eb9ef1147f8a2991e5f98c4118cd823184adf | [
"MIT"
] | 6 | 2022-02-04T18:12:24.000Z | 2022-03-21T23:57:12.000Z | Lib/site-packages/tensorflow/_api/v1/keras/layers/__init__.py | shfkdroal/Robot-Learning-in-Mixed-Adversarial-and-Collaborative-Settings | 1fa4cd6a566c8745f455fc3d2273208f21f88ced | [
"bzip2-1.0.6"
] | null | null | null | Lib/site-packages/tensorflow/_api/v1/keras/layers/__init__.py | shfkdroal/Robot-Learning-in-Mixed-Adversarial-and-Collaborative-Settings | 1fa4cd6a566c8745f455fc3d2273208f21f88ced | [
"bzip2-1.0.6"
] | 1 | 2022-02-08T03:53:23.000Z | 2022-02-08T03:53:23.000Z | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
"""Keras layers API.
"""
from __future__ import print_function
from tensorflow.python.keras import Input
from tensorflow.python.keras.engine import InputLayer
from tensorflow.pyth... | 56.228814 | 85 | 0.855916 | 824 | 6,635 | 6.882282 | 0.154126 | 0.30753 | 0.380885 | 0.476107 | 0.810263 | 0.810263 | 0.484042 | 0.146711 | 0.146711 | 0.146711 | 0 | 0.012124 | 0.09254 | 6,635 | 117 | 86 | 56.709402 | 0.929746 | 0.021703 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.990909 | 0 | 0.990909 | 0.018182 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 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 | 9 |
d71475d8777bb43a98856cbe2fb897a258fe2575 | 13,604 | py | Python | PhysicsTools/NanoAOD/countEvents.py | GonzalezFJR/cmssw | 8f453e1b07c4a6d79b9e52190f6f68ec89959c03 | [
"Apache-2.0"
] | null | null | null | PhysicsTools/NanoAOD/countEvents.py | GonzalezFJR/cmssw | 8f453e1b07c4a6d79b9e52190f6f68ec89959c03 | [
"Apache-2.0"
] | null | null | null | PhysicsTools/NanoAOD/countEvents.py | GonzalezFJR/cmssw | 8f453e1b07c4a6d79b9e52190f6f68ec89959c03 | [
"Apache-2.0"
] | null | null | null | from ROOT import *
samples = [
'root://deepthought.crc.nd.edu//store/user/kmohrman/FullProduction/Round6/Batch6/postLHE_step/v2/mAOD_step_ttllNuNuJetNoHiggs_HanV4ttXJetStartPtChecks_run2/HIG-RunIIFall17MiniAOD-00821ND_24549.root',
'root://deepthought.crc.nd.edu//store/user/kmohrman/FullProduction/Round6/Bat... | 170.05 | 205 | 0.849309 | 1,591 | 13,604 | 7.01697 | 0.065368 | 0.087334 | 0.104801 | 0.116446 | 0.960319 | 0.960319 | 0.960319 | 0.960319 | 0.960319 | 0.960319 | 0 | 0.084505 | 0.03793 | 13,604 | 79 | 206 | 172.202532 | 0.76849 | 0 | 0 | 0 | 0 | 0.844156 | 0.939062 | 0.936489 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012987 | 0 | 0.012987 | 0.038961 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
d71503b69bdb90744f030d4552e673e955764eaf | 119 | py | Python | lambda/lambda.py | Journera/glutil | aeb75974ae162456617334db4bd235c2101c8fd5 | [
"BSD-3-Clause"
] | 14 | 2019-06-19T20:14:38.000Z | 2020-05-21T18:25:02.000Z | lambda/lambda.py | Journera/glutil | aeb75974ae162456617334db4bd235c2101c8fd5 | [
"BSD-3-Clause"
] | 2 | 2019-06-19T17:39:31.000Z | 2019-10-29T18:24:20.000Z | lambda/lambda.py | Journera/glutil | aeb75974ae162456617334db4bd235c2101c8fd5 | [
"BSD-3-Clause"
] | 2 | 2019-10-04T04:33:06.000Z | 2020-05-21T19:25:31.000Z | import glutil.serverless_function
def handler(event, context):
glutil.serverless_function.handle(event, context)
| 19.833333 | 53 | 0.806723 | 14 | 119 | 6.714286 | 0.642857 | 0.340426 | 0.510638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109244 | 119 | 5 | 54 | 23.8 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d7687b433c69a27dec11e381c355fa3f31236be7 | 2,161 | py | Python | TestDatabase.py | patrick310/flask-wtform-tutorial | b4b9581cdd457dfd54238e806bcabcd01c5bb9ab | [
"MIT"
] | null | null | null | TestDatabase.py | patrick310/flask-wtform-tutorial | b4b9581cdd457dfd54238e806bcabcd01c5bb9ab | [
"MIT"
] | null | null | null | TestDatabase.py | patrick310/flask-wtform-tutorial | b4b9581cdd457dfd54238e806bcabcd01c5bb9ab | [
"MIT"
] | 1 | 2021-06-07T14:20:36.000Z | 2021-06-07T14:20:36.000Z | import unittest
from sqlalchemy import create_engine
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import Column, Integer, String, Date
class SimpleSqliteTest(unittest.TestCase):
def setUp(self):
print("Connecting DB")
db_string = "sqlite://"
self.db = create_engi... | 31.779412 | 109 | 0.639056 | 257 | 2,161 | 5.29572 | 0.287938 | 0.061719 | 0.095518 | 0.035268 | 0.80529 | 0.80529 | 0.80529 | 0.80529 | 0.80529 | 0.80529 | 0 | 0.033951 | 0.250347 | 2,161 | 67 | 110 | 32.253731 | 0.806173 | 0.0236 | 0 | 0.714286 | 0 | 0.047619 | 0.376487 | 0.033317 | 0 | 0 | 0 | 0 | 0.047619 | 1 | 0.142857 | false | 0 | 0.095238 | 0 | 0.285714 | 0.095238 | 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 |
d76c33d94ab7040d71702816520dca8eeb47ee4f | 15,133 | py | Python | apem.py | DyningAida/apem | c90afc4cd06315f42f6300d5668909ec1e4e2eb0 | [
"MIT"
] | null | null | null | apem.py | DyningAida/apem | c90afc4cd06315f42f6300d5668909ec1e4e2eb0 | [
"MIT"
] | null | null | null | apem.py | DyningAida/apem | c90afc4cd06315f42f6300d5668909ec1e4e2eb0 | [
"MIT"
] | null | null | null | import speech_recognition as sr
from selenium import webdriver
from selenium.webdriver.firefox.options import Options
class Apem(object):
def __init__(self, npm, paswd):
self.npm = npm
self.paswd = paswd
def masuk(self):
self.opsi = Options()
self.opsi.headless = False
... | 70.714953 | 164 | 0.660543 | 2,368 | 15,133 | 4.090794 | 0.054899 | 0.093218 | 0.108393 | 0.162589 | 0.901105 | 0.901105 | 0.901105 | 0.900898 | 0.853928 | 0.853515 | 0 | 0.029494 | 0.153109 | 15,133 | 214 | 165 | 70.714953 | 0.726358 | 0.000529 | 0 | 0.638498 | 0 | 0.201878 | 0.360595 | 0.272793 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065728 | false | 0.051643 | 0.014085 | 0 | 0.084507 | 0.023474 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
ad82174840c8222cb56df871d7770383b4134a5a | 4,817 | py | Python | Support.records/Integrate.Validated.Results.for.NA12878.and.CHM1.py | mills-lab/svelter | d318b06d588483fe8a8ebcac8c8a6c7878f2c2b3 | [
"MIT"
] | 21 | 2015-11-02T06:31:52.000Z | 2021-12-20T03:14:04.000Z | Support.records/Integrate.Validated.Results.for.NA12878.and.CHM1.py | mills-lab/svelter | d318b06d588483fe8a8ebcac8c8a6c7878f2c2b3 | [
"MIT"
] | 14 | 2016-03-02T21:12:53.000Z | 2019-08-02T20:01:02.000Z | Support.records/Integrate.Validated.Results.for.NA12878.and.CHM1.py | mills-lab/svelter | d318b06d588483fe8a8ebcac8c8a6c7878f2c2b3 | [
"MIT"
] | 6 | 2015-08-19T18:33:02.000Z | 2017-05-16T03:42:57.000Z | import os
def path_modify(path):
if not path[-1]=='/':
path+='/'
return path
def Vali_files_readin(Vali_Folder):
out=[]
Vali_Folder=path_modify(Vali_Folder)
for k1 in os.listdir(Vali_Folder):
if k1.split('.')[-1]=='PacVal':
out.append(Vali_Folder+k1)
return out
def Vali_file_read(filein,Vali_hash,score_c... | 26.467033 | 124 | 0.652688 | 961 | 4,817 | 3.105099 | 0.084287 | 0.112601 | 0.080429 | 0.073727 | 0.790885 | 0.747989 | 0.742627 | 0.731233 | 0.700402 | 0.700402 | 0 | 0.067943 | 0.13224 | 4,817 | 181 | 125 | 26.61326 | 0.645933 | 0.013286 | 0 | 0.732394 | 0 | 0.007042 | 0.070571 | 0.046134 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.007042 | null | null | 0.084507 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d175cc55f54c1a1970cccc69716dc57f93f8a4eb | 52 | py | Python | autorop/assertion/__init__.py | Tanson/autorop | 0d2fc71cdcc9649a6006aee641a3808f884d7fc4 | [
"MIT"
] | 15 | 2020-10-03T05:20:31.000Z | 2022-03-20T06:19:29.000Z | autorop/assertion/__init__.py | Tanson/autorop | 0d2fc71cdcc9649a6006aee641a3808f884d7fc4 | [
"MIT"
] | 8 | 2020-10-02T09:51:39.000Z | 2021-04-24T03:14:18.000Z | autorop/assertion/__init__.py | Tanson/autorop | 0d2fc71cdcc9649a6006aee641a3808f884d7fc4 | [
"MIT"
] | 2 | 2021-04-16T06:33:49.000Z | 2021-09-03T09:21:10.000Z | from autorop.assertion.have_shell import have_shell
| 26 | 51 | 0.884615 | 8 | 52 | 5.5 | 0.75 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 52 | 1 | 52 | 52 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
0f63d6dc7658f08f613781cc2cf066a3af3ce801 | 175 | py | Python | imports.py | Matt-cloud/Discord.py-Template | 4b2ac9f0897bb44dfd799d821e536fc34ef3064e | [
"MIT"
] | null | null | null | imports.py | Matt-cloud/Discord.py-Template | 4b2ac9f0897bb44dfd799d821e536fc34ef3064e | [
"MIT"
] | null | null | null | imports.py | Matt-cloud/Discord.py-Template | 4b2ac9f0897bb44dfd799d821e536fc34ef3064e | [
"MIT"
] | null | null | null | from discord.ext import commands
from lib.utils import checks
from lib.utils import ui
from lib.utils.globals import logger, db
import time
import importlib
import discord
| 19.444444 | 40 | 0.817143 | 28 | 175 | 5.107143 | 0.5 | 0.146853 | 0.251748 | 0.251748 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148571 | 175 | 8 | 41 | 21.875 | 0.959732 | 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 |
7e2923a1538496376fcd2704a51e98ca816cbcd2 | 19,484 | py | Python | at_tmp/model/FUNC/REPORT_DATA.py | zuoleilei3253/zuoleilei | e188b15a0aa4a9fde00dba15e8300e4b87973e2d | [
"Apache-2.0"
] | null | null | null | at_tmp/model/FUNC/REPORT_DATA.py | zuoleilei3253/zuoleilei | e188b15a0aa4a9fde00dba15e8300e4b87973e2d | [
"Apache-2.0"
] | null | null | null | at_tmp/model/FUNC/REPORT_DATA.py | zuoleilei3253/zuoleilei | e188b15a0aa4a9fde00dba15e8300e4b87973e2d | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2018/8/8 16:59
# @Author : bxf
# @File : REPORT_DATA.py
# @Software: PyCharm
'''
report_data:报告日期 data now
report_er:报告人
report_env_type:环境类型 case_info
report_exe_time:执行起止时间 case_result
report_exe_counts:用例总数
report_exe_pass:通过数
report_exe_f... | 142.218978 | 2,544 | 0.707658 | 3,797 | 19,484 | 3.377667 | 0.052673 | 0.047251 | 0.020585 | 0.016842 | 0.860741 | 0.828304 | 0.809201 | 0.806706 | 0.801326 | 0.801326 | 0 | 0.028053 | 0.160234 | 19,484 | 137 | 2,545 | 142.218978 | 0.755776 | 0.048553 | 0 | 0.116883 | 0 | 0.480519 | 0.751078 | 0.199804 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025974 | false | 0.116883 | 0.038961 | 0 | 0.12987 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 11 |
7e2d8d14ae0ed60be6046776a3ba7e84091d36fb | 160 | py | Python | frappe_telegram/utils/bench.py | rafatali686/frappe_telegram | 724ead04a531eddfe935acf35282684fef41cb67 | [
"MIT"
] | 16 | 2021-07-25T09:30:28.000Z | 2022-03-24T04:56:57.000Z | frappe_telegram/utils/bench.py | rafatali686/frappe_telegram | 724ead04a531eddfe935acf35282684fef41cb67 | [
"MIT"
] | 5 | 2021-08-24T18:07:13.000Z | 2022-02-03T04:26:08.000Z | frappe_telegram/utils/bench.py | rafatali686/frappe_telegram | 724ead04a531eddfe935acf35282684fef41cb67 | [
"MIT"
] | 10 | 2021-07-27T07:26:11.000Z | 2022-03-24T11:16:38.000Z | import os
from frappe.utils import get_bench_path, get_site_path # noqa
def get_bench_name():
return os.path.basename(os.path.abspath(get_bench_path()))
| 22.857143 | 62 | 0.775 | 27 | 160 | 4.296296 | 0.555556 | 0.206897 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 160 | 6 | 63 | 26.666667 | 0.828571 | 0.025 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 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 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 9 |
7e3d8bb50a7ba3ab857a94a8d537eb7d7a7559a5 | 911 | py | Python | catalog/bindings/gmd/formula_type.py | NIVANorge/s-enda-playground | 56ae0a8978f0ba8a5546330786c882c31e17757a | [
"Apache-2.0"
] | null | null | null | catalog/bindings/gmd/formula_type.py | NIVANorge/s-enda-playground | 56ae0a8978f0ba8a5546330786c882c31e17757a | [
"Apache-2.0"
] | null | null | null | catalog/bindings/gmd/formula_type.py | NIVANorge/s-enda-playground | 56ae0a8978f0ba8a5546330786c882c31e17757a | [
"Apache-2.0"
] | null | null | null | from dataclasses import dataclass, field
from typing import Optional
__NAMESPACE__ = "http://www.opengis.net/gml"
@dataclass
class FormulaType:
a: Optional[float] = field(
default=None,
metadata={
"type": "Element",
"namespace": "http://www.opengis.net/gml",
},
... | 23.358974 | 54 | 0.497256 | 82 | 911 | 5.47561 | 0.329268 | 0.144766 | 0.178174 | 0.256125 | 0.804009 | 0.804009 | 0.739421 | 0.739421 | 0.739421 | 0.739421 | 0 | 0 | 0.349067 | 911 | 38 | 55 | 23.973684 | 0.757167 | 0 | 0 | 0.514286 | 0 | 0 | 0.248079 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.057143 | 0 | 0.2 | 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 |
7e513f09fd9a9677a31a0df67992e43713456bc9 | 132 | py | Python | class9/ex4/mytest/__init__.py | patrebert/pynet_cert | b82cce3ddb20d9e4abc89d74579ddeb3513bdf55 | [
"Apache-2.0"
] | null | null | null | class9/ex4/mytest/__init__.py | patrebert/pynet_cert | b82cce3ddb20d9e4abc89d74579ddeb3513bdf55 | [
"Apache-2.0"
] | null | null | null | class9/ex4/mytest/__init__.py | patrebert/pynet_cert | b82cce3ddb20d9e4abc89d74579ddeb3513bdf55 | [
"Apache-2.0"
] | null | null | null | from mytest.simple import func1
from mytest.whatever import func2
from mytest.world import func3
from mytest.world import testclass
| 26.4 | 34 | 0.848485 | 20 | 132 | 5.6 | 0.5 | 0.357143 | 0.267857 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025862 | 0.121212 | 132 | 4 | 35 | 33 | 0.939655 | 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 |
7e5e8daf10948a1d4e97654acba69b5147e985ae | 6,229 | py | Python | synthesizer/tests/test_tacotron_model.py | puppyapple/Real-Time-Voice-Cloning | d1e1481e18ee7d604372025f3b751663d8dda37b | [
"MIT"
] | null | null | null | synthesizer/tests/test_tacotron_model.py | puppyapple/Real-Time-Voice-Cloning | d1e1481e18ee7d604372025f3b751663d8dda37b | [
"MIT"
] | null | null | null | synthesizer/tests/test_tacotron_model.py | puppyapple/Real-Time-Voice-Cloning | d1e1481e18ee7d604372025f3b751663d8dda37b | [
"MIT"
] | null | null | null | import os
import copy
import torch
import unittest
from torch import optim
from torch import nn
from TTS.utils.generic_utils import load_config
from TTS.layers.losses import L1LossMasked
from TTS.models.tacotron import Tacotron
#pylint: disable=unused-variable
torch.manual_seed(1)
use_cuda = torch.cuda.is_available(... | 41.526667 | 77 | 0.577781 | 771 | 6,229 | 4.488975 | 0.206226 | 0.046229 | 0.037561 | 0.022537 | 0.825484 | 0.81017 | 0.81017 | 0.81017 | 0.807281 | 0.787056 | 0 | 0.028703 | 0.300851 | 6,229 | 149 | 78 | 41.805369 | 0.766016 | 0.058757 | 0 | 0.740157 | 0 | 0 | 0.044615 | 0 | 0 | 0 | 0 | 0.006711 | 0.031496 | 1 | 0.023622 | false | 0 | 0.070866 | 0 | 0.11811 | 0.023622 | 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 |
7ebe62e244f748435f7c53619821a5be51928d6c | 21,759 | py | Python | mayan/apps/user_management/tests/test_group_views.py | bonitobonita24/Mayan-EDMS | 7845fe0e1e83c81f5d227a16116397a3d3883b85 | [
"Apache-2.0"
] | 343 | 2015-01-05T14:19:35.000Z | 2018-12-10T19:07:48.000Z | mayan/apps/user_management/tests/test_group_views.py | bonitobonita24/Mayan-EDMS | 7845fe0e1e83c81f5d227a16116397a3d3883b85 | [
"Apache-2.0"
] | 191 | 2015-01-03T00:48:19.000Z | 2018-11-30T09:10:25.000Z | mayan/apps/user_management/tests/test_group_views.py | bonitobonita24/Mayan-EDMS | 7845fe0e1e83c81f5d227a16116397a3d3883b85 | [
"Apache-2.0"
] | 114 | 2015-01-08T20:21:05.000Z | 2018-12-10T19:07:53.000Z | from django.contrib.auth.models import Group
from mayan.apps.documents.tests.base import GenericDocumentViewTestCase
from mayan.apps.metadata.permissions import permission_document_metadata_edit
from mayan.apps.metadata.tests.mixins import MetadataTypeTestMixin
from mayan.apps.testing.tests.base import GenericViewTest... | 30.178918 | 77 | 0.66492 | 2,594 | 21,759 | 5.180802 | 0.039322 | 0.098445 | 0.065779 | 0.0599 | 0.915544 | 0.905052 | 0.890915 | 0.884069 | 0.869484 | 0.86688 | 0 | 0.011162 | 0.246519 | 21,759 | 720 | 78 | 30.220833 | 0.808539 | 0 | 0 | 0.766284 | 0 | 0 | 0.003447 | 0.002022 | 0 | 0 | 0 | 0 | 0.226054 | 1 | 0.072797 | false | 0 | 0.015326 | 0 | 0.095785 | 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 |
7edb9cca4a7e8e7d010ed1b49b2eea660884d36c | 2,279 | py | Python | cdisutilstest/data/editAccount.py | uc-cdis/cdisutils-test | 623fea1cc339c8623f99590c8603ed1368b8890d | [
"Apache-2.0"
] | null | null | null | cdisutilstest/data/editAccount.py | uc-cdis/cdisutils-test | 623fea1cc339c8623f99590c8603ed1368b8890d | [
"Apache-2.0"
] | 12 | 2017-05-22T18:31:50.000Z | 2020-10-26T15:57:30.000Z | cdisutilstest/data/editAccount.py | uc-cdis/cdisutils-test | 623fea1cc339c8623f99590c8603ed1368b8890d | [
"Apache-2.0"
] | 1 | 2019-02-18T19:38:51.000Z | 2019-02-18T19:38:51.000Z | values = {
frozenset(("id=72", "vaultUserPermissions%5B2%5D=readOnly")): {
"status_code": "200",
"text": {
"responseData": {},
"responseHeader": {
"now": 1492630700324,
"requestId": "WPe8rAoQgF4AADVcyb0AAAAv",
"status": "ok",
... | 30.386667 | 69 | 0.436156 | 127 | 2,279 | 7.779528 | 0.204724 | 0.060729 | 0.182186 | 0.200405 | 0.928138 | 0.928138 | 0.928138 | 0.928138 | 0.928138 | 0.928138 | 0 | 0.112 | 0.396665 | 2,279 | 74 | 70 | 30.797297 | 0.606545 | 0 | 0 | 0.635135 | 0 | 0 | 0.386134 | 0.162352 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ada54bf7cfffee95e466585d20978488896e3bb5 | 147 | bzl | Python | defs.bzl | codebyravi/angular-samples | 356e691c12f61ec481df41b4bcf331828bc0f196 | [
"MIT"
] | null | null | null | defs.bzl | codebyravi/angular-samples | 356e691c12f61ec481df41b4bcf331828bc0f196 | [
"MIT"
] | 3 | 2021-05-11T23:23:53.000Z | 2022-02-13T21:09:30.000Z | defs.bzl | codebyravi/angular-samples | 356e691c12f61ec481df41b4bcf331828bc0f196 | [
"MIT"
] | null | null | null | load("//:package.bzl", _angular_samples_dependencies = "angular_samples_dependencies")
angular_samples_dependencies = _angular_samples_dependencies | 73.5 | 86 | 0.870748 | 15 | 147 | 7.866667 | 0.4 | 0.474576 | 0.881356 | 0.838983 | 0.881356 | 0.881356 | 0.881356 | 0.881356 | 0.881356 | 0 | 0 | 0 | 0.040816 | 147 | 2 | 87 | 73.5 | 0.836879 | 0 | 0 | 0 | 0 | 0 | 0.283784 | 0.189189 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
adc746e3b1490a18bc4c21db310a434696b9a578 | 4,799 | py | Python | Ex_3/km.py | coffeerr/Data_Mining | 132c475b0cbc8be22b1a3100ed879acae6e7325c | [
"MIT"
] | null | null | null | Ex_3/km.py | coffeerr/Data_Mining | 132c475b0cbc8be22b1a3100ed879acae6e7325c | [
"MIT"
] | null | null | null | Ex_3/km.py | coffeerr/Data_Mining | 132c475b0cbc8be22b1a3100ed879acae6e7325c | [
"MIT"
] | null | null | null | from numpy import *
import matplotlib.pyplot as plt
# 加载本地数据
def loadDataSet(fileName):
dataMat = []
fr = open(fileName)
for line in fr.readlines():
temp = [] #这一行为我自己加的
curLine = line.strip().split('\n')
#fltLine = map(float, curLine) #书上代码
temp.append(float(curLine[0]))
... | 34.278571 | 95 | 0.611794 | 543 | 4,799 | 5.403315 | 0.235727 | 0.019087 | 0.02454 | 0.014997 | 0.931152 | 0.931152 | 0.931152 | 0.931152 | 0.931152 | 0.931152 | 0 | 0.015569 | 0.250469 | 4,799 | 139 | 96 | 34.52518 | 0.800111 | 0.172744 | 0 | 0.903846 | 0 | 0 | 0.006115 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.038462 | 0.019231 | 0.192308 | 0.038462 | 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 |
adff7b9b05375b2d98eb56ac57e32d92947aa431 | 91 | py | Python | good/functionNestedFunctionsAndScopes.py | Alberto42/Interpreter | a56c4d905672572734a8470ef607b66727489f15 | [
"BSD-3-Clause"
] | null | null | null | good/functionNestedFunctionsAndScopes.py | Alberto42/Interpreter | a56c4d905672572734a8470ef607b66727489f15 | [
"BSD-3-Clause"
] | null | null | null | good/functionNestedFunctionsAndScopes.py | Alberto42/Interpreter | a56c4d905672572734a8470ef607b66727489f15 | [
"BSD-3-Clause"
] | null | null | null | def f(x) {
y = 3
def f(x) {
y = 2
}
f(42)
return y
}
y = f(42) | 9.1 | 14 | 0.307692 | 17 | 91 | 1.647059 | 0.470588 | 0.285714 | 0.357143 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 0.527473 | 91 | 10 | 15 | 9.1 | 0.511628 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
bc07d650c4957e9b50f4ffd5ce0427d549d1b66c | 12,151 | py | Python | nitorch/tools/registration/losses/robust.py | balbasty/nitorch | d30c3125a8a66ea1434f2b39ed03338afd9724b4 | [
"MIT"
] | 46 | 2020-07-31T10:14:05.000Z | 2022-03-24T12:51:46.000Z | nitorch/tools/registration/losses/robust.py | balbasty/nitorch | d30c3125a8a66ea1434f2b39ed03338afd9724b4 | [
"MIT"
] | 36 | 2020-10-06T19:01:38.000Z | 2022-02-03T18:07:35.000Z | nitorch/tools/registration/losses/robust.py | balbasty/nitorch | d30c3125a8a66ea1434f2b39ed03338afd9724b4 | [
"MIT"
] | 6 | 2021-01-05T14:59:05.000Z | 2021-11-18T18:26:45.000Z | from nitorch.core import utils, py
from .base import OptimizationLoss
from .mse import weighted_precision, mse
def irls_laplace_reweight(moving, fixed, lam=1, joint=False, eps=1e-5,
dim=None, mask=None):
"""Update iteratively reweighted least-squares weights for l1
Parameters
--... | 32.489305 | 79 | 0.520369 | 1,489 | 12,151 | 4.186702 | 0.096038 | 0.031761 | 0.033205 | 0.055342 | 0.909849 | 0.89862 | 0.888354 | 0.880494 | 0.880494 | 0.880494 | 0 | 0.012542 | 0.34384 | 12,151 | 374 | 80 | 32.489305 | 0.769347 | 0.268208 | 0 | 0.882979 | 0 | 0 | 0.011765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053191 | false | 0 | 0.015957 | 0 | 0.132979 | 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 |
70ac2b857489fb779bac94e54882d819e1118bbd | 1,482 | py | Python | tests/components/checkboxes/test_checkboxes.py | quis/govuk-frontend-jinja | 1aab34d77cebad91a3001cda654b3177cd0201fd | [
"MIT"
] | null | null | null | tests/components/checkboxes/test_checkboxes.py | quis/govuk-frontend-jinja | 1aab34d77cebad91a3001cda654b3177cd0201fd | [
"MIT"
] | null | null | null | tests/components/checkboxes/test_checkboxes.py | quis/govuk-frontend-jinja | 1aab34d77cebad91a3001cda654b3177cd0201fd | [
"MIT"
] | null | null | null | def test_checkboxes(env, similar, template, expected):
template = env.from_string(template)
assert similar(template.render(), expected)
def test_checkboxes_with_id_and_name(env, similar, template, expected):
template = env.from_string(template)
assert similar(template.render(), expected)
def test_ch... | 33.681818 | 83 | 0.776653 | 182 | 1,482 | 6.065934 | 0.175824 | 0.244565 | 0.138587 | 0.211957 | 0.882246 | 0.882246 | 0.882246 | 0.882246 | 0.882246 | 0.882246 | 0 | 0 | 0.126181 | 1,482 | 43 | 84 | 34.465116 | 0.85251 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
70b4ac66fe3089f9c0089c2dd3651d24e0f3a5cd | 21,916 | py | Python | tests/test_indexer.py | mosuka/basilisk | abe2de265af234bd78053ccc974ca4218a25cad3 | [
"Apache-2.0"
] | 17 | 2018-10-19T02:36:41.000Z | 2022-01-29T01:02:50.000Z | tests/test_indexer.py | mosuka/basilisk | abe2de265af234bd78053ccc974ca4218a25cad3 | [
"Apache-2.0"
] | 23 | 2018-10-28T16:54:00.000Z | 2019-02-15T17:09:25.000Z | tests/test_indexer.py | mosuka/basilisk | abe2de265af234bd78053ccc974ca4218a25cad3 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2019 Minoru Osuka
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable l... | 40.811918 | 120 | 0.663032 | 2,897 | 21,916 | 4.769762 | 0.074905 | 0.067086 | 0.047619 | 0.046172 | 0.83109 | 0.82255 | 0.814662 | 0.814662 | 0.809813 | 0.805109 | 0 | 0.008571 | 0.228053 | 21,916 | 536 | 121 | 40.88806 | 0.808192 | 0.088565 | 0 | 0.75 | 0 | 0.003049 | 0.063745 | 0.00478 | 0 | 0 | 0 | 0 | 0.262195 | 1 | 0.051829 | false | 0 | 0.045732 | 0 | 0.10061 | 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 |
70bb29eaf37726c8604d6a6c316d0c701bbddd2a | 319 | py | Python | neuron_ml/core/public/__init__.py | fossabot/Neuron | ee8b328411bddb9c86675914b0e0b50250fb7ff9 | [
"MIT"
] | 9 | 2018-12-18T06:19:09.000Z | 2021-11-22T19:46:13.000Z | neuron_ml/core/public/__init__.py | fossabot/Neuron | ee8b328411bddb9c86675914b0e0b50250fb7ff9 | [
"MIT"
] | 20 | 2018-11-23T16:09:04.000Z | 2022-02-10T00:06:17.000Z | neuron_ml/core/public/__init__.py | fossabot/Neuron | ee8b328411bddb9c86675914b0e0b50250fb7ff9 | [
"MIT"
] | 1 | 2019-02-25T11:58:20.000Z | 2019-02-25T11:58:20.000Z | import neuron_ml.core.public.load
import neuron_ml.core.public.export
import neuron_ml.core.public.train
import neuron_ml.core.public.clean
import neuron_ml.core.public.classify
import neuron_ml.core.public.graph
import neuron_ml.core.public.labels
import neuron_ml.core.public.model
import neuron_ml.core.public.image
| 31.9 | 37 | 0.858934 | 54 | 319 | 4.907407 | 0.259259 | 0.407547 | 0.475472 | 0.611321 | 0.815094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056426 | 319 | 9 | 38 | 35.444444 | 0.880399 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
70d82a31100f143270181754f5f20a72b4bca266 | 318 | py | Python | PIP/Minor Assignment 9/A9Q10.py | ankitrajbiswal/SEM_5 | db716e242e77149a4091e0e564356ddc724aeff0 | [
"Apache-2.0"
] | null | null | null | PIP/Minor Assignment 9/A9Q10.py | ankitrajbiswal/SEM_5 | db716e242e77149a4091e0e564356ddc724aeff0 | [
"Apache-2.0"
] | null | null | null | PIP/Minor Assignment 9/A9Q10.py | ankitrajbiswal/SEM_5 | db716e242e77149a4091e0e564356ddc724aeff0 | [
"Apache-2.0"
] | 1 | 2022-03-02T05:07:39.000Z | 2022-03-02T05:07:39.000Z | '''
try:
f = open('file1.txt', 'r')
except IOError:
print('Problem with Input Output...\n')
else:
print('No Problem with Input Output...')
'''
try:
f = open('file1.txt', 'w')
except IOError:
print('Problem with Input Output...\n')
else:
print('No Problem with Input Output...')
| 19.875 | 45 | 0.572327 | 42 | 318 | 4.333333 | 0.404762 | 0.241758 | 0.351648 | 0.483516 | 0.989011 | 0.813187 | 0.813187 | 0.813187 | 0.813187 | 0.813187 | 0 | 0.008264 | 0.238994 | 318 | 15 | 46 | 21.2 | 0.743802 | 0.455975 | 0 | 0 | 0 | 0 | 0.47973 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
70dcf593607dccac3e7a5ac83ed6915a273e2059 | 3,021 | py | Python | wizer/tools/colors.py | pa3kDaWae/workoutizer | 15501d0060711bbd8308642bc89b45c1442d4d0f | [
"MIT"
] | null | null | null | wizer/tools/colors.py | pa3kDaWae/workoutizer | 15501d0060711bbd8308642bc89b45c1442d4d0f | [
"MIT"
] | null | null | null | wizer/tools/colors.py | pa3kDaWae/workoutizer | 15501d0060711bbd8308642bc89b45c1442d4d0f | [
"MIT"
] | null | null | null |
lines_colors = [
"Red",
"DodgerBlue",
"LimeGreen",
"Gold",
"MediumSlateBlue",
"Brown",
"Olive",
"Orange",
"DarkGoldenRod",
"Salmon",
"Fuchsia",
"Aqua",
"LightSlateGray",
"MediumBlue",
"GreenYellow",
"DarkRed",
"DarkMagenta",
"Khaki",
"MediumSp... | 16.32973 | 27 | 0.520357 | 182 | 3,021 | 8.631868 | 0.203297 | 0.041375 | 0.070019 | 0.08275 | 0.992998 | 0.992998 | 0.992998 | 0.992998 | 0.992998 | 0.992998 | 0 | 0 | 0.299901 | 3,021 | 184 | 28 | 16.418478 | 0.74279 | 0 | 0 | 0.989011 | 0 | 0 | 0.516727 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cb813e9db5f927fbf0d9d65663f7f01de865dd0d | 112 | py | Python | test/regression/features/operators/notin.py | bjpop/blip | 3d9105a44d1afb7bd007da3742fb19dc69372e10 | [
"BSD-3-Clause"
] | 137 | 2015-02-13T21:03:23.000Z | 2021-11-24T03:53:55.000Z | test/regression/features/operators/notin.py | bjpop/blip | 3d9105a44d1afb7bd007da3742fb19dc69372e10 | [
"BSD-3-Clause"
] | 2 | 2015-03-07T14:08:33.000Z | 2015-10-13T02:00:40.000Z | test/regression/features/operators/notin.py | bjpop/blip | 3d9105a44d1afb7bd007da3742fb19dc69372e10 | [
"BSD-3-Clause"
] | 4 | 2015-05-03T22:07:27.000Z | 2018-09-10T08:55:03.000Z | print(2 not in [1,2,3])
print(2 not in [4,5])
print(1 not in [1] not in [[1]])
print(3 not in [1] not in [[1]])
| 22.4 | 32 | 0.5625 | 29 | 112 | 2.172414 | 0.275862 | 0.47619 | 0.47619 | 0.333333 | 0.380952 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0.144444 | 0.196429 | 112 | 4 | 33 | 28 | 0.555556 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
cb9fc7e193833a6fbe7b0ac8689a4523d2c836ca | 1,350 | py | Python | tests/test_1941.py | sungho-joo/leetcode2github | ce7730ef40f6051df23681dd3c0e1e657abba620 | [
"MIT"
] | null | null | null | tests/test_1941.py | sungho-joo/leetcode2github | ce7730ef40f6051df23681dd3c0e1e657abba620 | [
"MIT"
] | null | null | null | tests/test_1941.py | sungho-joo/leetcode2github | ce7730ef40f6051df23681dd3c0e1e657abba620 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import pytest
"""
Test 1941. Check if All Characters Have Equal Number of Occurrences
"""
@pytest.fixture(scope="session")
def init_variables_1941():
from src.leetcode_1941_check_if_all_characters_have_equal_number_of_occurrences import (
Solution,
)
solution = Solution()
... | 22.131148 | 92 | 0.742222 | 166 | 1,350 | 5.674699 | 0.23494 | 0.193206 | 0.252654 | 0.059448 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0.07554 | 0.176296 | 1,350 | 60 | 93 | 22.5 | 0.771583 | 0.02963 | 0 | 0.933333 | 0 | 0 | 0.031088 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 1 | 0.266667 | false | 0 | 0.133333 | 0.066667 | 0.533333 | 0 | 0 | 0 | 0 | null | 0 | 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 | 10 |
cbd15281278905f7ba1a745c3aeaf19d8152c5c4 | 880 | py | Python | atividade2/TarefasEmOrdemFila.py | mateus2810/atividadesIa | 0ffc816c962889fb9e0b9635692d616e46a0d0c5 | [
"Apache-2.0"
] | null | null | null | atividade2/TarefasEmOrdemFila.py | mateus2810/atividadesIa | 0ffc816c962889fb9e0b9635692d616e46a0d0c5 | [
"Apache-2.0"
] | null | null | null | atividade2/TarefasEmOrdemFila.py | mateus2810/atividadesIa | 0ffc816c962889fb9e0b9635692d616e46a0d0c5 | [
"Apache-2.0"
] | null | null | null | #Questao 9
fila = []
print("Fila: ", fila)
fila.append("Tarefa E")
print("Inserindo um elemento no final da fila: ", fila)
fila.append("Tarefa I")
print("Inserindo outro elemento no final da fila: ", fila)
fila.append("Tarefa C")
print("Inserindo outro elemento no final da fila: ", fila)
fila.append("Tarefa F")
pri... | 25.882353 | 58 | 0.718182 | 136 | 880 | 4.647059 | 0.169118 | 0.265823 | 0.189873 | 0.28481 | 0.931962 | 0.893987 | 0.893987 | 0.893987 | 0.893987 | 0.759494 | 0 | 0.00133 | 0.145455 | 880 | 33 | 59 | 26.666667 | 0.839096 | 0.010227 | 0 | 0.409091 | 0 | 0 | 0.589655 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 10 |
cbe05834900beeba456d8a0e304e9986ce96a600 | 28 | py | Python | cursoEmVideo/Python/Mundo 1/Aulas/teste.py | VictorDG00/Cursos | b1411f3179ef17f128c883b0f5a56c2478de45e8 | [
"MIT"
] | 2 | 2021-02-08T13:34:15.000Z | 2021-02-08T19:43:42.000Z | cursoEmVideo/Python/Mundo 1/Aulas/teste.py | VictorDG00/Cursos | b1411f3179ef17f128c883b0f5a56c2478de45e8 | [
"MIT"
] | null | null | null | cursoEmVideo/Python/Mundo 1/Aulas/teste.py | VictorDG00/Cursos | b1411f3179ef17f128c883b0f5a56c2478de45e8 | [
"MIT"
] | null | null | null | x = 3 * 5 + 4 ** 2
print(x)
| 9.333333 | 18 | 0.392857 | 7 | 28 | 1.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0.357143 | 28 | 2 | 19 | 14 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
1df4b313c4cbbb0a5bdd17889019f3697d015d13 | 131 | py | Python | simple_todo_list/views.py | 1MahdiR/simple-todo-list | ef233da6daedd4971ce7ee8602f3fb7fdd1f7381 | [
"MIT"
] | null | null | null | simple_todo_list/views.py | 1MahdiR/simple-todo-list | ef233da6daedd4971ce7ee8602f3fb7fdd1f7381 | [
"MIT"
] | null | null | null | simple_todo_list/views.py | 1MahdiR/simple-todo-list | ef233da6daedd4971ce7ee8602f3fb7fdd1f7381 | [
"MIT"
] | null | null | null |
from django.shortcuts import render
from django.http import HttpResponse
def main(req):
return render(req, 'main.html', {})
| 16.375 | 39 | 0.732824 | 18 | 131 | 5.333333 | 0.666667 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160305 | 131 | 7 | 40 | 18.714286 | 0.872727 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 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 |
1df8277baf8fc297c4a4fb3ea08434409bfd14a6 | 34 | py | Python | trips/float.py | dineshkumar2509/learning-python | e8af11ff0b396da4c3f2cfe21d14131bae4b2adb | [
"MIT"
] | 86 | 2015-06-13T16:53:55.000Z | 2022-03-24T20:56:42.000Z | trips/float.py | pei-zheng-yi/learning-python | 55e350dfe44cf04f7d4408e76e72d2f467bd42ce | [
"MIT"
] | 9 | 2015-05-27T07:52:44.000Z | 2022-03-29T21:52:40.000Z | trips/float.py | pei-zheng-yi/learning-python | 55e350dfe44cf04f7d4408e76e72d2f467bd42ce | [
"MIT"
] | 124 | 2015-12-10T01:17:18.000Z | 2021-11-08T04:03:38.000Z |
print(0.1 + 0.2 == 0.3) // False
| 11.333333 | 32 | 0.470588 | 8 | 34 | 2 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 0.235294 | 34 | 2 | 33 | 17 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
3817811ce3c77ef3f68bfd15dc8807ca09f10e9a | 175 | py | Python | epson_projector/timeout.py | markbergsma/epson_projector | 73dbb92a9f123d33afce49f698f3f359ce17bc6b | [
"MIT"
] | null | null | null | epson_projector/timeout.py | markbergsma/epson_projector | 73dbb92a9f123d33afce49f698f3f359ce17bc6b | [
"MIT"
] | null | null | null | epson_projector/timeout.py | markbergsma/epson_projector | 73dbb92a9f123d33afce49f698f3f359ce17bc6b | [
"MIT"
] | null | null | null | from .const import TIMEOUT_TIMES, DEFAULT_TIMEOUT_TIME
def get_timeout(command, timeout_scale=1):
return TIMEOUT_TIMES.get(command, DEFAULT_TIMEOUT_TIME) * timeout_scale
| 35 | 75 | 0.828571 | 25 | 175 | 5.44 | 0.52 | 0.176471 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006369 | 0.102857 | 175 | 4 | 76 | 43.75 | 0.859873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
381cac2f13a63a973b62dc3a47e0cfa343433454 | 3,328 | py | Python | cx_token_builders.py | jfitz/code-stat | dd2a13177f3ef03ab42123ef3cfcbbd062a2ae26 | [
"MIT"
] | null | null | null | cx_token_builders.py | jfitz/code-stat | dd2a13177f3ef03ab42123ef3cfcbbd062a2ae26 | [
"MIT"
] | null | null | null | cx_token_builders.py | jfitz/code-stat | dd2a13177f3ef03ab42123ef3cfcbbd062a2ae26 | [
"MIT"
] | null | null | null | from codestat_token import Token
from token_builders import TokenBuilder
# token reader for // comment
class SlashSlashCommentTokenBuilder(TokenBuilder):
@staticmethod
def __escape_z__():
Token.__escape_z__()
return 'Escape ?Z'
def __init__(self):
self.text = ''
def get_tokens(self):
if sel... | 17.515789 | 63 | 0.582031 | 413 | 3,328 | 4.508475 | 0.128329 | 0.116004 | 0.064447 | 0.051557 | 0.821697 | 0.787863 | 0.738453 | 0.738453 | 0.738453 | 0.718045 | 0 | 0.009636 | 0.282752 | 3,328 | 189 | 64 | 17.608466 | 0.770423 | 0.038462 | 0 | 0.788136 | 0 | 0 | 0.035994 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.169492 | false | 0 | 0.016949 | 0 | 0.576271 | 0.033898 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
38455e4f19d72e046db83faec26850f2ea125f26 | 3,688 | py | Python | tests/test_library.py | hiousi/mopidy-radionet | 7aa59f7fc954f0117bc6ae54f4a5e6c1b8c0da5d | [
"Apache-2.0"
] | null | null | null | tests/test_library.py | hiousi/mopidy-radionet | 7aa59f7fc954f0117bc6ae54f4a5e6c1b8c0da5d | [
"Apache-2.0"
] | null | null | null | tests/test_library.py | hiousi/mopidy-radionet | 7aa59f7fc954f0117bc6ae54f4a5e6c1b8c0da5d | [
"Apache-2.0"
] | null | null | null | from unittest import mock
def test_browse_root(library):
results = library.browse('radionet:root');
assert 8 == len(results)
def test_browse_localstations(library):
results = library.browse('radionet:localstations');
assert len(results) > 0
page_uri = results[0].uri if results is not None else ... | 25.79021 | 62 | 0.695228 | 562 | 3,688 | 4.44484 | 0.060498 | 0.108887 | 0.115292 | 0.122498 | 0.908727 | 0.782626 | 0.782626 | 0.770616 | 0.770616 | 0.770616 | 0 | 0.014271 | 0.220987 | 3,688 | 142 | 63 | 25.971831 | 0.855204 | 0 | 0 | 0.771739 | 0 | 0 | 0.041757 | 0.005965 | 0 | 0 | 0 | 0 | 0.445652 | 1 | 0.097826 | false | 0 | 0.01087 | 0 | 0.108696 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
697f0ced5400feccd4266b758ac130bf69436319 | 221 | py | Python | Examples/5.1.2 Message Publisher.py | wangyonghong/RabbitMQ-in-Depth | 56a35c6359d500b7597daf1bb2185b4c451a572c | [
"BSD-3-Clause"
] | 111 | 2015-01-06T20:26:31.000Z | 2022-03-14T13:17:12.000Z | Examples/5.1.2 Message Publisher.py | wangyonghong/RabbitMQ-in-Depth | 56a35c6359d500b7597daf1bb2185b4c451a572c | [
"BSD-3-Clause"
] | 4 | 2018-06-15T20:35:36.000Z | 2021-01-13T16:03:40.000Z | Examples/5.1.2 Message Publisher.py | wangyonghong/RabbitMQ-in-Depth | 56a35c6359d500b7597daf1bb2185b4c451a572c | [
"BSD-3-Clause"
] | 43 | 2015-04-18T13:44:01.000Z | 2022-03-14T13:17:13.000Z | import rabbitpy
for iteration in range(10):
rabbitpy.publish('amqp://guest:guest@localhost:5672/%2f', '', 'test-messages', 'go')
rabbitpy.publish('amqp://guest:guest@localhost:5672/%2f', '', 'test-messages', 'stop')
| 36.833333 | 88 | 0.692308 | 29 | 221 | 5.275862 | 0.586207 | 0.196078 | 0.248366 | 0.313725 | 0.732026 | 0.732026 | 0.732026 | 0.732026 | 0.732026 | 0.732026 | 0 | 0.059406 | 0.085973 | 221 | 5 | 89 | 44.2 | 0.69802 | 0 | 0 | 0 | 0 | 0 | 0.479638 | 0.334842 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
6992764fc4b851cf753983bafdd42e0564afce23 | 52 | py | Python | appstoreconnect/__init__.py | Tuni/appstoreconnectapi | f0fbaf75d57aabfdd6f0f45b8b1119eebdaf6e6e | [
"MIT"
] | 1 | 2019-10-02T13:13:08.000Z | 2019-10-02T13:13:08.000Z | appstoreconnect/__init__.py | Tuni/appstoreconnectapi | f0fbaf75d57aabfdd6f0f45b8b1119eebdaf6e6e | [
"MIT"
] | null | null | null | appstoreconnect/__init__.py | Tuni/appstoreconnectapi | f0fbaf75d57aabfdd6f0f45b8b1119eebdaf6e6e | [
"MIT"
] | null | null | null | from .api import Api
from .api import AppStoreState
| 17.333333 | 30 | 0.807692 | 8 | 52 | 5.25 | 0.5 | 0.333333 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 52 | 2 | 31 | 26 | 0.954545 | 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 |
69ae1ac59157145d4772b0ee39fbc6cacb579a7a | 92 | py | Python | pyBN/inference/map_exact/__init__.py | seuzmj/pyBN | ce7b6823f4e6c4f6f9b77e89f05de87ed486b349 | [
"MIT"
] | 126 | 2016-01-17T22:59:08.000Z | 2021-12-19T15:35:22.000Z | pyBN/inference/map_exact/__init__.py | levilentz/pyBN | ce7b6823f4e6c4f6f9b77e89f05de87ed486b349 | [
"MIT"
] | 24 | 2016-01-21T20:11:03.000Z | 2018-09-21T01:23:58.000Z | pyBN/inference/map_exact/__init__.py | levilentz/pyBN | ce7b6823f4e6c4f6f9b77e89f05de87ed486b349 | [
"MIT"
] | 55 | 2016-05-27T00:46:54.000Z | 2022-03-24T11:43:57.000Z | from pyBN.inference.map_exact.ilp_map import *
from pyBN.inference.map_exact.ve_map import * | 46 | 46 | 0.836957 | 16 | 92 | 4.5625 | 0.5 | 0.219178 | 0.465753 | 0.547945 | 0.684932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076087 | 92 | 2 | 47 | 46 | 0.858824 | 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 |
69bad0f44e8574d974e60a05ca19f3f5cfca6c38 | 470 | py | Python | src/files2.py | mpicbg-csbd/structured_N2V | 82c2a0f98d354a1afeff2deab3b04fb7cfc4b21f | [
"BSD-3-Clause"
] | 13 | 2020-11-03T12:38:20.000Z | 2022-03-20T01:32:02.000Z | src/files2.py | mpicbg-csbd/structured_N2V | 82c2a0f98d354a1afeff2deab3b04fb7cfc4b21f | [
"BSD-3-Clause"
] | 1 | 2021-11-05T08:11:17.000Z | 2022-01-21T22:17:59.000Z | src/files2.py | mpicbg-csbd/structured_N2V | 82c2a0f98d354a1afeff2deab3b04fb7cfc4b21f | [
"BSD-3-Clause"
] | 3 | 2021-01-13T04:51:31.000Z | 2021-10-06T08:59:33.000Z | wildcards = dict()
## experiments x params x
wildcards['/lustre/projects/project-broaddus/denoise_experiments/flower/e01/n2v2/'] = "mask_{n}_{m}/table.csv"
wildcards['/lustre/projects/project-broaddus/denoise_experiments/flower/e01/n2gt/'] = "d{a}/table.csv"
wildcards['/lustre/projects/project-broaddus/denoise_experi... | 39.166667 | 110 | 0.759574 | 63 | 470 | 5.571429 | 0.365079 | 0.17094 | 0.262108 | 0.34188 | 0.820513 | 0.820513 | 0.820513 | 0.820513 | 0.820513 | 0.635328 | 0 | 0.027027 | 0.055319 | 470 | 11 | 111 | 42.727273 | 0.763514 | 0.046809 | 0 | 0 | 0 | 0 | 0.776018 | 0.680995 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
69e871e31621ab5577e578c068f3d77b10d4e44a | 42,890 | py | Python | Saliency-detection-in-360-video_TORCH/data.py | ustundag/2D-3D-Semantics | 6f79be0082e2bfd6b7940c2314972a603e55f201 | [
"Apache-2.0"
] | 72 | 2018-09-09T02:11:58.000Z | 2022-02-24T09:51:09.000Z | Saliency-detection-in-360-video_TORCH/data.py | ustundag/2D-3D-Semantics | 6f79be0082e2bfd6b7940c2314972a603e55f201 | [
"Apache-2.0"
] | 8 | 2018-09-13T16:48:34.000Z | 2021-12-21T18:13:16.000Z | Saliency-detection-in-360-video_TORCH/data.py | ustundag/2D-3D-Semantics | 6f79be0082e2bfd6b7940c2314972a603e55f201 | [
"Apache-2.0"
] | 18 | 2018-11-29T07:11:59.000Z | 2020-06-16T09:06:23.000Z | import numpy as np
import torch as th
import torch.utils.data as data
from PIL import Image
import os
import pickle
from scipy import signal
from sconv.functional.sconv import spherical_conv
from tqdm import tqdm
import numbers
import cv2
from functools import lru_cache
from random import Random
class VRSaliency(data... | 37.821869 | 135 | 0.55675 | 5,645 | 42,890 | 4.047121 | 0.040213 | 0.056334 | 0.026263 | 0.024293 | 0.918848 | 0.907161 | 0.89311 | 0.883349 | 0.878184 | 0.869999 | 0 | 0.02088 | 0.312147 | 42,890 | 1,133 | 136 | 37.855252 | 0.753508 | 0.073024 | 0 | 0.878893 | 0 | 0 | 0.024032 | 0.000681 | 0 | 0 | 0 | 0 | 0.013841 | 1 | 0.064591 | false | 0.001153 | 0.033449 | 0.010381 | 0.17301 | 0.023068 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.