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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1931d4d528117ea44e1d3581ceb8531be2ee01bc | 44 | py | Python | loady/__init__.py | rec/gitty | 9d51a40c485fe7938342636705f3ab0595fc9e8c | [
"MIT"
] | 2 | 2017-10-14T14:37:40.000Z | 2018-02-24T14:06:25.000Z | loady/__init__.py | rec/gitty | 9d51a40c485fe7938342636705f3ab0595fc9e8c | [
"MIT"
] | 2 | 2017-08-13T13:38:21.000Z | 2017-08-22T16:32:18.000Z | loady/__init__.py | rec/gitty | 9d51a40c485fe7938342636705f3ab0595fc9e8c | [
"MIT"
] | null | null | null | from . import code, data, library, sys_path
| 22 | 43 | 0.75 | 7 | 44 | 4.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 1 | 44 | 44 | 0.864865 | 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 |
195a26905984bac75afed7a36fb6f25160a0b132 | 78 | py | Python | forum/tests/unit_tests/test_forms.py | SH-anonta/Discussion-Forum | 03c92916d4dd708ad76e0aa945aaecacb1eac30e | [
"MIT"
] | null | null | null | forum/tests/unit_tests/test_forms.py | SH-anonta/Discussion-Forum | 03c92916d4dd708ad76e0aa945aaecacb1eac30e | [
"MIT"
] | null | null | null | forum/tests/unit_tests/test_forms.py | SH-anonta/Discussion-Forum | 03c92916d4dd708ad76e0aa945aaecacb1eac30e | [
"MIT"
] | null | null | null | from django.contrib.auth.models import User
from django.test import TestCase
| 19.5 | 43 | 0.833333 | 12 | 78 | 5.416667 | 0.75 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 78 | 3 | 44 | 26 | 0.942029 | 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 |
198034a8c27ce9cf9fcb01f84e26e326a8524953 | 29,163 | py | Python | tests/njoy_test.py | khurrumsaleem/sandy | 74d4d62d808fd3637f0129a3f25c63db322d724e | [
"MIT"
] | 30 | 2018-08-18T08:04:30.000Z | 2022-03-23T12:48:46.000Z | tests/njoy_test.py | khurrumsaleem/sandy | 74d4d62d808fd3637f0129a3f25c63db322d724e | [
"MIT"
] | 59 | 2018-08-24T13:26:39.000Z | 2022-03-29T13:12:05.000Z | tests/njoy_test.py | khurrumsaleem/sandy | 74d4d62d808fd3637f0129a3f25c63db322d724e | [
"MIT"
] | 9 | 2019-04-26T07:44:28.000Z | 2021-12-08T08:32:11.000Z | # -*- coding: utf-8 -*-
"""
Created on Tue Mar 12 09:33:25 2019
@author: Luca Fiorito
"""
import pytest
import os
import sandy
__author__ = "Luca Fiorito"
@pytest.mark.njoy
def test_get_njoy_from_environ():
exeold = None
if "NJOY" in os.environ:
exeold = os.environ["NJOY"]
... | 33.405498 | 140 | 0.611631 | 4,587 | 29,163 | 3.798779 | 0.05908 | 0.011248 | 0.04901 | 0.049756 | 0.870818 | 0.832425 | 0.790818 | 0.752884 | 0.715409 | 0.656184 | 0 | 0.154298 | 0.223297 | 29,163 | 873 | 141 | 33.405498 | 0.614984 | 0.073826 | 0 | 0.64698 | 0 | 0.04698 | 0.286002 | 0 | 0 | 0 | 0 | 0 | 0.205369 | 1 | 0.075168 | false | 0 | 0.004027 | 0 | 0.079195 | 0.013423 | 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 |
19a2b6cc1dbf409f45ce8d3c2201dfe55617b800 | 110 | py | Python | hip.py | putupradnya/streamlit-app | 4f16166060f6fb7cb82053cd231c757f7a9db637 | [
"MIT"
] | null | null | null | hip.py | putupradnya/streamlit-app | 4f16166060f6fb7cb82053cd231c757f7a9db637 | [
"MIT"
] | null | null | null | hip.py | putupradnya/streamlit-app | 4f16166060f6fb7cb82053cd231c757f7a9db637 | [
"MIT"
] | null | null | null | import hiplot as hip
import streamlit as st
st.button('Hit Me')
st.button('Hit them')
st.button('catch Me') | 15.714286 | 23 | 0.718182 | 20 | 110 | 3.95 | 0.55 | 0.303797 | 0.278481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 110 | 7 | 24 | 15.714286 | 0.840426 | 0 | 0 | 0 | 0 | 0 | 0.198198 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5fe953ba3afba108d8d5ded1c0aeb441f36c311e | 208 | py | Python | discord_dictionary_bot/exceptions.py | TychoTheTaco/Discord-Dictionary-Bot | c13e8955a39ce6ef49aecd7071a88ce9866d3a03 | [
"MIT"
] | 4 | 2021-03-29T23:35:04.000Z | 2021-12-12T20:35:49.000Z | discord_dictionary_bot/exceptions.py | TychoTheTaco/Discord-Dictionary-Bot | c13e8955a39ce6ef49aecd7071a88ce9866d3a03 | [
"MIT"
] | 2 | 2020-12-08T23:56:00.000Z | 2021-05-15T03:37:33.000Z | discord_dictionary_bot/exceptions.py | TychoTheTaco/Discord-Dictionary-Bot | c13e8955a39ce6ef49aecd7071a88ce9866d3a03 | [
"MIT"
] | 4 | 2021-03-29T04:29:13.000Z | 2021-12-12T20:37:56.000Z | class InsufficientPermissionsException(BaseException):
def __init__(self, permissions):
self._permissions = permissions
@property
def permissions(self):
return self._permissions
| 23.111111 | 54 | 0.725962 | 17 | 208 | 8.529412 | 0.529412 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206731 | 208 | 8 | 55 | 26 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
27360b84fb021c4363eaa33cc92801d54a39069d | 159 | py | Python | terrascript/matchbox/r.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 4 | 2022-02-07T21:08:14.000Z | 2022-03-03T04:41:28.000Z | terrascript/matchbox/r.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | null | null | null | terrascript/matchbox/r.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 2 | 2022-02-06T01:49:42.000Z | 2022-02-08T14:15:00.000Z | # terrascript/matchbox/r.py
import terrascript
class matchbox_profile(terrascript.Resource):
pass
class matchbox_group(terrascript.Resource):
pass
| 14.454545 | 45 | 0.786164 | 18 | 159 | 6.833333 | 0.555556 | 0.211382 | 0.373984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138365 | 159 | 10 | 46 | 15.9 | 0.89781 | 0.157233 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
273b881bb2e794c6686bd7f7fa08dcb512cab64a | 93 | py | Python | albumentations/core/__init__.py | rameshveer/convlib | 39ea50493513ec962c6e793430bd782da243d0d1 | [
"MIT"
] | null | null | null | albumentations/core/__init__.py | rameshveer/convlib | 39ea50493513ec962c6e793430bd782da243d0d1 | [
"MIT"
] | null | null | null | albumentations/core/__init__.py | rameshveer/convlib | 39ea50493513ec962c6e793430bd782da243d0d1 | [
"MIT"
] | null | null | null |
from .composition import *
from .serialization import *
from .transforms_interface import *
| 18.6 | 35 | 0.795699 | 10 | 93 | 7.3 | 0.6 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139785 | 93 | 4 | 36 | 23.25 | 0.9125 | 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 |
7e021fea91857b4fd0ba993d7497e60f669de089 | 217 | py | Python | rascil/processing_components/simulation/__init__.py | SKA-ScienceDataProcessor/rascil | bd3b47f779e18e184781e2928ad1539d1fdc1c9b | [
"Apache-2.0"
] | 7 | 2019-12-14T13:42:33.000Z | 2022-01-28T03:31:45.000Z | rascil/processing_components/simulation/__init__.py | SKA-ScienceDataProcessor/rascil | bd3b47f779e18e184781e2928ad1539d1fdc1c9b | [
"Apache-2.0"
] | 6 | 2020-01-08T09:40:08.000Z | 2020-06-11T14:56:13.000Z | rascil/processing_components/simulation/__init__.py | SKA-ScienceDataProcessor/rascil | bd3b47f779e18e184781e2928ad1539d1fdc1c9b | [
"Apache-2.0"
] | 3 | 2020-01-14T11:14:16.000Z | 2020-09-15T05:21:06.000Z |
from .configurations import *
from .atmospheric_screen import *
from .noise import *
from .pointing import *
from .rfi import *
from .simulation_helpers import *
from .surface import *
from .testing_support import *
| 21.7 | 33 | 0.774194 | 27 | 217 | 6.111111 | 0.481481 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152074 | 217 | 9 | 34 | 24.111111 | 0.896739 | 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 |
fd89c298a7b525c59af665bb1dbf6e77328e5041 | 189 | py | Python | python/bistring/__init__.py | tavianator/bistring | b79007e96b971b44ca0d618b576d479010d4be9a | [
"MIT"
] | 359 | 2019-07-08T20:53:06.000Z | 2022-03-29T16:36:19.000Z | python/bistring/__init__.py | tavianator/bistring | b79007e96b971b44ca0d618b576d479010d4be9a | [
"MIT"
] | 18 | 2019-07-12T16:29:40.000Z | 2022-03-29T16:09:07.000Z | python/bistring/__init__.py | tavianator/bistring | b79007e96b971b44ca0d618b576d479010d4be9a | [
"MIT"
] | 12 | 2019-07-15T00:31:07.000Z | 2022-03-28T12:44:31.000Z | # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT license.
from ._alignment import *
from ._bistr import *
from ._builder import *
from ._token import *
| 23.625 | 59 | 0.756614 | 24 | 189 | 5.791667 | 0.75 | 0.215827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164021 | 189 | 7 | 60 | 27 | 0.879747 | 0.470899 | 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 |
fd977a719ce82ffaa1c0f6860f009134e256bce9 | 22 | py | Python | dns_catalog/__init__.py | illallangi/DNSCatalogHash | 356d0d05c7280c1ab60ee2c894c6ca4aae6051ba | [
"MIT"
] | null | null | null | dns_catalog/__init__.py | illallangi/DNSCatalogHash | 356d0d05c7280c1ab60ee2c894c6ca4aae6051ba | [
"MIT"
] | 1 | 2020-09-25T07:04:26.000Z | 2020-09-28T06:58:46.000Z | dns_catalog/__init__.py | illallangi/DNSCatalogHash | 356d0d05c7280c1ab60ee2c894c6ca4aae6051ba | [
"MIT"
] | null | null | null | from .hash import hash | 22 | 22 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
fdca70e2b5d90246687310491475184d719b0a1a | 39 | py | Python | venv/lib/python3.4/site-packages/zeep/__init__.py | zackszhu/SE343_Architecture-of-Enterprise-Applications | eae49d0c20ae4fc345e4d2dae8c053e8410729ad | [
"MIT"
] | null | null | null | venv/lib/python3.4/site-packages/zeep/__init__.py | zackszhu/SE343_Architecture-of-Enterprise-Applications | eae49d0c20ae4fc345e4d2dae8c053e8410729ad | [
"MIT"
] | null | null | null | venv/lib/python3.4/site-packages/zeep/__init__.py | zackszhu/SE343_Architecture-of-Enterprise-Applications | eae49d0c20ae4fc345e4d2dae8c053e8410729ad | [
"MIT"
] | null | null | null | from zeep.client import Client # noqa
| 19.5 | 38 | 0.769231 | 6 | 39 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 39 | 1 | 39 | 39 | 0.9375 | 0.102564 | 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 |
e31359cd756dda1ec3999a0d4ed0ab5d3aac5e38 | 47 | py | Python | Python/prac.py | shujanpannag/Random_Programs | 77b7a8197e154926411d9939ef1e4effbc6eabfe | [
"MIT"
] | null | null | null | Python/prac.py | shujanpannag/Random_Programs | 77b7a8197e154926411d9939ef1e4effbc6eabfe | [
"MIT"
] | null | null | null | Python/prac.py | shujanpannag/Random_Programs | 77b7a8197e154926411d9939ef1e4effbc6eabfe | [
"MIT"
] | null | null | null | a,b,c = map(int, input().split())
print(a,b,c) | 15.666667 | 33 | 0.574468 | 11 | 47 | 2.454545 | 0.727273 | 0.148148 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 3 | 34 | 15.666667 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e3240197c4a72a7a1492565a111a2ad120ae3e98 | 29,564 | py | Python | biorxiv/corpora_comparison/05_figure_generator_reviewer_request.py | danich1/annorxiver | 8fab17e1c3ebce7b9e3fc54ea64585b37d9b3825 | [
"CC0-1.0",
"BSD-3-Clause"
] | 4 | 2020-05-13T23:44:57.000Z | 2021-07-04T23:51:46.000Z | biorxiv/corpora_comparison/05_figure_generator_reviewer_request.py | danich1/annorxiver | 8fab17e1c3ebce7b9e3fc54ea64585b37d9b3825 | [
"CC0-1.0",
"BSD-3-Clause"
] | 23 | 2020-03-23T18:35:25.000Z | 2021-09-21T21:14:20.000Z | biorxiv/corpora_comparison/05_figure_generator_reviewer_request.py | danich1/annorxiver | 8fab17e1c3ebce7b9e3fc54ea64585b37d9b3825 | [
"CC0-1.0",
"BSD-3-Clause"
] | 3 | 2020-01-31T18:27:55.000Z | 2020-05-29T20:26:22.000Z | # -*- coding: utf-8 -*-
# ---
# jupyter:
# jupytext:
# formats: ipynb,py
# text_representation:
# extension: .py
# format_name: light
# format_version: '1.5'
# jupytext_version: 1.9.1+dev
# kernelspec:
# display_name: Python [conda env:annorxiver]
# language: python
# nam... | 27.969726 | 99 | 0.641354 | 4,158 | 29,564 | 4.286676 | 0.058682 | 0.053692 | 0.031362 | 0.038151 | 0.950853 | 0.941708 | 0.940249 | 0.928636 | 0.922745 | 0.920669 | 0 | 0.032344 | 0.211473 | 29,564 | 1,056 | 100 | 27.996212 | 0.732155 | 0.039102 | 0 | 0.694665 | 0 | 0 | 0.230364 | 0.145214 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.00681 | 0 | 0.00681 | 0.056754 | 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 |
e3800e21228a99ca9787351b43f64ca1d4723802 | 165 | py | Python | src/pipupgrade/model/__init__.py | max-nicholson/pipupgrade | 669cd4ecd4d858e6fb996e75af81960d0b35ccfb | [
"MIT"
] | 517 | 2018-08-29T23:16:07.000Z | 2022-03-20T16:06:37.000Z | src/pipupgrade/model/__init__.py | max-nicholson/pipupgrade | 669cd4ecd4d858e6fb996e75af81960d0b35ccfb | [
"MIT"
] | 117 | 2018-08-30T02:13:45.000Z | 2022-03-30T15:47:52.000Z | src/pipupgrade/model/__init__.py | max-nicholson/pipupgrade | 669cd4ecd4d858e6fb996e75af81960d0b35ccfb | [
"MIT"
] | 35 | 2018-08-31T11:11:00.000Z | 2022-01-29T21:20:46.000Z | # imports - module imports
from pipupgrade.model.project import Project
from pipupgrade.model.package import Package
from pipupgrade.model.registry import Registry | 41.25 | 46 | 0.842424 | 21 | 165 | 6.619048 | 0.428571 | 0.302158 | 0.410072 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 165 | 4 | 46 | 41.25 | 0.945578 | 0.145455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8b6c5feff130f309acd58056f0d664b3794b80f1 | 109 | py | Python | gui/views/ClientsGUIViews/__init__.py | Saldenisov/pyconlyse | 1de301b4a4c15ee0bd19034aa8d5da1beacfd124 | [
"MIT"
] | null | null | null | gui/views/ClientsGUIViews/__init__.py | Saldenisov/pyconlyse | 1de301b4a4c15ee0bd19034aa8d5da1beacfd124 | [
"MIT"
] | null | null | null | gui/views/ClientsGUIViews/__init__.py | Saldenisov/pyconlyse | 1de301b4a4c15ee0bd19034aa8d5da1beacfd124 | [
"MIT"
] | null | null | null | from .StepMotors import *
from .SuperUser import *
from .VD2Treatment import *
from .ProjectManagers import * | 27.25 | 30 | 0.788991 | 12 | 109 | 7.166667 | 0.5 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.137615 | 109 | 4 | 30 | 27.25 | 0.904255 | 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 |
8bc700837bd7d2e73119c620d8271faca316b702 | 45 | py | Python | sskmeans/__init__.py | Eliot-M/sskmeans | 57581709c8827d41411d85c073e43b39b552ee2f | [
"MIT"
] | null | null | null | sskmeans/__init__.py | Eliot-M/sskmeans | 57581709c8827d41411d85c073e43b39b552ee2f | [
"MIT"
] | null | null | null | sskmeans/__init__.py | Eliot-M/sskmeans | 57581709c8827d41411d85c073e43b39b552ee2f | [
"MIT"
] | null | null | null | from .samesizekmeans import SameSizeKmeans
| 11.25 | 42 | 0.844444 | 4 | 45 | 9.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 45 | 3 | 43 | 15 | 0.974359 | 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 |
8be090be14859017c3114da637838c616c17565e | 35 | py | Python | poloniex/__init__.py | doubleDragon/quant | e992d1e2dc544b3106a87b08f4bd81eb16f75f4d | [
"Apache-2.0"
] | null | null | null | poloniex/__init__.py | doubleDragon/quant | e992d1e2dc544b3106a87b08f4bd81eb16f75f4d | [
"Apache-2.0"
] | null | null | null | poloniex/__init__.py | doubleDragon/quant | e992d1e2dc544b3106a87b08f4bd81eb16f75f4d | [
"Apache-2.0"
] | null | null | null | from poloniex.client import Client
| 17.5 | 34 | 0.857143 | 5 | 35 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 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 |
47848c7f25b0fc38781d9a96278c8395dad6e03d | 70 | py | Python | cptools/__init__.py | GentleCP/cptools | 6816314f7e16168d3ce43c73e335a3c08590acb5 | [
"MIT"
] | 2 | 2021-04-17T13:16:38.000Z | 2021-06-16T02:26:09.000Z | cptools/__init__.py | GentleCP/cptools | 6816314f7e16168d3ce43c73e335a3c08590acb5 | [
"MIT"
] | null | null | null | cptools/__init__.py | GentleCP/cptools | 6816314f7e16168d3ce43c73e335a3c08590acb5 | [
"MIT"
] | null | null | null | from .progress import *
from .hello import *
from .logger import *
| 17.5 | 24 | 0.7 | 9 | 70 | 5.444444 | 0.555556 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 70 | 3 | 25 | 23.333333 | 0.890909 | 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 |
479cdb81cff60f17f92bca0680076e2ceac50a45 | 2,648 | py | Python | flaskApp/auth/forms/__init__.py | kc446/kc446_flaskapp | 41747879d2d3523ee1684076f9835f4166fefed4 | [
"BSD-3-Clause"
] | null | null | null | flaskApp/auth/forms/__init__.py | kc446/kc446_flaskapp | 41747879d2d3523ee1684076f9835f4166fefed4 | [
"BSD-3-Clause"
] | null | null | null | flaskApp/auth/forms/__init__.py | kc446/kc446_flaskapp | 41747879d2d3523ee1684076f9835f4166fefed4 | [
"BSD-3-Clause"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms import validators
from wtforms.fields import *
class login_form(FlaskForm):
email = EmailField('Email Address', [
validators.DataRequired(),
#validators.Email()
], description="You need an email address to sign in!")
password = PasswordField('Pa... | 38.941176 | 116 | 0.691088 | 283 | 2,648 | 6.416961 | 0.250883 | 0.096916 | 0.123348 | 0.055066 | 0.784692 | 0.784692 | 0.784692 | 0.75 | 0.715859 | 0.655286 | 0 | 0.008784 | 0.183157 | 2,648 | 68 | 117 | 38.941176 | 0.830791 | 0.04494 | 0 | 0.588235 | 0 | 0 | 0.259406 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.27451 | 0.058824 | 0 | 0.647059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
47c346c9e9d38538fdc38db2f7de0f3cab10a211 | 19,878 | py | Python | CompileRunTest.py | fcooper8472/CppRandomNumbers | 91ae5132d70982619bba4424833ab6fd622106e1 | [
"MIT"
] | null | null | null | CompileRunTest.py | fcooper8472/CppRandomNumbers | 91ae5132d70982619bba4424833ab6fd622106e1 | [
"MIT"
] | null | null | null | CompileRunTest.py | fcooper8472/CppRandomNumbers | 91ae5132d70982619bba4424833ab6fd622106e1 | [
"MIT"
] | null | null | null | import os
import subprocess
import matplotlib.pyplot as plt
import numpy as np
import scipy.stats
# Define directories
output_sample_dir = os.path.join('/tmp', 'CppRandomNumbers', 'RandomSamples')
output_pdf_dir = os.path.join('/tmp', 'CppRandomNumbers', 'Pdf')
script_dir = os.path.realpath(os.path.dirname(__file__)... | 29.146628 | 120 | 0.620535 | 2,944 | 19,878 | 3.97962 | 0.057745 | 0.049164 | 0.027996 | 0.049164 | 0.845766 | 0.835097 | 0.816746 | 0.768948 | 0.753073 | 0.743855 | 0 | 0.026268 | 0.193732 | 19,878 | 681 | 121 | 29.189427 | 0.704748 | 0.081145 | 0 | 0.621145 | 0 | 0 | 0.106056 | 0.018879 | 0 | 0 | 0 | 0 | 0.008811 | 1 | 0.037445 | false | 0 | 0.013216 | 0 | 0.050661 | 0.068282 | 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 |
9a3305b280ea59947caa8ebbc06fc8e9161a16a6 | 64 | py | Python | Exercises3/R-3.21.py | opnsesame/Data-Structures-and-Algorithms-Exercises | 62f4066c6370225a41295ecb08e05258b08f6d7e | [
"Apache-2.0"
] | null | null | null | Exercises3/R-3.21.py | opnsesame/Data-Structures-and-Algorithms-Exercises | 62f4066c6370225a41295ecb08e05258b08f6d7e | [
"Apache-2.0"
] | null | null | null | Exercises3/R-3.21.py | opnsesame/Data-Structures-and-Algorithms-Exercises | 62f4066c6370225a41295ecb08e05258b08f6d7e | [
"Apache-2.0"
] | null | null | null | '''
Show that nlogn is Ω(n).
'''
nlogn > = c*n
so nlogn is Ω(n)
| 10.666667 | 24 | 0.546875 | 14 | 64 | 2.5 | 0.571429 | 0.4 | 0.457143 | 0.514286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234375 | 64 | 5 | 25 | 12.8 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7bd8ba2932d4bac03570f05e1f866e392c98df1b | 223 | py | Python | samples/hello_world.py | corradosantoro/hephaestus | c40a534e3979cef7e6eeda1206aa93e25fdd55a8 | [
"MIT"
] | 4 | 2019-06-07T08:57:15.000Z | 2021-08-30T10:40:23.000Z | samples/hello_world.py | corradosantoro/hephaestus | c40a534e3979cef7e6eeda1206aa93e25fdd55a8 | [
"MIT"
] | null | null | null | samples/hello_world.py | corradosantoro/hephaestus | c40a534e3979cef7e6eeda1206aa93e25fdd55a8 | [
"MIT"
] | 1 | 2020-07-24T14:16:34.000Z | 2020-07-24T14:16:34.000Z | #
#
#
from phidias.Types import *
from phidias.Main import *
from phidias.Lib import *
class say_hello(Procedure): pass
say_hello() >> [ show_line("Hello world from Phidias") ]
PHIDIAS.run()
PHIDIAS.shell(globals())
| 13.117647 | 56 | 0.70852 | 30 | 223 | 5.166667 | 0.566667 | 0.283871 | 0.219355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156951 | 223 | 16 | 57 | 13.9375 | 0.824468 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.142857 | 0.428571 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
d08923f70e0c0ca9812ee1c5b35711fbce8831d1 | 120 | py | Python | core/admin.py | 0pi3/dirtysanta | 29345c611d70e518fffe750d2a1cf1309897a7f9 | [
"MIT"
] | null | null | null | core/admin.py | 0pi3/dirtysanta | 29345c611d70e518fffe750d2a1cf1309897a7f9 | [
"MIT"
] | null | null | null | core/admin.py | 0pi3/dirtysanta | 29345c611d70e518fffe750d2a1cf1309897a7f9 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(GameSession)
admin.site.register(GamePlayer) | 24 | 32 | 0.825 | 16 | 120 | 6.1875 | 0.625 | 0.222222 | 0.343434 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 120 | 5 | 33 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d0e2b382a656cfc99553823461a08882e73499e1 | 133 | py | Python | model/__init__.py | SleuthKid/tie2misp | e8721de64cad2ab8bb01bf0b3af178a07afa6354 | [
"BSD-3-Clause"
] | null | null | null | model/__init__.py | SleuthKid/tie2misp | e8721de64cad2ab8bb01bf0b3af178a07afa6354 | [
"BSD-3-Clause"
] | null | null | null | model/__init__.py | SleuthKid/tie2misp | e8721de64cad2ab8bb01bf0b3af178a07afa6354 | [
"BSD-3-Clause"
] | null | null | null | from .misp_event import MISPEvent
from .misp_attribute import MISPAttribute
from .misp_tag import MISPTag
from .config import Config
| 26.6 | 41 | 0.849624 | 19 | 133 | 5.789474 | 0.526316 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120301 | 133 | 4 | 42 | 33.25 | 0.940171 | 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 |
efb724b688e3322f29e91581b29a48bb5aefe60c | 19 | py | Python | course-1:basic-building-blocks/subject-3:integers/lesson-5:Converting strings to integers.py | regnart-tech-club/python | 069df070059de662d4104de8192e45407a7e94ce | [
"Apache-2.0"
] | null | null | null | course-1:basic-building-blocks/subject-3:integers/lesson-5:Converting strings to integers.py | regnart-tech-club/python | 069df070059de662d4104de8192e45407a7e94ce | [
"Apache-2.0"
] | null | null | null | course-1:basic-building-blocks/subject-3:integers/lesson-5:Converting strings to integers.py | regnart-tech-club/python | 069df070059de662d4104de8192e45407a7e94ce | [
"Apache-2.0"
] | 1 | 2016-04-03T00:53:37.000Z | 2016-04-03T00:53:37.000Z | print(int('2') + 3) | 19 | 19 | 0.526316 | 4 | 19 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0.105263 | 19 | 1 | 19 | 19 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
efeeed0d3bc237a7efa5306749d7e1adea7690ff | 89 | py | Python | faker/providers/internet/en_US/__init__.py | StabbarN/faker | 57882ff73255cb248d8f995b2abfce5cfee45ab3 | [
"MIT"
] | 12,077 | 2015-01-01T18:30:07.000Z | 2022-03-31T23:22:01.000Z | faker/providers/internet/en_US/__init__.py | StabbarN/faker | 57882ff73255cb248d8f995b2abfce5cfee45ab3 | [
"MIT"
] | 1,306 | 2015-01-03T05:18:55.000Z | 2022-03-31T02:43:04.000Z | faker/providers/internet/en_US/__init__.py | StabbarN/faker | 57882ff73255cb248d8f995b2abfce5cfee45ab3 | [
"MIT"
] | 1,855 | 2015-01-08T14:20:10.000Z | 2022-03-25T17:23:32.000Z | from .. import Provider as InternetProvider
class Provider(InternetProvider):
pass
| 14.833333 | 43 | 0.775281 | 9 | 89 | 7.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 44 | 17.8 | 0.932432 | 0 | 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 |
ef349aa77e219103ce1b753873d754488fdbca57 | 9,079 | py | Python | tests/test_ircmessage.py | FujiMakoto/IRC-Message-Formatter | 832b705d192ebe9091acb552076a776efa80877c | [
"Unlicense",
"MIT-0",
"MIT"
] | 5 | 2015-11-18T13:11:56.000Z | 2019-06-30T14:08:08.000Z | tests/test_ircmessage.py | FujiMakoto/IRC-Message-Formatter | 832b705d192ebe9091acb552076a776efa80877c | [
"Unlicense",
"MIT-0",
"MIT"
] | 2 | 2020-02-04T07:42:34.000Z | 2020-06-07T01:45:51.000Z | tests/test_ircmessage.py | FujiMakoto/IRC-Message-Formatter | 832b705d192ebe9091acb552076a776efa80877c | [
"Unlicense",
"MIT-0",
"MIT"
] | 5 | 2016-10-23T06:58:29.000Z | 2021-05-01T17:47:02.000Z | from .config import IrcMessageTestCase
import ircmessage
class AttributeTests(IrcMessageTestCase):
"""
Basic attribute code tests
"""
def test_bold_with_reset(self):
message = ircmessage.style('Hello, world!', bold=True)
self.assertEqual(message, '\x02Hello, world!\x0F')
def test_... | 42.227907 | 120 | 0.66395 | 1,024 | 9,079 | 5.805664 | 0.083984 | 0.094197 | 0.181665 | 0.227082 | 0.899579 | 0.832632 | 0.787889 | 0.506308 | 0.456855 | 0.40471 | 0 | 0.037157 | 0.184822 | 9,079 | 214 | 121 | 42.425234 | 0.766113 | 0.004736 | 0 | 0.304054 | 0 | 0 | 0.234981 | 0.007662 | 0 | 0 | 0 | 0 | 0.378378 | 1 | 0.209459 | false | 0 | 0.013514 | 0 | 0.243243 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ef635ca4cc16b1f0355e9eb705ed395edd560cc2 | 24,352 | py | Python | DeepSaki/layers/sub_model_composites.py | sascha-kirch/DeepSaki | cfe6bd6537a2b0793d4db4041f2efb37d480cb4c | [
"MIT"
] | 3 | 2021-12-23T09:08:19.000Z | 2022-01-31T20:27:27.000Z | DeepSaki/layers/sub_model_composites.py | sascha-kirch/DeepSaki | cfe6bd6537a2b0793d4db4041f2efb37d480cb4c | [
"MIT"
] | 1 | 2022-01-16T21:44:15.000Z | 2022-01-16T21:44:15.000Z | DeepSaki/layers/sub_model_composites.py | SaKi1309/DeepSaki | 31c9c7ec86b1797abc23207c2a66cc66272f81fd | [
"MIT"
] | null | null | null | import tensorflow as tf
import DeepSaki.layers
class Encoder(tf.keras.layers.Layer):
'''
Encoder sub-model combines convolutional blocks with down sample blocks. The spatial width is halfed with every level while the channel depth is doubled.
args:
- number_of_levels (optional, default:3): number of conv2D -... | 57.706161 | 449 | 0.730946 | 2,781 | 24,352 | 6.263934 | 0.091694 | 0.046498 | 0.017681 | 0.032032 | 0.799483 | 0.780941 | 0.76217 | 0.741045 | 0.714524 | 0.676808 | 0 | 0.011443 | 0.185365 | 24,352 | 421 | 450 | 57.84323 | 0.86667 | 0.370811 | 0 | 0.725166 | 0 | 0 | 0.062822 | 0.010822 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039735 | false | 0 | 0.006623 | 0 | 0.07947 | 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 |
32576549095cfa6eb04a2b7b770738910b48e0be | 28 | py | Python | code/todoist/__init__.py | vijai747/ToDoistDashboard | 793de52c5774b30ea64855a41d85098e98ebbc23 | [
"MIT"
] | 2 | 2016-07-25T22:59:00.000Z | 2017-01-02T00:55:07.000Z | code/todoist/__init__.py | vijai747/ToDoistDashboard | 793de52c5774b30ea64855a41d85098e98ebbc23 | [
"MIT"
] | 2 | 2017-09-30T22:33:16.000Z | 2017-09-30T23:16:42.000Z | code/todoist/__init__.py | vijai747/ToDoistDashboard | 793de52c5774b30ea64855a41d85098e98ebbc23 | [
"MIT"
] | null | null | null | from .api import TodoistAPI
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
32740e68a3702b1b673cb7cc0c7e82fd08e6b6df | 47 | py | Python | src/plotting/pages/upload/upload_data.py | elric97/CmyPlot | ce4490d3075b2c6cb47ad8eb5f35add2e2b66a3f | [
"MIT"
] | 1 | 2021-11-06T18:30:48.000Z | 2021-11-06T18:30:48.000Z | src/plotting/pages/upload/upload_data.py | freakNewton/CmyPlot | bc940a219137e9252e37655afef7435d6f913178 | [
"MIT"
] | 30 | 2021-09-03T21:46:54.000Z | 2021-09-22T18:36:10.000Z | src/plotting/pages/upload/upload_data.py | freakNewton/CmyPlot | bc940a219137e9252e37655afef7435d6f913178 | [
"MIT"
] | 11 | 2021-09-26T16:09:42.000Z | 2021-11-03T03:25:26.000Z | # TODO eventually pull data from user database
| 23.5 | 46 | 0.808511 | 7 | 47 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 1 | 47 | 47 | 0.974359 | 0.93617 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
32798f47eaf81b64ac3fce59d665a7a7f103e36a | 28 | py | Python | model/__init__.py | JiwonCocoder/label_transformer | 165ce614269b29902cb9689b73c02fe53b9ff1f5 | [
"MIT"
] | 41 | 2021-02-03T04:55:24.000Z | 2022-02-03T12:14:48.000Z | model/__init__.py | yuanwei0908/FeatMatch | 9e7a20a5e1b4b1602b0c846bc2d5460454fa5741 | [
"MIT"
] | 1 | 2021-09-10T16:45:23.000Z | 2021-09-11T07:27:55.000Z | model/__init__.py | yuanwei0908/FeatMatch | 9e7a20a5e1b4b1602b0c846bc2d5460454fa5741 | [
"MIT"
] | 5 | 2021-02-04T01:29:04.000Z | 2021-07-05T03:46:01.000Z | from .model import FeatMatch | 28 | 28 | 0.857143 | 4 | 28 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 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 |
327f5b396996b81bd7ffa0e86da42074a39933fd | 198 | py | Python | solutions_automation/vdc/dashboard/taiga.py | threefoldtech/js-sdk | 811f783ac34a60225175bab2d806802a87b9d5c7 | [
"Apache-2.0"
] | 13 | 2020-09-02T09:05:08.000Z | 2022-03-12T02:43:24.000Z | solutions_automation/vdc/dashboard/taiga.py | threefoldtech/js-sdk | 811f783ac34a60225175bab2d806802a87b9d5c7 | [
"Apache-2.0"
] | 1,998 | 2020-06-15T11:46:10.000Z | 2022-03-24T22:12:41.000Z | solutions_automation/vdc/dashboard/taiga.py | threefoldtech/js-sdk | 811f783ac34a60225175bab2d806802a87b9d5c7 | [
"Apache-2.0"
] | 8 | 2020-09-29T06:50:35.000Z | 2021-06-14T03:30:52.000Z | from solutions_automation.vdc.dashboard.common import CommonChatBot
from jumpscale.packages.vdc_dashboard.chats.taiga import TaigaDeploy
class TaigaAutomated(CommonChatBot, TaigaDeploy):
pass
| 28.285714 | 68 | 0.853535 | 22 | 198 | 7.590909 | 0.727273 | 0.143713 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 198 | 6 | 69 | 33 | 0.927778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
32b8f8f2bcd4df08eb7798bea52da0553862af7e | 225 | py | Python | assignments/assignment4/jupyter_notebook_config.py | Seraphirn/dlcourse_ai | f352fab5fd2fe28a063753947130e4b8b8aea14b | [
"MIT"
] | null | null | null | assignments/assignment4/jupyter_notebook_config.py | Seraphirn/dlcourse_ai | f352fab5fd2fe28a063753947130e4b8b8aea14b | [
"MIT"
] | null | null | null | assignments/assignment4/jupyter_notebook_config.py | Seraphirn/dlcourse_ai | f352fab5fd2fe28a063753947130e4b8b8aea14b | [
"MIT"
] | null | null | null | ## Reload the webapp when changes are made to any Python src files.
# Default: False
c.NotebookApp.autoreload = True
# c.NotebookApp.browser = 'google-chrome'
# c.NotebookApp.browser = 'google-chrome --user-data-dir=/tmp/'
| 32.142857 | 67 | 0.737778 | 32 | 225 | 5.1875 | 0.78125 | 0.216867 | 0.228916 | 0.301205 | 0.373494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 225 | 6 | 68 | 37.5 | 0.851282 | 0.808889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
32c1be5fec19deb386b588745a7a265145f5e529 | 26 | py | Python | guardianapi/__init__.py | ankur-chouragade/openplatform-python | 18b5243c77ecf1060993d43688a156b44acf2880 | [
"BSD-2-Clause"
] | 1 | 2016-05-09T04:17:30.000Z | 2016-05-09T04:17:30.000Z | guardianapi/__init__.py | ankur-chouragade/openplatform-python | 18b5243c77ecf1060993d43688a156b44acf2880 | [
"BSD-2-Clause"
] | null | null | null | guardianapi/__init__.py | ankur-chouragade/openplatform-python | 18b5243c77ecf1060993d43688a156b44acf2880 | [
"BSD-2-Clause"
] | 1 | 2020-01-09T02:52:18.000Z | 2020-01-09T02:52:18.000Z | from client import Client
| 13 | 25 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 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 |
08be1edf359fb20ca8a1febbf45971391d2aeb59 | 186 | py | Python | django_sourcebook/tests/test_foia_request.py | maxblee/django_sourcebook | f90ca62cfe43c875a485f783ca1a06be40d9bbc5 | [
"MIT"
] | null | null | null | django_sourcebook/tests/test_foia_request.py | maxblee/django_sourcebook | f90ca62cfe43c875a485f783ca1a06be40d9bbc5 | [
"MIT"
] | null | null | null | django_sourcebook/tests/test_foia_request.py | maxblee/django_sourcebook | f90ca62cfe43c875a485f783ca1a06be40d9bbc5 | [
"MIT"
] | null | null | null | from sourcebook.foia_sender import FoiaHandler
from sourcebook.models import FoiaRequestBase, FoiaRequestItem
from django import test
class FoiaTemplateTests(test.TestCase):
pass
| 20.666667 | 62 | 0.83871 | 21 | 186 | 7.380952 | 0.714286 | 0.180645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123656 | 186 | 8 | 63 | 23.25 | 0.95092 | 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 |
08c0f98ce69b6d0268e92cb5a0db28db791946d7 | 178 | py | Python | config/views/__init__.py | 0x213F/tip-jar | b9b2dd2f62d1780ed2ef10bbac6bdd9f5f883a6e | [
"MIT"
] | null | null | null | config/views/__init__.py | 0x213F/tip-jar | b9b2dd2f62d1780ed2ef10bbac6bdd9f5f883a6e | [
"MIT"
] | 8 | 2020-11-20T05:57:10.000Z | 2020-12-08T17:11:54.000Z | config/views/__init__.py | 0x213F/musician-tips | b9b2dd2f62d1780ed2ef10bbac6bdd9f5f883a6e | [
"MIT"
] | null | null | null | from .cart_view import MusicianCartView
from .checkout_view import MusicianCheckoutView
from .choose_view import MusicianChooseView
from .receipt_view import MusicianReceiptView
| 35.6 | 47 | 0.88764 | 20 | 178 | 7.7 | 0.55 | 0.25974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089888 | 178 | 4 | 48 | 44.5 | 0.950617 | 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 |
08d278b717b0ea3b860c9f3b2dbaf051b8665b05 | 148 | py | Python | lang/py/cookbook/v2/source/cb2_9_7_exm_2.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_9_7_exm_2.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_9_7_exm_2.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | import sys
if sys.version >= '2.4':
## insert 2.4 definition of get_local_storage here
else:
## insert 2.3 definition of get_local_storage here
| 24.666667 | 52 | 0.736486 | 26 | 148 | 4.038462 | 0.576923 | 0.038095 | 0.285714 | 0.380952 | 0.590476 | 0.590476 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.168919 | 148 | 5 | 53 | 29.6 | 0.804878 | 0.641892 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
08d98493b79d5e9b9ab9af13a2ddff22d8baa76b | 71 | py | Python | kv_config_reader/__init__.py | liuwilliamBUPT/bupt-ncov-report | 6b8f025676a4b39890f81171f457505bcfcf750b | [
"MIT"
] | 8 | 2020-09-01T12:45:33.000Z | 2020-11-02T01:37:01.000Z | kv_config_reader/__init__.py | liuwilliamBUPT/bupt-ncov-report | 6b8f025676a4b39890f81171f457505bcfcf750b | [
"MIT"
] | null | null | null | kv_config_reader/__init__.py | liuwilliamBUPT/bupt-ncov-report | 6b8f025676a4b39890f81171f457505bcfcf750b | [
"MIT"
] | 2 | 2020-09-03T02:02:42.000Z | 2021-12-11T09:11:21.000Z | from .filler import *
from .predef import *
from .public_util import *
| 17.75 | 26 | 0.746479 | 10 | 71 | 5.2 | 0.6 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169014 | 71 | 3 | 27 | 23.666667 | 0.881356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
08f1596a6c334b8509ed86f3cadb43d0a56fdd36 | 25 | py | Python | lf3py/data/config.py | rog-works/lambda-fw | 715b36fc2d8d0ea0388aa4ac1336dc8cd5543778 | [
"CNRI-Python"
] | null | null | null | lf3py/data/config.py | rog-works/lambda-fw | 715b36fc2d8d0ea0388aa4ac1336dc8cd5543778 | [
"CNRI-Python"
] | 15 | 2020-12-05T13:52:13.000Z | 2020-12-19T10:14:40.000Z | lf3py/data/config.py | rog-works/lambda-fw | 715b36fc2d8d0ea0388aa4ac1336dc8cd5543778 | [
"CNRI-Python"
] | null | null | null | class Config(dict): pass
| 12.5 | 24 | 0.76 | 4 | 25 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
3eb24e561c99ccd825b8b54d0c57dfb678a067a5 | 202 | py | Python | Framework/ResourceManagement/ImageLoader.py | EpicTofuu/Froggers | 0395ef801fe11a7881fd32fd570bf3135a4a761f | [
"MIT"
] | 1 | 2020-11-17T04:32:55.000Z | 2020-11-17T04:32:55.000Z | Framework/ResourceManagement/ImageLoader.py | EpicTofuu/Froggers | 0395ef801fe11a7881fd32fd570bf3135a4a761f | [
"MIT"
] | null | null | null | Framework/ResourceManagement/ImageLoader.py | EpicTofuu/Froggers | 0395ef801fe11a7881fd32fd570bf3135a4a761f | [
"MIT"
] | null | null | null | import pygame
# loads image formats and returns surfaces
class ImageLoader:
def __init__(self):
pass
def get_asset (self, path):
return pygame.image.load (path).convert_alpha() | 22.444444 | 55 | 0.693069 | 26 | 202 | 5.153846 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227723 | 202 | 9 | 55 | 22.444444 | 0.858974 | 0.19802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0.166667 | 0.833333 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
f5d57001ac35c38745c4272f375adbe264fb8e20 | 119 | py | Python | mlddec/__init__.py | hjuinj/mlddec | c85df0952bfef3f652c7714067ed38385e877cd1 | [
"MIT"
] | 1 | 2019-09-27T02:00:50.000Z | 2019-09-27T02:00:50.000Z | mlddec/__init__.py | CHEMPHY/mlddec | 92679b3e7552013d8dec3d75fa70d05dbb9f4527 | [
"MIT"
] | null | null | null | mlddec/__init__.py | CHEMPHY/mlddec | 92679b3e7552013d8dec3d75fa70d05dbb9f4527 | [
"MIT"
] | null | null | null | from .utils import load_models, get_charges, add_charges_to_mol, visualise_charges, visualize_charges, validate_models
| 59.5 | 118 | 0.87395 | 17 | 119 | 5.647059 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07563 | 119 | 1 | 119 | 119 | 0.872727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eb2071e6fce69a06c177007f0f10a3f447ff2d93 | 110 | py | Python | requirements_manager/errors.py | MonolithAILtd/monolith-filemanager | 2369e244e4d8a48890f55d00419a83001a5c6c40 | [
"Apache-2.0"
] | 3 | 2021-06-02T09:45:00.000Z | 2022-02-01T14:30:01.000Z | requirements_manager/errors.py | MonolithAILtd/monolith-filemanager | 2369e244e4d8a48890f55d00419a83001a5c6c40 | [
"Apache-2.0"
] | 3 | 2021-05-26T11:46:28.000Z | 2021-11-04T10:14:42.000Z | requirements_manager/errors.py | MonolithAILtd/monolith-filemanager | 2369e244e4d8a48890f55d00419a83001a5c6c40 | [
"Apache-2.0"
] | 2 | 2021-06-04T15:02:14.000Z | 2021-09-03T09:26:45.000Z | class PipfilePathDoesNotExistError(Exception):
pass
class NoPackagesInPipfileError(Exception):
pass
| 15.714286 | 46 | 0.8 | 8 | 110 | 11 | 0.625 | 0.295455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 110 | 6 | 47 | 18.333333 | 0.93617 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 6 |
de284e918fe459f0fa9eefa3d9fd26745955e636 | 210 | py | Python | torchflare/batch_mixers/__init__.py | earlbabson/torchflare | 15db06d313a53a3ec4640869335ba87730562b28 | [
"Apache-2.0"
] | 1 | 2021-04-28T19:57:57.000Z | 2021-04-28T19:57:57.000Z | torchflare/batch_mixers/__init__.py | earlbabson/torchflare | 15db06d313a53a3ec4640869335ba87730562b28 | [
"Apache-2.0"
] | null | null | null | torchflare/batch_mixers/__init__.py | earlbabson/torchflare | 15db06d313a53a3ec4640869335ba87730562b28 | [
"Apache-2.0"
] | null | null | null | """Imports for mixers."""
from torchflare.batch_mixers.mixers import CustomCollate, MixCriterion, cutmix, get_collate_fn, mixup
__all__ = ["CustomCollate", "MixCriterion", "cutmix", "get_collate_fn", "mixup"]
| 42 | 101 | 0.766667 | 24 | 210 | 6.333333 | 0.625 | 0.328947 | 0.407895 | 0.447368 | 0.631579 | 0.631579 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0.090476 | 210 | 4 | 102 | 52.5 | 0.795812 | 0.090476 | 0 | 0 | 0 | 0 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
de71bc03890c2672bebf9de8a7304b26b3513897 | 78 | py | Python | backend/__init__.py | tienthegainz/Face_for_Rice | 7e126189fa3513407c3d56c48320e8d52c61e38e | [
"Apache-2.0"
] | null | null | null | backend/__init__.py | tienthegainz/Face_for_Rice | 7e126189fa3513407c3d56c48320e8d52c61e38e | [
"Apache-2.0"
] | 5 | 2021-06-08T21:25:34.000Z | 2022-02-19T01:29:20.000Z | backend/__init__.py | tienthegainz/Face_for_Rice | 7e126189fa3513407c3d56c48320e8d52c61e38e | [
"Apache-2.0"
] | 2 | 2020-06-08T14:43:55.000Z | 2020-08-25T07:28:32.000Z | from face_detector import FaceDetector
from face_searcher import FaceSearcher
| 26 | 38 | 0.897436 | 10 | 78 | 6.8 | 0.7 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 78 | 2 | 39 | 39 | 0.971429 | 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 |
de85bcb6272d49e87e7c6bcd0e446799dc377a58 | 369 | py | Python | chainercb/policies/__init__.py | rjagerman/chainercb | 72f18146828e7ec3dbaec210ab2f41fe25033e42 | [
"MIT"
] | 1 | 2019-02-13T21:14:33.000Z | 2019-02-13T21:14:33.000Z | chainercb/policies/__init__.py | rjagerman/chainercb | 72f18146828e7ec3dbaec210ab2f41fe25033e42 | [
"MIT"
] | null | null | null | chainercb/policies/__init__.py | rjagerman/chainercb | 72f18146828e7ec3dbaec210ab2f41fe25033e42 | [
"MIT"
] | null | null | null | from chainercb.policies.epsilon_greedy import EpsilonGreedy
from chainercb.policies.exploit import Exploit
from chainercb.policies.explore import Explore
from chainercb.policies.softmax import Softmax
from chainercb.policies.linear_ucb import LinUCBPolicy
from chainercb.policies.linear_thompson import ThompsonPolicy
fr... | 52.714286 | 61 | 0.888889 | 46 | 369 | 7.043478 | 0.369565 | 0.280864 | 0.453704 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 369 | 7 | 62 | 52.714286 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
debf0d83732668c4a9fcf5b694b968a634e0fae4 | 47 | py | Python | gym_ds3/envs/__init__.py | EpiSci/SoCRATES | 901a896c5a765e3cb56f290188cde71c8707192d | [
"MIT"
] | 6 | 2021-09-24T13:40:39.000Z | 2022-02-14T02:59:52.000Z | gym_ds3/envs/__init__.py | anonymous1958342/DS3Gym | 71fbff5ea92ae9349ad440e2c25497d1d363e97b | [
"MIT"
] | null | null | null | gym_ds3/envs/__init__.py | anonymous1958342/DS3Gym | 71fbff5ea92ae9349ad440e2c25497d1d363e97b | [
"MIT"
] | null | null | null | from gym_ds3.envs.core.ds3_env import DS3GymEnv | 47 | 47 | 0.87234 | 9 | 47 | 4.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 0.06383 | 47 | 1 | 47 | 47 | 0.818182 | 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 |
dee643dabb9bc40614d1669576053bdb0c520ed6 | 10,206 | py | Python | tests/plugins/polling/generic/test_plugin_polling_ping.py | mdrbh/panoptes | 63a27ab60ce4315ccd6ee2f6d3aed3cdb74d888c | [
"Apache-2.0"
] | 86 | 2018-10-01T18:13:24.000Z | 2021-07-29T00:04:56.000Z | tests/plugins/polling/generic/test_plugin_polling_ping.py | mdrbh/panoptes | 63a27ab60ce4315ccd6ee2f6d3aed3cdb74d888c | [
"Apache-2.0"
] | 164 | 2018-10-03T02:01:15.000Z | 2021-04-26T16:07:14.000Z | tests/plugins/polling/generic/test_plugin_polling_ping.py | mdrbh/panoptes | 63a27ab60ce4315ccd6ee2f6d3aed3cdb74d888c | [
"Apache-2.0"
] | 27 | 2018-10-03T22:43:06.000Z | 2021-06-17T23:41:51.000Z | import unittest
import logging
import json
from mock import Mock, patch, create_autospec
from yahoo_panoptes.framework.utilities.helpers import ordered
from yahoo_panoptes.framework.context import PanoptesContext
from yahoo_panoptes.framework.resources import PanoptesResource
from yahoo_panoptes.framework.plugins.cont... | 36.45 | 107 | 0.614345 | 1,157 | 10,206 | 5.109767 | 0.113224 | 0.06157 | 0.086773 | 0.081191 | 0.835081 | 0.802436 | 0.802436 | 0.801252 | 0.782307 | 0.782307 | 0 | 0.051185 | 0.276406 | 10,206 | 279 | 108 | 36.580645 | 0.749357 | 0 | 0 | 0.624506 | 0 | 0.007905 | 0.320008 | 0.112287 | 0 | 0 | 0 | 0 | 0.019763 | 1 | 0.023715 | false | 0 | 0.039526 | 0 | 0.067194 | 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 |
dee7d686b0d81e8fb4936bd6364f8c0a98daa179 | 74 | py | Python | Statistics/Skewness.py | sng23/miniproject2 | 3784cc1f92f85211676de9bc2dd914313103747a | [
"MIT"
] | null | null | null | Statistics/Skewness.py | sng23/miniproject2 | 3784cc1f92f85211676de9bc2dd914313103747a | [
"MIT"
] | null | null | null | Statistics/Skewness.py | sng23/miniproject2 | 3784cc1f92f85211676de9bc2dd914313103747a | [
"MIT"
] | 1 | 2020-03-05T00:26:14.000Z | 2020-03-05T00:26:14.000Z | import scipy.stats
def skewness(data):
return scipy.stats.skew(data) | 14.8 | 33 | 0.743243 | 11 | 74 | 5 | 0.727273 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148649 | 74 | 5 | 33 | 14.8 | 0.873016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
a0e77f69de2370d7779bafb20db0e97e6a5083b4 | 46 | py | Python | dbdev_testproject/dbdev_testproject/production/settings.py | tworide/django_dbdev | 9313e3ce39c64634577f4a63f11028cd01bb7b10 | [
"BSD-3-Clause"
] | null | null | null | dbdev_testproject/dbdev_testproject/production/settings.py | tworide/django_dbdev | 9313e3ce39c64634577f4a63f11028cd01bb7b10 | [
"BSD-3-Clause"
] | 4 | 2015-04-28T07:14:18.000Z | 2018-02-28T18:53:25.000Z | dbdev_testproject/dbdev_testproject/production/settings.py | tworide/django_dbdev | 9313e3ce39c64634577f4a63f11028cd01bb7b10 | [
"BSD-3-Clause"
] | 4 | 2015-01-05T18:58:30.000Z | 2019-04-08T11:06:44.000Z | from dbdev_testproject.settings_base import *
| 23 | 45 | 0.869565 | 6 | 46 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.904762 | 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 |
a0fb5a513c351194183fa6fa1f22ab7f17381276 | 207 | py | Python | ohsome2label/__init__.py | iboates/ohsome2label | a98c8716c6e40d322a7fdb310d119989c1ce216d | [
"MIT"
] | 38 | 2020-07-05T10:13:05.000Z | 2022-03-29T02:42:58.000Z | ohsome2label/__init__.py | iboates/ohsome2label | a98c8716c6e40d322a7fdb310d119989c1ce216d | [
"MIT"
] | 8 | 2020-07-23T13:03:26.000Z | 2022-01-24T17:55:25.000Z | ohsome2label/__init__.py | iboates/ohsome2label | a98c8716c6e40d322a7fdb310d119989c1ce216d | [
"MIT"
] | 3 | 2020-11-11T06:32:04.000Z | 2021-06-13T17:28:37.000Z | __version__ = '1.1.2'
from .config import *
from .utils import *
from .label import *
from .tile import *
from .visualize import *
from .palette import palette
from .overpass import *
from .quality import *
| 20.7 | 28 | 0.7343 | 29 | 207 | 5.103448 | 0.448276 | 0.405405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017442 | 0.169082 | 207 | 9 | 29 | 23 | 0.843023 | 0 | 0 | 0 | 0 | 0 | 0.024155 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.111111 | 0.888889 | 0 | 0.888889 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
9d081a3c368504e6f2039f1cb5ce1483ca154fde | 103 | py | Python | __init__.py | cxd/wave_weather_data_python | 3b50137f6f8b185dd5f5672feb9645e179bc1490 | [
"MIT"
] | null | null | null | __init__.py | cxd/wave_weather_data_python | 3b50137f6f8b185dd5f5672feb9645e179bc1490 | [
"MIT"
] | null | null | null | __init__.py | cxd/wave_weather_data_python | 3b50137f6f8b185dd5f5672feb9645e179bc1490 | [
"MIT"
] | null | null | null | from lib.ReadCsv import ReadCsv
from lib.ReadData import ReadData
from lib.ReadConfig import ReadConfig | 34.333333 | 37 | 0.864078 | 15 | 103 | 5.933333 | 0.4 | 0.235955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106796 | 103 | 3 | 37 | 34.333333 | 0.967391 | 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 |
9d270403673652afbf5279688e5bc0302b049b37 | 152 | py | Python | aliyunlogcli/exceptions.py | lichengseu/aliyun-log-cli | 3ada08feda5d07638a00030b2dd402f2f23a6bcd | [
"MIT"
] | 53 | 2017-11-22T07:06:17.000Z | 2022-02-22T02:07:32.000Z | aliyunlogcli/exceptions.py | lichengseu/aliyun-log-cli | 3ada08feda5d07638a00030b2dd402f2f23a6bcd | [
"MIT"
] | 66 | 2017-11-23T04:27:56.000Z | 2022-01-10T07:17:06.000Z | aliyunlogcli/exceptions.py | lichengseu/aliyun-log-cli | 3ada08feda5d07638a00030b2dd402f2f23a6bcd | [
"MIT"
] | 15 | 2017-11-23T08:35:51.000Z | 2022-02-15T02:44:07.000Z | class CLIExceptionBase(Exception): pass
class ConfigurationError(CLIExceptionBase): pass
class IncompleteAccountInfoError(ConfigurationError): pass
| 19 | 58 | 0.855263 | 12 | 152 | 10.833333 | 0.5 | 0.138462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085526 | 152 | 7 | 59 | 21.714286 | 0.935252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
9d2f013e2aa59699d4429f622ae7c6218cbd6bd8 | 8,222 | py | Python | snakes/python/summer-league-2022/src/tests.py | es-na-battlesnake/snakes | b18eedeb538cc4cbf1b1f0ed9e7334471e469c48 | [
"MIT"
] | 3 | 2022-01-31T19:11:35.000Z | 2022-02-01T22:37:24.000Z | snakes/python/summer-league-2022/src/tests.py | es-na-battlesnake/snakes | b18eedeb538cc4cbf1b1f0ed9e7334471e469c48 | [
"MIT"
] | 60 | 2022-01-31T17:53:01.000Z | 2022-03-30T22:35:50.000Z | snakes/python/summer-league-2022/src/tests.py | es-na-battlesnake/snakes | b18eedeb538cc4cbf1b1f0ed9e7334471e469c48 | [
"MIT"
] | null | null | null | """
Starter Unit Tests using the built-in Python unittest library.
See https://docs.python.org/3/library/unittest.html
You can expand these to cover more cases!
To run the unit tests, use the following command in your terminal,
in the folder where this file exists:
python src/tests.py -v
"""
import unittest
import... | 34.401674 | 97 | 0.519582 | 1,097 | 8,222 | 3.692799 | 0.090246 | 0.122192 | 0.028141 | 0.027647 | 0.849667 | 0.811405 | 0.779314 | 0.770674 | 0.746482 | 0.733646 | 0 | 0.035108 | 0.275967 | 8,222 | 239 | 98 | 34.401674 | 0.645389 | 0.075651 | 0 | 0.535433 | 0 | 0 | 0.069148 | 0 | 0 | 0 | 0 | 0 | 0.23622 | 1 | 0.11811 | false | 0 | 0.015748 | 0 | 0.165354 | 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 |
19d0dadf1374efc4cd17f05d6419891d018a279e | 181 | py | Python | whitelist.py | jshwi/gitspy | 0c3f29cc74a3d1a52c64679f54dd97a41514491b | [
"MIT"
] | null | null | null | whitelist.py | jshwi/gitspy | 0c3f29cc74a3d1a52c64679f54dd97a41514491b | [
"MIT"
] | 9 | 2022-01-19T19:28:17.000Z | 2022-03-03T19:33:28.000Z | whitelist.py | jshwi/gitspy | 0c3f29cc74a3d1a52c64679f54dd97a41514491b | [
"MIT"
] | null | null | null | fixture_git # unused function (tests/conftest.py:44)
fixture_mock_environment # unused function (tests/conftest.py:15)
fixture_setup_git # unused function (tests/conftest.py:29)
| 45.25 | 66 | 0.801105 | 26 | 181 | 5.384615 | 0.5 | 0.3 | 0.407143 | 0.578571 | 0.664286 | 0.457143 | 0 | 0 | 0 | 0 | 0 | 0.03681 | 0.099448 | 181 | 3 | 67 | 60.333333 | 0.822086 | 0.640884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 |
c20c36a60bf0764ba4a68c60b87db0642f33f1ac | 161 | py | Python | handlers/users/__init__.py | YoshlikMedia/quiz-bot | 2f694091f032dd31011f03351fe3f57a5b15af09 | [
"Apache-2.0"
] | null | null | null | handlers/users/__init__.py | YoshlikMedia/quiz-bot | 2f694091f032dd31011f03351fe3f57a5b15af09 | [
"Apache-2.0"
] | null | null | null | handlers/users/__init__.py | YoshlikMedia/quiz-bot | 2f694091f032dd31011f03351fe3f57a5b15af09 | [
"Apache-2.0"
] | null | null | null | from . import help
from . import start
from . import add_quiz
from . import get_poll
from . import chooser
from . import remove_keyboard
from . import send_quiz
| 20.125 | 29 | 0.782609 | 25 | 161 | 4.88 | 0.48 | 0.57377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 161 | 7 | 30 | 23 | 0.917293 | 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 |
c23367d5c6adbc8f60708cb4fdc80e3a809cadd5 | 28 | py | Python | spiketoolkit/curation/__init__.py | Shawn-Guo-CN/spiketoolkit | 11e60f3cd80c135c62e27538a4e141115a7e27ad | [
"MIT"
] | null | null | null | spiketoolkit/curation/__init__.py | Shawn-Guo-CN/spiketoolkit | 11e60f3cd80c135c62e27538a4e141115a7e27ad | [
"MIT"
] | 5 | 2019-02-15T20:16:43.000Z | 2019-02-27T14:54:08.000Z | spiketoolkit/curation/__init__.py | Shawn-Guo-CN/spiketoolkit | 11e60f3cd80c135c62e27538a4e141115a7e27ad | [
"MIT"
] | 1 | 2019-02-15T14:40:54.000Z | 2019-02-15T14:40:54.000Z | from .curationlist 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 |
dfe8d789b3b98d46a58ea9b5b838812ec050271d | 2,263 | py | Python | adsmutils/tests/test_service.py | nemanjamart/ADSMicroserviceUtils | eb0898c04b3232d42728bc4760b773b3084708c0 | [
"MIT"
] | null | null | null | adsmutils/tests/test_service.py | nemanjamart/ADSMicroserviceUtils | eb0898c04b3232d42728bc4760b773b3084708c0 | [
"MIT"
] | 34 | 2017-11-09T14:59:09.000Z | 2021-02-03T19:40:07.000Z | adsmutils/tests/test_service.py | nemanjamart/ADSMicroserviceUtils | eb0898c04b3232d42728bc4760b773b3084708c0 | [
"MIT"
] | 7 | 2017-11-09T18:33:42.000Z | 2021-09-13T20:43:10.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals, division, print_function
import unittest
import mock
from .base import TestCase, TestCaseDatabase
class TestServices(TestCase):
def test_readiness_probe(self):
'''Tests for the existence of a /ready route, and that it retu... | 37.098361 | 82 | 0.67521 | 309 | 2,263 | 4.799353 | 0.226537 | 0.121376 | 0.129467 | 0.060688 | 0.815914 | 0.815914 | 0.809171 | 0.809171 | 0.809171 | 0.809171 | 0 | 0.010747 | 0.218736 | 2,263 | 60 | 83 | 37.716667 | 0.828054 | 0.288113 | 0 | 0.647059 | 0 | 0 | 0.048303 | 0 | 0 | 0 | 0 | 0 | 0.352941 | 1 | 0.176471 | false | 0 | 0.117647 | 0 | 0.352941 | 0.029412 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a06bfb5f6cc4088ca63dc1aa280860edf86d8609 | 316 | py | Python | tests/lcmap_fakes.py | lcmap/client-py | fc356d9b2917f8e2d0e73048c9bf86982caa6676 | [
"NASA-1.3"
] | null | null | null | tests/lcmap_fakes.py | lcmap/client-py | fc356d9b2917f8e2d0e73048c9bf86982caa6676 | [
"NASA-1.3"
] | null | null | null | tests/lcmap_fakes.py | lcmap/client-py | fc356d9b2917f8e2d0e73048c9bf86982caa6676 | [
"NASA-1.3"
] | null | null | null | class FakeLCMAPHTTP(object):
def __init__(self, fake_response):
self.fake_response = fake_response
def get(self, *args, **kwargs):
return self.fake_response
class FakeLCMAPRESTResponse(object):
def __init__(self, data):
self.data = data
self.result = data["result"]
| 19.75 | 42 | 0.658228 | 36 | 316 | 5.444444 | 0.416667 | 0.244898 | 0.244898 | 0.173469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237342 | 316 | 15 | 43 | 21.066667 | 0.813278 | 0 | 0 | 0 | 0 | 0 | 0.019048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a09da0f19e6c16c9ba97ce1d3a439ecda364aad6 | 931 | py | Python | src/croudtech_python_aws_app_config/tests/redis_config_test.py | CroudTech/croudtech-python-aws-app-config | 5ffb6f6ee5e953f55f2dfc3dc5751514803a3373 | [
"MIT"
] | null | null | null | src/croudtech_python_aws_app_config/tests/redis_config_test.py | CroudTech/croudtech-python-aws-app-config | 5ffb6f6ee5e953f55f2dfc3dc5751514803a3373 | [
"MIT"
] | null | null | null | src/croudtech_python_aws_app_config/tests/redis_config_test.py | CroudTech/croudtech-python-aws-app-config | 5ffb6f6ee5e953f55f2dfc3dc5751514803a3373 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import pytest
import json
from croudtech_python_aws_app_config.redis_config import RedisConfig
__author__ = "Jim Robinson"
__copyright__ = "Jim Robinson"
def test_redis_config():
redis_config_instance = RedisConfig(
redis_host="127.0.0.1", redis_port=6379, app_name="test_app", en... | 26.6 | 88 | 0.712137 | 120 | 931 | 5.1 | 0.275 | 0.191176 | 0.186275 | 0.147059 | 0.753268 | 0.753268 | 0.753268 | 0.753268 | 0.753268 | 0.753268 | 0 | 0.046174 | 0.185822 | 931 | 34 | 89 | 27.382353 | 0.761214 | 0.022556 | 0 | 0.416667 | 0 | 0 | 0.096916 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.041667 | false | 0 | 0.125 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
26074f3c319c2b96f740231dc054eebfa2823f9d | 33 | py | Python | glue/plugins/tools/pv_slicer/qt/__init__.py | sergiopasra/glue | c25a217a122a11818382672c99cb21f57a30636f | [
"BSD-3-Clause"
] | 1 | 2019-12-17T07:58:35.000Z | 2019-12-17T07:58:35.000Z | glue/plugins/tools/pv_slicer/qt/__init__.py | sergiopasra/glue | c25a217a122a11818382672c99cb21f57a30636f | [
"BSD-3-Clause"
] | null | null | null | glue/plugins/tools/pv_slicer/qt/__init__.py | sergiopasra/glue | c25a217a122a11818382672c99cb21f57a30636f | [
"BSD-3-Clause"
] | 1 | 2019-08-04T14:10:12.000Z | 2019-08-04T14:10:12.000Z | from .pv_slicer import * # noqa
| 16.5 | 32 | 0.69697 | 5 | 33 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 33 | 1 | 33 | 33 | 0.846154 | 0.121212 | 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 |
261d25351c60f9e0e700ac6b5996e4787f07b0b5 | 201 | py | Python | PythonClient/reinforcement_learning/airgym/envs/__init__.py | frietz58/AirSim | b960ac10bf1d2b80bf4fc5e9b32c94d2a71e11d8 | [
"MIT"
] | null | null | null | PythonClient/reinforcement_learning/airgym/envs/__init__.py | frietz58/AirSim | b960ac10bf1d2b80bf4fc5e9b32c94d2a71e11d8 | [
"MIT"
] | null | null | null | PythonClient/reinforcement_learning/airgym/envs/__init__.py | frietz58/AirSim | b960ac10bf1d2b80bf4fc5e9b32c94d2a71e11d8 | [
"MIT"
] | null | null | null | from airgym.envs.airsim_env import AirSimEnv
from airgym.envs.car_env import AirSimCarEnv
from airgym.envs.drone_env import AirSimDroneEnv
from airgym.envs.my_simple_drone_env import MyAirSimDroneEnv
| 33.5 | 60 | 0.875622 | 30 | 201 | 5.666667 | 0.466667 | 0.235294 | 0.329412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084577 | 201 | 5 | 61 | 40.2 | 0.923913 | 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 |
2641ba04e6e82394e4473862302135d6525f461f | 197 | py | Python | test_load_model.py | jaekookang/koclip | 5e52ee9c80fb2862bf24ad3cdd4fd1548d56fb13 | [
"Apache-2.0"
] | null | null | null | test_load_model.py | jaekookang/koclip | 5e52ee9c80fb2862bf24ad3cdd4fd1548d56fb13 | [
"Apache-2.0"
] | null | null | null | test_load_model.py | jaekookang/koclip | 5e52ee9c80fb2862bf24ad3cdd4fd1548d56fb13 | [
"Apache-2.0"
] | null | null | null | import os
import requests
import jax
from koclip import load_koclip_custom
os.environ['CUDA_VISIBLE_DEVICES'] = '1'
model, processor = load_koclip_custom("koclip-base", cache_dir='koclip_model') | 21.888889 | 78 | 0.80203 | 29 | 197 | 5.172414 | 0.62069 | 0.133333 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00565 | 0.101523 | 197 | 9 | 78 | 21.888889 | 0.841808 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cd8241432430515b167aca1410c40382fb65db4c | 86 | py | Python | tests/test_user/__init__.py | nknaian/album_recs | b96981befb355261b4c02eadc8690863a1e9b285 | [
"MIT"
] | 2 | 2021-02-11T02:44:42.000Z | 2021-02-25T01:37:48.000Z | tests/test_user/__init__.py | nknaian/album_recs | b96981befb355261b4c02eadc8690863a1e9b285 | [
"MIT"
] | 79 | 2020-10-06T12:47:42.000Z | 2022-03-03T17:56:03.000Z | tests/test_user/__init__.py | nknaian/albumrecs | b96981befb355261b4c02eadc8690863a1e9b285 | [
"MIT"
] | null | null | null | from tests import MusicrecsTestCase
class UserTestCase(MusicrecsTestCase):
pass
| 14.333333 | 38 | 0.813953 | 8 | 86 | 8.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151163 | 86 | 5 | 39 | 17.2 | 0.958904 | 0 | 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 |
f81d1787fa6c16f66e3ca14ee98764003fcd3ac3 | 152 | py | Python | Code/source/objectDetection/__init__.py | Colorado-School-of-Mines-Robotics-Club/SpaceGrantMachineVision | 992a8fd30ac9829ea2c941d758ba63ecd931f0e1 | [
"MIT"
] | null | null | null | Code/source/objectDetection/__init__.py | Colorado-School-of-Mines-Robotics-Club/SpaceGrantMachineVision | 992a8fd30ac9829ea2c941d758ba63ecd931f0e1 | [
"MIT"
] | null | null | null | Code/source/objectDetection/__init__.py | Colorado-School-of-Mines-Robotics-Club/SpaceGrantMachineVision | 992a8fd30ac9829ea2c941d758ba63ecd931f0e1 | [
"MIT"
] | 1 | 2022-02-09T05:13:11.000Z | 2022-02-09T05:13:11.000Z | from . import experimental
from .featureDensity import *
from .objectDetection import *
from .contourDetection import *
from .horizonDetection import *
| 25.333333 | 31 | 0.809211 | 15 | 152 | 8.2 | 0.466667 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 152 | 5 | 32 | 30.4 | 0.931818 | 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 |
f825a0ba159462363ac906c56e9e75c923114453 | 67 | py | Python | src/vw-serving/src/vw_serving/sagemaker/config/__init__.py | yunzhe-tao/sagemaker-rl-container | 36fac941f64006b9356880318066e28e207f56a8 | [
"Apache-2.0"
] | 65 | 2018-12-01T18:04:04.000Z | 2022-02-01T19:44:32.000Z | src/vw-serving/src/vw_serving/sagemaker/config/__init__.py | yunzhe-tao/sagemaker-rl-container | 36fac941f64006b9356880318066e28e207f56a8 | [
"Apache-2.0"
] | 28 | 2019-04-19T20:35:46.000Z | 2021-05-27T23:22:20.000Z | src/vw-serving/src/vw_serving/sagemaker/config/__init__.py | yunzhe-tao/sagemaker-rl-container | 36fac941f64006b9356880318066e28e207f56a8 | [
"Apache-2.0"
] | 38 | 2019-02-09T14:45:15.000Z | 2022-03-11T07:06:21.000Z | from .config_helper import * # noqa
from .status import * # noqa
| 22.333333 | 36 | 0.701493 | 9 | 67 | 5.111111 | 0.666667 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208955 | 67 | 2 | 37 | 33.5 | 0.867925 | 0.134328 | 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 |
f82a0249ab1e8fcf7682ab44555ca790b3c12a25 | 218 | py | Python | webscrapbook/lib/shim/time.py | maxnikulin/PyWebScrapBook | 8bcad37ce1c10969f3980125bf2641e247807f44 | [
"MIT"
] | null | null | null | webscrapbook/lib/shim/time.py | maxnikulin/PyWebScrapBook | 8bcad37ce1c10969f3980125bf2641e247807f44 | [
"MIT"
] | null | null | null | webscrapbook/lib/shim/time.py | maxnikulin/PyWebScrapBook | 8bcad37ce1c10969f3980125bf2641e247807f44 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
"""shim for time
"""
import time
def time_ns():
# time.time_ns is available since Python 3.7
return int(time.time() * 1e9)
if not hasattr(time, 'time_ns'):
time.time_ns = time_ns
| 15.571429 | 48 | 0.655963 | 37 | 218 | 3.72973 | 0.594595 | 0.217391 | 0.217391 | 0.202899 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028736 | 0.201835 | 218 | 13 | 49 | 16.769231 | 0.764368 | 0.357798 | 0 | 0 | 0 | 0 | 0.05303 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0.2 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f87df8502e7aae6214302c2eddcc4316660b964f | 24 | py | Python | src/cython/cyanodbc/__init__.py | cyanodbc/cyanodbc | 6ed49ded15a545edf4b78886868daebc8c5d4874 | [
"MIT"
] | 2 | 2020-07-10T17:36:00.000Z | 2020-08-12T14:57:48.000Z | src/cython/cyanodbc/__init__.py | detule/cyanodbc | e7713c3cc3333a018409ec50ee1e5836a8d85f06 | [
"MIT"
] | 15 | 2018-09-09T12:05:15.000Z | 2020-07-07T12:06:16.000Z | src/cython/cyanodbc/__init__.py | detule/cyanodbc | e7713c3cc3333a018409ec50ee1e5836a8d85f06 | [
"MIT"
] | 1 | 2020-07-02T10:58:07.000Z | 2020-07-02T10:58:07.000Z | from ._cyanodbc import * | 24 | 24 | 0.791667 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 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 |
f8c4a61caf1065372f72d9bf7d044a6f87cb535e | 39 | py | Python | srlearn/__init__.py | rystrauss/symbolic-regression | c0c7e0afbddca30ea77a1d0758962f6349ee222d | [
"MIT"
] | 4 | 2019-12-09T13:35:36.000Z | 2021-12-19T02:13:01.000Z | srlearn/__init__.py | rystrauss/symbolic-regression | c0c7e0afbddca30ea77a1d0758962f6349ee222d | [
"MIT"
] | 1 | 2020-10-08T08:33:51.000Z | 2020-10-09T11:43:22.000Z | srlearn/__init__.py | rystrauss/symbolic-regression | c0c7e0afbddca30ea77a1d0758962f6349ee222d | [
"MIT"
] | 1 | 2019-04-13T20:20:04.000Z | 2019-04-13T20:20:04.000Z | from .genetic import SymbolicRegressor
| 19.5 | 38 | 0.871795 | 4 | 39 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 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 |
3e8b6d663b51a4501a673361492ababcad686e55 | 111 | py | Python | my_functions.py | ricardgo403/literate-barnacle | 1c008f0119eb58f09ac80a3796d97328037fc769 | [
"MIT"
] | null | null | null | my_functions.py | ricardgo403/literate-barnacle | 1c008f0119eb58f09ac80a3796d97328037fc769 | [
"MIT"
] | null | null | null | my_functions.py | ricardgo403/literate-barnacle | 1c008f0119eb58f09ac80a3796d97328037fc769 | [
"MIT"
] | null | null | null | def add(a, b):
return a + b
def sub(a, b):
if a > 0:
return a - b
else:
return 0
| 11.1 | 20 | 0.423423 | 20 | 111 | 2.35 | 0.45 | 0.170213 | 0.340426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.459459 | 111 | 9 | 21 | 12.333333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e43c3e481258adf226fcd1efb41ce831aabcc125 | 33 | py | Python | bodybuilder/__init__.py | alexsanjoseph/bodybuilder | c3e395537d101b07e517ee493a261c2cd3280fb7 | [
"MIT"
] | 1 | 2021-12-16T18:08:22.000Z | 2021-12-16T18:08:22.000Z | bodybuilder/__init__.py | alexsanjoseph/bodybuilder | c3e395537d101b07e517ee493a261c2cd3280fb7 | [
"MIT"
] | null | null | null | bodybuilder/__init__.py | alexsanjoseph/bodybuilder | c3e395537d101b07e517ee493a261c2cd3280fb7 | [
"MIT"
] | null | null | null | from .builder import BodyBuilder
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 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 |
e476f90b5a752bbc444bd71bdc717fa918763916 | 15,343 | py | Python | jason/figure2/plot_figure2.py | ajclaros/rl_legged_walker | 26d0e124ef38045943449c2772b966571117683b | [
"MIT"
] | null | null | null | jason/figure2/plot_figure2.py | ajclaros/rl_legged_walker | 26d0e124ef38045943449c2772b966571117683b | [
"MIT"
] | null | null | null | jason/figure2/plot_figure2.py | ajclaros/rl_legged_walker | 26d0e124ef38045943449c2772b966571117683b | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
from matplotlib.lines import Line2D
import numpy as np
def alpha_adj(color, alpha=0.25):
"""
Adjust alpha of color.
"""
return [color[0], color[1], color[2], alpha]
def improvement_adj(init_fit, final_fit):
"""
Calculate improvement of y over x.
"""
#re... | 34.71267 | 156 | 0.554194 | 2,070 | 15,343 | 3.851208 | 0.08599 | 0.06435 | 0.030105 | 0.037632 | 0.848595 | 0.836678 | 0.824385 | 0.803939 | 0.784747 | 0.769443 | 0 | 0.053604 | 0.287493 | 15,343 | 441 | 157 | 34.791383 | 0.675631 | 0.134002 | 0 | 0.698182 | 0 | 0 | 0.109965 | 0.077117 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007273 | false | 0 | 0.010909 | 0 | 0.025455 | 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 |
e4a28324bddfdac4026349647e84d8c90b4de748 | 121 | py | Python | caos/_cli_commands/version_command.py | caotic-co/caos | 27bdb25486cb37d26a821b7ff21d56526df8d6d2 | [
"Apache-2.0"
] | null | null | null | caos/_cli_commands/version_command.py | caotic-co/caos | 27bdb25486cb37d26a821b7ff21d56526df8d6d2 | [
"Apache-2.0"
] | null | null | null | caos/_cli_commands/version_command.py | caotic-co/caos | 27bdb25486cb37d26a821b7ff21d56526df8d6d2 | [
"Apache-2.0"
] | null | null | null | from caos import __VERSION__
def show_version() -> None:
print("You are using caos version {}".format(__VERSION__)) | 24.2 | 62 | 0.727273 | 16 | 121 | 4.9375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157025 | 121 | 5 | 62 | 24.2 | 0.77451 | 0 | 0 | 0 | 0 | 0 | 0.237705 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 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 |
e4ad5aa6db9340ae13c8c05985546270b262a00a | 19,997 | py | Python | corehq/apps/data_interfaces/tests/test_utils.py | omari-funzone/commcare-hq | 5edb462c891fc08e51c4babd7acdf12c0006a602 | [
"BSD-3-Clause"
] | null | null | null | corehq/apps/data_interfaces/tests/test_utils.py | omari-funzone/commcare-hq | 5edb462c891fc08e51c4babd7acdf12c0006a602 | [
"BSD-3-Clause"
] | 34 | 2020-12-11T18:51:17.000Z | 2022-02-21T10:13:26.000Z | corehq/apps/data_interfaces/tests/test_utils.py | omari-funzone/commcare-hq | 5edb462c891fc08e51c4babd7acdf12c0006a602 | [
"BSD-3-Clause"
] | null | null | null | from unittest.case import TestCase
from unittest.mock import Mock, patch
from couchdbkit import ResourceNotFound
from corehq.apps.data_interfaces.tasks import (
_get_repeat_record_ids,
task_generate_ids_and_operate_on_payloads,
)
from corehq.apps.data_interfaces.utils import (
_validate_record,
operat... | 53.467914 | 121 | 0.697055 | 2,384 | 19,997 | 5.400587 | 0.042366 | 0.072699 | 0.111845 | 0.098796 | 0.941903 | 0.915107 | 0.896155 | 0.885437 | 0.872466 | 0.855456 | 0 | 0.003309 | 0.19908 | 19,997 | 373 | 122 | 53.61126 | 0.800574 | 0 | 0 | 0.609836 | 0 | 0 | 0.208781 | 0.123268 | 0 | 0 | 0 | 0 | 0.190164 | 1 | 0.085246 | false | 0 | 0.016393 | 0 | 0.108197 | 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 |
e4ba90c933da98a012315209c2a6490d8057af7b | 29 | py | Python | ChordDetection/__init__.py | belovm96/chord-detection | c1cc240dde41cd03c4e00ecc384b1d2670663783 | [
"MIT"
] | 10 | 2021-10-31T14:48:48.000Z | 2022-02-13T16:17:29.000Z | ChordDetection/__init__.py | belovm96/chord-detection | c1cc240dde41cd03c4e00ecc384b1d2670663783 | [
"MIT"
] | null | null | null | ChordDetection/__init__.py | belovm96/chord-detection | c1cc240dde41cd03c4e00ecc384b1d2670663783 | [
"MIT"
] | 1 | 2022-01-04T10:00:20.000Z | 2022-01-04T10:00:20.000Z | from .ChordDetection import * | 29 | 29 | 0.827586 | 3 | 29 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e4cdfb315f6bc0589810caae11930d862bf592bf | 8,098 | py | Python | tests/sklearn/test_SVMConverters.py | weikexin/onnxmltools | b5ea8a43bb0abf5ca23f0913dc2d9ea11b9724b1 | [
"MIT"
] | 1 | 2018-04-10T02:30:47.000Z | 2018-04-10T02:30:47.000Z | tests/sklearn/test_SVMConverters.py | weikexin/onnxmltools | b5ea8a43bb0abf5ca23f0913dc2d9ea11b9724b1 | [
"MIT"
] | null | null | null | tests/sklearn/test_SVMConverters.py | weikexin/onnxmltools | b5ea8a43bb0abf5ca23f0913dc2d9ea11b9724b1 | [
"MIT"
] | 1 | 2018-06-27T18:16:20.000Z | 2018-06-27T18:16:20.000Z | """
Tests scikit-linear converter.
"""
import unittest
import onnxmltools
from sklearn.datasets import load_iris
from sklearn.svm import SVC, SVR, NuSVC, NuSVR
from onnxmltools import convert_sklearn
from onnxmltools.convert.common.data_types import FloatTensorType
class TestSklearnSVM(unittest.TestCase):
def _f... | 47.081395 | 100 | 0.518276 | 743 | 8,098 | 5.402423 | 0.13459 | 0.035874 | 0.038864 | 0.047833 | 0.806428 | 0.794968 | 0.792975 | 0.744145 | 0.708022 | 0.663926 | 0 | 0.008095 | 0.374537 | 8,098 | 171 | 101 | 47.356725 | 0.784403 | 0.003705 | 0 | 0.673469 | 0 | 0 | 0.098883 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.102041 | false | 0 | 0.040816 | 0 | 0.163265 | 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 |
e4f1c5288cc0fff7143f13da7287e1f41fa66cc1 | 102 | py | Python | models/__init__.py | TrentBrick/RewardConditionedUDRL | fdb2ebacb4c3a886b64eea4cc1dd528e05f84e11 | [
"MIT"
] | 10 | 2020-11-10T12:54:43.000Z | 2021-11-12T09:48:43.000Z | models/__init__.py | TrentBrick/RewardConditionedUDRL | fdb2ebacb4c3a886b64eea4cc1dd528e05f84e11 | [
"MIT"
] | 2 | 2021-03-10T01:51:11.000Z | 2022-03-22T02:36:30.000Z | models/__init__.py | TrentBrick/RewardConditionedUDRL | fdb2ebacb4c3a886b64eea4cc1dd528e05f84e11 | [
"MIT"
] | 1 | 2020-11-29T17:08:18.000Z | 2020-11-29T17:08:18.000Z | from .upsd_model import UpsdModel, UpsdBehavior, UpsdHyper
from .advantage_model import AdvantageModel | 51 | 58 | 0.872549 | 12 | 102 | 7.25 | 0.75 | 0.252874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 102 | 2 | 59 | 51 | 0.935484 | 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 |
900226f99f428532ad8785114d75714e12bead8b | 34 | py | Python | wander/__init__.py | dominictarro/wander | 43f49a6e0d023414b5dd1f412963c2f875ee52f2 | [
"MIT"
] | null | null | null | wander/__init__.py | dominictarro/wander | 43f49a6e0d023414b5dd1f412963c2f875ee52f2 | [
"MIT"
] | null | null | null | wander/__init__.py | dominictarro/wander | 43f49a6e0d023414b5dd1f412963c2f875ee52f2 | [
"MIT"
] | null | null | null | from wander.wander import Wandbox
| 17 | 33 | 0.852941 | 5 | 34 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.966667 | 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 |
9017d21fd06f96099a4da740f25145cf34916c0f | 3,572 | py | Python | tests/test_maildir.py | baverman/norless | 9b63e184bb529b2a26695a76aa50a9f3936de9ff | [
"MIT"
] | null | null | null | tests/test_maildir.py | baverman/norless | 9b63e184bb529b2a26695a76aa50a9f3936de9ff | [
"MIT"
] | null | null | null | tests/test_maildir.py | baverman/norless | 9b63e184bb529b2a26695a76aa50a9f3936de9ff | [
"MIT"
] | null | null | null | from email.mime.text import MIMEText
from norless.maildir import Maildir
def test_dir_create(tmpdir):
path = tmpdir.join('inbox')
md = Maildir(path.strpath)
assert path.check()
assert path.stat().mode & 0777 == 0700
for p in ('new', 'cur', 'tmp'):
pp = path.join(p)
assert pp.c... | 27.060606 | 59 | 0.613662 | 503 | 3,572 | 4.280318 | 0.125249 | 0.055736 | 0.037157 | 0.074315 | 0.775197 | 0.775197 | 0.774733 | 0.73386 | 0.716674 | 0.640966 | 0 | 0.015697 | 0.215286 | 3,572 | 131 | 60 | 27.267176 | 0.752408 | 0 | 0 | 0.679245 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0.386792 | 0 | null | null | 0 | 0.018868 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9030725c0bf975b2fd83c963f6f8309fe409c286 | 136 | py | Python | django-demo/demo/models/__init__.py | lukyth/django-test | 7080878c1b8b6edd955f7a0216fc5274e7adaa0f | [
"BSD-3-Clause"
] | null | null | null | django-demo/demo/models/__init__.py | lukyth/django-test | 7080878c1b8b6edd955f7a0216fc5274e7adaa0f | [
"BSD-3-Clause"
] | null | null | null | django-demo/demo/models/__init__.py | lukyth/django-test | 7080878c1b8b6edd955f7a0216fc5274e7adaa0f | [
"BSD-3-Clause"
] | null | null | null | import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "django_demo.settings")
from .Bank import Bank
# todo : add unit module here
| 22.666667 | 71 | 0.786765 | 20 | 136 | 5.2 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 136 | 5 | 72 | 27.2 | 0.866667 | 0.198529 | 0 | 0 | 0 | 0 | 0.392523 | 0.205607 | 0 | 0 | 0 | 0.2 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9036afdbef7ddef79aef149fd07ceae0f0eabd5d | 34,338 | py | Python | tests/unit/gapic/documentai_v1beta2/test_document_understanding_service.py | oflaeschen/python-documentai | ea83083c315d4a97c29df35955f9547e2f869114 | [
"Apache-2.0"
] | 1 | 2020-06-24T19:28:16.000Z | 2020-06-24T19:28:16.000Z | tests/unit/gapic/documentai_v1beta2/test_document_understanding_service.py | oflaeschen/python-documentai | ea83083c315d4a97c29df35955f9547e2f869114 | [
"Apache-2.0"
] | null | null | null | tests/unit/gapic/documentai_v1beta2/test_document_understanding_service.py | oflaeschen/python-documentai | ea83083c315d4a97c29df35955f9547e2f869114 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# 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 o... | 37.858875 | 143 | 0.717194 | 3,893 | 34,338 | 6.066787 | 0.079373 | 0.023372 | 0.022356 | 0.016894 | 0.858498 | 0.830595 | 0.790372 | 0.763104 | 0.735498 | 0.718943 | 0 | 0.004219 | 0.206244 | 34,338 | 906 | 144 | 37.900662 | 0.862306 | 0.186295 | 0 | 0.647619 | 0 | 0 | 0.106402 | 0.046443 | 0 | 0 | 0 | 0 | 0.133333 | 1 | 0.046032 | false | 0 | 0.038095 | 0.001587 | 0.085714 | 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 |
9036d409d625b1cf82857704338a567f45207e91 | 77 | py | Python | py_tdlib/constructors/search_messages_filter_document.py | Mr-TelegramBot/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 24 | 2018-10-05T13:04:30.000Z | 2020-05-12T08:45:34.000Z | py_tdlib/constructors/search_messages_filter_document.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 3 | 2019-06-26T07:20:20.000Z | 2021-05-24T13:06:56.000Z | py_tdlib/constructors/search_messages_filter_document.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 5 | 2018-10-05T14:29:28.000Z | 2020-08-11T15:04:10.000Z | from ..factory import Type
class searchMessagesFilterDocument(Type):
pass
| 12.833333 | 41 | 0.805195 | 8 | 77 | 7.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 77 | 5 | 42 | 15.4 | 0.925373 | 0 | 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 |
5f5373e3b965bebe4e8c6fec606f482a717be825 | 15,502 | py | Python | titan/routes/v3/workflow.py | KhaosResearch/TITAN-API | 98a66b211792f4b42680828644938b062de42579 | [
"MIT"
] | null | null | null | titan/routes/v3/workflow.py | KhaosResearch/TITAN-API | 98a66b211792f4b42680828644938b062de42579 | [
"MIT"
] | null | null | null | titan/routes/v3/workflow.py | KhaosResearch/TITAN-API | 98a66b211792f4b42680828644938b062de42579 | [
"MIT"
] | null | null | null | import math
import traceback
from typing import Callable, Optional
from fastapi import APIRouter, Depends, HTTPException, Query
from motor.motor_asyncio import AsyncIOMotorClient
from starlette.requests import Request
from starlette.status import HTTP_404_NOT_FOUND
from titan.auth import get_user_by_username
from tit... | 35.392694 | 116 | 0.671591 | 1,780 | 15,502 | 5.623596 | 0.116854 | 0.034066 | 0.030769 | 0.041958 | 0.804895 | 0.784116 | 0.758242 | 0.732468 | 0.714585 | 0.709391 | 0 | 0.010514 | 0.233067 | 15,502 | 437 | 117 | 35.473684 | 0.831441 | 0.03535 | 0 | 0.684375 | 0 | 0 | 0.121219 | 0 | 0 | 0 | 0 | 0 | 0.01875 | 1 | 0.009375 | false | 0 | 0.0375 | 0.00625 | 0.075 | 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 |
5fa3df3e011ddfd3cb2125e7628207a46318ae3c | 5,607 | py | Python | NewsExtractors/Jsonabstract/default.py | kingking888/CommNewsExtractor | ab03d1de3d69bde8c25873cfbbe32913ec721894 | [
"MIT"
] | 17 | 2019-12-07T14:43:14.000Z | 2021-09-07T06:43:55.000Z | NewsExtractors/Jsonabstract/default.py | kingking888/CommNewsExtractor | ab03d1de3d69bde8c25873cfbbe32913ec721894 | [
"MIT"
] | 3 | 2020-11-19T11:27:13.000Z | 2021-12-13T20:28:03.000Z | NewsExtractors/Jsonabstract/default.py | kingking888/CommNewsExtractor | ab03d1de3d69bde8c25873cfbbe32913ec721894 | [
"MIT"
] | 5 | 2019-12-10T09:12:41.000Z | 2021-11-03T08:26:24.000Z | CONTENT_KEYS = ['content', 'Content', 'description', 'text', 'html']
TITLE_KEYS = ['title', 'Title', 'topic', 'Topic']
TIME_KEYS = ['createtime', 'createTime', 'Createtime', 'CreateTime', 'publishtime', 'PublishTime', 'publish_time',
'UpdateTime', 'updateTime', 'updatetime', 'startTime', 'StartTime', 'ne... | 56.07 | 121 | 0.342964 | 1,311 | 5,607 | 1.453852 | 0.102975 | 0.097587 | 0.14638 | 0.075551 | 0.69255 | 0.689927 | 0.671039 | 0.663169 | 0.650577 | 0.645855 | 0 | 0.10089 | 0.117888 | 5,607 | 99 | 122 | 56.636364 | 0.284472 | 0 | 0 | 0 | 0 | 0.488889 | 0.780275 | 0.478866 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3970c6e61e6ec26dacc4cf097e9af4c6ee9c8580 | 21 | py | Python | zipf/cli/__init__.py | LucaCappelletti94/zipf | 956c3a1d56958384a02d5bb4671c6883cd9a25e3 | [
"MIT"
] | 3 | 2018-11-07T01:56:09.000Z | 2020-05-31T12:24:09.000Z | zipf/cli/__init__.py | LucaCappelletti94/zipf | 956c3a1d56958384a02d5bb4671c6883cd9a25e3 | [
"MIT"
] | 1 | 2018-05-15T15:58:06.000Z | 2018-05-15T15:58:06.000Z | zipf/cli/__init__.py | LucaCappelletti94/zipf | 956c3a1d56958384a02d5bb4671c6883cd9a25e3 | [
"MIT"
] | null | null | null | from .cli import Cli
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 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 |
39a91c655da70ed468e49ea26a2b2692d0343fec | 28 | py | Python | tests/test_course.py | bibz/rudaux | 9db516811823490a49845235fe236d56638acd17 | [
"MIT"
] | 1 | 2020-09-10T20:36:56.000Z | 2020-09-10T20:36:56.000Z | tests/test_course.py | bibz/rudaux | 9db516811823490a49845235fe236d56638acd17 | [
"MIT"
] | null | null | null | tests/test_course.py | bibz/rudaux | 9db516811823490a49845235fe236d56638acd17 | [
"MIT"
] | null | null | null | import pytest
import rudaux | 9.333333 | 13 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 3 | 14 | 9.333333 | 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 |
84090062db687dbc4d6306b62ceb741d0dcf01e8 | 42,280 | py | Python | tests/test_make_recipe.py | gogetdata/ggd-cli | 717d37643f3e29813f47eda68b9745459d9ef430 | [
"MIT"
] | 29 | 2016-04-23T13:28:51.000Z | 2021-10-03T15:49:29.000Z | tests/test_make_recipe.py | gogetdata/ggd-cli | 717d37643f3e29813f47eda68b9745459d9ef430 | [
"MIT"
] | 17 | 2016-04-22T15:45:33.000Z | 2020-11-20T16:47:24.000Z | tests/test_make_recipe.py | gogetdata/ggd-cli | 717d37643f3e29813f47eda68b9745459d9ef430 | [
"MIT"
] | 2 | 2016-05-26T01:54:51.000Z | 2020-04-30T19:17:18.000Z | from __future__ import print_function
import os
import sys
import subprocess as sp
import pytest
import yaml
import tempfile
import requests
import argparse
import json
import re
from argparse import Namespace
from argparse import ArgumentParser
import glob
import contextlib
import tarfile
from helpers import CreateRec... | 47.082405 | 249 | 0.605227 | 5,256 | 42,280 | 4.730023 | 0.06583 | 0.027352 | 0.007964 | 0.01802 | 0.885322 | 0.867222 | 0.855114 | 0.837255 | 0.824826 | 0.824826 | 0 | 0.016884 | 0.237961 | 42,280 | 897 | 250 | 47.134894 | 0.754741 | 0.114853 | 0 | 0.694352 | 0 | 0.008306 | 0.239426 | 0.049087 | 0 | 0 | 0 | 0 | 0.363787 | 1 | 0.021595 | false | 0.033223 | 0.038206 | 0 | 0.059801 | 0.043189 | 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 |
845dce3929d2ae13e98764552dda60fa63da20ff | 6,036 | py | Python | authors/apps/articles/tests/test_comments.py | SilasKenneth/ah-technocrats | c199e6dd432bdb4a5e1152f90cb1716b09af2c4e | [
"BSD-3-Clause"
] | 1 | 2018-12-04T15:29:57.000Z | 2018-12-04T15:29:57.000Z | authors/apps/articles/tests/test_comments.py | SilasKenneth/ah-technocrats | c199e6dd432bdb4a5e1152f90cb1716b09af2c4e | [
"BSD-3-Clause"
] | 52 | 2018-11-27T08:00:25.000Z | 2021-06-10T20:58:16.000Z | authors/apps/articles/tests/test_comments.py | SilasKenneth/ah-technocrats | c199e6dd432bdb4a5e1152f90cb1716b09af2c4e | [
"BSD-3-Clause"
] | 4 | 2019-07-15T10:24:22.000Z | 2020-02-04T19:15:12.000Z | import unittest
from rest_framework import status
from .base_test import BaseTestCase
import unittest
@unittest.skip("Skip this class")
@unittest.skip("Not implemented")
class TestComments(BaseTestCase):
""" Class for testing comments. """
# test post comment
def test_comment_creation(self):
""" ... | 40.783784 | 82 | 0.658052 | 727 | 6,036 | 5.160935 | 0.112792 | 0.061834 | 0.06823 | 0.085288 | 0.820896 | 0.771055 | 0.752132 | 0.71162 | 0.6879 | 0.680171 | 0 | 0.013439 | 0.248012 | 6,036 | 147 | 83 | 41.061224 | 0.813175 | 0.129722 | 0 | 0.740741 | 0 | 0 | 0.011269 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 1 | 0.148148 | false | 0 | 0.037037 | 0 | 0.194444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 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 |
ffea90bb80af7ba411664e6cdfc7f9a1143f08df | 94 | py | Python | program 3.py | K-SUMANTH/Assigment-09-sumanth | 747f8e7bf6696c5afb51c8aead5c563f67ff83ae | [
"BSL-1.0"
] | null | null | null | program 3.py | K-SUMANTH/Assigment-09-sumanth | 747f8e7bf6696c5afb51c8aead5c563f67ff83ae | [
"BSL-1.0"
] | null | null | null | program 3.py | K-SUMANTH/Assigment-09-sumanth | 747f8e7bf6696c5afb51c8aead5c563f67ff83ae | [
"BSL-1.0"
] | null | null | null | s = open("line.txt","r")
print(s.readline())
print(s.readline())
print(s.readline())
s.close() | 18.8 | 24 | 0.648936 | 16 | 94 | 3.8125 | 0.5 | 0.295082 | 0.688525 | 0.622951 | 0.688525 | 0.688525 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 94 | 5 | 25 | 18.8 | 0.693182 | 0 | 0 | 0.6 | 0 | 0 | 0.094737 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 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 |
080c858d00f86a39d52b803ce10b81f6ba6aedf7 | 70 | py | Python | grobber/blueprints/__init__.py | fossabot/grobber | 6279888d605af5962bc51995e979cea74134011f | [
"MIT"
] | 1 | 2018-07-08T21:35:04.000Z | 2018-07-08T21:35:04.000Z | grobber/blueprints/__init__.py | fossabot/grobber | 6279888d605af5962bc51995e979cea74134011f | [
"MIT"
] | 9 | 2018-07-01T20:06:33.000Z | 2018-10-05T18:29:00.000Z | grobber/blueprints/__init__.py | fossabot/grobber | 6279888d605af5962bc51995e979cea74134011f | [
"MIT"
] | 1 | 2018-06-27T21:02:21.000Z | 2018-06-27T21:02:21.000Z | from .anime import anime_blueprint
from .debug import debug_blueprint
| 23.333333 | 34 | 0.857143 | 10 | 70 | 5.8 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 70 | 2 | 35 | 35 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
082073c197cfe930a8438506603659f171d426fd | 344 | py | Python | tests/test_miniml_utils.py | ppavlidis/rnaseq-pipeline | 8de5506dd86091c7c35b99781cfb4b054325a22a | [
"Unlicense"
] | null | null | null | tests/test_miniml_utils.py | ppavlidis/rnaseq-pipeline | 8de5506dd86091c7c35b99781cfb4b054325a22a | [
"Unlicense"
] | null | null | null | tests/test_miniml_utils.py | ppavlidis/rnaseq-pipeline | 8de5506dd86091c7c35b99781cfb4b054325a22a | [
"Unlicense"
] | null | null | null | from rnaseq_pipeline.miniml_utils import *
def test_collect_geo_samples():
collect_geo_samples('tests/data/GSE100007_family.xml')
collect_geo_samples('tests/data/GSM69846.xml')
def test_collect_geo_samples_info():
collect_geo_samples_info('tests/data/GSE100007_family.xml')
collect_geo_samples_info('te... | 34.4 | 63 | 0.80814 | 49 | 344 | 5.244898 | 0.367347 | 0.233463 | 0.396887 | 0.245136 | 0.762646 | 0.474708 | 0.342412 | 0.342412 | 0 | 0 | 0 | 0.070064 | 0.087209 | 344 | 9 | 64 | 38.222222 | 0.748408 | 0 | 0 | 0 | 0 | 0 | 0.313953 | 0.313953 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0 | 0.142857 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f2b09e865102f133e2d4ead5fef1a0318796a92c | 4,212 | py | Python | ideaman_mail/MailSender.py | LibRec-Practical/ideaman-offline | f8341fc9ca77adcc1191c01037dda18c02d77b29 | [
"MIT"
] | 1 | 2021-06-21T06:41:12.000Z | 2021-06-21T06:41:12.000Z | ideaman_mail/MailSender.py | LibRec-Practical/ideaman-offline | f8341fc9ca77adcc1191c01037dda18c02d77b29 | [
"MIT"
] | null | null | null | ideaman_mail/MailSender.py | LibRec-Practical/ideaman-offline | f8341fc9ca77adcc1191c01037dda18c02d77b29 | [
"MIT"
] | null | null | null | # coding: utf-8
import smtplib
import time
from datetime import datetime
from email.header import Header
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
from ideaman_mail.config import *
def sendEmail(subject,text):
"""
@subject:邮件标题
@text:邮件文本
"""
# 通过Header对象... | 62.865672 | 736 | 0.773979 | 543 | 4,212 | 5.963168 | 0.305709 | 0.035207 | 0.048178 | 0.010191 | 0.7168 | 0.7168 | 0.701359 | 0.701359 | 0.701359 | 0.701359 | 0 | 0.022323 | 0.159782 | 4,212 | 67 | 737 | 62.865672 | 0.892625 | 0.053419 | 0 | 0.26087 | 0 | 0.065217 | 0.730119 | 0.005807 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021739 | false | 0.021739 | 0.152174 | 0 | 0.173913 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4b5fc44a55884ffea8379d87a13fa23bca38f915 | 46 | py | Python | multilingual_t5/bn_en/__init__.py | sumanthd17/mt5 | c99b4e3ad1c69908c852c730a1323ccb52d48f58 | [
"Apache-2.0"
] | null | null | null | multilingual_t5/bn_en/__init__.py | sumanthd17/mt5 | c99b4e3ad1c69908c852c730a1323ccb52d48f58 | [
"Apache-2.0"
] | null | null | null | multilingual_t5/bn_en/__init__.py | sumanthd17/mt5 | c99b4e3ad1c69908c852c730a1323ccb52d48f58 | [
"Apache-2.0"
] | null | null | null | """bn_en dataset."""
from .bn_en import BnEn
| 11.5 | 23 | 0.673913 | 8 | 46 | 3.625 | 0.75 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 3 | 24 | 15.333333 | 0.74359 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4b77c91a197482a4b94a317d4dd2a11924a649e0 | 166 | py | Python | evaluation/__init__.py | aretius/control-over-copying | 762fe3949d02ff9487bf11f861f7651ff641719f | [
"BSD-3-Clause"
] | 39 | 2019-11-23T07:48:43.000Z | 2021-11-06T16:17:58.000Z | evaluation/__init__.py | aretius/control-over-copying | 762fe3949d02ff9487bf11f861f7651ff641719f | [
"BSD-3-Clause"
] | 9 | 2019-12-11T10:23:39.000Z | 2021-02-23T19:28:04.000Z | evaluation/__init__.py | aretius/control-over-copying | 762fe3949d02ff9487bf11f861f7651ff641719f | [
"BSD-3-Clause"
] | 9 | 2019-12-11T10:28:58.000Z | 2020-12-31T16:38:03.000Z | from .Bleu import Bleu
from .Rouge import Rouge
from .evaluation import evaluate, evalFile, evalList
__all__ = ["Rouge", "Bleu", "evaluate", "evalFile", "evalList"]
| 27.666667 | 63 | 0.73494 | 20 | 166 | 5.9 | 0.45 | 0.271186 | 0.40678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13253 | 166 | 5 | 64 | 33.2 | 0.819444 | 0 | 0 | 0 | 0 | 0 | 0.198795 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4b9ac4a768f25c4fdd64fe4e9583c349f6df7336 | 30 | py | Python | f5_lbaas_dashboard/api/__init__.py | F5Networks/f5-lbaas-dashboard | 06d891260778a77ecf31b9f16d68fe7197162699 | [
"Apache-2.0"
] | null | null | null | f5_lbaas_dashboard/api/__init__.py | F5Networks/f5-lbaas-dashboard | 06d891260778a77ecf31b9f16d68fe7197162699 | [
"Apache-2.0"
] | null | null | null | f5_lbaas_dashboard/api/__init__.py | F5Networks/f5-lbaas-dashboard | 06d891260778a77ecf31b9f16d68fe7197162699 | [
"Apache-2.0"
] | null | null | null | from . import lbaasv2 # noqa
| 15 | 29 | 0.7 | 4 | 30 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.233333 | 30 | 1 | 30 | 30 | 0.869565 | 0.133333 | 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 |
4baefdcf2c50887172bfbc47ef0dd9fa5f57ca5a | 256 | py | Python | playground/control/exceptions.py | phlax/playground | ca661f7adcc2c3502f63e630c96e87e31aa9309a | [
"Apache-2.0"
] | 8 | 2020-11-23T21:08:32.000Z | 2021-12-18T10:37:25.000Z | playground/control/exceptions.py | phlax/playground | ca661f7adcc2c3502f63e630c96e87e31aa9309a | [
"Apache-2.0"
] | 273 | 2020-11-23T19:27:06.000Z | 2020-12-21T17:34:49.000Z | playground/control/exceptions.py | phlax/playground | ca661f7adcc2c3502f63e630c96e87e31aa9309a | [
"Apache-2.0"
] | 2 | 2020-11-24T09:49:29.000Z | 2020-12-30T10:39:10.000Z | # -*- coding: utf-8 -*-
# todo: improve validationerror interface
class ValidationError(Exception):
pass
class PlaygroundError(Exception):
pass
class PlaygroundValidationError(Exception):
pass
class PlaytimeError(Exception):
pass
| 12.190476 | 43 | 0.722656 | 23 | 256 | 8.043478 | 0.565217 | 0.281081 | 0.291892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004808 | 0.1875 | 256 | 20 | 44 | 12.8 | 0.884615 | 0.238281 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
29bbfa05d17c8fbc4bfcbe0182658e1a84867d60 | 126 | py | Python | falcon_versioning/invalid_version_error.py | FreakinFacu/falcon_versioning | 73b255352ec2f26ee7ffe79faa6db3737f5631a6 | [
"MIT"
] | null | null | null | falcon_versioning/invalid_version_error.py | FreakinFacu/falcon_versioning | 73b255352ec2f26ee7ffe79faa6db3737f5631a6 | [
"MIT"
] | null | null | null | falcon_versioning/invalid_version_error.py | FreakinFacu/falcon_versioning | 73b255352ec2f26ee7ffe79faa6db3737f5631a6 | [
"MIT"
] | null | null | null | class InvalidVersionError(Exception):
def __init__(self, invalid_version):
self.invalid_version = invalid_version
| 31.5 | 46 | 0.769841 | 13 | 126 | 6.923077 | 0.615385 | 0.466667 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15873 | 126 | 3 | 47 | 42 | 0.849057 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
29fb2c917ac76218fb288098f1138bf94da6c5e4 | 36,954 | py | Python | test/test_evaluation/test_train_evaluator.py | wsyjwps1983/autosklearn | 2e29ebaca6bc26fa838f7c3b8b13960c600884e4 | [
"BSD-3-Clause"
] | null | null | null | test/test_evaluation/test_train_evaluator.py | wsyjwps1983/autosklearn | 2e29ebaca6bc26fa838f7c3b8b13960c600884e4 | [
"BSD-3-Clause"
] | null | null | null | test/test_evaluation/test_train_evaluator.py | wsyjwps1983/autosklearn | 2e29ebaca6bc26fa838f7c3b8b13960c600884e4 | [
"BSD-3-Clause"
] | 1 | 2019-04-01T11:53:20.000Z | 2019-04-01T11:53:20.000Z | import copy
import queue
import multiprocessing
import os
import sys
import unittest
import unittest.mock
from ConfigSpace import Configuration
import numpy as np
from sklearn.cross_validation import StratifiedKFold, ShuffleSplit
from smac.tae.execute_ta_run import StatusType
from autosklearn.evaluation import get_la... | 49.669355 | 117 | 0.627266 | 4,319 | 36,954 | 5.142857 | 0.075249 | 0.047272 | 0.04277 | 0.032775 | 0.869935 | 0.855393 | 0.847335 | 0.82559 | 0.809923 | 0.798983 | 0 | 0.034915 | 0.27223 | 36,954 | 743 | 118 | 49.736205 | 0.790994 | 0.120555 | 0 | 0.666052 | 0 | 0 | 0.056756 | 0.029875 | 0 | 0 | 0 | 0 | 0.190037 | 1 | 0.060886 | false | 0 | 0.02952 | 0 | 0.119926 | 0.001845 | 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 |
4b151ef5e4a98f631d58547a11f09498073c36ac | 9,434 | py | Python | tests/contracts/KT1KVn5cHLPuLoEDmiLEXGfMtNihLtcJtEpM/test_michelson_coding_KT1KVn.py | juztin/pytezos-1 | 7e608ff599d934bdcf129e47db43dbdb8fef9027 | [
"MIT"
] | 1 | 2020-08-11T02:31:24.000Z | 2020-08-11T02:31:24.000Z | tests/contracts/KT1KVn5cHLPuLoEDmiLEXGfMtNihLtcJtEpM/test_michelson_coding_KT1KVn.py | juztin/pytezos-1 | 7e608ff599d934bdcf129e47db43dbdb8fef9027 | [
"MIT"
] | 1 | 2020-12-30T16:44:56.000Z | 2020-12-30T16:44:56.000Z | tests/contracts/KT1KVn5cHLPuLoEDmiLEXGfMtNihLtcJtEpM/test_michelson_coding_KT1KVn.py | tqtezos/pytezos | a4ac0b022d35d4c9f3062609d8ce09d584b5faa8 | [
"MIT"
] | 1 | 2022-03-20T19:01:00.000Z | 2022-03-20T19:01:00.000Z | from unittest import TestCase
from tests import get_data
from pytezos.michelson.micheline import michelson_to_micheline
from pytezos.michelson.formatter import micheline_to_michelson
class MichelsonCodingTestKT1KVn(TestCase):
def setUp(self):
self.maxDiff = None
def test_michelson_parse_code_KT... | 46.935323 | 89 | 0.734683 | 880 | 9,434 | 7.563636 | 0.05 | 0.048377 | 0.074369 | 0.135216 | 0.963341 | 0.963341 | 0.963341 | 0.963341 | 0.947416 | 0.947416 | 0 | 0.018203 | 0.190587 | 9,434 | 200 | 90 | 47.17 | 0.853457 | 0 | 0 | 0.639053 | 0 | 0 | 0.316833 | 0.316833 | 0 | 0 | 0 | 0 | 0.159763 | 1 | 0.16568 | false | 0 | 0.023669 | 0 | 0.195266 | 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 |
d9f59edd851d7c015a147804b83deeb8cddc454a | 188 | py | Python | __init__.py | edbarnard/thorlabs_powermeter | 869b41da8bf2b2ec36cfcfd3acfb3a6e2ade871b | [
"MIT"
] | null | null | null | __init__.py | edbarnard/thorlabs_powermeter | 869b41da8bf2b2ec36cfcfd3acfb3a6e2ade871b | [
"MIT"
] | null | null | null | __init__.py | edbarnard/thorlabs_powermeter | 869b41da8bf2b2ec36cfcfd3acfb3a6e2ade871b | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from .thorlabs_powermeter import ThorlabsPowerMeterHW
from ScopeFoundryHW.thorlabs_powermeter.powermeter_optimizer import PowerMeterOptimizerMeasure | 62.666667 | 94 | 0.920213 | 18 | 188 | 9.166667 | 0.555556 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 188 | 3 | 94 | 62.666667 | 0.9375 | 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 |
8a1cfc18a326b81de6238d83aec15381ed94925c | 17,355 | py | Python | cmapPy/math/tests/test_fast_cov.py | dblyon/cmapPy | d310d092dbf0a0596448c9bd1f75ffff0bb92f09 | [
"BSD-3-Clause"
] | 1 | 2021-07-21T21:33:35.000Z | 2021-07-21T21:33:35.000Z | cmapPy/math/tests/test_fast_cov.py | dblyon/cmapPy | d310d092dbf0a0596448c9bd1f75ffff0bb92f09 | [
"BSD-3-Clause"
] | 10 | 2022-03-14T18:40:45.000Z | 2022-03-22T12:45:02.000Z | cmapPy/math/tests/test_fast_cov.py | Cellular-Longevity/cmapPy | abd4349f28af6d035f69fe8c399fde7bef8dd635 | [
"BSD-3-Clause"
] | null | null | null | import unittest
import logging
import cmapPy.pandasGEXpress.setup_GCToo_logger as setup_logger
import cmapPy.math.fast_cov as fast_cov
import numpy
import tempfile
import os
logger = logging.getLogger(setup_logger.LOGGER_NAME)
class TestFastCov(unittest.TestCase):
@staticmethod
def build_standard_x_y():
... | 42.536765 | 152 | 0.608931 | 2,491 | 17,355 | 4.107989 | 0.078282 | 0.097821 | 0.040653 | 0.047493 | 0.89055 | 0.849116 | 0.811492 | 0.772989 | 0.732825 | 0.70644 | 0 | 0.017621 | 0.238087 | 17,355 | 407 | 153 | 42.641278 | 0.756258 | 0.043561 | 0 | 0.630363 | 0 | 0.013201 | 0.206863 | 0.005669 | 0 | 0 | 0 | 0 | 0.151815 | 1 | 0.046205 | false | 0 | 0.023102 | 0 | 0.079208 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.