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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
076058c1ce7ea200b75f499ca872091a93a4216c | 134 | py | Python | iysql/config/__init__.py | influx-code/lysql | 47b7a791c27dcf108d971a0fe1213381214ff76b | [
"Apache-2.0"
] | 84 | 2018-10-24T11:35:22.000Z | 2021-11-04T10:13:53.000Z | iysql/config/__init__.py | influx-code/lysql | 47b7a791c27dcf108d971a0fe1213381214ff76b | [
"Apache-2.0"
] | 15 | 2018-10-25T08:40:14.000Z | 2021-07-02T08:35:48.000Z | iysql/config/__init__.py | influx-code/lysql | 47b7a791c27dcf108d971a0fe1213381214ff76b | [
"Apache-2.0"
] | 23 | 2018-10-27T13:35:31.000Z | 2020-03-09T06:33:58.000Z | from .config import configs
from .soar import soar_configs
from .sqladvisor import sqladvisor_configs
from .plugin import load_plugins | 33.5 | 42 | 0.858209 | 19 | 134 | 5.894737 | 0.473684 | 0.294643 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11194 | 134 | 4 | 43 | 33.5 | 0.941176 | 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 |
4adbf37ad9e84823a2a48bbce6f0118a9a182a0d | 243 | py | Python | src/python_freeipa/__init__.py | StephenCoady/python-freeipa | 618f41add761a87c2c994015faada8ebc5ed162d | [
"MIT"
] | 49 | 2017-05-26T14:13:21.000Z | 2021-03-29T02:25:29.000Z | src/python_freeipa/__init__.py | StephenCoady/python-freeipa | 618f41add761a87c2c994015faada8ebc5ed162d | [
"MIT"
] | 32 | 2017-11-06T02:13:26.000Z | 2021-04-27T23:20:18.000Z | src/python_freeipa/__init__.py | StephenCoady/python-freeipa | 618f41add761a87c2c994015faada8ebc5ed162d | [
"MIT"
] | 48 | 2017-09-24T03:14:39.000Z | 2021-06-15T10:33:28.000Z | from python_freeipa.client import AuthenticatedSession, Client
from python_freeipa.client_legacy import ClientLegacy
from python_freeipa.client_meta import ClientMeta
__all__ = ['AuthenticatedSession', 'Client', 'ClientLegacy', 'ClientMeta']
| 40.5 | 74 | 0.843621 | 26 | 243 | 7.538462 | 0.423077 | 0.153061 | 0.260204 | 0.352041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082305 | 243 | 5 | 75 | 48.6 | 0.878924 | 0 | 0 | 0 | 0 | 0 | 0.197531 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 |
ab2b4c89f63c1a6ddb13de99a10141eea8dbb0db | 21 | py | Python | __init__.py | ngocminhbui/mhtk_rgbd_resnet | 424008e059b724a56d4e366da8b38a76c2b5c51a | [
"MIT"
] | 1,903 | 2015-12-18T19:18:51.000Z | 2022-03-12T02:50:18.000Z | __init__.py | guohuayan/tensorflow-resnet | c87a7e2c6ed62c968bf89198380f531bf0edc10d | [
"MIT"
] | 44 | 2016-02-16T19:48:47.000Z | 2019-07-03T11:48:38.000Z | __init__.py | guohuayan/tensorflow-resnet | c87a7e2c6ed62c968bf89198380f531bf0edc10d | [
"MIT"
] | 751 | 2015-12-27T10:21:56.000Z | 2022-03-10T03:07:23.000Z | from resnet import *
| 10.5 | 20 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 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 |
ab4a5cb40b2126ce0a3137c83e93643f3280a664 | 109 | py | Python | src/dagos/core/configuration/__init__.py | DAG-OS/dagos | ac663ecf1cb9abe12669136e2b2e22b936ec88b5 | [
"MIT"
] | null | null | null | src/dagos/core/configuration/__init__.py | DAG-OS/dagos | ac663ecf1cb9abe12669136e2b2e22b936ec88b5 | [
"MIT"
] | 8 | 2022-02-20T15:43:03.000Z | 2022-03-27T19:04:16.000Z | src/dagos/core/configuration/__init__.py | DAG-OS/dagos | ac663ecf1cb9abe12669136e2b2e22b936ec88b5 | [
"MIT"
] | null | null | null | from .configuration_domain import DagosConfiguration
from .configuration_scanner import ConfigurationScanner
| 36.333333 | 55 | 0.908257 | 10 | 109 | 9.7 | 0.7 | 0.350515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073395 | 109 | 2 | 56 | 54.5 | 0.960396 | 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 |
ab4d5b20a13fa550cc5acadfc6e27c10d1be9ddf | 33 | py | Python | codes/core/parallel/default_collate.py | ImportPaddle/MVFNet-Paddle | 5bc41ae0451a2c3572302c441aaf35b444d04d56 | [
"Apache-2.0"
] | 1 | 2022-01-29T08:20:43.000Z | 2022-01-29T08:20:43.000Z | codes/core/parallel/default_collate.py | ImportPaddle/MVFNet-Paddle | 5bc41ae0451a2c3572302c441aaf35b444d04d56 | [
"Apache-2.0"
] | null | null | null | codes/core/parallel/default_collate.py | ImportPaddle/MVFNet-Paddle | 5bc41ae0451a2c3572302c441aaf35b444d04d56 | [
"Apache-2.0"
] | null | null | null | import numpy as np
import paddle
| 11 | 18 | 0.818182 | 6 | 33 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 33 | 2 | 19 | 16.5 | 1 | 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 |
ab5d82dd52851a670d54d28fc70c363b5901ff38 | 25 | py | Python | lens_edge/__init__.py | LUSHDigital/lens-edge | 10736ab6991b6428108af8a37a72271235981c65 | [
"MIT"
] | 2 | 2019-11-27T15:16:18.000Z | 2019-12-01T21:47:38.000Z | lens_edge/__init__.py | LUSHDigital/lens-edge | 10736ab6991b6428108af8a37a72271235981c65 | [
"MIT"
] | null | null | null | lens_edge/__init__.py | LUSHDigital/lens-edge | 10736ab6991b6428108af8a37a72271235981c65 | [
"MIT"
] | null | null | null | from .infer import infer
| 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 |
db3bacaf8919ecde596d237d357023442097cbdf | 96 | py | Python | 11/11.1/city_functions.py | singi2016cn/python-scaffold | 274e508d1919da67e599aa73be139800c043bce4 | [
"MIT"
] | null | null | null | 11/11.1/city_functions.py | singi2016cn/python-scaffold | 274e508d1919da67e599aa73be139800c043bce4 | [
"MIT"
] | null | null | null | 11/11.1/city_functions.py | singi2016cn/python-scaffold | 274e508d1919da67e599aa73be139800c043bce4 | [
"MIT"
] | null | null | null | """城市和国家"""
def city_country(city, country):
return city.title() + ',' + country.title()
| 13.714286 | 47 | 0.604167 | 11 | 96 | 5.181818 | 0.545455 | 0.385965 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177083 | 96 | 6 | 48 | 16 | 0.721519 | 0.052083 | 0 | 0 | 0 | 0 | 0.011905 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
db4897e0b050ee6114b59b1b7ed6b734d3b09d68 | 5,113 | py | Python | smart_inputs/validators.py | fanoway/user_input | 4548185696e9bc7c51d74c974b038922a0ac3f4f | [
"MIT"
] | 3 | 2021-12-27T02:08:29.000Z | 2021-12-27T11:29:29.000Z | smart_inputs/validators.py | fanoway/user_input | 4548185696e9bc7c51d74c974b038922a0ac3f4f | [
"MIT"
] | 1 | 2021-12-27T15:33:09.000Z | 2021-12-27T15:33:09.000Z | smart_inputs/validators.py | fanoway/user_input | 4548185696e9bc7c51d74c974b038922a0ac3f4f | [
"MIT"
] | 1 | 2021-12-27T09:05:57.000Z | 2021-12-27T09:05:57.000Z | from typing import Any
import re
from abc import ABC, abstractmethod
from .smart_loop import SmartLoop
class BaseValidator(ABC):
"""Base class for validating user inputs"""
def __init__(self) -> None:
pass
@staticmethod
@abstractmethod
@SmartLoop
def validate(**kwargs: Any) -> Any:
... | 26.35567 | 85 | 0.563466 | 573 | 5,113 | 4.949389 | 0.146597 | 0.050776 | 0.042313 | 0.045839 | 0.790197 | 0.779972 | 0.76763 | 0.752821 | 0.736601 | 0.736601 | 0 | 0 | 0.353022 | 5,113 | 193 | 86 | 26.492228 | 0.857316 | 0.402503 | 0 | 0.746479 | 0 | 0 | 0.062055 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084507 | false | 0.028169 | 0.056338 | 0 | 0.43662 | 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 |
db7a4c1c126744af9b2016ed58ed24b16f5a2cf8 | 4,052 | py | Python | tests/pyre/framework/nameserver_aliases.py | BryanRiel/pyre | 179359634a7091979cced427b6133dd0ec4726ea | [
"BSD-3-Clause"
] | null | null | null | tests/pyre/framework/nameserver_aliases.py | BryanRiel/pyre | 179359634a7091979cced427b6133dd0ec4726ea | [
"BSD-3-Clause"
] | null | null | null | tests/pyre/framework/nameserver_aliases.py | BryanRiel/pyre | 179359634a7091979cced427b6133dd0ec4726ea | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# michael a.g. aïvázis
# orthologue
# (c) 1998-2018 all rights reserved
#
"""
Verify direct access to the namespace
"""
def test():
# access the package
import pyre
# and the nameserver
nameserver = pyre.executive.nameserver
# first batch of name... | 33.766667 | 64 | 0.707799 | 500 | 4,052 | 5.696 | 0.184 | 0.067416 | 0.045646 | 0.054073 | 0.787219 | 0.765449 | 0.751053 | 0.751053 | 0.751053 | 0.751053 | 0 | 0.003141 | 0.214215 | 4,052 | 119 | 65 | 34.05042 | 0.891332 | 0.359576 | 0 | 0.722222 | 0 | 0 | 0.051181 | 0 | 0 | 0 | 0 | 0 | 0.314815 | 1 | 0.018519 | false | 0 | 0.018519 | 0 | 0.055556 | 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 |
dbd1d7a85a6eb36712b4bbd6da45bb2075851cc1 | 133 | py | Python | src/brython_jinja2/platform/bs4.py | jonathanverner/brython-jinja2 | cec6e16de1750203a858d0acf590f230fc3bf848 | [
"BSD-3-Clause"
] | 2 | 2020-09-13T17:51:55.000Z | 2020-11-25T18:47:12.000Z | src/brython_jinja2/platform/bs4.py | jonathanverner/brython-jinja2 | cec6e16de1750203a858d0acf590f230fc3bf848 | [
"BSD-3-Clause"
] | 2 | 2020-11-25T19:18:15.000Z | 2021-06-01T21:48:12.000Z | src/brython_jinja2/platform/bs4.py | jonathanverner/brython-jinja2 | cec6e16de1750203a858d0acf590f230fc3bf848 | [
"BSD-3-Clause"
] | null | null | null | import sys
if sys.platform == "brython":
from .brython.bs4 import *
elif sys.platform == "linux":
from .linux.bs4 import *
| 16.625 | 30 | 0.654135 | 18 | 133 | 4.833333 | 0.5 | 0.252874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019048 | 0.210526 | 133 | 7 | 31 | 19 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 |
dbd703c70a8c3c824719841e4b919d00419dd4a4 | 36 | py | Python | hrwros_ws/devel/.private/hrwros_msgs/lib/python2.7/dist-packages/hrwros_msgs/srv/__init__.py | AshfakYeafi/ros | 7895302251088b7945e359f60a9c617e5170a72e | [
"MIT"
] | null | null | null | hrwros_ws/devel/.private/hrwros_msgs/lib/python2.7/dist-packages/hrwros_msgs/srv/__init__.py | AshfakYeafi/ros | 7895302251088b7945e359f60a9c617e5170a72e | [
"MIT"
] | null | null | null | hrwros_ws/devel/.private/hrwros_msgs/lib/python2.7/dist-packages/hrwros_msgs/srv/__init__.py | AshfakYeafi/ros | 7895302251088b7945e359f60a9c617e5170a72e | [
"MIT"
] | null | null | null | from ._ConvertMetresToFeet import *
| 18 | 35 | 0.833333 | 3 | 36 | 9.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.90625 | 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 |
dbddcfbb0dd95387b282b1499bbeff30122fda3a | 5,772 | py | Python | ckan/tests/lib/test_auth_tkt.py | okfde/ckankrzn | df4c1ed624f6751ac2a8f03527ff19e448d27dfb | [
"Apache-2.0"
] | 4 | 2017-06-12T15:18:30.000Z | 2019-10-11T15:12:43.000Z | ckan/tests/lib/test_auth_tkt.py | okfde/ckankrzn | df4c1ed624f6751ac2a8f03527ff19e448d27dfb | [
"Apache-2.0"
] | 135 | 2019-07-03T19:58:12.000Z | 2020-02-14T19:57:33.000Z | ckan/tests/lib/test_auth_tkt.py | okfde/ckankrzn | df4c1ed624f6751ac2a8f03527ff19e448d27dfb | [
"Apache-2.0"
] | 5 | 2017-04-06T21:18:38.000Z | 2020-03-30T17:05:23.000Z | # encoding: utf-8
from nose import tools as nose_tools
from ckan.tests import helpers
from ckan.lib.auth_tkt import make_plugin
class TestCkanAuthTktCookiePlugin(helpers.FunctionalTestBase):
'''
Test the added methods used by this subclass of
repoze.who.plugins.auth_tkt.AuthTktCookiePlugin
Subclas... | 40.93617 | 89 | 0.606895 | 675 | 5,772 | 4.986667 | 0.131852 | 0.032086 | 0.032086 | 0.02139 | 0.840166 | 0.815805 | 0.770945 | 0.759952 | 0.705288 | 0.705288 | 0 | 0.023037 | 0.262994 | 5,772 | 140 | 90 | 41.228571 | 0.768218 | 0.161642 | 0 | 0.590361 | 0 | 0 | 0.279579 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 1 | 0.108434 | false | 0 | 0.036145 | 0 | 0.156627 | 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 |
9159ff8695cab37a11c070f29ed7ea5416b403f0 | 2,957 | py | Python | tests/researches/test_views.py | ken-mathenge/health_research_portal | e7e5ac8109c002a2d666c27ad076bbe040e00e5f | [
"MIT"
] | 1 | 2020-01-21T10:27:35.000Z | 2020-01-21T10:27:35.000Z | tests/researches/test_views.py | ken-mathenge/health_research_portal | e7e5ac8109c002a2d666c27ad076bbe040e00e5f | [
"MIT"
] | 13 | 2020-03-23T09:25:15.000Z | 2020-07-14T12:41:14.000Z | tests/researches/test_views.py | KennethMathenge/health_research_portal | e7e5ac8109c002a2d666c27ad076bbe040e00e5f | [
"MIT"
] | null | null | null | """Test research views."""
import pytest
from django.test import Client
from django.urls import reverse
pytestmark = pytest.mark.django_db
def test_index_view():
"""Test the research index view."""
client = Client()
url = reverse("research:index")
response = client.get(url)
assert response.statu... | 23.846774 | 66 | 0.673656 | 361 | 2,957 | 5.34903 | 0.108033 | 0.07043 | 0.107716 | 0.127913 | 0.856551 | 0.856551 | 0.821336 | 0.821336 | 0.821336 | 0.772139 | 0 | 0.016477 | 0.199527 | 2,957 | 123 | 67 | 24.04065 | 0.799324 | 0.261752 | 0 | 0.542373 | 0 | 0 | 0.109427 | 0.07153 | 0 | 0 | 0 | 0 | 0.186441 | 1 | 0.186441 | false | 0 | 0.050847 | 0 | 0.237288 | 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 |
918b9291aa8e35faf7bf806f0138d98427411ff8 | 35 | py | Python | test_class1.py | pythongirl/Python_Class1 | 28817258b2e39ad5f8b204acdb20adb4a2d9f7eb | [
"Apache-2.0"
] | 1 | 2021-08-14T16:49:49.000Z | 2021-08-14T16:49:49.000Z | test_class1.py | pythongirl/Python_Class1 | 28817258b2e39ad5f8b204acdb20adb4a2d9f7eb | [
"Apache-2.0"
] | null | null | null | test_class1.py | pythongirl/Python_Class1 | 28817258b2e39ad5f8b204acdb20adb4a2d9f7eb | [
"Apache-2.0"
] | null | null | null | print "Hello World. How are you!!"
| 17.5 | 34 | 0.685714 | 6 | 35 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 35 | 1 | 35 | 35 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0.742857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
37cf6d876033dd400a730e5a94cd86bf7a8e393b | 126 | py | Python | ecommerce/views.py | shubhdeeprajput/E-commerce_website | 9616d41db64aff8e29873c3ac7e85fa84ec0efbf | [
"MIT"
] | null | null | null | ecommerce/views.py | shubhdeeprajput/E-commerce_website | 9616d41db64aff8e29873c3ac7e85fa84ec0efbf | [
"MIT"
] | null | null | null | ecommerce/views.py | shubhdeeprajput/E-commerce_website | 9616d41db64aff8e29873c3ac7e85fa84ec0efbf | [
"MIT"
] | 1 | 2020-01-24T16:45:20.000Z | 2020-01-24T16:45:20.000Z | from django.http import HttpResponse
def index(request):
return HttpResponse('<script>window.location="/shop";</script>') | 31.5 | 68 | 0.753968 | 15 | 126 | 6.333333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 126 | 4 | 68 | 31.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.322835 | 0.322835 | 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 |
37f98bfa26938eb44858c801f01f411bc7c91437 | 9,094 | py | Python | tests/test_config.py | ga4gh/workflow-interop | e2b3422f6867ce632c65e017d7b558f3cce9fcf1 | [
"Apache-2.0"
] | 5 | 2019-04-15T17:37:33.000Z | 2020-04-24T15:18:06.000Z | tests/test_config.py | Sage-Bionetworks/synevalharness | e2b3422f6867ce632c65e017d7b558f3cce9fcf1 | [
"Apache-2.0"
] | 58 | 2018-12-07T15:55:35.000Z | 2022-02-18T15:42:27.000Z | tests/test_config.py | Sage-Bionetworks/synapse-orchestrator | e2b3422f6867ce632c65e017d7b558f3cce9fcf1 | [
"Apache-2.0"
] | 4 | 2018-07-18T23:00:09.000Z | 2018-07-31T20:01:21.000Z | import logging
import mock
import pytest
import yaml
from ga4ghtest.core.config import _default_queues
from ga4ghtest.core.config import _default_config
from ga4ghtest.core.config import queue_config
from ga4ghtest.core.config import trs_config
from ga4ghtest.core.config import wes_config
from ga4ghtest.core.config im... | 35.111969 | 91 | 0.655267 | 1,055 | 9,094 | 5.412322 | 0.100474 | 0.047285 | 0.086515 | 0.081436 | 0.833275 | 0.812785 | 0.743783 | 0.720841 | 0.705254 | 0.705254 | 0 | 0.004587 | 0.256873 | 9,094 | 258 | 92 | 35.248062 | 0.840337 | 0.189136 | 0 | 0.56213 | 0 | 0 | 0.17021 | 0.06773 | 0 | 0 | 0 | 0 | 0.094675 | 1 | 0.071006 | false | 0 | 0.088757 | 0 | 0.159763 | 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 |
53465bb7b8bfd4a66baf5420dd4a940341bb6ab4 | 3,959 | py | Python | examples/change_turbine/change_hub_height.py | jialrs/floris-enhanced | 66cdf1c9597aa3bb4f956cc9a0cb497312a690bf | [
"Apache-2.0"
] | null | null | null | examples/change_turbine/change_hub_height.py | jialrs/floris-enhanced | 66cdf1c9597aa3bb4f956cc9a0cb497312a690bf | [
"Apache-2.0"
] | null | null | null | examples/change_turbine/change_hub_height.py | jialrs/floris-enhanced | 66cdf1c9597aa3bb4f956cc9a0cb497312a690bf | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 NREL
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# dist... | 28.278571 | 79 | 0.692852 | 643 | 3,959 | 4.133748 | 0.244168 | 0.024454 | 0.03386 | 0.038375 | 0.738149 | 0.727615 | 0.713318 | 0.713318 | 0.713318 | 0.713318 | 0 | 0.039711 | 0.160394 | 3,959 | 139 | 80 | 28.482014 | 0.759928 | 0.243496 | 0 | 0.77027 | 0 | 0 | 0.083445 | 0.021198 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.040541 | 0 | 0.040541 | 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 |
534b3cce6686209847f974f3bfa13666d3667738 | 49 | py | Python | romaji/__init__.py | jikyo/romaji4p | 9bb6136d97c6be039038e8354eef1727c8f3fe86 | [
"Apache-2.0"
] | 1 | 2020-03-31T00:50:56.000Z | 2020-03-31T00:50:56.000Z | romaji/__init__.py | jikyo/romaji4p | 9bb6136d97c6be039038e8354eef1727c8f3fe86 | [
"Apache-2.0"
] | null | null | null | romaji/__init__.py | jikyo/romaji4p | 9bb6136d97c6be039038e8354eef1727c8f3fe86 | [
"Apache-2.0"
] | null | null | null | from romaji.transliterator import transliterate
| 24.5 | 48 | 0.877551 | 5 | 49 | 8.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 1 | 49 | 49 | 0.977273 | 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 |
72b5aa5bc8f1e6e20dd150bced2bc974a933adb9 | 182 | py | Python | dfttk/__init__.py | ghifi37/dfttk | 68e33cc716fe15246353e88a971dbcb82226aa66 | [
"MIT"
] | null | null | null | dfttk/__init__.py | ghifi37/dfttk | 68e33cc716fe15246353e88a971dbcb82226aa66 | [
"MIT"
] | null | null | null | dfttk/__init__.py | ghifi37/dfttk | 68e33cc716fe15246353e88a971dbcb82226aa66 | [
"MIT"
] | null | null | null |
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
from dfttk.structure_builders import PRLStructure
from dfttk.wflows import get_wf_gibbs
| 22.75 | 49 | 0.840659 | 25 | 182 | 5.68 | 0.52 | 0.232394 | 0.253521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104396 | 182 | 7 | 50 | 26 | 0.871166 | 0 | 0 | 0 | 0 | 0 | 0.038674 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f40ee2ddafd046e96427443bb064f573635d387a | 29 | py | Python | openktn/forms/openktn_PandasKTN/__init__.py | uibcdf/OpenKinNet | 8ed5d3da561e7a0f62ac80cb02cc09116c08ac25 | [
"MIT"
] | null | null | null | openktn/forms/openktn_PandasKTN/__init__.py | uibcdf/OpenKinNet | 8ed5d3da561e7a0f62ac80cb02cc09116c08ac25 | [
"MIT"
] | null | null | null | openktn/forms/openktn_PandasKTN/__init__.py | uibcdf/OpenKinNet | 8ed5d3da561e7a0f62ac80cb02cc09116c08ac25 | [
"MIT"
] | null | null | null | from .network import network
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 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 |
f426c3619a4e7b18cf55d9bf7023fab308c0940a | 9,742 | py | Python | tests/integration/test_replicated_merge_tree_hdfs_zero_copy/test.py | Srijan0519/ClickHouse | c0e1c42562c48d122a1dad4fea18b060d4805ae3 | [
"Apache-2.0"
] | 1 | 2021-08-11T21:51:53.000Z | 2021-08-11T21:51:53.000Z | tests/integration/test_replicated_merge_tree_hdfs_zero_copy/test.py | Srijan0519/ClickHouse | c0e1c42562c48d122a1dad4fea18b060d4805ae3 | [
"Apache-2.0"
] | 1 | 2021-06-28T15:03:05.000Z | 2021-06-28T15:03:05.000Z | tests/integration/test_replicated_merge_tree_hdfs_zero_copy/test.py | Srijan0519/ClickHouse | c0e1c42562c48d122a1dad4fea18b060d4805ae3 | [
"Apache-2.0"
] | null | null | null | import logging
from string import Template
import time
import pytest
from helpers.cluster import ClickHouseCluster
from pyhdfs import HdfsClient
SHARDS = 2
FILES_OVERHEAD_PER_TABLE = 1 # format_version.txt
FILES_OVERHEAD_PER_PART_COMPACT = 7
def wait_for_hdfs_objects(cluster, fp, expected, num_tries=30):
... | 45.737089 | 148 | 0.655307 | 1,244 | 9,742 | 4.926045 | 0.114148 | 0.058747 | 0.020561 | 0.050261 | 0.865535 | 0.842689 | 0.810542 | 0.792918 | 0.76436 | 0.73923 | 0 | 0.025505 | 0.227263 | 9,742 | 212 | 149 | 45.95283 | 0.788523 | 0.001848 | 0 | 0.393939 | 0 | 0.012121 | 0.472073 | 0.075606 | 0 | 0 | 0 | 0 | 0.151515 | 1 | 0.042424 | false | 0 | 0.036364 | 0 | 0.078788 | 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 |
be2fa654cf363ec457015eba1bcc6e8a825fa0d2 | 118 | py | Python | pythonPrograms/test.py | akierson/capstone-prototype | a7d5754653f8c64d17ba21fbe4801c316a95b318 | [
"MIT"
] | null | null | null | pythonPrograms/test.py | akierson/capstone-prototype | a7d5754653f8c64d17ba21fbe4801c316a95b318 | [
"MIT"
] | null | null | null | pythonPrograms/test.py | akierson/capstone-prototype | a7d5754653f8c64d17ba21fbe4801c316a95b318 | [
"MIT"
] | null | null | null | schema = ['this', 'that', 'THE OTHER']
print([x.islower() for x in schema])
print(all([x.islower() for x in schema]))
| 29.5 | 41 | 0.635593 | 20 | 118 | 3.75 | 0.55 | 0.213333 | 0.293333 | 0.32 | 0.533333 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 118 | 3 | 42 | 39.333333 | 0.735294 | 0 | 0 | 0 | 0 | 0 | 0.144068 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
be4a2a9845ded555b81524ebd3d24428584c40ea | 7,047 | py | Python | tfx/tools/cli/commands/run.py | rmgogogo/tfx | 8ed47f2570bd01d258d8ee9b1ab001e08d16af89 | [
"Apache-2.0"
] | 1 | 2021-10-04T21:53:34.000Z | 2021-10-04T21:53:34.000Z | tfx/tools/cli/commands/run.py | rmgogogo/tfx | 8ed47f2570bd01d258d8ee9b1ab001e08d16af89 | [
"Apache-2.0"
] | null | null | null | tfx/tools/cli/commands/run.py | rmgogogo/tfx | 8ed47f2570bd01d258d8ee9b1ab001e08d16af89 | [
"Apache-2.0"
] | null | null | null | # Lint as: python2, python3
# Copyright 2019 Google LLC. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless req... | 34.043478 | 79 | 0.704981 | 993 | 7,047 | 4.850957 | 0.13998 | 0.051484 | 0.077226 | 0.097156 | 0.771227 | 0.765207 | 0.765207 | 0.752335 | 0.744447 | 0.744447 | 0 | 0.001694 | 0.162197 | 7,047 | 206 | 80 | 34.208738 | 0.814194 | 0.116362 | 0 | 0.8 | 0 | 0 | 0.243086 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035294 | false | 0.041176 | 0.052941 | 0 | 0.088235 | 0.005882 | 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 |
be96e4159996082b4d39c8f4cabf3cf2bf4e2133 | 206,711 | py | Python | envi/archs/amd64/opcode64.py | Ana06/vivisect | d4f00347d314935f01954dacb6b49d53a9527167 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | envi/archs/amd64/opcode64.py | Ana06/vivisect | d4f00347d314935f01954dacb6b49d53a9527167 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | envi/archs/amd64/opcode64.py | Ana06/vivisect | d4f00347d314935f01954dacb6b49d53a9527167 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | from envi.archs.i386.opconst import *
from . import regs as e_amd64_regs
# in order to be included, table name must be listed here.
tablenames = [ None, # nexttable index 0 means NO TABLE!
'tbl32_0F',
'tbl32_0F00',
'tbl32_0F01_00BF',
'tbl32_0F0... | 88.338034 | 229 | 0.69439 | 41,707 | 206,711 | 3.06385 | 0.032273 | 0.085832 | 0.088368 | 0.074595 | 0.930649 | 0.901326 | 0.892342 | 0.878412 | 0.864701 | 0.856711 | 0 | 0.117339 | 0.1493 | 206,711 | 2,339 | 230 | 88.375802 | 0.60933 | 0.017725 | 0 | 0.181302 | 0 | 0 | 0.040496 | 0 | 0 | 0 | 0.009716 | 0.002565 | 0 | 1 | 0 | false | 0 | 0.001033 | 0 | 0.001033 | 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 |
be9c6ac18f40c6883240d0be97a3ff4c2282f106 | 262 | py | Python | assembler/formats/_template.py | 0xGREG/Assembler | acff596e6f6f662e80f91a5027b3a2bf7d9bd66a | [
"Apache-2.0"
] | null | null | null | assembler/formats/_template.py | 0xGREG/Assembler | acff596e6f6f662e80f91a5027b3a2bf7d9bd66a | [
"Apache-2.0"
] | null | null | null | assembler/formats/_template.py | 0xGREG/Assembler | acff596e6f6f662e80f91a5027b3a2bf7d9bd66a | [
"Apache-2.0"
] | null | null | null | class fileFormatClass:
def __init__(self, parameters):
self.parameters = parameters
def generateTemplate(self):
pass
def getOrg(self):
return self.org
def addFormatData(self, data, startingAddress):
return data
| 20.153846 | 51 | 0.652672 | 26 | 262 | 6.423077 | 0.538462 | 0.167665 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.274809 | 262 | 12 | 52 | 21.833333 | 0.878947 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0.111111 | 0 | 0.222222 | 0.777778 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
beb1a4472368f1556dd4d66c08d06be94051a9c8 | 113 | py | Python | workon/contrib/auth/forms/__init__.py | dalou/django-workon | ef63c0a81c00ef560ed693e435cf3825f5170126 | [
"BSD-3-Clause"
] | null | null | null | workon/contrib/auth/forms/__init__.py | dalou/django-workon | ef63c0a81c00ef560ed693e435cf3825f5170126 | [
"BSD-3-Clause"
] | null | null | null | workon/contrib/auth/forms/__init__.py | dalou/django-workon | ef63c0a81c00ef560ed693e435cf3825f5170126 | [
"BSD-3-Clause"
] | null | null | null | from .login import Login
from .password_reset import PasswordResetToken, PasswordReset
from. signup import Signup | 37.666667 | 61 | 0.858407 | 14 | 113 | 6.857143 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106195 | 113 | 3 | 62 | 37.666667 | 0.950495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
fe2426b2db55f77419fd0c3a08bb9d75c279da61 | 134 | py | Python | grupo_express_it/grupo_express_invoice_tool/doctype/pricing_rule/test_pricing_rule.py | JeansReal/grupo_express_it | e36bf77dcc41e8828ab868221995b4cfe8f9c58b | [
"MIT"
] | null | null | null | grupo_express_it/grupo_express_invoice_tool/doctype/pricing_rule/test_pricing_rule.py | JeansReal/grupo_express_it | e36bf77dcc41e8828ab868221995b4cfe8f9c58b | [
"MIT"
] | null | null | null | grupo_express_it/grupo_express_invoice_tool/doctype/pricing_rule/test_pricing_rule.py | JeansReal/grupo_express_it | e36bf77dcc41e8828ab868221995b4cfe8f9c58b | [
"MIT"
] | null | null | null | # Copyright (c) 2021, Agile Shift and Contributors
# See license.txt
import unittest
class TestPricingRule(unittest.TestCase):
pass
| 19.142857 | 50 | 0.791045 | 17 | 134 | 6.235294 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.134328 | 134 | 6 | 51 | 22.333333 | 0.87931 | 0.477612 | 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 |
fe26133d65de650ab916b3b15b25b384a6687511 | 26 | py | Python | terrascript/template/__init__.py | vfoucault/python-terrascript | fe82b3d7e79ffa72b7871538f999828be0a115d0 | [
"BSD-2-Clause"
] | null | null | null | terrascript/template/__init__.py | vfoucault/python-terrascript | fe82b3d7e79ffa72b7871538f999828be0a115d0 | [
"BSD-2-Clause"
] | null | null | null | terrascript/template/__init__.py | vfoucault/python-terrascript | fe82b3d7e79ffa72b7871538f999828be0a115d0 | [
"BSD-2-Clause"
] | null | null | null | """2017-11-28 18:08:59"""
| 13 | 25 | 0.538462 | 6 | 26 | 2.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.583333 | 0.076923 | 26 | 1 | 26 | 26 | 0 | 0.730769 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fe3be83f77f0214bbe83d06a217086cfac13e5f1 | 104,036 | py | Python | thegame/massfunction.py | bpietropaoli/THEGAME-Python | 7b7f8b411cd845145590a8f8804e1402a228899f | [
"Apache-2.0"
] | 5 | 2016-12-09T13:56:48.000Z | 2020-12-29T11:28:03.000Z | thegame/massfunction.py | bpietropaoli/THEGAME-Python | 7b7f8b411cd845145590a8f8804e1402a228899f | [
"Apache-2.0"
] | null | null | null | thegame/massfunction.py | bpietropaoli/THEGAME-Python | 7b7f8b411cd845145590a8f8804e1402a228899f | [
"Apache-2.0"
] | 2 | 2019-02-15T15:34:25.000Z | 2019-07-29T05:48:08.000Z | ################################################################################
# thegame.massfunction.py #
# ---------------------------------------------------------------------------- #
# Author : Bastien Pietropaoli ... | 42.153971 | 138 | 0.562584 | 11,244 | 104,036 | 5.129047 | 0.060921 | 0.0747 | 0.030102 | 0.047303 | 0.801737 | 0.779664 | 0.759914 | 0.738603 | 0.723466 | 0.711571 | 0 | 0.008122 | 0.291101 | 104,036 | 2,467 | 139 | 42.171058 | 0.773847 | 0.471837 | 0 | 0.613065 | 0 | 0.002513 | 0.039206 | 0.001308 | 0.002513 | 0 | 0 | 0 | 0 | 1 | 0.126884 | false | 0.003769 | 0.008794 | 0.005025 | 0.305276 | 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 |
fe4259f03a8662828719f153cafad354902fa75f | 3,922 | py | Python | access_control/test_ac_fbv.py | LaEmma/sparrow_cloud | fb9f76ea70b3ba5782c33f3b3379e2ffe4bab08c | [
"MIT"
] | null | null | null | access_control/test_ac_fbv.py | LaEmma/sparrow_cloud | fb9f76ea70b3ba5782c33f3b3379e2ffe4bab08c | [
"MIT"
] | null | null | null | access_control/test_ac_fbv.py | LaEmma/sparrow_cloud | fb9f76ea70b3ba5782c33f3b3379e2ffe4bab08c | [
"MIT"
] | null | null | null | from django.test import TestCase
from rest_framework import status
from rest_framework.decorators import api_view
from rest_framework.response import Response
from rest_framework.test import APIRequestFactory
from django.conf import settings
import os
####### 我们的import ########
from sparrow_cloud.access_control.de... | 32.147541 | 111 | 0.653238 | 439 | 3,922 | 5.555809 | 0.161731 | 0.106601 | 0.04264 | 0.0492 | 0.806888 | 0.806888 | 0.806888 | 0.769168 | 0.769168 | 0.769168 | 0 | 0.012654 | 0.234319 | 3,922 | 121 | 112 | 32.413223 | 0.799534 | 0.021418 | 0 | 0.698795 | 0 | 0 | 0.152596 | 0.072365 | 0 | 0 | 0 | 0 | 0.072289 | 1 | 0.180723 | false | 0.012048 | 0.108434 | 0.072289 | 0.385542 | 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 |
fe5828a85fc0ec5eae95b70b25d6a2a59e7dda74 | 15,568 | py | Python | src/azure-cli-core/azure/cli/core/tests/test_api_profiles.py | xaliciayang/azure-cli | 38c80c875e8a79d08d06a2f42ec82fd54934343e | [
"MIT"
] | 7 | 2020-04-26T09:54:05.000Z | 2021-07-22T16:54:41.000Z | src/azure-cli-core/azure/cli/core/tests/test_api_profiles.py | xaliciayang/azure-cli | 38c80c875e8a79d08d06a2f42ec82fd54934343e | [
"MIT"
] | 120 | 2018-03-27T19:14:40.000Z | 2020-12-10T23:53:35.000Z | src/azure-cli-core/azure/cli/core/tests/test_api_profiles.py | xaliciayang/azure-cli | 38c80c875e8a79d08d06a2f42ec82fd54934343e | [
"MIT"
] | 13 | 2020-06-30T16:23:36.000Z | 2022-03-29T17:12:05.000Z | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | 56.202166 | 114 | 0.688464 | 1,974 | 15,568 | 5.154509 | 0.064843 | 0.024373 | 0.050811 | 0.060442 | 0.912039 | 0.896806 | 0.870958 | 0.845111 | 0.825848 | 0.810319 | 0 | 0.060561 | 0.177993 | 15,568 | 276 | 115 | 56.405797 | 0.734547 | 0.043294 | 0 | 0.58371 | 0 | 0 | 0.216451 | 0.094147 | 0 | 0 | 0 | 0 | 0.167421 | 1 | 0.167421 | false | 0 | 0.031674 | 0 | 0.20362 | 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 |
fe6033241b06d665b49f242ac1a3399b098e439d | 60,317 | py | Python | server/tests/controllers/miners/github/test_precomputed_prs.py | athenianco/athenian-api | dd5556101a8c49703d6b0516e4268b9e8d8eda5b | [
"RSA-MD"
] | 9 | 2020-10-11T22:12:03.000Z | 2022-02-26T02:16:45.000Z | server/tests/controllers/miners/github/test_precomputed_prs.py | athenianco/athenian-api | dd5556101a8c49703d6b0516e4268b9e8d8eda5b | [
"RSA-MD"
] | 246 | 2019-12-05T06:37:30.000Z | 2022-03-29T10:00:07.000Z | server/tests/controllers/miners/github/test_precomputed_prs.py | athenianco/athenian-api | dd5556101a8c49703d6b0516e4268b9e8d8eda5b | [
"RSA-MD"
] | 5 | 2019-12-04T22:38:05.000Z | 2021-02-26T00:50:04.000Z | import asyncio
from datetime import datetime, timedelta, timezone
import math
from typing import Sequence
import pandas as pd
import pytest
from sqlalchemy import and_, select, update
from athenian.api.async_utils import read_sql_query
from athenian.api.controllers.features.github.pull_request_filter import _fetch_pu... | 47.832672 | 99 | 0.674603 | 7,570 | 60,317 | 5.098811 | 0.047952 | 0.03653 | 0.011037 | 0.016555 | 0.876108 | 0.852402 | 0.81626 | 0.784626 | 0.768252 | 0.731048 | 0 | 0.021738 | 0.210621 | 60,317 | 1,260 | 100 | 47.870635 | 0.788923 | 0.005007 | 0 | 0.684348 | 0 | 0 | 0.042398 | 0.002683 | 0 | 0 | 0 | 0 | 0.07913 | 1 | 0.018261 | false | 0 | 0.01913 | 0.00087 | 0.056522 | 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 |
fe83a3e26e968910d17df9d435972953508f92d3 | 52,257 | py | Python | verticapy/learn/metrics.py | jmishra01/VerticaPy | d4f20cbc388537e442835af7fb905df0a9aa8ab6 | [
"Apache-2.0"
] | null | null | null | verticapy/learn/metrics.py | jmishra01/VerticaPy | d4f20cbc388537e442835af7fb905df0a9aa8ab6 | [
"Apache-2.0"
] | null | null | null | verticapy/learn/metrics.py | jmishra01/VerticaPy | d4f20cbc388537e442835af7fb905df0a9aa8ab6 | [
"Apache-2.0"
] | null | null | null | # (c) Copyright [2018-2021] Micro Focus or one of its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# You may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | 30.032759 | 162 | 0.584917 | 6,663 | 52,257 | 4.438691 | 0.059883 | 0.087033 | 0.02191 | 0.016433 | 0.821268 | 0.802401 | 0.784548 | 0.773897 | 0.769637 | 0.760642 | 0 | 0.008167 | 0.254875 | 52,257 | 1,739 | 163 | 30.050029 | 0.751374 | 0.440649 | 0 | 0.573198 | 0 | 0.011261 | 0.123836 | 0.00537 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030405 | false | 0.001126 | 0.011261 | 0 | 0.072072 | 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 |
22baa692263fe9e05c1aa9f3e8fe29f22a743aca | 22,137 | py | Python | tests/tests_launch/test_launch_aws.py | soumik12345/client | 31e4c2b143e6c219ea005fe4477e294f383f6888 | [
"MIT"
] | null | null | null | tests/tests_launch/test_launch_aws.py | soumik12345/client | 31e4c2b143e6c219ea005fe4477e294f383f6888 | [
"MIT"
] | null | null | null | tests/tests_launch/test_launch_aws.py | soumik12345/client | 31e4c2b143e6c219ea005fe4477e294f383f6888 | [
"MIT"
] | null | null | null | import configparser
import json
import os
from unittest.mock import MagicMock
import sys
import boto3
import wandb
import wandb.sdk.launch.launch as launch
import wandb.sdk.launch._project_spec as _project_spec
from wandb.sdk.launch.runner.aws import (
SagemakerSubmittedRun,
get_aws_credentials,
get_region... | 36.895 | 107 | 0.656096 | 2,584 | 22,137 | 5.372678 | 0.085913 | 0.057048 | 0.042426 | 0.016135 | 0.834258 | 0.799467 | 0.785133 | 0.758049 | 0.735432 | 0.714687 | 0 | 0.010579 | 0.227086 | 22,137 | 599 | 108 | 36.956594 | 0.800818 | 0.000452 | 0 | 0.642322 | 0 | 0.007491 | 0.22522 | 0.049401 | 0 | 0 | 0 | 0 | 0.05618 | 1 | 0.050562 | false | 0 | 0.024345 | 0 | 0.104869 | 0.009363 | 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 |
fe109d0d097b9efce976ad3ea9f7786ff22d7919 | 818 | py | Python | tests/test_provider_alxrem_hdns.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | tests/test_provider_alxrem_hdns.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | tests/test_provider_alxrem_hdns.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # tests/test_provider_alxrem_hdns.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:18:18 UTC)
def test_provider_import():
import terrascript.provider.alxrem.hdns
def test_resource_import():
from terrascript.resource.alxrem.hdns import hdns_record
from terrascript.resource.alxrem.hdns i... | 26.387097 | 80 | 0.745721 | 115 | 818 | 5.173913 | 0.504348 | 0.117647 | 0.121008 | 0.146218 | 0.309244 | 0.144538 | 0.144538 | 0 | 0 | 0 | 0 | 0.021802 | 0.158924 | 818 | 30 | 81 | 27.266667 | 0.843023 | 0.581907 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0 | 1 | 0.428571 | true | 0 | 1 | 0 | 1.428571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a3c40c7b1ba2c61932269a1ce53aa133e482cbdb | 41 | py | Python | agda/agda/admin.py | NBISweden/agda | a67e94b127ee7f97419152d5abe6a770bcee4f07 | [
"MIT"
] | 18 | 2020-09-22T23:03:30.000Z | 2022-02-22T06:04:20.000Z | agda/agda/admin.py | BILS/agda | a67e94b127ee7f97419152d5abe6a770bcee4f07 | [
"MIT"
] | 211 | 2020-08-20T13:07:47.000Z | 2022-03-27T20:32:49.000Z | demo/admin.py | jackton1/django-model-subscription | 112deb7519adc98058df5f46d6e95c2f574b3933 | [
"MIT"
] | 1 | 2021-06-05T18:13:20.000Z | 2021-06-05T18:13:20.000Z | from django.contrib import admin # noqa
| 20.5 | 40 | 0.780488 | 6 | 41 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 41 | 1 | 41 | 41 | 0.941176 | 0.097561 | 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 |
43131ba8a1d8444c878db72abd05ad2e70521de8 | 40 | py | Python | run.py | loonyuni/fitnessbot | fe768e33157ddde52197c209607282264cf65ce0 | [
"MIT"
] | null | null | null | run.py | loonyuni/fitnessbot | fe768e33157ddde52197c209607282264cf65ce0 | [
"MIT"
] | null | null | null | run.py | loonyuni/fitnessbot | fe768e33157ddde52197c209607282264cf65ce0 | [
"MIT"
] | null | null | null | import slackbotExercise
import swolebot
| 13.333333 | 23 | 0.9 | 4 | 40 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 2 | 24 | 20 | 1 | 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 |
43178f975527c7c2804cc2db83c52abd6141208c | 107 | py | Python | cleaning_schedule/utils/development.py | Erik-Lamers1/OS3-cleaning-schedule | 388bc273cf0578bee813aa27bfe4977d68073901 | [
"MIT"
] | null | null | null | cleaning_schedule/utils/development.py | Erik-Lamers1/OS3-cleaning-schedule | 388bc273cf0578bee813aa27bfe4977d68073901 | [
"MIT"
] | null | null | null | cleaning_schedule/utils/development.py | Erik-Lamers1/OS3-cleaning-schedule | 388bc273cf0578bee813aa27bfe4977d68073901 | [
"MIT"
] | 1 | 2019-03-24T13:45:32.000Z | 2019-03-24T13:45:32.000Z | from html5print import HTMLBeautifier
def print_html5(html):
print(HTMLBeautifier.beautify(html, 4))
| 17.833333 | 43 | 0.785047 | 13 | 107 | 6.384615 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.130841 | 107 | 5 | 44 | 21.4 | 0.860215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 1 | 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 | 0 | 1 | 1 | 0 | 6 |
43335e6d083cbf3fc3e5020961cd7bdbe8be56fa | 3,729 | py | Python | tests/parse/test_parse_arithmetic.py | CyberZHG/mos-6502-restricted-assembler | a492a82dc9cc30225264fe777180aad5d0b4201a | [
"MIT"
] | null | null | null | tests/parse/test_parse_arithmetic.py | CyberZHG/mos-6502-restricted-assembler | a492a82dc9cc30225264fe777180aad5d0b4201a | [
"MIT"
] | null | null | null | tests/parse/test_parse_arithmetic.py | CyberZHG/mos-6502-restricted-assembler | a492a82dc9cc30225264fe777180aad5d0b4201a | [
"MIT"
] | null | null | null | from unittest import TestCase
from asm_6502 import get_parser, Arithmetic, Integer
class TestParseArithmetic(TestCase):
def setUp(self) -> None:
self.parser = get_parser()
def test_address(self):
code = 'ORG $0080'
results = self.parser.parse(code)[0].addressing.address
sel... | 38.443299 | 118 | 0.60767 | 411 | 3,729 | 5.472019 | 0.16545 | 0.080036 | 0.128502 | 0.166296 | 0.793241 | 0.786127 | 0.734993 | 0.734993 | 0.734993 | 0.683415 | 0 | 0.029786 | 0.261732 | 3,729 | 96 | 119 | 38.84375 | 0.787141 | 0 | 0 | 0.32 | 0 | 0 | 0.05122 | 0 | 0 | 0 | 0.002145 | 0 | 0.226667 | 1 | 0.146667 | false | 0 | 0.026667 | 0 | 0.186667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4a595f1250622c13031d04346af54e38614f035f | 90 | py | Python | src/covid_cleansing.py | rliviero/covid_forecast_web | 98e41e469c13efa50968f1648c63b19b29c0d9dc | [
"Apache-2.0"
] | null | null | null | src/covid_cleansing.py | rliviero/covid_forecast_web | 98e41e469c13efa50968f1648c63b19b29c0d9dc | [
"Apache-2.0"
] | null | null | null | src/covid_cleansing.py | rliviero/covid_forecast_web | 98e41e469c13efa50968f1648c63b19b29c0d9dc | [
"Apache-2.0"
] | null | null | null | import pandas as pd
def get_last_non_zero(serie):
return serie[serie != 0].index[-1]
| 18 | 38 | 0.711111 | 16 | 90 | 3.8125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 0.166667 | 90 | 4 | 39 | 22.5 | 0.786667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 |
4aafe0537976de6a00535425e69efc1c50cb014d | 5,160 | py | Python | objects_phases.py | Pfeter/SpaceShooter | 4d18976d3f7bac3473c27e1577cd43886b3616da | [
"MIT"
] | null | null | null | objects_phases.py | Pfeter/SpaceShooter | 4d18976d3f7bac3473c27e1577cd43886b3616da | [
"MIT"
] | null | null | null | objects_phases.py | Pfeter/SpaceShooter | 4d18976d3f7bac3473c27e1577cd43886b3616da | [
"MIT"
] | null | null | null | import pygame
import random
BLACK = (0, 0, 0)
class Asteroid(pygame.sprite.Sprite):
def __init__(self):
pygame.sprite.Sprite.__init__(self)
self.counter = 0
self.phases = []
self.index = 0
self.image = self.phases[self.index]
self.rect = self.image.get_rect()
... | 30.532544 | 80 | 0.626357 | 700 | 5,160 | 4.462857 | 0.148571 | 0.108835 | 0.120038 | 0.168054 | 0.715749 | 0.709027 | 0.709027 | 0.709027 | 0.709027 | 0.701665 | 0 | 0.037481 | 0.224419 | 5,160 | 168 | 81 | 30.714286 | 0.743128 | 0.01124 | 0 | 0.363636 | 0 | 0 | 0.098451 | 0.032948 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049587 | false | 0.008264 | 0.016529 | 0 | 0.099174 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
43557cc95ad022a5095d9e3527e7427aac4b6961 | 41 | py | Python | __init__.py | abonaca/tpv | 6169ae0c0eeeede0fa8daf0c331ef7d828d1db6f | [
"MIT"
] | null | null | null | __init__.py | abonaca/tpv | 6169ae0c0eeeede0fa8daf0c331ef7d828d1db6f | [
"MIT"
] | null | null | null | __init__.py | abonaca/tpv | 6169ae0c0eeeede0fa8daf0c331ef7d828d1db6f | [
"MIT"
] | null | null | null | #! /usr/bin/env python
from tpv import * | 13.666667 | 22 | 0.682927 | 7 | 41 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 41 | 3 | 23 | 13.666667 | 0.823529 | 0.512195 | 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 |
435cf8ba135685053d1a035f3ed6a8ecdabc869a | 14,212 | py | Python | mayan/apps/metadata/tests/test_api.py | eshbeata/open-paperless | 6b9ed1f21908116ad2795b3785b2dbd66713d66e | [
"Apache-2.0"
] | 2,743 | 2017-12-18T07:12:30.000Z | 2022-03-27T17:21:25.000Z | mayan/apps/metadata/tests/test_api.py | eshbeata/open-paperless | 6b9ed1f21908116ad2795b3785b2dbd66713d66e | [
"Apache-2.0"
] | 15 | 2020-06-06T00:00:48.000Z | 2022-03-12T00:03:54.000Z | mayan/apps/metadata/tests/test_api.py | eshbeata/open-paperless | 6b9ed1f21908116ad2795b3785b2dbd66713d66e | [
"Apache-2.0"
] | 257 | 2017-12-18T03:12:58.000Z | 2022-03-25T08:59:10.000Z | from __future__ import unicode_literals
from django.contrib.auth import get_user_model
from django.test import override_settings
from django.urls import reverse
from documents.models import DocumentType
from documents.tests import TEST_DOCUMENT_TYPE_LABEL, TEST_SMALL_DOCUMENT_PATH
from rest_api.tests import BaseAPITe... | 32.447489 | 79 | 0.631086 | 1,473 | 14,212 | 5.746775 | 0.070604 | 0.14176 | 0.097815 | 0.06521 | 0.852215 | 0.80697 | 0.792321 | 0.74117 | 0.725812 | 0.63863 | 0 | 0.007712 | 0.279201 | 14,212 | 437 | 80 | 32.521739 | 0.818626 | 0 | 0 | 0.57478 | 0 | 0 | 0.068182 | 0.045455 | 0 | 0 | 0 | 0 | 0.143695 | 1 | 0.079179 | false | 0.020528 | 0.029326 | 0 | 0.117302 | 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 |
43739d4b0f6948abd9070099d2e1e4e57c476fd2 | 180 | py | Python | bdrl/agents/__init__.py | MaximeRobeyns/BDRL | 55e295d5aaca6745d35525114b472ad118c14a6d | [
"Apache-2.0"
] | null | null | null | bdrl/agents/__init__.py | MaximeRobeyns/BDRL | 55e295d5aaca6745d35525114b472ad118c14a6d | [
"Apache-2.0"
] | null | null | null | bdrl/agents/__init__.py | MaximeRobeyns/BDRL | 55e295d5aaca6745d35525114b472ad118c14a6d | [
"Apache-2.0"
] | null | null | null | from .dqn_agent import DQN
from .bdrl_agent import BDRL
from .qrdqn_agent import QRDQN
from .ensemble_agent import EnsembleAgent
from .base_agent import Agent, DistributionalAgent
| 30 | 50 | 0.85 | 26 | 180 | 5.692308 | 0.384615 | 0.371622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 180 | 5 | 51 | 36 | 0.930818 | 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 |
43aeb263ca870d3e4381e3a36cb5c8ac7b92d069 | 48 | py | Python | scripts/interact/__init__.py | abonaca/atlas | 58729b1e57928564e0dd4cc2c762d83fa974229c | [
"MIT"
] | 1 | 2021-05-15T02:31:17.000Z | 2021-05-15T02:31:17.000Z | scripts/interact/__init__.py | abonaca/gd1_spur | 05c10002ffa1203822c91058cfa3ae0fe7ab460b | [
"MIT"
] | null | null | null | scripts/interact/__init__.py | abonaca/gd1_spur | 05c10002ffa1203822c91058cfa3ae0fe7ab460b | [
"MIT"
] | null | null | null | #! /usr/bin/env python
from .interact import *
| 12 | 23 | 0.6875 | 7 | 48 | 4.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 3 | 24 | 16 | 0.825 | 0.4375 | 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 |
43dc191490c29f48c5c238f0e2c95d717619aae7 | 187 | py | Python | pytorch_project_template/data/utils.py | nik-sm/pytorch-project-template | 0c8de8d2cbf622df11a41663f83ba39f83d77643 | [
"MIT"
] | null | null | null | pytorch_project_template/data/utils.py | nik-sm/pytorch-project-template | 0c8de8d2cbf622df11a41663f83ba39f83d77643 | [
"MIT"
] | null | null | null | pytorch_project_template/data/utils.py | nik-sm/pytorch-project-template | 0c8de8d2cbf622df11a41663f83ba39f83d77643 | [
"MIT"
] | null | null | null | import random
import numpy as np
import torch
def seed_worker(worker_id):
worker_seed = torch.initial_seed() % 2 ** 32
np.random.seed(worker_seed)
random.seed(worker_seed)
| 17 | 48 | 0.727273 | 29 | 187 | 4.482759 | 0.448276 | 0.230769 | 0.246154 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.181818 | 187 | 10 | 49 | 18.7 | 0.830065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
60125e6dea7aa79a7abcf18ecef85aa0251c2843 | 16,890 | py | Python | yc185/658.py | c-yan/yukicoder | cdbbd65402177225dd989df7fe01f67908484a69 | [
"MIT"
] | null | null | null | yc185/658.py | c-yan/yukicoder | cdbbd65402177225dd989df7fe01f67908484a69 | [
"MIT"
] | null | null | null | yc185/658.py | c-yan/yukicoder | cdbbd65402177225dd989df7fe01f67908484a69 | [
"MIT"
] | null | null | null | Q, *n = map(int, open(0).read().split())
T = [0, 0, 0, 1, 1, 2, 4, 8, 15, 12, 5, 6, 4, 10, 8, 11, 16, 11, 12, 16, 4, 9, 7, 2, 5, 6, 3, 16, 13, 4, 2, 1, 3, 10, 16, 13, 8, 13, 16, 16, 2, 13, 13, 10, 4, 6, 16, 2, 11, 1, 13, 10, 1, 8, 15, 0, 7, 13, 1, 4, 8, 9, 5, 9, 14, 3, 14, 6, 3, 9, 15, 16, 9, 15, 4, 10, 4, 16, 0, 13, ... | 1,689 | 8,382 | 0.414269 | 4,936 | 16,890 | 1.417545 | 0.006686 | 0.009147 | 0.001715 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.580362 | 0.292718 | 16,890 | 9 | 8,383 | 1,876.666667 | 0.005357 | 0 | 0 | 0 | 0 | 0 | 0.000118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
60358135b78f1d58471bb1752f55826184b5e99c | 2,552 | py | Python | tests/test_replay_buffer.py | emadboctorx/stable-baselines | 9bce185538e8bf69836371286e23919fd85eec64 | [
"MIT"
] | null | null | null | tests/test_replay_buffer.py | emadboctorx/stable-baselines | 9bce185538e8bf69836371286e23919fd85eec64 | [
"MIT"
] | null | null | null | tests/test_replay_buffer.py | emadboctorx/stable-baselines | 9bce185538e8bf69836371286e23919fd85eec64 | [
"MIT"
] | null | null | null | import numpy as np
from stable_baselines.common.buffers import (PrioritizedReplayBuffer,
ReplayBuffer)
def test_extend_uniform():
nvals = 16
states = [np.random.rand(2, 2) for _ in range(nvals)]
actions = [np.random.rand(2) for _ in range(nvals)]
rewards = ... | 34.026667 | 69 | 0.604624 | 323 | 2,552 | 4.687307 | 0.210526 | 0.064729 | 0.095112 | 0.099075 | 0.766182 | 0.766182 | 0.766182 | 0.766182 | 0.766182 | 0.766182 | 0 | 0.015787 | 0.280172 | 2,552 | 74 | 70 | 34.486486 | 0.808383 | 0.062304 | 0 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 1 | 0.037037 | false | 0 | 0.037037 | 0 | 0.074074 | 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 |
605100eadc549f07acff179313a4bb2ffe58f54b | 94 | py | Python | sample_bypass.py | swapUniba/Elliot_refactor-tesi-Ventrella | 3ddffc041696c90a6f6d3e8906c212fc4f55f842 | [
"Apache-2.0"
] | null | null | null | sample_bypass.py | swapUniba/Elliot_refactor-tesi-Ventrella | 3ddffc041696c90a6f6d3e8906c212fc4f55f842 | [
"Apache-2.0"
] | null | null | null | sample_bypass.py | swapUniba/Elliot_refactor-tesi-Ventrella | 3ddffc041696c90a6f6d3e8906c212fc4f55f842 | [
"Apache-2.0"
] | null | null | null | from elliot.run import run_experiment
run_experiment("config_files/configuration_bypass.yml") | 31.333333 | 55 | 0.87234 | 13 | 94 | 6 | 0.769231 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053191 | 94 | 3 | 55 | 31.333333 | 0.876404 | 0 | 0 | 0 | 0 | 0 | 0.389474 | 0.389474 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 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 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
609fdf8de81765b9b550b312a15765e585281a69 | 39 | py | Python | spec_parser/spec_parser/rules/__init__.py | Parnassius/domify | 262a9b9bf68fd627d963f23abb68c06f424180f2 | [
"MIT"
] | null | null | null | spec_parser/spec_parser/rules/__init__.py | Parnassius/domify | 262a9b9bf68fd627d963f23abb68c06f424180f2 | [
"MIT"
] | 5 | 2022-03-01T19:53:28.000Z | 2022-03-28T01:32:30.000Z | spec_parser/spec_parser/rules/__init__.py | Parnassius/domify | 262a9b9bf68fd627d963f23abb68c06f424180f2 | [
"MIT"
] | 1 | 2021-11-08T20:36:36.000Z | 2021-11-08T20:36:36.000Z | from . import attributes as attributes
| 19.5 | 38 | 0.820513 | 5 | 39 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 39 | 1 | 39 | 39 | 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 |
60a2cf9f2c540134bd4302b4981e09df11918d4e | 43 | py | Python | playground/position-sizing/balancer-and-plot/custom_indicators/__init__.py | ysdede/jesse_strategies | ade9f4ba42cec11207c766d267b9d8feb8bce648 | [
"CC0-1.0"
] | 38 | 2021-09-18T15:33:28.000Z | 2022-02-21T17:29:08.000Z | playground/position-sizing/balancer-and-plot/custom_indicators/__init__.py | ysdede/jesse_strategies | ade9f4ba42cec11207c766d267b9d8feb8bce648 | [
"CC0-1.0"
] | 4 | 2022-01-02T14:46:12.000Z | 2022-02-16T18:39:41.000Z | playground/position-sizing/balancer/custom_indicators/__init__.py | ysdede/jesse_strategies | ade9f4ba42cec11207c766d267b9d8feb8bce648 | [
"CC0-1.0"
] | 11 | 2021-10-19T06:21:43.000Z | 2022-02-21T17:29:10.000Z | from .rma import rma
from .chop import chop | 21.5 | 22 | 0.790698 | 8 | 43 | 4.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 2 | 22 | 21.5 | 0.944444 | 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 |
60a60ce44caa471dd6104092763bf2fd3ffce796 | 154 | py | Python | app/settings/__init__.py | philippeoz/temperature_by_location | 4d856737c258200b475fd542a226bb04092a9d6c | [
"MIT"
] | null | null | null | app/settings/__init__.py | philippeoz/temperature_by_location | 4d856737c258200b475fd542a226bb04092a9d6c | [
"MIT"
] | 3 | 2020-02-11T23:28:00.000Z | 2021-06-10T21:16:24.000Z | app/settings/__init__.py | philippeoz/temperature_by_location | 4d856737c258200b475fd542a226bb04092a9d6c | [
"MIT"
] | null | null | null | from .base import *
from .security import *
from .static import *
# load a local.py if exists
try:
from .local import *
except ImportError:
pass | 17.111111 | 27 | 0.694805 | 22 | 154 | 4.863636 | 0.681818 | 0.186916 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 154 | 9 | 28 | 17.111111 | 0.89916 | 0.162338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.142857 | 0.714286 | 0 | 0.714286 | 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 |
60b8fccc6065bb44abf6f0d94e6a6a5d3b32ac92 | 646 | py | Python | src/jbdl/rbdl/kinematics/__init__.py | yz-mao/jbdl | a5380233b3795c8aaa9acd9e5c07fa44f8a5dadb | [
"MIT"
] | 21 | 2021-08-29T06:59:18.000Z | 2022-01-13T22:53:02.000Z | src/jbdl/rbdl/kinematics/__init__.py | yz-mao/jbdl | a5380233b3795c8aaa9acd9e5c07fa44f8a5dadb | [
"MIT"
] | 2 | 2021-08-31T08:34:09.000Z | 2021-09-06T07:40:51.000Z | src/jbdl/rbdl/kinematics/__init__.py | yz-mao/jbdl | a5380233b3795c8aaa9acd9e5c07fa44f8a5dadb | [
"MIT"
] | 4 | 2021-08-29T06:59:22.000Z | 2021-10-04T05:59:41.000Z | from .transform_to_position import transform_to_position
from .calc_body_to_base_coordinates import calc_body_to_base_coordinates, calc_body_to_base_coordinates_core
from .calc_point_jacobian import calc_point_jacobian, calc_point_jacobian_core
from .calc_point_acceleraion import calc_point_acceleration, calc_point_acc... | 71.777778 | 111 | 0.922601 | 101 | 646 | 5.267327 | 0.19802 | 0.203008 | 0.191729 | 0.12782 | 0.31391 | 0.078947 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057276 | 646 | 8 | 112 | 80.75 | 0.873563 | 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 | 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 |
881027ab59b466d835f55e6eef2a854155f17553 | 5,419 | py | Python | dasp/layers/convolution.py | marcoancona/DASP | cbd82b36443199f11fa04ecb0322fa68f5505b2c | [
"MIT"
] | 47 | 2019-04-29T19:14:10.000Z | 2022-02-28T13:37:21.000Z | dasp/layers/convolution.py | marcoancona/DASP | cbd82b36443199f11fa04ecb0322fa68f5505b2c | [
"MIT"
] | 5 | 2019-06-05T13:41:12.000Z | 2022-03-08T05:31:02.000Z | dasp/layers/convolution.py | marcoancona/DASP | cbd82b36443199f11fa04ecb0322fa68f5505b2c | [
"MIT"
] | 13 | 2019-06-07T12:07:18.000Z | 2021-12-20T02:02:20.000Z | import tensorflow as tf
from keras import backend as K
from keras.layers import Conv2D, Conv1D
from lpdn import filter_activation
class ProbConv2DInput(Conv2D):
def __init__(self, filters, kernel_size, **kwargs):
super(ProbConv2DInput, self).__init__(filters, kernel_size, **kwargs)
def build(self, in... | 38.985612 | 104 | 0.630006 | 740 | 5,419 | 4.393243 | 0.154054 | 0.038757 | 0.025838 | 0.028299 | 0.863119 | 0.840972 | 0.813903 | 0.77207 | 0.748078 | 0.698247 | 0 | 0.033283 | 0.273667 | 5,419 | 138 | 105 | 39.268116 | 0.792683 | 0.170511 | 0 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 1 | 0.130435 | false | 0 | 0.043478 | 0.065217 | 0.304348 | 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 |
7154944fae02a9908b3d740cfa65618bec7d258c | 24,895 | py | Python | Final_TaiNgo.py | NoNameGr/NoName | e437ada090612bb44de0524affb66348537eda56 | [
"MIT"
] | null | null | null | Final_TaiNgo.py | NoNameGr/NoName | e437ada090612bb44de0524affb66348537eda56 | [
"MIT"
] | null | null | null | Final_TaiNgo.py | NoNameGr/NoName | e437ada090612bb44de0524affb66348537eda56 | [
"MIT"
] | 2 | 2020-07-30T04:10:37.000Z | 2020-07-30T04:15:10.000Z | from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_Dialog(object):
def setupUi(self, Dialog):
Dialog.setObjectName("Dialog")
Dialog.resize(450, 520)
self.label = QtWidgets.QLabel(Dialog)
self.label.setGeometry(QtCore.QRect(20, 110, 91, 31))
font = QtGui.QFont()
fon... | 42.123519 | 125 | 0.650251 | 2,708 | 24,895 | 5.874446 | 0.093058 | 0.074114 | 0.081594 | 0.026025 | 0.838509 | 0.789163 | 0.746605 | 0.722592 | 0.720078 | 0.720078 | 0 | 0.062099 | 0.224423 | 24,895 | 590 | 126 | 42.194915 | 0.761809 | 0 | 0 | 0.664151 | 0 | 0 | 0.079213 | 0.018036 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050943 | false | 0.001887 | 0.003774 | 0 | 0.075472 | 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 |
e083a1f4a06fbe9b463e6c5806f02c390e491340 | 36,436 | py | Python | bigmler/tests/test_27_reify.py | shantanusharma/bigmler | 3f9d76e8567de1aa7976a84b3e6130a2c83d4515 | [
"Apache-2.0"
] | null | null | null | bigmler/tests/test_27_reify.py | shantanusharma/bigmler | 3f9d76e8567de1aa7976a84b3e6130a2c83d4515 | [
"Apache-2.0"
] | null | null | null | bigmler/tests/test_27_reify.py | shantanusharma/bigmler | 3f9d76e8567de1aa7976a84b3e6130a2c83d4515 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
#!/usr/bin/env python
#
# Copyright 2015-2020 BigML
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requi... | 54.626687 | 390 | 0.569684 | 4,302 | 36,436 | 4.6404 | 0.055788 | 0.029154 | 0.034263 | 0.049492 | 0.894655 | 0.877373 | 0.842809 | 0.840805 | 0.829434 | 0.816911 | 0 | 0.016959 | 0.333242 | 36,436 | 666 | 391 | 54.708709 | 0.804767 | 0.429493 | 0 | 0.586806 | 0 | 0 | 0.188806 | 0.097538 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086806 | false | 0 | 0.024306 | 0 | 0.114583 | 0.152778 | 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 |
e0ac275262610548b0bbd83188af93743293bd51 | 212 | py | Python | homeworks/ilya_nilov/lesson10/test_lev04.py | tgrx/Z22 | b2539682ff26c8b6d9f63a7670c8a9c6b614a8ff | [
"Apache-2.0"
] | null | null | null | homeworks/ilya_nilov/lesson10/test_lev04.py | tgrx/Z22 | b2539682ff26c8b6d9f63a7670c8a9c6b614a8ff | [
"Apache-2.0"
] | 8 | 2019-11-15T18:15:56.000Z | 2020-02-03T18:05:05.000Z | homeworks/ilya_nilov/lesson10/test_lev04.py | tgrx/Z22 | b2539682ff26c8b6d9f63a7670c8a9c6b614a8ff | [
"Apache-2.0"
] | null | null | null | from homeworks.ilya_nilov.lesson10.level04 import diag_diff
def test():
assert diag_diff([[1]]) == 0
assert diag_diff([[1, 0], [0, 1]]) == 2
assert diag_diff([[1, 2, 3], [4, 5, 6], [7, 8, 9]]) == 0
| 26.5 | 60 | 0.575472 | 37 | 212 | 3.162162 | 0.594595 | 0.273504 | 0.358974 | 0.384615 | 0.273504 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12426 | 0.20283 | 212 | 7 | 61 | 30.285714 | 0.568047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e0b0735972ee3e1a207972824797ac38b3cb9aab | 25 | py | Python | scanpy/api/datasets.py | umangv/scanpy | 94c3dc55d8dfbc45f809fd276beccc96cfcc57b4 | [
"BSD-3-Clause"
] | 1 | 2021-03-04T13:04:28.000Z | 2021-03-04T13:04:28.000Z | scanpy/api/datasets.py | umangv/scanpy | 94c3dc55d8dfbc45f809fd276beccc96cfcc57b4 | [
"BSD-3-Clause"
] | 16 | 2020-01-28T23:03:40.000Z | 2022-02-10T00:30:16.000Z | scanpy/api/datasets.py | umangv/scanpy | 94c3dc55d8dfbc45f809fd276beccc96cfcc57b4 | [
"BSD-3-Clause"
] | 2 | 2019-12-26T06:50:49.000Z | 2021-08-18T18:02:32.000Z | from ..datasets import *
| 12.5 | 24 | 0.72 | 3 | 25 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.857143 | 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 |
1cbdb82c6f570f2bf7f1561fcaa8aba3d390a62a | 36 | py | Python | mpxapi/feeds/__init__.py | colde/mpxapi | cda7d06c5c709ba7d652c59156ab7bb213bc2de1 | [
"MIT"
] | 3 | 2018-01-23T10:27:41.000Z | 2019-03-29T21:12:25.000Z | mpxapi/feeds/__init__.py | colde/mpxapi | cda7d06c5c709ba7d652c59156ab7bb213bc2de1 | [
"MIT"
] | null | null | null | mpxapi/feeds/__init__.py | colde/mpxapi | cda7d06c5c709ba7d652c59156ab7bb213bc2de1 | [
"MIT"
] | 3 | 2018-06-27T14:05:49.000Z | 2019-09-16T11:28:37.000Z | from .feed_config import FeedConfig
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 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 |
e82d7cdad53822c69d2cb1a34538ced86e6790c7 | 89 | py | Python | python/cuxfilter/assets/notebook_assets.py | galipremsagar/cuxfilter | 17de7c0851ce4f7ce53a2ead428fedf6545268b9 | [
"Apache-2.0"
] | null | null | null | python/cuxfilter/assets/notebook_assets.py | galipremsagar/cuxfilter | 17de7c0851ce4f7ce53a2ead428fedf6545268b9 | [
"Apache-2.0"
] | null | null | null | python/cuxfilter/assets/notebook_assets.py | galipremsagar/cuxfilter | 17de7c0851ce4f7ce53a2ead428fedf6545268b9 | [
"Apache-2.0"
] | null | null | null | import panel as pn
def load_notebook_assets():
pn.extension("deckgl", "gridstack")
| 14.833333 | 39 | 0.719101 | 12 | 89 | 5.166667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157303 | 89 | 5 | 40 | 17.8 | 0.826667 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1c36392d32f0668c77c831b3f1f6c1dde1d2a96d | 13 | py | Python | PTTLibrary/Version.py | shihyu/PTTLibrary | b40f0d45e1ca2fc8e072473ece63a8628ac7168e | [
"MIT"
] | 1 | 2019-04-30T22:56:38.000Z | 2019-04-30T22:56:38.000Z | PTTLibrary/Version.py | shihyu/PTTLibrary | b40f0d45e1ca2fc8e072473ece63a8628ac7168e | [
"MIT"
] | null | null | null | PTTLibrary/Version.py | shihyu/PTTLibrary | b40f0d45e1ca2fc8e072473ece63a8628ac7168e | [
"MIT"
] | null | null | null | Ver = '0.7.5' | 13 | 13 | 0.461538 | 4 | 13 | 1.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 0.153846 | 13 | 1 | 13 | 13 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1c5bc76d317f7de59ddce51a76d76fef2c818cf6 | 45 | py | Python | kao_ext/__init__.py | cloew/KaoExtensions | 475b0ec2c6796279a2b31e1c9509180d152684f4 | [
"MIT"
] | null | null | null | kao_ext/__init__.py | cloew/KaoExtensions | 475b0ec2c6796279a2b31e1c9509180d152684f4 | [
"MIT"
] | null | null | null | kao_ext/__init__.py | cloew/KaoExtensions | 475b0ec2c6796279a2b31e1c9509180d152684f4 | [
"MIT"
] | null | null | null | from .extension_loader import ExtensionLoader | 45 | 45 | 0.911111 | 5 | 45 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 45 | 1 | 45 | 45 | 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 |
1c72e531ec7d7f0f376cf2443c4564a4a9045e8c | 47 | py | Python | chatdb/tools/__init__.py | A03ki/chatdb | 7cbc4203f423150e4fb95434ff9e6dd6067ee64f | [
"MIT"
] | null | null | null | chatdb/tools/__init__.py | A03ki/chatdb | 7cbc4203f423150e4fb95434ff9e6dd6067ee64f | [
"MIT"
] | null | null | null | chatdb/tools/__init__.py | A03ki/chatdb | 7cbc4203f423150e4fb95434ff9e6dd6067ee64f | [
"MIT"
] | null | null | null | from chatdb.tools.twitter import TweetArchiver
| 23.5 | 46 | 0.87234 | 6 | 47 | 6.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.953488 | 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 |
1c909262ba33f854675f5f076d2455902c512d31 | 1,590 | py | Python | calculus.py | chapman-phys220-2016f/cw-06-aareston | ee900228d1913d3d92b6c64c17fc778e8f8b4a1e | [
"MIT"
] | null | null | null | calculus.py | chapman-phys220-2016f/cw-06-aareston | ee900228d1913d3d92b6c64c17fc778e8f8b4a1e | [
"MIT"
] | null | null | null | calculus.py | chapman-phys220-2016f/cw-06-aareston | ee900228d1913d3d92b6c64c17fc778e8f8b4a1e | [
"MIT"
] | null | null | null | #!bin/usr/env python3
import numpy as np
"""
"""
def diff_matrix(n,h):
"""
Parameters
----------
n: int
Number of sampling points in mesh
h: float
Distance between sample points
Returns
-------
f_prime: np.array
Mesh of points represen... | 22.394366 | 95 | 0.471698 | 263 | 1,590 | 2.794677 | 0.201521 | 0.07619 | 0.087075 | 0.032653 | 0.786395 | 0.729252 | 0.729252 | 0.729252 | 0.729252 | 0.729252 | 0 | 0.058474 | 0.365409 | 1,590 | 70 | 96 | 22.714286 | 0.66997 | 0.012579 | 0 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.030303 | null | null | 0.060606 | 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 |
c70f2f7dc00219b6e34db75bd5103ac33ddab6db | 28 | py | Python | pypowerworld/__init__.py | jhw45birch/pypowerworld | 33450acb019ef292ade28bf61d2b64ed6e225dcc | [
"MIT"
] | 2 | 2020-02-04T17:32:52.000Z | 2020-09-25T16:15:53.000Z | pypowerworld/__init__.py | cp27643/pypowerworld | 1ebaf9bbb437d9236fd1c5f7393a5a25ffc54b54 | [
"MIT"
] | 3 | 2017-10-25T15:24:50.000Z | 2019-02-13T19:54:46.000Z | pypowerworld/__init__.py | cp27643/pypowerworld | 1ebaf9bbb437d9236fd1c5f7393a5a25ffc54b54 | [
"MIT"
] | 5 | 2017-10-25T21:20:42.000Z | 2020-11-26T08:22:12.000Z | from .pypowerworld import *
| 14 | 27 | 0.785714 | 3 | 28 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 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 |
c739ffb39fe0e1a3fda0777635ae02f36dd223d9 | 50,354 | py | Python | scripts/calendar_view_gui/utils/graph_utils.py | voicagi/cbm | c076e272f34a93a2e7dcc7de3c9685bd5c86c27a | [
"BSD-3-Clause"
] | null | null | null | scripts/calendar_view_gui/utils/graph_utils.py | voicagi/cbm | c076e272f34a93a2e7dcc7de3c9685bd5c86c27a | [
"BSD-3-Clause"
] | null | null | null | scripts/calendar_view_gui/utils/graph_utils.py | voicagi/cbm | c076e272f34a93a2e7dcc7de3c9685bd5c86c27a | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# This file is part of CbM (https://github.com/ec-jrc/cbm).
# Author : Csaba Wirnhardt
# Credits : GTCAP Team
# Copyright : 2021 European Commission, Joint Research Centre
# License : 3-Clause BSD
import pandas as pd
import matplotlib.dates as mdates
from matplot... | 45.569231 | 203 | 0.618719 | 6,822 | 50,354 | 4.264292 | 0.061272 | 0.048022 | 0.0275 | 0.0165 | 0.883572 | 0.865044 | 0.847754 | 0.835894 | 0.819738 | 0.811626 | 0 | 0.034318 | 0.262164 | 50,354 | 1,105 | 204 | 45.569231 | 0.748688 | 0.135362 | 0 | 0.694595 | 0 | 0 | 0.098308 | 0.014011 | 0.027027 | 0 | 0 | 0 | 0 | 1 | 0.02027 | false | 0 | 0.012162 | 0.001351 | 0.058108 | 0.012162 | 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 |
c76f0d642640b94b3785e8459eece3477137e306 | 69,322 | py | Python | pyeccodes/defs/grib2/localConcepts/cnmc/units_def.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | 7 | 2020-04-14T09:41:17.000Z | 2021-08-06T09:38:19.000Z | pyeccodes/defs/grib2/localConcepts/cnmc/units_def.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | null | null | null | pyeccodes/defs/grib2/localConcepts/cnmc/units_def.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | 3 | 2020-04-30T12:44:48.000Z | 2020-12-15T08:40:26.000Z | import pyeccodes.accessors as _
def load(h):
def wrapped(h):
discipline = h.get_l('discipline')
parameterCategory = h.get_l('parameterCategory')
parameterNumber = h.get_l('parameterNumber')
instrumentType = h.get_l('instrumentType')
satelliteSeries = h.get_l('satelliteSer... | 57.768333 | 355 | 0.668114 | 7,065 | 69,322 | 6.552442 | 0.024062 | 0.036204 | 0.074136 | 0.091245 | 0.966388 | 0.955414 | 0.948372 | 0.917979 | 0.883222 | 0.853434 | 0 | 0.066734 | 0.246459 | 69,322 | 1,199 | 356 | 57.816514 | 0.819477 | 0 | 0 | 0.478152 | 0 | 0 | 0.037751 | 0.003592 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002497 | false | 0 | 0.001248 | 0 | 0.491885 | 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 |
c77048c317cbb74af95012e592f12310846e4767 | 103 | py | Python | fancontroller/__init__.py | isdal/raspberrypi-fan-controller | dea44d015b15738e1019a0282c058b5f13e92b32 | [
"Apache-2.0"
] | null | null | null | fancontroller/__init__.py | isdal/raspberrypi-fan-controller | dea44d015b15738e1019a0282c058b5f13e92b32 | [
"Apache-2.0"
] | null | null | null | fancontroller/__init__.py | isdal/raspberrypi-fan-controller | dea44d015b15738e1019a0282c058b5f13e92b32 | [
"Apache-2.0"
] | null | null | null | from fancontroller.fan_controller import Thermostat, STATE_ON, STATE_OFF
Thermostat
STATE_ON
STATE_OFF | 20.6 | 72 | 0.883495 | 15 | 103 | 5.733333 | 0.6 | 0.348837 | 0.395349 | 0.511628 | 0.581395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087379 | 103 | 5 | 73 | 20.6 | 0.914894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c79074e30515f2d8f0dc1707ee15f9d1b21f48d3 | 5,126 | py | Python | tests/table/test_update.py | teners/piccolo | e5c32a4810badf39fc61e465747b7343309d7e12 | [
"MIT"
] | null | null | null | tests/table/test_update.py | teners/piccolo | e5c32a4810badf39fc61e465747b7343309d7e12 | [
"MIT"
] | null | null | null | tests/table/test_update.py | teners/piccolo | e5c32a4810badf39fc61e465747b7343309d7e12 | [
"MIT"
] | null | null | null | from ..base import DBTestCase
from ..example_app.tables import Band, Poster
class TestUpdate(DBTestCase):
def test_update(self):
self.insert_rows()
Band.update({Band.name: "Pythonistas3"}).where(
Band.name == "Pythonistas"
).run_sync()
response = (
Band.se... | 26.978947 | 74 | 0.612563 | 566 | 5,126 | 5.418728 | 0.113074 | 0.079883 | 0.083143 | 0.078252 | 0.891425 | 0.891425 | 0.891425 | 0.877731 | 0.829149 | 0.829149 | 0 | 0.014081 | 0.238002 | 5,126 | 189 | 75 | 27.121693 | 0.771121 | 0 | 0 | 0.598291 | 0 | 0 | 0.087983 | 0.004292 | 0 | 0 | 0 | 0 | 0.145299 | 1 | 0.153846 | false | 0 | 0.017094 | 0 | 0.205128 | 0.017094 | 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 |
c7dc931a72cc6d5814b652b0b2e23f50800a3ddd | 103 | py | Python | project/store/tests/__init__.py | aliharby12/Book-Store | d2d1d374f58ad1e64e5e470567f6cf347f5cf09a | [
"MIT"
] | null | null | null | project/store/tests/__init__.py | aliharby12/Book-Store | d2d1d374f58ad1e64e5e470567f6cf347f5cf09a | [
"MIT"
] | null | null | null | project/store/tests/__init__.py | aliharby12/Book-Store | d2d1d374f58ad1e64e5e470567f6cf347f5cf09a | [
"MIT"
] | null | null | null | from .book import *
from .address import *
from .order import *
from .auth import *
from .cart import * | 20.6 | 22 | 0.718447 | 15 | 103 | 4.933333 | 0.466667 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184466 | 103 | 5 | 23 | 20.6 | 0.880952 | 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 |
c7e7d77cebd8027378324ee5ad318709725bd9ae | 6,586 | py | Python | tests/test_async_fetch_task.py | SagiMedina/aliyun-oss-python-sdk | 134014b71f6bef457fcc1b9596ee2b8748bfff26 | [
"MIT"
] | null | null | null | tests/test_async_fetch_task.py | SagiMedina/aliyun-oss-python-sdk | 134014b71f6bef457fcc1b9596ee2b8748bfff26 | [
"MIT"
] | null | null | null | tests/test_async_fetch_task.py | SagiMedina/aliyun-oss-python-sdk | 134014b71f6bef457fcc1b9596ee2b8748bfff26 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import oss2
import time
import base64
from .common import *
from oss2.compat import to_bytes
from oss2.models import (AsyncFetchTaskConfiguration, ASYNC_FETCH_TASK_STATE_SUCCESS,
ASYNC_FETCH_TASK_STATE_FETCH_SUCCESS_CALLBACK_FAILED,
ASYNC_FETC... | 41.1625 | 149 | 0.710295 | 827 | 6,586 | 5.304716 | 0.111245 | 0.08662 | 0.082972 | 0.045133 | 0.825165 | 0.782083 | 0.781172 | 0.781172 | 0.766355 | 0.745384 | 0 | 0.008858 | 0.194352 | 6,586 | 159 | 150 | 41.421384 | 0.817942 | 0.003189 | 0 | 0.669421 | 0 | 0 | 0.056072 | 0.032912 | 0 | 0 | 0 | 0 | 0.272727 | 1 | 0.049587 | false | 0 | 0.049587 | 0 | 0.107438 | 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 |
c7f16620069d63e4a79bb4b5a44a17c7750bc4ea | 3,478 | py | Python | test/pyaz/databoxedge/order/__init__.py | bigdatamoore/py-az-cli | 54383a4ee7cc77556f6183e74e992eec95b28e01 | [
"MIT"
] | null | null | null | test/pyaz/databoxedge/order/__init__.py | bigdatamoore/py-az-cli | 54383a4ee7cc77556f6183e74e992eec95b28e01 | [
"MIT"
] | 9 | 2021-09-24T16:37:24.000Z | 2021-12-24T00:39:19.000Z | test/pyaz/databoxedge/order/__init__.py | bigdatamoore/py-az-cli | 54383a4ee7cc77556f6183e74e992eec95b28e01 | [
"MIT"
] | null | null | null | import json, subprocess
from ... pyaz_utils import get_cli_name, get_params
def list(device_name, resource_group):
params = get_params(locals())
command = "az databoxedge order list " + params
print(command)
output = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE... | 39.522727 | 318 | 0.683726 | 438 | 3,478 | 5.3379 | 0.166667 | 0.071856 | 0.051326 | 0.059025 | 0.76775 | 0.76775 | 0.76775 | 0.738666 | 0.738666 | 0.71728 | 0 | 0.006477 | 0.200978 | 3,478 | 87 | 319 | 39.977011 | 0.834833 | 0 | 0 | 0.825 | 0 | 0 | 0.06383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075 | false | 0 | 0.025 | 0 | 0.175 | 0.225 | 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 |
1be1bfd22dd95d6fc45d1f1bca4666a5fa14eff9 | 106 | py | Python | mybayes/cpd_nodes.py | dungvtdev/upsbayescpm | f6ee877c689046d3c57a2ac06742cfe4a0b6550e | [
"MIT"
] | null | null | null | mybayes/cpd_nodes.py | dungvtdev/upsbayescpm | f6ee877c689046d3c57a2ac06742cfe4a0b6550e | [
"MIT"
] | null | null | null | mybayes/cpd_nodes.py | dungvtdev/upsbayescpm | f6ee877c689046d3c57a2ac06742cfe4a0b6550e | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import numpy as np
from .nodes import Node
class NodeCpd(Node):
pass
| 15.142857 | 31 | 0.764151 | 17 | 106 | 4.764706 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188679 | 106 | 6 | 32 | 17.666667 | 0.94186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 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 |
1bfc21c32d70fc5891dbe7a4e763f3bfc76cb098 | 31,556 | py | Python | DNN-project/DNN/DNNAnalysis_Lib.py | MarcosJNS/DNN-CNN | e8aaf0c37baea967285acf658cb873af802ce7ff | [
"MIT"
] | 3 | 2019-10-18T12:52:22.000Z | 2019-12-11T20:06:13.000Z | DNN-project/DNN/DNNAnalysis_Lib.py | MarcosJNS/DNN-CNN | e8aaf0c37baea967285acf658cb873af802ce7ff | [
"MIT"
] | null | null | null | DNN-project/DNN/DNNAnalysis_Lib.py | MarcosJNS/DNN-CNN | e8aaf0c37baea967285acf658cb873af802ce7ff | [
"MIT"
] | null | null | null |
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from sklearn.metrics import confusion_matrix
from textwrap import wrap
import re
import os
import collections
import numpy as np
import tensorflow as tf
import tfplot
import pandas as pd
import csv
import cv2... | 35.576099 | 146 | 0.517144 | 3,476 | 31,556 | 4.455696 | 0.092923 | 0.022082 | 0.02531 | 0.016335 | 0.803009 | 0.763365 | 0.749032 | 0.733084 | 0.726111 | 0.711519 | 0 | 0.015136 | 0.369819 | 31,556 | 887 | 147 | 35.576099 | 0.763703 | 0.241729 | 0 | 0.617117 | 0 | 0 | 0.054857 | 0.010254 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022523 | false | 0.024775 | 0.040541 | 0 | 0.078829 | 0.02027 | 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 |
403f42737c434629973a6f02cac3223ed3ecf5d3 | 34 | py | Python | python/packages/isce3/polsar/__init__.py | isce-framework/isce3 | 59cdd2c659a4879367db5537604b0ca93d26b372 | [
"Apache-2.0"
] | 64 | 2019-08-06T19:22:22.000Z | 2022-03-20T17:11:46.000Z | python/packages/isce3/polsar/__init__.py | isce-framework/isce3 | 59cdd2c659a4879367db5537604b0ca93d26b372 | [
"Apache-2.0"
] | 8 | 2020-09-01T22:46:53.000Z | 2021-11-04T00:05:28.000Z | python/packages/isce3/polsar/__init__.py | isce-framework/isce3 | 59cdd2c659a4879367db5537604b0ca93d26b372 | [
"Apache-2.0"
] | 29 | 2019-08-05T21:40:55.000Z | 2022-03-23T00:17:03.000Z | from pybind_isce3.polsar import *
| 17 | 33 | 0.823529 | 5 | 34 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.117647 | 34 | 1 | 34 | 34 | 0.866667 | 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 |
40611fed65260765f8b634448413fd22f245541c | 35,448 | py | Python | python/paddle/fluid/tests/unittests/test_distribution.py | jiansowa/Paddle | 488152a6d076eac91ef0921ff6e16c65777f814d | [
"Apache-2.0"
] | null | null | null | python/paddle/fluid/tests/unittests/test_distribution.py | jiansowa/Paddle | 488152a6d076eac91ef0921ff6e16c65777f814d | [
"Apache-2.0"
] | null | null | null | python/paddle/fluid/tests/unittests/test_distribution.py | jiansowa/Paddle | 488152a6d076eac91ef0921ff6e16c65777f814d | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by app... | 43.334963 | 94 | 0.629232 | 4,681 | 35,448 | 4.561632 | 0.053621 | 0.049735 | 0.070014 | 0.059617 | 0.827753 | 0.802229 | 0.776238 | 0.763218 | 0.737929 | 0.726689 | 0 | 0.022165 | 0.255445 | 35,448 | 817 | 95 | 43.388005 | 0.786875 | 0.077127 | 0 | 0.681301 | 0 | 0 | 0.039993 | 0 | 0 | 0 | 0 | 0 | 0.058537 | 1 | 0.118699 | false | 0 | 0.011382 | 0.004878 | 0.182114 | 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 |
408c41d2a7d50020ae0ad6e59c7cbdb6cf87ce8e | 36 | py | Python | guniflask/test/__init__.py | jadbin/guniflask | 36253a962c056abf34884263c6919b02b921ad9c | [
"MIT"
] | 12 | 2018-09-06T06:14:59.000Z | 2021-04-18T06:30:44.000Z | guniflask/test/__init__.py | jadbin/guniflask | 36253a962c056abf34884263c6919b02b921ad9c | [
"MIT"
] | null | null | null | guniflask/test/__init__.py | jadbin/guniflask | 36253a962c056abf34884263c6919b02b921ad9c | [
"MIT"
] | 2 | 2019-09-08T22:01:26.000Z | 2020-08-03T07:23:29.000Z | from .client import app_test_client
| 18 | 35 | 0.861111 | 6 | 36 | 4.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.90625 | 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 |
40a65d365925059a55441e9720e917521a1c8c0e | 47 | py | Python | scripts/portal/enterTheCrack.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 54 | 2019-04-16T23:24:48.000Z | 2021-12-18T11:41:50.000Z | scripts/portal/enterTheCrack.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 3 | 2019-05-19T15:19:41.000Z | 2020-04-27T16:29:16.000Z | scripts/portal/enterTheCrack.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | # 270000000
sm.warp(272000000, 1)
sm.dispose()
| 11.75 | 21 | 0.723404 | 7 | 47 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.452381 | 0.106383 | 47 | 3 | 22 | 15.666667 | 0.357143 | 0.191489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
40e1b2d8040ef4471f78f9a362e4e730455c0b2f | 227 | py | Python | src/ray.py | jlee4219/raytracer | f26766739d64765aa14a1ae1a16ea1a7a6802d20 | [
"MIT"
] | null | null | null | src/ray.py | jlee4219/raytracer | f26766739d64765aa14a1ae1a16ea1a7a6802d20 | [
"MIT"
] | null | null | null | src/ray.py | jlee4219/raytracer | f26766739d64765aa14a1ae1a16ea1a7a6802d20 | [
"MIT"
] | null | null | null | from src.vec3 import Vec3
class Ray:
def __init__(self, origin: Vec3, direction: Vec3):
self.origin = origin
self.direction = direction
def at(self, t):
return self.origin + self.direction * t
| 22.7 | 54 | 0.638767 | 30 | 227 | 4.7 | 0.466667 | 0.212766 | 0.269504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024096 | 0.268722 | 227 | 9 | 55 | 25.222222 | 0.825301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
904d830c31476f1efdebf7317078a39f2c59aad2 | 209 | py | Python | bazaar/listings/querysets.py | meghabhoj/NEWBAZAAR | cb1405dcb2c8b4812ddf724d5a3c07b2f77c1b34 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | bazaar/listings/querysets.py | meghabhoj/NEWBAZAAR | cb1405dcb2c8b4812ddf724d5a3c07b2f77c1b34 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | bazaar/listings/querysets.py | meghabhoj/NEWBAZAAR | cb1405dcb2c8b4812ddf724d5a3c07b2f77c1b34 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | from __future__ import unicode_literals
from django.db import models
from model_utils.managers import InheritanceQuerySetMixin
class PublishingsQuerySet(InheritanceQuerySetMixin, models.QuerySet):
pass
| 23.222222 | 69 | 0.856459 | 22 | 209 | 7.863636 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110048 | 209 | 8 | 70 | 26.125 | 0.930108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 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 |
906dd1cc7336ec674a647f8d2a47c2faa8e4184b | 1,067 | py | Python | pyenv/lib/python3.6/codecs.py | ronald-rgr/ai-chatbot-smartguide | c9c830feb6b66c2e362f8fb5d147ef0c4f4a08cf | [
"Apache-2.0"
] | null | null | null | pyenv/lib/python3.6/codecs.py | ronald-rgr/ai-chatbot-smartguide | c9c830feb6b66c2e362f8fb5d147ef0c4f4a08cf | [
"Apache-2.0"
] | 3 | 2020-03-23T18:01:51.000Z | 2021-03-19T23:15:15.000Z | pyenv/lib/python3.6/codecs.py | ronald-rgr/ai-chatbot-smartguide | c9c830feb6b66c2e362f8fb5d147ef0c4f4a08cf | [
"Apache-2.0"
] | null | null | null | XSym
0073
4039e0c139b71453b961d5e814f53996
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/codecs.py
... | 213.4 | 950 | 0.094658 | 15 | 1,067 | 6.733333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.292035 | 0.894096 | 1,067 | 5 | 950 | 213.4 | 0.60177 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
909f128835762e3e340e241072843598badb43f8 | 8,237 | py | Python | tests/interpreters/test_c.py | yarix/m2cgen | f1aa01e4c70a6d1a8893e27bfbe3c36fcb1e8546 | [
"MIT"
] | null | null | null | tests/interpreters/test_c.py | yarix/m2cgen | f1aa01e4c70a6d1a8893e27bfbe3c36fcb1e8546 | [
"MIT"
] | null | null | null | tests/interpreters/test_c.py | yarix/m2cgen | f1aa01e4c70a6d1a8893e27bfbe3c36fcb1e8546 | [
"MIT"
] | null | null | null | from m2cgen import ast
from m2cgen import interpreters
from tests import utils
def test_if_expr():
expr = ast.IfExpr(
ast.CompExpr(ast.NumVal(1), ast.FeatureRef(0), ast.CompOpType.EQ),
ast.NumVal(2),
ast.NumVal(3))
interpreter = interpreters.CInterpreter()
expected_code = """
dou... | 25.112805 | 78 | 0.60726 | 1,060 | 8,237 | 4.60566 | 0.088679 | 0.082958 | 0.038918 | 0.065547 | 0.833675 | 0.781237 | 0.758091 | 0.745391 | 0.72798 | 0.681893 | 0 | 0.037184 | 0.23273 | 8,237 | 327 | 79 | 25.189602 | 0.735285 | 0 | 0 | 0.671937 | 0 | 0.019763 | 0.368824 | 0.013112 | 0 | 0 | 0 | 0 | 0.063241 | 1 | 0.063241 | false | 0 | 0.011858 | 0 | 0.12253 | 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 |
90b749f86e8874e59426901e479e4fbcd9a9c05c | 88 | py | Python | octis/models/pytorchavitm/__init__.py | lei-liu1/OCTIS | 1e8e6be5040b38cf3c458ece4327886dee8568ef | [
"MIT"
] | 340 | 2021-02-23T14:44:52.000Z | 2022-03-28T03:38:55.000Z | octis/models/pytorchavitm/__init__.py | mpalenciaolivar/OCTIS | 1e8e6be5040b38cf3c458ece4327886dee8568ef | [
"MIT"
] | 50 | 2021-04-19T17:23:10.000Z | 2022-03-16T10:01:49.000Z | octis/models/pytorchavitm/__init__.py | mpalenciaolivar/OCTIS | 1e8e6be5040b38cf3c458ece4327886dee8568ef | [
"MIT"
] | 30 | 2021-04-19T15:42:53.000Z | 2022-03-21T12:08:47.000Z | """Init package"""
from octis.models.pytorchavitm.avitm.avitm_model import AVITM_model
| 22 | 67 | 0.806818 | 12 | 88 | 5.75 | 0.75 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079545 | 88 | 3 | 68 | 29.333333 | 0.851852 | 0.136364 | 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 |
90c092ece259e4872aeddefcc965b63a56c91571 | 98 | py | Python | antispam/abc/__init__.py | Skelmis/Discord-Anti-Spam | 6b0db01cb6363f84d729c240ea4b9679d509222e | [
"MIT"
] | 17 | 2021-11-22T07:29:07.000Z | 2022-03-23T12:09:40.000Z | antispam/abc/__init__.py | Skelmis/Discord-Anti-Spam | 6b0db01cb6363f84d729c240ea4b9679d509222e | [
"MIT"
] | 25 | 2021-11-17T20:19:22.000Z | 2022-03-30T09:05:35.000Z | antispam/abc/__init__.py | Skelmis/Discord-Anti-Spam | 6b0db01cb6363f84d729c240ea4b9679d509222e | [
"MIT"
] | 2 | 2021-12-18T17:40:11.000Z | 2022-02-16T03:25:17.000Z | from antispam.abc.cache import Cache
from antispam.abc.lib import Lib
__all__ = ("Lib", "Cache")
| 19.6 | 36 | 0.744898 | 15 | 98 | 4.6 | 0.466667 | 0.347826 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132653 | 98 | 4 | 37 | 24.5 | 0.811765 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
90ec1699ed291054e52920d21f6e0abdf0651876 | 4,530 | py | Python | post_decision.py | JeppeDruedahl/IOGE | ce3f27a99e04943794e85018c2d21303c59913cd | [
"MIT"
] | null | null | null | post_decision.py | JeppeDruedahl/IOGE | ce3f27a99e04943794e85018c2d21303c59913cd | [
"MIT"
] | null | null | null | post_decision.py | JeppeDruedahl/IOGE | ce3f27a99e04943794e85018c2d21303c59913cd | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""post_decision
Compute w and q.
"""
import numpy as np
from numba import njit, prange
@njit(parallel=True)
def compute_wq_renters(par,sol,t):
""" compute the post-decision functions w and q """
# unpack
r_w = sol.r_w[t]
r_inv_w = sol.r_inv_w[t]
r_q = sol.r_q[t]
re... | 40.088496 | 117 | 0.468212 | 702 | 4,530 | 2.72792 | 0.135328 | 0.039687 | 0.050131 | 0.041775 | 0.851175 | 0.848042 | 0.818799 | 0.812533 | 0.780157 | 0.780157 | 0 | 0.02164 | 0.418543 | 4,530 | 113 | 118 | 40.088496 | 0.705391 | 0.162693 | 0 | 0.392857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | false | 0 | 0.035714 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
90f1c53d3de0cdfab17b49f22bad78c0adcc18f1 | 148 | py | Python | tests/__init__.py | NeolithEra/WavesGatewayFramework | e7ba892427e1d0444f2bfdc2922c45ff5f4c4add | [
"MIT"
] | 25 | 2018-03-04T07:49:21.000Z | 2022-03-28T05:20:50.000Z | tests/__init__.py | NeolithEra/WavesGatewayFramework | e7ba892427e1d0444f2bfdc2922c45ff5f4c4add | [
"MIT"
] | 22 | 2018-03-25T13:19:45.000Z | 2020-11-28T17:21:08.000Z | tests/__init__.py | NeolithEra/WavesGatewayFramework | e7ba892427e1d0444f2bfdc2922c45ff5f4c4add | [
"MIT"
] | 31 | 2018-03-25T09:45:13.000Z | 2022-03-24T05:32:18.000Z | from .test_gateway import *
from .storage import *
from .common import *
from .controller import *
from .serializer import *
from .service import *
| 21.142857 | 27 | 0.756757 | 19 | 148 | 5.842105 | 0.473684 | 0.45045 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 148 | 6 | 28 | 24.666667 | 0.895161 | 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 |
4621747466495933856787c9d203dcc8b1f7c9b1 | 4,378 | py | Python | tests/test_files.py | rafaelpezzuto/dsm | e5ddcc01beb5cfd6f6c2e3ffbccb6f85f2d411e6 | [
"BSD-2-Clause"
] | 1 | 2021-08-14T00:45:28.000Z | 2021-08-14T00:45:28.000Z | tests/test_files.py | rafaelpezzuto/dsm | e5ddcc01beb5cfd6f6c2e3ffbccb6f85f2d411e6 | [
"BSD-2-Clause"
] | 10 | 2021-09-13T14:19:22.000Z | 2021-11-11T12:26:42.000Z | tests/test_files.py | rafaelpezzuto/dsm | e5ddcc01beb5cfd6f6c2e3ffbccb6f85f2d411e6 | [
"BSD-2-Clause"
] | 3 | 2021-07-28T15:29:38.000Z | 2021-08-19T13:00:16.000Z | from unittest import TestCase
from unittest.mock import patch
from zipfile import ZipFile
from dsm.utils import files
@patch("dsm.utils.files.requests_get")
class TestDownloadFilesAndCreateZipfile(TestCase):
def test_download_files_and_create_zip_file_returns_files_info(
self, mock_get):
moc... | 36.483333 | 77 | 0.519415 | 370 | 4,378 | 5.913514 | 0.186486 | 0.054845 | 0.041133 | 0.0617 | 0.833181 | 0.821298 | 0.821298 | 0.808501 | 0.731718 | 0.731718 | 0 | 0.151069 | 0.380082 | 4,378 | 119 | 78 | 36.789916 | 0.655122 | 0 | 0 | 0.548673 | 0 | 0 | 0.358154 | 0.21905 | 0 | 0 | 0 | 0 | 0.035398 | 1 | 0.026549 | false | 0 | 0.035398 | 0 | 0.070796 | 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 |
464c4b936c23612b4476aa1401f49add948b947f | 371,295 | py | Python | src/bin/train_sparse-gru-cycle-melsp-spk-vae-gauss-smpl_weightemb_mwdlp_smpl_v2.py | patrickltobing/cyclevae-multispk-vc | cd6e90da5980173173644132c16ba583a386c4d5 | [
"Apache-2.0"
] | 67 | 2020-08-06T06:31:28.000Z | 2022-03-27T16:41:36.000Z | src/bin/train_sparse-gru-cycle-melsp-spk-vae-gauss-smpl_weightemb_mwdlp_smpl_v2.py | patrickltobing/cyclevae-multispk-vc | cd6e90da5980173173644132c16ba583a386c4d5 | [
"Apache-2.0"
] | 4 | 2021-04-03T23:34:05.000Z | 2021-08-05T02:50:44.000Z | src/bin/train_sparse-gru-cycle-melsp-spk-vae-gauss-smpl_weightemb_mwdlp_smpl_v2.py | patrickltobing/cyclevae-multispk-vc | cd6e90da5980173173644132c16ba583a386c4d5 | [
"Apache-2.0"
] | 23 | 2020-08-06T11:30:21.000Z | 2022-01-26T09:02:48.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2021 Patrick Lumban Tobing (Nagoya University)
# Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
from __future__ import division
from __future__ import print_function
import argparse
from dateutil.relativedelta import relativedelta
from distutils.ut... | 71.900658 | 228 | 0.576986 | 55,673 | 371,295 | 3.387154 | 0.013346 | 0.066436 | 0.027204 | 0.01786 | 0.936131 | 0.90995 | 0.887312 | 0.860463 | 0.840592 | 0.813399 | 0 | 0.018827 | 0.300737 | 371,295 | 5,163 | 229 | 71.914585 | 0.707479 | 0.018823 | 0 | 0.638395 | 0 | 0.011378 | 0.0521 | 0.008307 | 0 | 0 | 0 | 0 | 0.001034 | 1 | 0.001862 | false | 0.000207 | 0.00662 | 0.000621 | 0.008482 | 0.000207 | 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 |
4678057e2fe6e9e8cf6a14ce2909a9b0c95c13cf | 42,315 | py | Python | dracclient/tests/test_client.py | cacoyle/python-dracclient | d52d16c6e624b84d7f562f6f81092f2b5f4e6dc4 | [
"Apache-2.0"
] | null | null | null | dracclient/tests/test_client.py | cacoyle/python-dracclient | d52d16c6e624b84d7f562f6f81092f2b5f4e6dc4 | [
"Apache-2.0"
] | null | null | null | dracclient/tests/test_client.py | cacoyle/python-dracclient | d52d16c6e624b84d7f562f6f81092f2b5f4e6dc4 | [
"Apache-2.0"
] | null | null | null | #
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# ... | 44.308901 | 79 | 0.626634 | 4,385 | 42,315 | 5.757355 | 0.087571 | 0.025667 | 0.032718 | 0.039056 | 0.812485 | 0.771647 | 0.755843 | 0.732948 | 0.719758 | 0.681969 | 0 | 0.018707 | 0.266029 | 42,315 | 954 | 80 | 44.355346 | 0.794159 | 0.01763 | 0 | 0.609694 | 0 | 0.002551 | 0.147434 | 0.023252 | 0 | 0 | 0 | 0 | 0.112245 | 1 | 0.081633 | false | 0 | 0.017857 | 0 | 0.109694 | 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 |
469f3f23ce0bc0ec4be39edb36d521df8bb29595 | 33 | py | Python | tests/test_example.py | mikeanthonywild/apyture | dbb69f15070a96fed53efe41dc085c7c454a2984 | [
"MIT"
] | null | null | null | tests/test_example.py | mikeanthonywild/apyture | dbb69f15070a96fed53efe41dc085c7c454a2984 | [
"MIT"
] | null | null | null | tests/test_example.py | mikeanthonywild/apyture | dbb69f15070a96fed53efe41dc085c7c454a2984 | [
"MIT"
] | null | null | null | def test_example():
pass
| 11 | 19 | 0.575758 | 4 | 33 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 33 | 3 | 20 | 11 | 0.818182 | 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 |
469fb757e9edd058b6dc3421f020f93b9fc85c2c | 39 | py | Python | stylecloud/__init__.py | Xoeseko/stylecloud | 58796618785fc59d7e8b80b926745d1d3fc6a25e | [
"MIT"
] | 785 | 2019-11-04T16:04:04.000Z | 2022-03-31T07:57:28.000Z | stylecloud/__init__.py | Xoeseko/stylecloud | 58796618785fc59d7e8b80b926745d1d3fc6a25e | [
"MIT"
] | 21 | 2019-11-06T22:34:53.000Z | 2021-09-19T20:26:14.000Z | stylecloud/__init__.py | Xoeseko/stylecloud | 58796618785fc59d7e8b80b926745d1d3fc6a25e | [
"MIT"
] | 72 | 2019-11-04T20:49:32.000Z | 2022-03-24T20:52:21.000Z | from .stylecloud import gen_stylecloud
| 19.5 | 38 | 0.871795 | 5 | 39 | 6.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
d3e1cc727020745bb3ce789ab0d1770937fee6b7 | 22 | py | Python | spirit/models/__init__.py | amitra/BikeMaps | eb80eed2e3159ad9c4e46427a9f488e1221794fa | [
"MIT"
] | null | null | null | spirit/models/__init__.py | amitra/BikeMaps | eb80eed2e3159ad9c4e46427a9f488e1221794fa | [
"MIT"
] | null | null | null | spirit/models/__init__.py | amitra/BikeMaps | eb80eed2e3159ad9c4e46427a9f488e1221794fa | [
"MIT"
] | null | null | null | from user import User
| 11 | 21 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 1 | 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 |
d3f453a3d132b308d759f5465f04d4257fcdefba | 10,837 | py | Python | tests/test_gmsd.py | kktsubota/piq | 831e4176424c0072ddba594d0f0a6648595df744 | [
"Apache-2.0"
] | 471 | 2020-06-20T00:28:09.000Z | 2022-03-28T01:55:14.000Z | tests/test_gmsd.py | kktsubota/piq | 831e4176424c0072ddba594d0f0a6648595df744 | [
"Apache-2.0"
] | 220 | 2020-06-19T16:14:23.000Z | 2022-03-29T21:45:52.000Z | tests/test_gmsd.py | kktsubota/piq | 831e4176424c0072ddba594d0f0a6648595df744 | [
"Apache-2.0"
] | 50 | 2020-08-30T14:19:44.000Z | 2022-03-25T18:05:21.000Z | import torch
import pytest
from skimage.io import imread
import numpy as np
from typing import Any, Tuple
from piq import gmsd, multi_scale_gmsd, GMSDLoss, MultiScaleGMSDLoss
LEAF_VARIABLE_ERROR_MESSAGE = 'Expected non None gradient of leaf variable'
@pytest.fixture(scope='module')
def x() -> torch.Tensor:
retu... | 36.986348 | 115 | 0.675371 | 1,638 | 10,837 | 4.259463 | 0.094628 | 0.087143 | 0.043858 | 0.040132 | 0.844776 | 0.82514 | 0.808944 | 0.791601 | 0.768525 | 0.687975 | 0 | 0.034344 | 0.172465 | 10,837 | 292 | 116 | 37.113014 | 0.743644 | 0.027591 | 0 | 0.560386 | 0 | 0 | 0.087361 | 0.007597 | 0 | 0 | 0 | 0 | 0.082126 | 1 | 0.164251 | false | 0 | 0.028986 | 0.014493 | 0.207729 | 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 |
31e3cc204208b23eed098e919b00f3a0d3c50b0c | 119 | py | Python | pycircuit/post/cds/__init__.py | michaelnt/pycircuit | ef3110c1c3789c1e5f30c35e3f5dd15ed4bd349e | [
"BSD-3-Clause"
] | 25 | 2015-05-13T22:49:26.000Z | 2020-03-10T04:13:20.000Z | pycircuit/post/cds/__init__.py | michaelnt/pycircuit | ef3110c1c3789c1e5f30c35e3f5dd15ed4bd349e | [
"BSD-3-Clause"
] | 1 | 2016-11-09T13:09:31.000Z | 2016-11-09T13:09:31.000Z | pycircuit/post/cds/__init__.py | michaelnt/pycircuit | ef3110c1c3789c1e5f30c35e3f5dd15ed4bd349e | [
"BSD-3-Clause"
] | 9 | 2016-03-05T11:46:27.000Z | 2022-01-19T18:30:55.000Z | from resultpsf import PSFResultSet
from cds import *
from cdsfile import *
from cdstcp import *
from netlist import *
| 17 | 34 | 0.789916 | 16 | 119 | 5.875 | 0.5 | 0.319149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 119 | 6 | 35 | 19.833333 | 0.959184 | 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 |
9ec4d3481d045772601dca063701189af9f22b43 | 5,325 | py | Python | model/historic/HistoricCO2Model.py | Dachshund77/FlaskEwatson | 5ca83d201ae3695974480f7bb84ce9261a973ee5 | [
"MIT"
] | null | null | null | model/historic/HistoricCO2Model.py | Dachshund77/FlaskEwatson | 5ca83d201ae3695974480f7bb84ce9261a973ee5 | [
"MIT"
] | null | null | null | model/historic/HistoricCO2Model.py | Dachshund77/FlaskEwatson | 5ca83d201ae3695974480f7bb84ce9261a973ee5 | [
"MIT"
] | 2 | 2020-09-24T22:17:27.000Z | 2020-10-09T22:46:28.000Z | import logging
from model.connectionService import ConnectionService
logging.getLogger(__name__)
class HistoricCO2Model():
def __init__(self, id, startTime, endTime, value):
self.id = id
self.startTime = startTime
self.endTime = endTime
self.value = value
def to_json(self):
data = {
'type': 'Historic ... | 22.468354 | 110 | 0.704601 | 654 | 5,325 | 5.62844 | 0.131498 | 0.08802 | 0.02445 | 0.038033 | 0.848682 | 0.848682 | 0.840532 | 0.840532 | 0.840532 | 0.840532 | 0 | 0.004841 | 0.185352 | 5,325 | 236 | 111 | 22.563559 | 0.843707 | 0.09108 | 0 | 0.699346 | 0 | 0 | 0.255465 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078431 | false | 0 | 0.013072 | 0 | 0.169935 | 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 |
7320f9468fba419927b0ba0e7362690294f212cd | 35 | py | Python | src/signer/secret20/__init__.py | Leibniz137/EthereumBridge | 4b82a68cdc09e5ea79ec2fbf87aa065a2a3a5ffa | [
"MIT"
] | 14 | 2020-09-20T02:06:58.000Z | 2021-10-12T12:16:28.000Z | src/signer/secret20/__init__.py | scrtlabs/EthereumBridge | e585c060c11dd264df46bed1f477f139deb1b37c | [
"MIT"
] | 5 | 2020-11-17T05:39:48.000Z | 2020-12-15T13:41:12.000Z | src/signer/secret20/__init__.py | scrtlabs/EthereumBridge | e585c060c11dd264df46bed1f477f139deb1b37c | [
"MIT"
] | 7 | 2020-10-19T15:52:56.000Z | 2021-09-19T08:57:28.000Z | from .signer import Secret20Signer
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 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 |
b403b692f11a7439c66eee15141d30d874b1082c | 25 | py | Python | src/oxint/ingest/__init__.py | joaquinOnSoft/oxint | c90dc25e0ccd5bb3576c9e9cb61e3a74d695e16a | [
"Apache-2.0"
] | null | null | null | src/oxint/ingest/__init__.py | joaquinOnSoft/oxint | c90dc25e0ccd5bb3576c9e9cb61e3a74d695e16a | [
"Apache-2.0"
] | null | null | null | src/oxint/ingest/__init__.py | joaquinOnSoft/oxint | c90dc25e0ccd5bb3576c9e9cb61e3a74d695e16a | [
"Apache-2.0"
] | null | null | null | from . import CSVReader
| 8.333333 | 23 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 25 | 2 | 24 | 12.5 | 0.95 | 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 |
b418e6b1a17847ab22300c90008e84caf536c3b1 | 76 | py | Python | self_supervised/trainer/__init__.py | 36000/myow | 73f2b430d284bcd6bb0c6faaac30576e84393ff1 | [
"Apache-2.0"
] | 19 | 2021-02-22T15:51:30.000Z | 2022-01-23T12:25:30.000Z | self_supervised/trainer/__init__.py | 36000/myow | 73f2b430d284bcd6bb0c6faaac30576e84393ff1 | [
"Apache-2.0"
] | 1 | 2022-01-19T16:21:51.000Z | 2022-01-19T16:21:51.000Z | self_supervised/trainer/__init__.py | 36000/myow | 73f2b430d284bcd6bb0c6faaac30576e84393ff1 | [
"Apache-2.0"
] | 2 | 2021-07-28T21:19:07.000Z | 2022-01-26T23:10:56.000Z | from .byol_trainer import BYOLTrainer
from .myow_trainer import MYOWTrainer
| 25.333333 | 37 | 0.868421 | 10 | 76 | 6.4 | 0.7 | 0.40625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 76 | 2 | 38 | 38 | 0.941176 | 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 |
b45c4c29ca9924fda9eca95929b4a99547126552 | 75 | py | Python | python-peculiarities/source/FloatingVotes.py | noamt/presentations | c5031ae0558d19be920ee1641ba2fc5f4fd88773 | [
"Unlicense"
] | null | null | null | python-peculiarities/source/FloatingVotes.py | noamt/presentations | c5031ae0558d19be920ee1641ba2fc5f4fd88773 | [
"Unlicense"
] | null | null | null | python-peculiarities/source/FloatingVotes.py | noamt/presentations | c5031ae0558d19be920ee1641ba2fc5f4fd88773 | [
"Unlicense"
] | null | null | null | >>> number_of_votes = 5
>>> number_of_votes.__str__()
'5'
>>> (5).__str__() | 18.75 | 29 | 0.626667 | 11 | 75 | 3.181818 | 0.454545 | 0.457143 | 0.742857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044776 | 0.106667 | 75 | 4 | 30 | 18.75 | 0.477612 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b46416a81a1a1dadb7d8b8b01aacd5acc7958f0e | 157 | py | Python | dataq_di_2008/__init__.py | vstadnytskyi/dataq-di-2008 | 8d21299e1168d63c3d6975a69d1d201296972b8f | [
"BSD-3-Clause"
] | null | null | null | dataq_di_2008/__init__.py | vstadnytskyi/dataq-di-2008 | 8d21299e1168d63c3d6975a69d1d201296972b8f | [
"BSD-3-Clause"
] | 1 | 2021-02-20T16:33:16.000Z | 2021-02-20T16:33:16.000Z | dataq_di_2008/__init__.py | vstadnytskyi/dataq-di-2008 | 8d21299e1168d63c3d6975a69d1d201296972b8f | [
"BSD-3-Clause"
] | null | null | null |
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
from .usb_bulk_driver import Driver
from .device import Device
| 19.625 | 39 | 0.815287 | 22 | 157 | 5.363636 | 0.454545 | 0.279661 | 0.305085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121019 | 157 | 7 | 40 | 22.428571 | 0.855072 | 0 | 0 | 0 | 0 | 0 | 0.044872 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.