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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d08c9461b14e681141c812f809bd03da1d2d9d88 | 62 | py | Python | tests/test_client.py | JoelLefkowitz/vault-wrapper | 5b689add64da2f91d216aa3a98bd7aaa726cf98a | [
"MIT"
] | 1 | 2021-08-03T17:34:37.000Z | 2021-08-03T17:34:37.000Z | tests/test_client.py | JoelLefkowitz/vault-wrapper | 5b689add64da2f91d216aa3a98bd7aaa726cf98a | [
"MIT"
] | null | null | null | tests/test_client.py | JoelLefkowitz/vault-wrapper | 5b689add64da2f91d216aa3a98bd7aaa726cf98a | [
"MIT"
] | null | null | null | import pytest
@pytest.mark.skip
def test_client():
pass
| 8.857143 | 18 | 0.709677 | 9 | 62 | 4.777778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 62 | 6 | 19 | 10.333333 | 0.86 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
d0bef7012a3695db58b52487af42e5d424414d1d | 978 | py | Python | data_utils/lob_data_utils/test_overview.py | vevurka/mt-lob | 70989bcb61f4cfa7884437e1cff2db2454b3ceff | [
"MIT"
] | 2 | 2019-04-17T02:19:22.000Z | 2019-05-23T12:14:59.000Z | data_utils/lob_data_utils/test_overview.py | vevurka/mt-lob | 70989bcb61f4cfa7884437e1cff2db2454b3ceff | [
"MIT"
] | 10 | 2020-01-28T22:32:13.000Z | 2021-09-08T00:41:37.000Z | data_utils/lob_data_utils/test_overview.py | vevurka/mt-lob | 70989bcb61f4cfa7884437e1cff2db2454b3ceff | [
"MIT"
] | 6 | 2018-12-05T22:17:05.000Z | 2020-09-03T03:00:50.000Z | import unittest
import pandas as pd
from lob_data_utils.overview import Overview
class Test(unittest.TestCase):
def test_is_in_results_for_one_key_value(self):
overview = Overview('1', 2)
df = pd.DataFrame()
df['a'] = [1]
self.assertTrue(overview.is_in_results(df, {'a': 1}))
... | 33.724138 | 75 | 0.587935 | 145 | 978 | 3.731034 | 0.248276 | 0.05915 | 0.162662 | 0.175601 | 0.763401 | 0.763401 | 0.724584 | 0.724584 | 0.724584 | 0.548983 | 0 | 0.037433 | 0.235174 | 978 | 28 | 76 | 34.928571 | 0.685829 | 0 | 0 | 0.347826 | 0 | 0 | 0.037832 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 1 | 0.130435 | false | 0 | 0.130435 | 0 | 0.304348 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ef8bbc67e4fc84d44c51f7c81ba2dde433dae16b | 127 | py | Python | Inheritance/players_and_monsters_03E/project/knight.py | MNikov/Python-OOP-October-2020 | a53e4555758ec810605e31e7b2c71b65c49b2332 | [
"MIT"
] | null | null | null | Inheritance/players_and_monsters_03E/project/knight.py | MNikov/Python-OOP-October-2020 | a53e4555758ec810605e31e7b2c71b65c49b2332 | [
"MIT"
] | null | null | null | Inheritance/players_and_monsters_03E/project/knight.py | MNikov/Python-OOP-October-2020 | a53e4555758ec810605e31e7b2c71b65c49b2332 | [
"MIT"
] | null | null | null | from project.hero import Hero
class Knight(Hero):
def __init__(self, name, level):
super().__init__(name, level)
| 18.142857 | 37 | 0.677165 | 17 | 127 | 4.588235 | 0.705882 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204724 | 127 | 6 | 38 | 21.166667 | 0.772277 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
4be576a661ad20fab6115fe1489a1c557147ddb8 | 22 | py | Python | emotion_detection/__init__.py | GrayFlash/DL | 329beb77f7898084ecb38f7e81ae58df5a248569 | [
"MIT"
] | null | null | null | emotion_detection/__init__.py | GrayFlash/DL | 329beb77f7898084ecb38f7e81ae58df5a248569 | [
"MIT"
] | null | null | null | emotion_detection/__init__.py | GrayFlash/DL | 329beb77f7898084ecb38f7e81ae58df5a248569 | [
"MIT"
] | null | null | null | from .haar import haar | 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 | 0 | 0 | 0 | 5 |
4beadf8a92677231a178030d5fb2ca1e95b21b09 | 235 | py | Python | backend/domain/exceptions/__init__.py | uesleicarvalhoo/Ecommerce | 1d8d0f0c522dcd27fd90e315989b6fa93caf62b8 | [
"MIT"
] | null | null | null | backend/domain/exceptions/__init__.py | uesleicarvalhoo/Ecommerce | 1d8d0f0c522dcd27fd90e315989b6fa93caf62b8 | [
"MIT"
] | null | null | null | backend/domain/exceptions/__init__.py | uesleicarvalhoo/Ecommerce | 1d8d0f0c522dcd27fd90e315989b6fa93caf62b8 | [
"MIT"
] | null | null | null | from .auth import AuthorizationError
from .checkout import CheckoutError
from .common import BaseDomainException, DuplicatedDataError, NotFoundError
from .payment import PaymentRefusedError
from .product import ProductUnavaliableError
| 39.166667 | 75 | 0.876596 | 22 | 235 | 9.363636 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093617 | 235 | 5 | 76 | 47 | 0.967136 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ef667441bfca94b09f1dc4bd1aaf36310fcc06a8 | 484 | py | Python | Chapter05-old/Exercise5_18/Exercise5_18.py | PacktWorkshops/The-Spark-Workshop | f5b052b67d3aaf805eb48c9958c0dcfd237cc841 | [
"MIT"
] | 7 | 2019-11-11T13:17:04.000Z | 2021-01-18T22:09:44.000Z | Chapter05-old/Exercise5_18/Exercise5_18.py | PacktWorkshops/The-Spark-Workshop | f5b052b67d3aaf805eb48c9958c0dcfd237cc841 | [
"MIT"
] | null | null | null | Chapter05-old/Exercise5_18/Exercise5_18.py | PacktWorkshops/The-Spark-Workshop | f5b052b67d3aaf805eb48c9958c0dcfd237cc841 | [
"MIT"
] | 12 | 2020-04-20T16:23:51.000Z | 2021-07-07T20:37:45.000Z | spark = SparkSession \
.builder \
.appName("exercise_eighteen") \
.getOrCreate()
(df.select("id", "first_name", "last_name", "gender", "country", "birthdate", "salary")
.filter(df["country"] == "United States")
.orderBy(df["gender"].asc(), df["salary"].asc())
.show())
df.select("id", "first_name", "las... | 32.266667 | 88 | 0.605372 | 55 | 484 | 5.236364 | 0.418182 | 0.055556 | 0.069444 | 0.104167 | 0.798611 | 0.798611 | 0.798611 | 0.798611 | 0.798611 | 0.798611 | 0 | 0 | 0.130165 | 484 | 14 | 89 | 34.571429 | 0.684086 | 0 | 0 | 0 | 0 | 0 | 0.369835 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
322f083fc4c7496fe517acf1bb6fc048b888dd00 | 266 | py | Python | cde-root/local/munk/data/phd/phd/ptgraph/ptversion.py | NirBenTalLab/proorigami-cde-package | 273379075830a9b94d3f2884661a54f853777ff6 | [
"MIT"
] | null | null | null | cde-root/local/munk/data/phd/phd/ptgraph/ptversion.py | NirBenTalLab/proorigami-cde-package | 273379075830a9b94d3f2884661a54f853777ff6 | [
"MIT"
] | null | null | null | cde-root/local/munk/data/phd/phd/ptgraph/ptversion.py | NirBenTalLab/proorigami-cde-package | 273379075830a9b94d3f2884661a54f853777ff6 | [
"MIT"
] | null | null | null | # autogenerated by /home/astivala/phd/ptgraph/buildversion.sh
# Fri Aug 10 09:43:43 EST 2012
def get_version():
"""
Return version string containing global version number and 'build' date
"""
return "Revision 4288:4291, Fri Aug 10 09:43:43 EST 2012"
| 33.25 | 75 | 0.710526 | 41 | 266 | 4.585366 | 0.707317 | 0.06383 | 0.085106 | 0.106383 | 0.223404 | 0.223404 | 0.223404 | 0.223404 | 0 | 0 | 0 | 0.148148 | 0.18797 | 266 | 7 | 76 | 38 | 0.722222 | 0.605263 | 0 | 0 | 1 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
326d7f19f31cc37076ad0eed70bc2f052844c8dc | 190 | py | Python | tomopal/__init__.py | robinthibaut/TomoPal | bb3d1f9d56afc53c641a72b47e4419ee0cfd587b | [
"BSD-3-Clause"
] | 2 | 2021-03-01T11:06:17.000Z | 2021-09-24T11:49:31.000Z | tomopal/__init__.py | robinthibaut/TomoPal | bb3d1f9d56afc53c641a72b47e4419ee0cfd587b | [
"BSD-3-Clause"
] | 53 | 2021-03-30T14:05:17.000Z | 2022-03-31T09:55:14.000Z | tomopal/__init__.py | robinthibaut/TomoPal | bb3d1f9d56afc53c641a72b47e4419ee0cfd587b | [
"BSD-3-Clause"
] | 1 | 2020-06-16T11:16:39.000Z | 2020-06-16T11:16:39.000Z | __name__ = "tomopal"
__author__ = "Robin Thibaut"
__all__ = ["crtomopy", "geoview", "model", "post", "spatial", "utils"]
from tomopal import crtomopy, geoview, model, post, spatial, utils
| 27.142857 | 70 | 0.7 | 21 | 190 | 5.761905 | 0.666667 | 0.247934 | 0.330579 | 0.396694 | 0.595041 | 0.595041 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136842 | 190 | 6 | 71 | 31.666667 | 0.737805 | 0 | 0 | 0 | 0 | 0 | 0.294737 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3282191d7a7cc535be8716667853c3faf09c11de | 2,956 | py | Python | tests/test_layout_compilation.py | Mischback/django-calingen | 3354c751e29d301609ec44e64d69a8729ec36de4 | [
"MIT"
] | null | null | null | tests/test_layout_compilation.py | Mischback/django-calingen | 3354c751e29d301609ec44e64d69a8729ec36de4 | [
"MIT"
] | 51 | 2021-11-15T20:44:19.000Z | 2022-02-10T08:33:08.000Z | tests/test_layout_compilation.py | Mischback/django-calingen | 3354c751e29d301609ec44e64d69a8729ec36de4 | [
"MIT"
] | null | null | null | # SPDX-License-Identifier: MIT
"""Provide tests for calingen.checks."""
# Python imports
from unittest import mock, skip # noqa: F401
# Django imports
from django.test import modify_settings, override_settings, tag # noqa: F401
# app imports
from calingen.contrib.layouts.simple_event_list.simple_event_list import... | 31.115789 | 88 | 0.704668 | 343 | 2,956 | 5.688047 | 0.206997 | 0.101486 | 0.061507 | 0.055356 | 0.784726 | 0.784726 | 0.749359 | 0.749359 | 0.749359 | 0.749359 | 0 | 0.009426 | 0.210419 | 2,956 | 94 | 89 | 31.446809 | 0.826478 | 0.073748 | 0 | 0.68 | 0 | 0 | 0.153279 | 0.093589 | 0 | 0 | 0 | 0 | 0.08 | 1 | 0.08 | false | 0 | 0.1 | 0 | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
328571a08ebd50e94b32288403df178e236c3208 | 192 | py | Python | learn-to-code-with-python/03-Numbers-Booleans-and-Equality/boolean-mathematical-operators.py | MaciejZurek/python_practicing | 0a426f2aed151573e1f8678e0239ff596d92bbde | [
"MIT"
] | null | null | null | learn-to-code-with-python/03-Numbers-Booleans-and-Equality/boolean-mathematical-operators.py | MaciejZurek/python_practicing | 0a426f2aed151573e1f8678e0239ff596d92bbde | [
"MIT"
] | null | null | null | learn-to-code-with-python/03-Numbers-Booleans-and-Equality/boolean-mathematical-operators.py | MaciejZurek/python_practicing | 0a426f2aed151573e1f8678e0239ff596d92bbde | [
"MIT"
] | null | null | null | print(True)
print(False)
print("True")
print("False")
print(5 == 1)
print(5 != 1)
print("Ham" == "Ham")
print("ham " == "ham")
print(5 == 5.0)
print(5 < 1)
print(5 >= 5)
print(5 < 8 <= 7) | 11.294118 | 22 | 0.541667 | 34 | 192 | 3.058824 | 0.264706 | 0.346154 | 0.201923 | 0.346154 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089172 | 0.182292 | 192 | 17 | 23 | 11.294118 | 0.573248 | 0 | 0 | 0 | 0 | 0 | 0.11399 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 5 |
32860e4637848b26d65cd6660e8bf45cc658af7c | 32 | py | Python | conan/tools/gnu/__init__.py | a4z/conan | dec9e0288f81462c53b9222a206002fbc525ea65 | [
"MIT"
] | null | null | null | conan/tools/gnu/__init__.py | a4z/conan | dec9e0288f81462c53b9222a206002fbc525ea65 | [
"MIT"
] | 1 | 2020-12-21T10:06:30.000Z | 2020-12-21T10:06:30.000Z | conan/tools/gnu/__init__.py | a4z/conan | dec9e0288f81462c53b9222a206002fbc525ea65 | [
"MIT"
] | null | null | null | from .make import MakeToolchain
| 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
08c6e8f4424570b5d81157547d5aadc6620ea88d | 38 | py | Python | api/liberain/console/__main__.py | ViiSiX/Liberain | 888b25ab0638fabf643e98bde325371757215211 | [
"MIT"
] | null | null | null | api/liberain/console/__main__.py | ViiSiX/Liberain | 888b25ab0638fabf643e98bde325371757215211 | [
"MIT"
] | null | null | null | api/liberain/console/__main__.py | ViiSiX/Liberain | 888b25ab0638fabf643e98bde325371757215211 | [
"MIT"
] | null | null | null | from . import manager
manager.run()
| 7.6 | 21 | 0.710526 | 5 | 38 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 38 | 4 | 22 | 9.5 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
08d97b1a43a93fd0f93057b8e3b5627a9e775f47 | 74 | py | Python | btplotting-master/btplotting/analyzers/__init__.py | fredryce/stocker | 041fbe8348f7a035a607a214477cf423c4259171 | [
"MIT"
] | null | null | null | btplotting-master/btplotting/analyzers/__init__.py | fredryce/stocker | 041fbe8348f7a035a607a214477cf423c4259171 | [
"MIT"
] | null | null | null | btplotting-master/btplotting/analyzers/__init__.py | fredryce/stocker | 041fbe8348f7a035a607a214477cf423c4259171 | [
"MIT"
] | null | null | null | from .plot import LivePlotAnalyzer
from .recorder import RecorderAnalyzer
| 24.666667 | 38 | 0.864865 | 8 | 74 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 74 | 2 | 39 | 37 | 0.969697 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
08ea447b4a3faa1a86959cbd54f14402e8d92d9f | 201 | py | Python | allegro/proxy/__init__.py | xnetcat/allegro-scraper | 463ca6830d44daa0533cf1b837802f5acfb705ff | [
"MIT"
] | null | null | null | allegro/proxy/__init__.py | xnetcat/allegro-scraper | 463ca6830d44daa0533cf1b837802f5acfb705ff | [
"MIT"
] | null | null | null | allegro/proxy/__init__.py | xnetcat/allegro-scraper | 463ca6830d44daa0533cf1b837802f5acfb705ff | [
"MIT"
] | null | null | null | # flake8: noqa
from allegro.proxy.proxy_checker import check_proxy, filter_proxies
from allegro.proxy.proxy_file import load_from_file
from allegro.proxy.proxy_gatherer import scrape_free_proxy_lists
| 33.5 | 67 | 0.870647 | 31 | 201 | 5.322581 | 0.516129 | 0.2 | 0.290909 | 0.381818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005435 | 0.084577 | 201 | 5 | 68 | 40.2 | 0.891304 | 0.059701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 5 |
3ed37b2edece1334aadc390c637b4ee7ac13b4c5 | 84 | py | Python | python-engine/lib/__init__.py | LordFitoi/PyVueGame | 2204fbb6bbc46c0c9934334b4eae8e4762a6fb40 | [
"MIT"
] | 2 | 2021-05-29T01:36:32.000Z | 2021-08-06T18:16:34.000Z | python-engine/lib/__init__.py | LordFitoi/PygameXVue.js | 2204fbb6bbc46c0c9934334b4eae8e4762a6fb40 | [
"MIT"
] | 3 | 2021-05-30T01:51:43.000Z | 2021-05-31T00:42:39.000Z | python-engine/lib/__init__.py | LordFitoi/PygameXVue.js | 2204fbb6bbc46c0c9934334b4eae8e4762a6fb40 | [
"MIT"
] | null | null | null | from .server import WebSocketServer
from .color import Color
from .draw import Draw
| 21 | 35 | 0.821429 | 12 | 84 | 5.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 84 | 3 | 36 | 28 | 0.958333 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3ee6397c9ac0d4281749163fd1aaac01a1002c18 | 178 | py | Python | solved_bronze/num10869.py | ilmntr/white_study | 51d69d122b07e9a0922dddb134bff4ec79077eb9 | [
"MIT"
] | null | null | null | solved_bronze/num10869.py | ilmntr/white_study | 51d69d122b07e9a0922dddb134bff4ec79077eb9 | [
"MIT"
] | null | null | null | solved_bronze/num10869.py | ilmntr/white_study | 51d69d122b07e9a0922dddb134bff4ec79077eb9 | [
"MIT"
] | null | null | null | # 두 자연수 A와 B가 주어진다. 이때, A+B, A-B, A*B, A/B(몫), A%B(나머지)를 출력하는 프로그램을 작성하시오.
(a,b) = map(int,input().split())
print(a+b)
print(a-b)
print(a*b)
print(a//b)
print(a%b)
# //는 소수점 버림 | 17.8 | 74 | 0.573034 | 46 | 178 | 2.217391 | 0.478261 | 0.215686 | 0.343137 | 0.470588 | 0.421569 | 0.421569 | 0.343137 | 0.343137 | 0.343137 | 0.343137 | 0 | 0 | 0.157303 | 178 | 10 | 75 | 17.8 | 0.68 | 0.466292 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.833333 | 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 | 0 | 0 | 1 | 0 | 5 |
f5b74e4c5f9bd79b88644f875527ffe0526d2522 | 110 | py | Python | tests/test_null.py | numpde/twig | abe08512fe4532df511487f0b8afc7df1787f6ce | [
"Unlicense"
] | null | null | null | tests/test_null.py | numpde/twig | abe08512fe4532df511487f0b8afc7df1787f6ce | [
"Unlicense"
] | null | null | null | tests/test_null.py | numpde/twig | abe08512fe4532df511487f0b8afc7df1787f6ce | [
"Unlicense"
] | null | null | null | # RA, 2020-12-14
from unittest import TestCase
class Null(TestCase):
def test_null(self):
pass
| 12.222222 | 29 | 0.663636 | 16 | 110 | 4.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096386 | 0.245455 | 110 | 8 | 30 | 13.75 | 0.771084 | 0.127273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
f5fe5ec9a9bbde98466658acb59bbe4654ab03ac | 159 | py | Python | db_utils/__init__.py | rj79/lapmaster | edf12f7685df572f6022b50a808651ef5b0404d7 | [
"BSD-3-Clause"
] | null | null | null | db_utils/__init__.py | rj79/lapmaster | edf12f7685df572f6022b50a808651ef5b0404d7 | [
"BSD-3-Clause"
] | null | null | null | db_utils/__init__.py | rj79/lapmaster | edf12f7685df572f6022b50a808651ef5b0404d7 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
:copyright: (c) 2016 by Robert Johansson.
:license: BSD, see LICENSE for more details.
"""
from .db_upload import Uploader
| 22.714286 | 48 | 0.641509 | 21 | 159 | 4.809524 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03937 | 0.201258 | 159 | 6 | 49 | 26.5 | 0.755906 | 0.685535 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
eb065b8ae31bd201c350125a2e3ab212604f8f82 | 540 | py | Python | tests/python/pants_test/subsystem/subsystem_util.py | mpopenko-exos/pants | 47d27037c8b13291fc9023e56ddd1b1defdf1b8e | [
"Apache-2.0"
] | null | null | null | tests/python/pants_test/subsystem/subsystem_util.py | mpopenko-exos/pants | 47d27037c8b13291fc9023e56ddd1b1defdf1b8e | [
"Apache-2.0"
] | 1 | 2018-09-04T17:37:34.000Z | 2018-09-04T19:42:58.000Z | tests/python/pants_test/subsystem/subsystem_util.py | mpopenko-exos/pants | 47d27037c8b13291fc9023e56ddd1b1defdf1b8e | [
"Apache-2.0"
] | null | null | null | # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).
from pants.testutil.subsystem.util import global_subsystem_instance as global_subsystem_instance # noqa
from pants.testutil.subsystem.util import init_subsystem as init_subsystem # noqa
... | 49.090909 | 104 | 0.844444 | 72 | 540 | 6.138889 | 0.416667 | 0.081448 | 0.199095 | 0.235294 | 0.280543 | 0.280543 | 0.199095 | 0.199095 | 0 | 0 | 0 | 0.01232 | 0.098148 | 540 | 10 | 105 | 54 | 0.895277 | 0.261111 | 0 | 0 | 0 | 0 | 0.073791 | 0.073791 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 5 |
eb3828bd0110eeabd97fe6cff1e2c9dd24baf49e | 182 | py | Python | signer/config.py | DarkbordermanTemplate/web3 | fe1deb783e64d8d624d314d715a6a7bdbade8a9e | [
"BSD-2-Clause"
] | null | null | null | signer/config.py | DarkbordermanTemplate/web3 | fe1deb783e64d8d624d314d715a6a7bdbade8a9e | [
"BSD-2-Clause"
] | null | null | null | signer/config.py | DarkbordermanTemplate/web3 | fe1deb783e64d8d624d314d715a6a7bdbade8a9e | [
"BSD-2-Clause"
] | null | null | null | import os
class Config:
ACCOUNT = os.environ.get("ACCOUNT", "")
PASSWORD = os.environ.get("PASSWORD", "")
PROVIDER = os.environ.get("PROVIDER", "")
CONFIG = Config()
| 16.545455 | 45 | 0.620879 | 21 | 182 | 5.380952 | 0.428571 | 0.238938 | 0.318584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 182 | 10 | 46 | 18.2 | 0.768707 | 0 | 0 | 0 | 0 | 0 | 0.126374 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.166667 | 0 | 0.833333 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
de242c205f4aa468c1399907f066e304e500da96 | 67 | py | Python | models/total3d/modules/__init__.py | chengzhag/DeepPanoContext | 14f847e51ec2bd08e0fc178dd1640541752addb7 | [
"MIT"
] | 52 | 2021-09-12T02:41:02.000Z | 2022-03-05T21:55:36.000Z | models/total3d/modules/__init__.py | chengzhag/DeepPanoContext | 14f847e51ec2bd08e0fc178dd1640541752addb7 | [
"MIT"
] | 2 | 2021-11-25T06:50:19.000Z | 2022-01-19T10:11:06.000Z | models/total3d/modules/__init__.py | chengzhag/DeepPanoContext | 14f847e51ec2bd08e0fc178dd1640541752addb7 | [
"MIT"
] | 9 | 2021-09-18T01:44:05.000Z | 2022-01-12T16:19:46.000Z | from .method import Total3D
from .layout_estimation import PoseNet
| 22.333333 | 38 | 0.850746 | 9 | 67 | 6.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.119403 | 67 | 2 | 39 | 33.5 | 0.932203 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
de506d26ab98d14aa25b8f4d3106740cc482bb55 | 220 | py | Python | projektrouska/logger.py | tomas-dostal/potrebujurousku | 9589b53c21f116bd04bb3d11b67c59c3db0ca64f | [
"MIT"
] | 3 | 2020-10-25T08:32:52.000Z | 2020-11-17T18:39:05.000Z | projektrouska/logger.py | tomas-dostal/potrebujurousku | 9589b53c21f116bd04bb3d11b67c59c3db0ca64f | [
"MIT"
] | 12 | 2020-10-24T18:33:40.000Z | 2021-07-12T16:21:32.000Z | projektrouska/logger.py | tomas-dostal/potrebujurousku | 9589b53c21f116bd04bb3d11b67c59c3db0ca64f | [
"MIT"
] | null | null | null | class Logger(object):
def log(self, str):
print("Log: {}".format(str))
def error(self, str):
print("Error: {}".format(str))
def message(self, str):
print("Message: {}".format(str))
| 20 | 40 | 0.540909 | 27 | 220 | 4.407407 | 0.407407 | 0.176471 | 0.302521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.254545 | 220 | 10 | 41 | 22 | 0.72561 | 0 | 0 | 0 | 0 | 0 | 0.122727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0 | 0.571429 | 0.428571 | 1 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 5 |
de731c896248eef5b23e42e6975879e05fd262f7 | 19 | py | Python | docs/report/cloudmesh-openapi/cloudmesh/openapi/__version__.py | rickotten/cybertraining-dsc.github.io | c8ea59be4f09fd543040ba0908af118df5820a70 | [
"Apache-2.0"
] | null | null | null | docs/report/cloudmesh-openapi/cloudmesh/openapi/__version__.py | rickotten/cybertraining-dsc.github.io | c8ea59be4f09fd543040ba0908af118df5820a70 | [
"Apache-2.0"
] | null | null | null | docs/report/cloudmesh-openapi/cloudmesh/openapi/__version__.py | rickotten/cybertraining-dsc.github.io | c8ea59be4f09fd543040ba0908af118df5820a70 | [
"Apache-2.0"
] | null | null | null | version = "4.0.19"
| 9.5 | 18 | 0.578947 | 4 | 19 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.157895 | 19 | 1 | 19 | 19 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
deab84ab8e546f1095765aef5610d0b7dc2a499f | 52 | py | Python | enthought/traits/ui/qt4/constants.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/traits/ui/qt4/constants.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/traits/ui/qt4/constants.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from traitsui.qt4.constants import *
| 17.333333 | 36 | 0.788462 | 7 | 52 | 5.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.134615 | 52 | 2 | 37 | 26 | 0.888889 | 0.230769 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
defb58d0d4be621a6b74623b622805b0a37ec2f5 | 224 | py | Python | Triplets/__init__.py | itssamedozkan/TripletMAML | 81c9a9e2018a735078e3afe538351fd850da70ab | [
"MIT"
] | null | null | null | Triplets/__init__.py | itssamedozkan/TripletMAML | 81c9a9e2018a735078e3afe538351fd850da70ab | [
"MIT"
] | 1 | 2022-03-01T17:28:18.000Z | 2022-03-01T17:28:18.000Z | Triplets/__init__.py | itssamedozkan/TripletMAML | 81c9a9e2018a735078e3afe538351fd850da70ab | [
"MIT"
] | 1 | 2022-02-24T16:51:19.000Z | 2022-02-24T16:51:19.000Z | from .TripletFlowers import TripletFlowers
from .TripletFSCIFAR100 import TripletFSCIFAR100
from .TripletMiniImageNet import TripletMiniImageNet
from .TripletOmniglot import TripletOmniglot
from .TripletCUB import TripletCUB | 44.8 | 52 | 0.892857 | 20 | 224 | 10 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029268 | 0.084821 | 224 | 5 | 53 | 44.8 | 0.946341 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7232990ddd12d5a58d6a4b425578215578663815 | 6,749 | py | Python | src/r2b2/tests/test_cli.py | gwexploratoryaudits/r2b2 | 76fcf1658e3055ee7e262a836fcb0b1af8e04233 | [
"MIT"
] | 4 | 2020-02-05T20:51:42.000Z | 2021-07-06T19:24:35.000Z | src/r2b2/tests/test_cli.py | gwexploratoryaudits/r2b2 | 76fcf1658e3055ee7e262a836fcb0b1af8e04233 | [
"MIT"
] | 36 | 2020-02-13T19:18:30.000Z | 2021-10-07T23:50:47.000Z | src/r2b2/tests/test_cli.py | gwexploratoryaudits/r2b2 | 76fcf1658e3055ee7e262a836fcb0b1af8e04233 | [
"MIT"
] | 1 | 2021-03-19T10:35:38.000Z | 2021-03-19T10:35:38.000Z | import os
from click.testing import CliRunner
from r2b2.cli import cli
# TODO: Test multiple round execution patterns
# TODO: Test all combinations of audit parameters and contest file
# TODO: Test election mode (once implemented)
# TODO: Test election file parsing (once election mode working)
def test_interactive... | 43.262821 | 139 | 0.711068 | 998 | 6,749 | 4.614228 | 0.140281 | 0.093377 | 0.041694 | 0.055592 | 0.819761 | 0.800217 | 0.779153 | 0.737676 | 0.682736 | 0.661455 | 0 | 0.037702 | 0.16684 | 6,749 | 155 | 140 | 43.541935 | 0.781256 | 0.221514 | 0 | 0.55102 | 0 | 0.071429 | 0.352518 | 0.224383 | 0 | 0 | 0 | 0.006452 | 0.132653 | 1 | 0.112245 | false | 0 | 0.030612 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a0e60ffc36b8007fac2a803da2db9981282b02a4 | 55 | py | Python | ekorpkit/corpora/__init__.py | entelecheia/ekorpkit | 400cb15005fdbcaa2ab0c311e338799283f28fe0 | [
"CC-BY-4.0"
] | 4 | 2022-02-26T10:54:16.000Z | 2022-02-26T11:01:56.000Z | ekorpkit/corpora/__init__.py | entelecheia/ekorpkit | 400cb15005fdbcaa2ab0c311e338799283f28fe0 | [
"CC-BY-4.0"
] | 1 | 2022-03-25T06:37:12.000Z | 2022-03-25T06:45:53.000Z | ekorpkit/corpora/__init__.py | entelecheia/ekorpkit | 400cb15005fdbcaa2ab0c311e338799283f28fe0 | [
"CC-BY-4.0"
] | null | null | null | from .loader import Corpora
from .corpus import Corpus
| 18.333333 | 27 | 0.818182 | 8 | 55 | 5.625 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 55 | 2 | 28 | 27.5 | 0.957447 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9d060d6f7113f1ce923259240afba72b4901681c | 26 | py | Python | server/tracker/tests.py | LaurentColoma/TicketManager-server | cbe66b54b78d1a6f034bf186d54784b68072462e | [
"MIT"
] | 2 | 2019-07-31T11:55:32.000Z | 2020-12-04T08:36:48.000Z | server/tracker/tests.py | LaurentColoma/TicketManager-server | cbe66b54b78d1a6f034bf186d54784b68072462e | [
"MIT"
] | null | null | null | server/tracker/tests.py | LaurentColoma/TicketManager-server | cbe66b54b78d1a6f034bf186d54784b68072462e | [
"MIT"
] | null | null | null | """
Test cases
TODO.
"""
| 4.333333 | 10 | 0.5 | 3 | 26 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 26 | 5 | 11 | 5.2 | 0.65 | 0.653846 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9d16db826e808064d01f7b6f1481e8610942f912 | 77 | py | Python | log_collectors/simple_log_collector/__init__.py | sboagibm/ffdl-model-metrics | e1a27db3d130fb3227585ee30b860a085591e748 | [
"Apache-2.0"
] | 680 | 2018-02-09T18:16:41.000Z | 2022-03-25T06:54:13.000Z | log_collectors/simple_log_collector/__init__.py | sboagibm/ffdl-model-metrics | e1a27db3d130fb3227585ee30b860a085591e748 | [
"Apache-2.0"
] | 118 | 2018-02-09T23:12:57.000Z | 2022-03-02T02:24:59.000Z | log_collectors/simple_log_collector/__init__.py | sboagibm/ffdl-model-metrics | e1a27db3d130fb3227585ee30b860a085591e748 | [
"Apache-2.0"
] | 202 | 2018-02-09T18:25:07.000Z | 2021-12-05T09:47:15.000Z | from __future__ import absolute_import
from .src import tail_em_from_emfile
| 19.25 | 38 | 0.87013 | 12 | 77 | 4.916667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116883 | 77 | 3 | 39 | 25.666667 | 0.867647 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9d568c05a44b0e01c769a8ba85d63e12a8ed91d5 | 3,065 | py | Python | tests/test_magic_logger.py | rcourivaud/logstash_logger | 135f9b314428717909f4cda17298db7100b1e7d3 | [
"MIT"
] | null | null | null | tests/test_magic_logger.py | rcourivaud/logstash_logger | 135f9b314428717909f4cda17298db7100b1e7d3 | [
"MIT"
] | null | null | null | tests/test_magic_logger.py | rcourivaud/logstash_logger | 135f9b314428717909f4cda17298db7100b1e7d3 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Tests for `magic_logger` package."""
from magic_logger import MagicLogger
import os
def test_file_created():
logger_name = 'test_name'
TestMagicLogger = MagicLogger(logger_name=logger_name, file_name='test_output.txt', host=None)
assert isinstance(TestMagi... | 35.229885 | 122 | 0.676998 | 401 | 3,065 | 4.885287 | 0.134663 | 0.127616 | 0.112813 | 0.064319 | 0.789689 | 0.789689 | 0.789689 | 0.789689 | 0.745278 | 0.745278 | 0 | 0.005208 | 0.185644 | 3,065 | 86 | 123 | 35.639535 | 0.779647 | 0.024796 | 0 | 0.606061 | 0 | 0 | 0.15996 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 1 | 0.106061 | false | 0 | 0.030303 | 0 | 0.136364 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c2147256410b21d088a218b8511676b9d5cb3b32 | 20 | py | Python | detex/version.py | d-chambers/Detex | 46602eb8e05e080a23111c8f2716065a016613c2 | [
"BSD-3-Clause"
] | 39 | 2015-08-15T20:10:14.000Z | 2022-03-17T00:41:57.000Z | detex/version.py | d-chambers/Detex | 46602eb8e05e080a23111c8f2716065a016613c2 | [
"BSD-3-Clause"
] | 39 | 2015-09-28T23:50:59.000Z | 2019-07-16T20:38:31.000Z | detex/version.py | d-chambers/Detex | 46602eb8e05e080a23111c8f2716065a016613c2 | [
"BSD-3-Clause"
] | 8 | 2015-10-08T20:43:40.000Z | 2020-08-05T22:47:45.000Z | __version__ = 1.0.9
| 10 | 19 | 0.7 | 4 | 20 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 0.15 | 20 | 1 | 20 | 20 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
dfa607d4411cba7379e67918636e4ecdcf951412 | 3,549 | py | Python | simphox/circuit/envelope.py | fancompute/simphox | 917673cc3ef8fb54fcbbaaa93b8efdc09a8e3614 | [
"MIT"
] | 6 | 2021-08-31T16:20:33.000Z | 2021-12-27T18:04:52.000Z | simphox/circuit/envelope.py | fancompute/simphox | 917673cc3ef8fb54fcbbaaa93b8efdc09a8e3614 | [
"MIT"
] | 1 | 2021-08-29T21:09:30.000Z | 2021-08-29T21:17:47.000Z | simphox/circuit/envelope.py | fancompute/simphox | 917673cc3ef8fb54fcbbaaa93b8efdc09a8e3614 | [
"MIT"
] | null | null | null | """This file is for back-of-the-envelope calculations / figures based on them."""
import numpy as np
def binary_svd_depth_size(n, k, interport_distance=25, device_length=200, loss_db: float = 0.3):
"""Binary SVD architecture depth and size.
Args:
n: Number of inputs.
k: Number of outputs (ge... | 37.755319 | 112 | 0.653705 | 496 | 3,549 | 4.5 | 0.191532 | 0.032258 | 0.037634 | 0.026882 | 0.755376 | 0.75 | 0.728047 | 0.728047 | 0.728047 | 0.728047 | 0 | 0.026966 | 0.247675 | 3,549 | 94 | 113 | 37.755319 | 0.808989 | 0.375317 | 0 | 0.695652 | 0 | 0 | 0.076332 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065217 | false | 0 | 0.021739 | 0 | 0.152174 | 0.065217 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
dfb48236f31998b970eddb8a3cd084fad2722e1d | 123 | py | Python | python/marvin/tools/mixins/__init__.py | jvazquez77/marvin | f7f2c498c1a2cfa19ab96c51eebbbd4bde980984 | [
"BSD-3-Clause"
] | 49 | 2016-11-04T19:20:50.000Z | 2022-03-13T08:43:05.000Z | python/marvin/tools/mixins/__init__.py | jvazquez77/marvin | f7f2c498c1a2cfa19ab96c51eebbbd4bde980984 | [
"BSD-3-Clause"
] | 703 | 2016-11-02T01:25:14.000Z | 2022-03-31T19:20:03.000Z | python/marvin/tools/mixins/__init__.py | jvazquez77/marvin | f7f2c498c1a2cfa19ab96c51eebbbd4bde980984 | [
"BSD-3-Clause"
] | 37 | 2016-11-09T08:51:48.000Z | 2022-02-22T22:49:45.000Z | # flake8: noqa
from .aperture import *
from .dapall import *
from .nsa import *
from .mma import *
from .caching import *
| 15.375 | 23 | 0.707317 | 17 | 123 | 5.117647 | 0.529412 | 0.45977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.195122 | 123 | 7 | 24 | 17.571429 | 0.868687 | 0.097561 | 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 | 0 | 0 | 0 | 5 |
dffb648db5cdaab93a5600b0c0d1c2f5afc4f9b2 | 144 | py | Python | pyhawkes/internals/__init__.py | thonic/pyhawkes | 99804deb9ea22ba3e1a99584420722abdf8eb56b | [
"MIT"
] | 221 | 2015-02-26T04:25:34.000Z | 2022-03-27T13:06:10.000Z | pyhawkes/internals/__init__.py | thonic/pyhawkes | 99804deb9ea22ba3e1a99584420722abdf8eb56b | [
"MIT"
] | 20 | 2015-08-04T01:47:19.000Z | 2021-08-08T00:22:44.000Z | pyhawkes/internals/__init__.py | thonic/pyhawkes | 99804deb9ea22ba3e1a99584420722abdf8eb56b | [
"MIT"
] | 86 | 2015-02-22T23:36:32.000Z | 2021-11-13T20:56:07.000Z |
from . import bias, continuous_time_helpers, distributions, impulses, network, parallel_adjacency_resampling, parent_updates, parents, weights
| 48 | 142 | 0.847222 | 16 | 144 | 7.3125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090278 | 144 | 2 | 143 | 72 | 0.89313 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5f30014a8081188141c83da60b550e9126daf62f | 146 | py | Python | test/tests/try_continue.py | aisk/pyston | ac69cfef0621dbc8901175e84fa2b5cb5781a646 | [
"BSD-2-Clause",
"Apache-2.0"
] | 1 | 2020-02-06T14:28:45.000Z | 2020-02-06T14:28:45.000Z | test/tests/try_continue.py | aisk/pyston | ac69cfef0621dbc8901175e84fa2b5cb5781a646 | [
"BSD-2-Clause",
"Apache-2.0"
] | null | null | null | test/tests/try_continue.py | aisk/pyston | ac69cfef0621dbc8901175e84fa2b5cb5781a646 | [
"BSD-2-Clause",
"Apache-2.0"
] | 1 | 2020-02-06T14:29:00.000Z | 2020-02-06T14:29:00.000Z | # should_error
# skip-if: '-x' in EXTRA_JIT_ARGS
# Syntax error to have a continue outside a loop.
def foo():
try: continue
finally: pass
| 20.857143 | 49 | 0.691781 | 24 | 146 | 4.083333 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212329 | 146 | 6 | 50 | 24.333333 | 0.852174 | 0.630137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
5f37a46ee4b1df6a8d7cd7afa088aae5ae1369e5 | 115 | py | Python | examples/example_08_advanced.py | cdeil/prefect-tutorial | 31c79c8dfe79da727c39d7aa2e4a7da9be849029 | [
"MIT"
] | 7 | 2022-01-04T21:05:36.000Z | 2022-03-27T01:41:14.000Z | examples/example_08_advanced.py | cdeil/prefect-tutorial | 31c79c8dfe79da727c39d7aa2e4a7da9be849029 | [
"MIT"
] | null | null | null | examples/example_08_advanced.py | cdeil/prefect-tutorial | 31c79c8dfe79da727c39d7aa2e4a7da9be849029 | [
"MIT"
] | 1 | 2022-02-03T21:11:06.000Z | 2022-02-03T21:11:06.000Z | """Advanced example of a complex flow.
TODO: copy our ETL example that we're currently using, simplify a bit.
"""
| 23 | 70 | 0.730435 | 19 | 115 | 4.421053 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 115 | 4 | 71 | 28.75 | 0.884211 | 0.930435 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.25 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 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 | 5 |
a035951d45a7cd9ab33022b6ca7f289038ae7590 | 4,370 | py | Python | getDomainAge/tests/test_controllers/test_apis/test_job.py | ljnath/getDomainAge | a15337433d319597c1a705b49553e31620e00058 | [
"MIT"
] | 2 | 2020-03-12T14:43:19.000Z | 2021-08-02T06:21:52.000Z | getDomainAge/tests/test_controllers/test_apis/test_job.py | ljnath/getDomainAge | a15337433d319597c1a705b49553e31620e00058 | [
"MIT"
] | 2 | 2021-05-25T16:01:29.000Z | 2021-09-07T19:17:01.000Z | getDomainAge/tests/test_controllers/test_apis/test_job.py | ljnath/getDomainAge | a15337433d319597c1a705b49553e31620e00058 | [
"MIT"
] | null | null | null | from unittest.mock import patch
import wtforms
from getDomainAge.models.enums import Endpoint, SessionParam
from getDomainAge.tests.test_controllers import app, do_login, test_client
def test_if_job_api_shows_add_job_page(test_client):
do_login(test_client) # performing login
response = test_client.get(End... | 40.462963 | 98 | 0.755606 | 634 | 4,370 | 4.954259 | 0.171924 | 0.101878 | 0.057943 | 0.076409 | 0.823305 | 0.808023 | 0.7695 | 0.740847 | 0.668577 | 0.668577 | 0 | 0.013297 | 0.156751 | 4,370 | 107 | 99 | 40.841122 | 0.839077 | 0.183066 | 0 | 0.47541 | 0 | 0 | 0.075775 | 0.030423 | 0 | 0 | 0 | 0.009346 | 0.393443 | 1 | 0.131148 | false | 0 | 0.065574 | 0 | 0.196721 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a03d7cc2fd5a7eaedbe93e5685da2476b8d3c89e | 192 | py | Python | pypbbot_examples/load_plugins.py | PHIKN1GHT/pypbbot | a327c173cd09b2461b755907ec32a7f151e47f75 | [
"MIT"
] | 11 | 2021-01-31T12:58:39.000Z | 2021-10-15T02:53:13.000Z | pypbbot_examples/load_plugins.py | ProtobufBot/pypbbot | a327c173cd09b2461b755907ec32a7f151e47f75 | [
"MIT"
] | null | null | null | pypbbot_examples/load_plugins.py | ProtobufBot/pypbbot | a327c173cd09b2461b755907ec32a7f151e47f75 | [
"MIT"
] | 4 | 2021-01-31T12:58:42.000Z | 2021-09-11T17:35:11.000Z | # python -m pypbbot_examples.load_plugins
import asyncio
from pypbbot.plugin import _loadedPlugins, load_plugins
asyncio.run(load_plugins("pypbbot_examples\\plugins"))
print(_loadedPlugins)
| 24 | 55 | 0.838542 | 24 | 192 | 6.416667 | 0.541667 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078125 | 192 | 7 | 56 | 27.428571 | 0.870057 | 0.203125 | 0 | 0 | 0 | 0 | 0.165563 | 0.165563 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.25 | 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 | 0 | 0 | 0 | 5 |
a04ccd6f53a9aac217e76e67d3db1c29851dfcee | 31 | py | Python | boilermaker/__main__.py | spacemeat/boilermaker | f5ffb308d426806f098fdb9dc34327454dab9cf6 | [
"MIT"
] | null | null | null | boilermaker/__main__.py | spacemeat/boilermaker | f5ffb308d426806f098fdb9dc34327454dab9cf6 | [
"MIT"
] | null | null | null | boilermaker/__main__.py | spacemeat/boilermaker | f5ffb308d426806f098fdb9dc34327454dab9cf6 | [
"MIT"
] | null | null | null | from .boma import main
main()
| 7.75 | 22 | 0.709677 | 5 | 31 | 4.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 31 | 3 | 23 | 10.333333 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a067fa279cf0693af0311063e68ec25621cf79b7 | 695 | py | Python | tigerforecast/utils/optimizers/tests/run_all_tests.py | danielsuo/TigerForecast | ae18b169d96dd81db88ab27a8b055036845d3a8f | [
"Apache-2.0"
] | 1 | 2020-07-28T09:07:29.000Z | 2020-07-28T09:07:29.000Z | tigerforecast/utils/optimizers/tests/run_all_tests.py | danielsuo/TigerForecast | ae18b169d96dd81db88ab27a8b055036845d3a8f | [
"Apache-2.0"
] | null | null | null | tigerforecast/utils/optimizers/tests/run_all_tests.py | danielsuo/TigerForecast | ae18b169d96dd81db88ab27a8b055036845d3a8f | [
"Apache-2.0"
] | 1 | 2021-04-12T22:39:26.000Z | 2021-04-12T22:39:26.000Z | from tigerforecast.utils.optimizers.tests.test_adagrad import test_adagrad
from tigerforecast.utils.optimizers.tests.test_sgd import test_sgd
from tigerforecast.utils.optimizers.tests.test_ogd import test_ogd
from tigerforecast.utils.optimizers.tests.test_adam import test_adam
from tigerforecast.utils.optimizers.tests.... | 33.095238 | 74 | 0.788489 | 102 | 695 | 5.107843 | 0.264706 | 0.230326 | 0.211132 | 0.307102 | 0.393474 | 0.393474 | 0 | 0 | 0 | 0 | 0 | 0.006525 | 0.117986 | 695 | 20 | 75 | 34.75 | 0.843393 | 0.034532 | 0 | 0 | 0 | 0 | 0.110613 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0.066667 | 0.333333 | 0 | 0.4 | 0.133333 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
a07ec5ff2fd47b2e139af5c87a7acb943f9e2590 | 54 | py | Python | interest/router/__init__.py | interest-hub/interest | e6e1def4f2999222aac2fb1d290ae94250673b89 | [
"MIT"
] | 14 | 2015-02-15T09:29:26.000Z | 2016-03-24T15:30:54.000Z | interest/router/__init__.py | roll/interest-py | e6e1def4f2999222aac2fb1d290ae94250673b89 | [
"MIT"
] | 17 | 2015-02-15T22:52:07.000Z | 2016-02-28T23:40:18.000Z | interest/router/__init__.py | roll/interest-py | e6e1def4f2999222aac2fb1d290ae94250673b89 | [
"MIT"
] | 1 | 2016-11-11T11:14:05.000Z | 2016-11-11T11:14:05.000Z | from .router import Router
from .parser import Parser
| 18 | 26 | 0.814815 | 8 | 54 | 5.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 54 | 2 | 27 | 27 | 0.956522 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a091f1ffceb87dbe37ec88e6e437efe343568b82 | 48 | py | Python | app.py | HackerUSA-CE/ballpy-api | 2f4b19a0cb552980947d741b70cc1f41122eac7b | [
"MIT"
] | null | null | null | app.py | HackerUSA-CE/ballpy-api | 2f4b19a0cb552980947d741b70cc1f41122eac7b | [
"MIT"
] | null | null | null | app.py | HackerUSA-CE/ballpy-api | 2f4b19a0cb552980947d741b70cc1f41122eac7b | [
"MIT"
] | null | null | null | from ballpy import create_app
app = create_app() | 24 | 29 | 0.8125 | 8 | 48 | 4.625 | 0.625 | 0.486486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 2 | 30 | 24 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a0bff684f8748bb8dacfddcaf6d90d1915bdc1fc | 24 | py | Python | __init__.py | GooZy/Z-Blog | a00cb2842fc4c9b49461c5be4363d175b2cbb307 | [
"MIT"
] | null | null | null | __init__.py | GooZy/Z-Blog | a00cb2842fc4c9b49461c5be4363d175b2cbb307 | [
"MIT"
] | null | null | null | __init__.py | GooZy/Z-Blog | a00cb2842fc4c9b49461c5be4363d175b2cbb307 | [
"MIT"
] | null | null | null | from .z_blog import app
| 12 | 23 | 0.791667 | 5 | 24 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
39ffdfb19e4c3f1ce67f4fe2f1a0c93932dc958b | 79 | py | Python | exporter/__init__.py | eabderh/exporter | 019be35e66c3645bff1b52e99927bac01b00fe97 | [
"MIT"
] | null | null | null | exporter/__init__.py | eabderh/exporter | 019be35e66c3645bff1b52e99927bac01b00fe97 | [
"MIT"
] | null | null | null | exporter/__init__.py | eabderh/exporter | 019be35e66c3645bff1b52e99927bac01b00fe97 | [
"MIT"
] | null | null | null |
from . import core
from .core import Export
from .globalize import globalize
| 13.166667 | 32 | 0.78481 | 11 | 79 | 5.636364 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177215 | 79 | 5 | 33 | 15.8 | 0.953846 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
26741ac9be94eeb8531194ce6e70c753266ec68e | 107 | py | Python | evol/exceptions.py | bahia14/Evol | b092a309f5fd4091b76b7bfd773ff9daa8ae9b2f | [
"MIT"
] | 161 | 2017-12-01T08:44:15.000Z | 2022-03-07T01:17:51.000Z | evol/exceptions.py | bahia14/Evol | b092a309f5fd4091b76b7bfd773ff9daa8ae9b2f | [
"MIT"
] | 104 | 2017-12-01T08:47:20.000Z | 2021-01-22T07:48:09.000Z | evol/exceptions.py | bahia14/Evol | b092a309f5fd4091b76b7bfd773ff9daa8ae9b2f | [
"MIT"
] | 15 | 2018-01-04T14:37:53.000Z | 2021-08-17T11:36:41.000Z | class PopulationIsNotEvaluatedException(RuntimeError):
pass
class StopEvolution(Exception):
pass
| 15.285714 | 54 | 0.794393 | 8 | 107 | 10.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149533 | 107 | 6 | 55 | 17.833333 | 0.934066 | 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 | 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 | 0 | 0 | 0 | 5 |
cd121ea51016210f5fe13ce4c5b780ad48f4469f | 47 | py | Python | angrmanagement/plugins/seed_table/__init__.py | DennyDai/angr-management | 8a4ba5dafbf2f4d2ba558528a0d1ae099a199a04 | [
"BSD-2-Clause"
] | 474 | 2015-08-10T17:47:15.000Z | 2022-03-31T21:10:55.000Z | angrmanagement/plugins/seed_table/__init__.py | DennyDai/angr-management | 8a4ba5dafbf2f4d2ba558528a0d1ae099a199a04 | [
"BSD-2-Clause"
] | 355 | 2015-08-17T09:35:53.000Z | 2022-03-31T21:29:52.000Z | angrmanagement/plugins/seed_table/__init__.py | DennyDai/angr-management | 8a4ba5dafbf2f4d2ba558528a0d1ae099a199a04 | [
"BSD-2-Clause"
] | 95 | 2015-08-11T14:36:12.000Z | 2022-03-31T23:01:01.000Z | from .seed_table_plugin import SeedTablePlugin
| 23.5 | 46 | 0.893617 | 6 | 47 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.930233 | 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 | 0 | 0 | 0 | 5 |
cd2057f791e79303be1e8a91ddd0e235e7c96547 | 154 | py | Python | nfnets/__init__.py | zuenko/nfnets-pytorch | 2300d526205cba9eb3ce9b52d68d636b2abc4295 | [
"MIT"
] | 312 | 2021-02-13T19:57:14.000Z | 2022-03-21T07:44:11.000Z | nfnets/__init__.py | zuenko/nfnets-pytorch | 2300d526205cba9eb3ce9b52d68d636b2abc4295 | [
"MIT"
] | 31 | 2021-02-14T21:51:15.000Z | 2021-08-22T09:37:44.000Z | nfnets/__init__.py | zuenko/nfnets-pytorch | 2300d526205cba9eb3ce9b52d68d636b2abc4295 | [
"MIT"
] | 27 | 2021-02-15T02:19:05.000Z | 2021-12-07T02:01:52.000Z | from .base import WSConv1d, WSConv2d, WSConvTranspose2d, ScaledStdConv2d
from .sgd_agc import SGD_AGC
from .agc import AGC
from .utils import replace_conv | 38.5 | 72 | 0.837662 | 22 | 154 | 5.727273 | 0.545455 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.116883 | 154 | 4 | 73 | 38.5 | 0.897059 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cd4f9c4023ca6ce8cd75567cfbb4b310baaa2bfa | 32 | py | Python | 2021/examples-in-class-2021-11-12/module_user.py | ati-ozgur/course-python | 38237d120043c07230658b56dc3aeb01c3364933 | [
"Apache-2.0"
] | 1 | 2021-02-04T16:59:11.000Z | 2021-02-04T16:59:11.000Z | 2021/examples-in-class-2021-11-12/module_user.py | ati-ozgur/course-python | 38237d120043c07230658b56dc3aeb01c3364933 | [
"Apache-2.0"
] | null | null | null | 2021/examples-in-class-2021-11-12/module_user.py | ati-ozgur/course-python | 38237d120043c07230658b56dc3aeb01c3364933 | [
"Apache-2.0"
] | 1 | 2019-10-30T14:37:48.000Z | 2019-10-30T14:37:48.000Z | from hello import hello
hello() | 10.666667 | 23 | 0.78125 | 5 | 32 | 5 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 3 | 24 | 10.666667 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
cd5b391780bc9fd912db3d4e6e40a153a5ed6152 | 87 | py | Python | tests/core/test_rast_client.py | freiburgermsu/ModelSEEDpy | f368354f99ddfe0b9f5ac0c8b2de72a89ccb6016 | [
"MIT"
] | 5 | 2021-06-22T18:22:29.000Z | 2022-03-02T02:17:49.000Z | tests/core/test_rast_client.py | freiburgermsu/ModelSEEDpy | f368354f99ddfe0b9f5ac0c8b2de72a89ccb6016 | [
"MIT"
] | 8 | 2021-06-18T07:12:48.000Z | 2022-03-30T15:35:06.000Z | tests/core/test_rast_client.py | freiburgermsu/ModelSEEDpy | f368354f99ddfe0b9f5ac0c8b2de72a89ccb6016 | [
"MIT"
] | 7 | 2021-05-05T22:54:01.000Z | 2022-03-11T10:18:43.000Z | ### test examples for the rast_client.py file
def test_somefunction():
pass
| 12.428571 | 45 | 0.678161 | 12 | 87 | 4.75 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 87 | 6 | 46 | 14.5 | 0.863636 | 0.471264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
cd670396a8192db7017582dac8f1c90d2d02c739 | 279 | py | Python | 1-Patron/python/GestorDeUltimate.py | TanZng/patrones-combinados | 93796d9d5296649bd76b7b2ee7c723156b9a120f | [
"MIT"
] | 1 | 2021-09-13T15:45:48.000Z | 2021-09-13T15:45:48.000Z | 1-Patron/python/GestorDeUltimate.py | TanZng/patrones-combinados | 93796d9d5296649bd76b7b2ee7c723156b9a120f | [
"MIT"
] | null | null | null | 1-Patron/python/GestorDeUltimate.py | TanZng/patrones-combinados | 93796d9d5296649bd76b7b2ee7c723156b9a120f | [
"MIT"
] | 1 | 2021-09-24T03:00:47.000Z | 2021-09-24T03:00:47.000Z | import Ultimate
class GestorDeUltimate():
def __init__(self, ultimate):
self.__ultimate = ultimate
def subirDeNivel(self, incremento):
return self.__ultimate.incNivel(incremento)
def generarUltimate():
return Ultimate("Basic", 10, 1) | 27.9 | 51 | 0.670251 | 27 | 279 | 6.62963 | 0.555556 | 0.201117 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.236559 | 279 | 10 | 52 | 27.9 | 0.826291 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.25 | 0.875 | 0 | 1 | 0 | 0 | null | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
2697ac0fda9afa9f02882c5afb49bead86c41864 | 5,170 | py | Python | ckanext-hdx_package/ckanext/hdx_package/tests/test_aws/test_file_removal.py | OCHA-DAP/hdx-ckan | 202e0c44adc4ea8d0b90141e69365b65cce68672 | [
"Apache-2.0"
] | 58 | 2015-01-11T09:05:15.000Z | 2022-03-17T23:44:07.000Z | ckanext-hdx_package/ckanext/hdx_package/tests/test_aws/test_file_removal.py | OCHA-DAP/hdx-ckan | 202e0c44adc4ea8d0b90141e69365b65cce68672 | [
"Apache-2.0"
] | 1,467 | 2015-01-01T16:47:44.000Z | 2022-02-28T16:51:20.000Z | ckanext-hdx_package/ckanext/hdx_package/tests/test_aws/test_file_removal.py | OCHA-DAP/hdx-ckan | 202e0c44adc4ea8d0b90141e69365b65cce68672 | [
"Apache-2.0"
] | 17 | 2015-05-06T14:04:21.000Z | 2021-11-11T19:58:16.000Z | import os
from werkzeug import FileStorage
import ckan.model as model
import ckan.plugins.toolkit as tk
from ckanext.hdx_package.tests.test_aws.hdx_s3_test_base import HDXS3TestBase
config = tk.config
_get_action = tk.get_action
class TestFileRemovalS3(HDXS3TestBase):
def test_resource_delete(self):
... | 48.317757 | 119 | 0.638298 | 592 | 5,170 | 5.138514 | 0.126689 | 0.095332 | 0.064103 | 0.101249 | 0.772189 | 0.767587 | 0.749178 | 0.744905 | 0.723537 | 0.720907 | 0 | 0.013478 | 0.268085 | 5,170 | 106 | 120 | 48.773585 | 0.790433 | 0 | 0 | 0.533333 | 0 | 0 | 0.106576 | 0.010445 | 0 | 0 | 0 | 0 | 0.186667 | 1 | 0.093333 | false | 0 | 0.066667 | 0.013333 | 0.186667 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
26c4550f04bd541899e9cef884acf360650a7832 | 3,776 | py | Python | unittests/scales/test_ordinal.py | xxao/pero | a7f0c84fae0b21fe120204e798bd61cdab3a125d | [
"MIT"
] | 13 | 2019-07-15T17:51:21.000Z | 2022-03-15T06:13:43.000Z | unittests/scales/test_ordinal.py | xxao/pero | a7f0c84fae0b21fe120204e798bd61cdab3a125d | [
"MIT"
] | 1 | 2021-12-29T00:46:44.000Z | 2022-01-21T16:18:48.000Z | unittests/scales/test_ordinal.py | xxao/pero | a7f0c84fae0b21fe120204e798bd61cdab3a125d | [
"MIT"
] | 3 | 2020-09-27T14:31:45.000Z | 2022-01-22T14:28:15.000Z | # Created byMartin.cz
# Copyright (c) Martin Strohalm. All rights reserved.
import unittest
import pero
class TestCase(unittest.TestCase):
"""Test case for ordinal scale."""
def test_scale(self):
"""Tests whether scale works correctly."""
in_range = [1, 2, 3]
out_... | 29.271318 | 59 | 0.53893 | 400 | 3,776 | 4.9725 | 0.155 | 0.211161 | 0.281549 | 0.201106 | 0.75817 | 0.715435 | 0.655103 | 0.643037 | 0.604827 | 0.604827 | 0 | 0.017111 | 0.334481 | 3,776 | 128 | 60 | 29.5 | 0.774373 | 0.106992 | 0 | 0.666667 | 0 | 0 | 0.05189 | 0 | 0 | 0 | 0 | 0 | 0.358974 | 1 | 0.064103 | false | 0 | 0.025641 | 0 | 0.102564 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f802b29cc26c46e00e18fbc0dc009137475b16ff | 8,638 | py | Python | tests/integration/cartography/intel/azure/test_iam.py | Cloudanix/cartography | 653d3cccbb9318e876fd558d386593e3612f4f78 | [
"Apache-2.0"
] | null | null | null | tests/integration/cartography/intel/azure/test_iam.py | Cloudanix/cartography | 653d3cccbb9318e876fd558d386593e3612f4f78 | [
"Apache-2.0"
] | 11 | 2020-12-21T02:51:11.000Z | 2022-03-15T14:30:43.000Z | tests/integration/cartography/intel/azure/test_iam.py | Cloudanix/cartography | 653d3cccbb9318e876fd558d386593e3612f4f78 | [
"Apache-2.0"
] | 1 | 2021-02-05T08:08:47.000Z | 2021-02-05T08:08:47.000Z | from cartography.intel.azure import iam
from tests.data.azure.iam import DESCRIBE_APPLICATIONS
from tests.data.azure.iam import DESCRIBE_DOMAINS
from tests.data.azure.iam import DESCRIBE_GROUPS
from tests.data.azure.iam import DESCRIBE_ROLES
from tests.data.azure.iam import DESCRIBE_SERVICE_ACCOUNTS
from tests.data.azu... | 22.612565 | 90 | 0.57768 | 943 | 8,638 | 5.005302 | 0.096501 | 0.109322 | 0.071186 | 0.05339 | 0.834746 | 0.769915 | 0.727966 | 0.659746 | 0.659746 | 0.607839 | 0 | 0.073757 | 0.310952 | 8,638 | 381 | 91 | 22.671916 | 0.719254 | 0 | 0 | 0.722008 | 0 | 0 | 0.097882 | 0.059233 | 0 | 0 | 0 | 0 | 0.046332 | 1 | 0.046332 | false | 0 | 0.027027 | 0 | 0.073359 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 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 | 5 |
f83cb1293f4622b17cfb9c1f35a6f77fabc9ef6b | 169 | py | Python | loops/sum_numbers.py | MaggieIllustrations/softuni-github-programming | f5695cb14602f3d2974359f6d8734332acc650d3 | [
"MIT"
] | null | null | null | loops/sum_numbers.py | MaggieIllustrations/softuni-github-programming | f5695cb14602f3d2974359f6d8734332acc650d3 | [
"MIT"
] | null | null | null | loops/sum_numbers.py | MaggieIllustrations/softuni-github-programming | f5695cb14602f3d2974359f6d8734332acc650d3 | [
"MIT"
] | 1 | 2022-01-14T17:12:44.000Z | 2022-01-14T17:12:44.000Z | numbers_count = int(input())
sum_number = 0
for counter in range(numbers_count):
current_number = int(input())
sum_number += current_number
print(sum_number)
| 16.9 | 36 | 0.727811 | 24 | 169 | 4.833333 | 0.541667 | 0.232759 | 0.189655 | 0.293103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007092 | 0.16568 | 169 | 9 | 37 | 18.777778 | 0.815603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 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 | 0 | 0 | 5 |
f84139625f26bc68b65e2b38d2c7925f9f66b72f | 140 | py | Python | utils.py | llecxis/DataSet_from_IMU_data | 38a7be00db8568c042d1b2bf7745cfc7a8041af0 | [
"CC0-1.0"
] | null | null | null | utils.py | llecxis/DataSet_from_IMU_data | 38a7be00db8568c042d1b2bf7745cfc7a8041af0 | [
"CC0-1.0"
] | null | null | null | utils.py | llecxis/DataSet_from_IMU_data | 38a7be00db8568c042d1b2bf7745cfc7a8041af0 | [
"CC0-1.0"
] | null | null | null | #common utilities for all module
def trap_exc_during_debug(*args):
# when app raises uncaught exception, print info
print(args) | 28 | 53 | 0.735714 | 20 | 140 | 5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 140 | 5 | 54 | 28 | 0.892857 | 0.557143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 5 |
f847f13a3159ccd5f83122474d7e1afba60452c8 | 65 | py | Python | hubblestack/utils/__init__.py | buddwm/hubble | b384ee48556ca144ae6f09dd0b45db29288e5293 | [
"Apache-2.0"
] | 363 | 2017-01-10T22:02:47.000Z | 2022-03-21T10:44:40.000Z | hubblestack/utils/__init__.py | buddwm/hubble | b384ee48556ca144ae6f09dd0b45db29288e5293 | [
"Apache-2.0"
] | 439 | 2017-01-12T22:39:42.000Z | 2021-10-11T18:43:28.000Z | hubblestack/utils/__init__.py | buddwm/hubble | b384ee48556ca144ae6f09dd0b45db29288e5293 | [
"Apache-2.0"
] | 138 | 2017-01-05T22:10:59.000Z | 2021-09-01T14:35:00.000Z | # coding: utf-8
from hubblestack.utils.process import daemonize
| 16.25 | 47 | 0.8 | 9 | 65 | 5.777778 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.123077 | 65 | 3 | 48 | 21.666667 | 0.894737 | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f85fd154b92c44461bd520b75fb67982ea950929 | 331 | py | Python | header_handlers/equipment_name_handler.py | cookyt/mhw_optimizer | 05dc4483f9bb0b6f8c2d8e205239d58bbd4c274a | [
"MIT"
] | null | null | null | header_handlers/equipment_name_handler.py | cookyt/mhw_optimizer | 05dc4483f9bb0b6f8c2d8e205239d58bbd4c274a | [
"MIT"
] | null | null | null | header_handlers/equipment_name_handler.py | cookyt/mhw_optimizer | 05dc4483f9bb0b6f8c2d8e205239d58bbd4c274a | [
"MIT"
] | null | null | null | from header_handlers.header_handler import HeaderHandler
class EquipmentNameHandler(HeaderHandler):
def __init__(self, body_part):
self.body_part = body_part
def generate_output(self, combination):
return combination.equipment[self.body_part].name
def name(self):
return self.body... | 25.461538 | 57 | 0.743202 | 40 | 331 | 5.85 | 0.475 | 0.17094 | 0.205128 | 0.136752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18429 | 331 | 12 | 58 | 27.583333 | 0.866667 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.25 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
f86cd2122c756ab12fbabe0d4ac3b093a91a406f | 116 | py | Python | chocolate/connection/__init__.py | Intelecy/chocolate | 0ba4f6f0130eab851d32d5534241c8cac3f6666e | [
"BSD-3-Clause"
] | 105 | 2017-10-27T02:14:22.000Z | 2022-01-13T12:57:05.000Z | chocolate/connection/__init__.py | Intelecy/chocolate | 0ba4f6f0130eab851d32d5534241c8cac3f6666e | [
"BSD-3-Clause"
] | 31 | 2017-10-03T13:41:35.000Z | 2021-08-20T21:01:29.000Z | chocolate/connection/__init__.py | Intelecy/chocolate | 0ba4f6f0130eab851d32d5534241c8cac3f6666e | [
"BSD-3-Clause"
] | 38 | 2017-10-05T20:19:42.000Z | 2022-03-28T11:34:04.000Z | from .mongodb import MongoDBConnection
from .pandas import DataFrameConnection
from .sqlite import SQLiteConnection
| 29 | 39 | 0.87069 | 12 | 116 | 8.416667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 116 | 3 | 40 | 38.666667 | 0.971154 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f891725e41561e5a988a2bd355ea6644f2b7b88a | 286 | py | Python | examples/00simple/legacy_person.py | Danil-Grigorev/swagger-marshmallow-codegen | 4c077f6e1ef535bcbdbf1f643f97bc4cbc62c0e8 | [
"MIT"
] | 49 | 2017-02-05T17:32:18.000Z | 2022-01-30T13:20:22.000Z | examples/00simple/legacy_person.py | Danil-Grigorev/swagger-marshmallow-codegen | 4c077f6e1ef535bcbdbf1f643f97bc4cbc62c0e8 | [
"MIT"
] | 62 | 2016-12-27T15:38:28.000Z | 2021-09-30T02:47:00.000Z | examples/00simple/legacy_person.py | Danil-Grigorev/swagger-marshmallow-codegen | 4c077f6e1ef535bcbdbf1f643f97bc4cbc62c0e8 | [
"MIT"
] | 10 | 2017-07-19T12:38:25.000Z | 2020-04-07T09:11:22.000Z | # this is auto-generated by swagger-marshmallow-codegen
from __future__ import annotations
from swagger_marshmallow_codegen.schema.legacy import LegacySchema
from marshmallow import fields
class Person(LegacySchema):
name = fields.String(required=True)
age = fields.Integer()
| 28.6 | 66 | 0.811189 | 35 | 286 | 6.457143 | 0.685714 | 0.159292 | 0.221239 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125874 | 286 | 9 | 67 | 31.777778 | 0.904 | 0.185315 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f8924b5997d8b16ab480b711e02522f17e129fa1 | 214 | py | Python | cvpro/__init__.py | Mohak-CODING-HEAVEN/CVPRO | 09a2cb4a428738c9e77f17b71469d55eff5e3699 | [
"MIT"
] | 5 | 2021-07-24T18:20:11.000Z | 2022-03-23T09:58:27.000Z | cvpro/__init__.py | Mohak-CODING-HEAVEN/cvpro | 09a2cb4a428738c9e77f17b71469d55eff5e3699 | [
"MIT"
] | null | null | null | cvpro/__init__.py | Mohak-CODING-HEAVEN/cvpro | 09a2cb4a428738c9e77f17b71469d55eff5e3699 | [
"MIT"
] | null | null | null | """
CVPRO - Computer Vision PROfessional
BY: MOHAK BAJAJ
CODING HEAVEN
"""
from cvpro.Utils import stackImages, cornerRect, findContours, overlayPNG, rotateImage, ColorFinder, FPS, LivePlot, putTextRect
| 23.777778 | 128 | 0.757009 | 22 | 214 | 7.363636 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163551 | 214 | 8 | 129 | 26.75 | 0.905028 | 0.313084 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3e01b8a4d9267895ad5d36ade74d575f3744724e | 221 | py | Python | old_files/__init__.py | ZhouHUB/xpd_workflow | be3d5dee1f8021b45f7e810c96a3dfefa8942bb5 | [
"BSD-3-Clause"
] | null | null | null | old_files/__init__.py | ZhouHUB/xpd_workflow | be3d5dee1f8021b45f7e810c96a3dfefa8942bb5 | [
"BSD-3-Clause"
] | 4 | 2016-08-25T02:59:05.000Z | 2016-09-28T22:32:34.000Z | old_files/__init__.py | ZhouHUB/xpd_workflow | be3d5dee1f8021b45f7e810c96a3dfefa8942bb5 | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) Brookhaven National Lab 2O14
# All rights reserved
# BSD License
# See LICENSE for full text
from __future__ import (absolute_import, division, print_function,
unicode_literals)
| 22.1 | 66 | 0.705882 | 26 | 221 | 5.730769 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017964 | 0.244344 | 221 | 9 | 67 | 24.555556 | 0.874252 | 0.452489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 0 | 1 | 0 | 5 |
3e2047383a537d1f6a44c09d91e6eacf5537b4e0 | 815 | py | Python | tests/problems/cracking_the_code_interview/test_is_unique.py | deniscostadsc/becoming-a-better-programmer | ec993d494ef5e9272429cc4d2ed1e7ffbe8e1bfd | [
"MIT"
] | 1 | 2020-05-04T11:28:35.000Z | 2020-05-04T11:28:35.000Z | tests/problems/cracking_the_code_interview/test_is_unique.py | deniscostadsc/becoming-a-better-programmer | ec993d494ef5e9272429cc4d2ed1e7ffbe8e1bfd | [
"MIT"
] | null | null | null | tests/problems/cracking_the_code_interview/test_is_unique.py | deniscostadsc/becoming-a-better-programmer | ec993d494ef5e9272429cc4d2ed1e7ffbe8e1bfd | [
"MIT"
] | null | null | null | from problems.cracking_the_code_interview.is_unique import (
is_unique,
is_unique_with_no_extra_space,
)
def test_all_chars_are_unique():
assert is_unique("a")
assert is_unique("abcde")
def test_has_repeated_chars():
assert not is_unique("aa")
assert not is_unique("abccde")
def test_has_on... | 28.103448 | 60 | 0.785276 | 133 | 815 | 4.240602 | 0.233083 | 0.212766 | 0.214539 | 0.312057 | 0.691489 | 0.654255 | 0.446809 | 0.234043 | 0 | 0 | 0 | 0 | 0.133742 | 815 | 28 | 61 | 29.107143 | 0.798867 | 0 | 0 | 0 | 0 | 0 | 0.050307 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.2 | true | 0 | 0.05 | 0 | 0.25 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3e30880f06d3d9464862156404cbc350836fb698 | 92 | py | Python | dips/net/__init__.py | shaharazulay/deep-semantic-prior | d1710e13f46c7e8ca365a815e0cd0ce6e8eb4d2b | [
"BSD-3-Clause"
] | 5 | 2021-12-08T03:20:40.000Z | 2022-02-22T06:51:32.000Z | dips/net/__init__.py | shaharazulay/deep-semantic-prior | d1710e13f46c7e8ca365a815e0cd0ce6e8eb4d2b | [
"BSD-3-Clause"
] | null | null | null | dips/net/__init__.py | shaharazulay/deep-semantic-prior | d1710e13f46c7e8ca365a815e0cd0ce6e8eb4d2b | [
"BSD-3-Clause"
] | 1 | 2021-12-22T07:22:46.000Z | 2021-12-22T07:22:46.000Z | from .skip_model import skip, skip_mask
from .optimization import optimize, uneven_optimize
| 30.666667 | 51 | 0.847826 | 13 | 92 | 5.769231 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 92 | 2 | 52 | 46 | 0.914634 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3e6dd412fbaef0b30a3c4c255ec69f0f86faa4f0 | 214 | py | Python | UserCode/SiPixelAnalyzer/python/__init__.py | mverwe/UserCode | 378dbc5e65dfc283c41355ace89db1b2e85e706d | [
"CC0-1.0"
] | null | null | null | UserCode/SiPixelAnalyzer/python/__init__.py | mverwe/UserCode | 378dbc5e65dfc283c41355ace89db1b2e85e706d | [
"CC0-1.0"
] | null | null | null | UserCode/SiPixelAnalyzer/python/__init__.py | mverwe/UserCode | 378dbc5e65dfc283c41355ace89db1b2e85e706d | [
"CC0-1.0"
] | null | null | null | #Automatically created by SCRAM
import os
__path__.append(os.path.dirname(os.path.abspath(__file__).rsplit('/PixelReadoutDQM/SiPixelAnalyzer/',1)[0])+'/cfipython/slc6_amd64_gcc491/PixelReadoutDQM/SiPixelAnalyzer')
| 53.5 | 171 | 0.827103 | 26 | 214 | 6.423077 | 0.769231 | 0.107784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038647 | 0.03271 | 214 | 3 | 172 | 71.333333 | 0.768116 | 0.140187 | 0 | 0 | 0 | 0 | 0.508197 | 0.508197 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3e6ff076c9b200ebc63d0c460da024f339356788 | 333 | py | Python | nlpaug/model/word_dict/word_dictionary.py | booltime/nlpaug | d21e51bacd170dcd3dddfc34a401f0215f91dbf1 | [
"MIT"
] | 1 | 2021-09-08T09:18:02.000Z | 2021-09-08T09:18:02.000Z | nlpaug/model/word_dict/word_dictionary.py | booltime/nlpaug | d21e51bacd170dcd3dddfc34a401f0215f91dbf1 | [
"MIT"
] | null | null | null | nlpaug/model/word_dict/word_dictionary.py | booltime/nlpaug | d21e51bacd170dcd3dddfc34a401f0215f91dbf1 | [
"MIT"
] | null | null | null | class WordDictionary:
def __init__(self, cache=True):
self.cache = cache
def train(self, data):
raise NotImplemented()
def predict(self, data):
raise NotImplemented()
def save(self, model_path):
raise NotImplemented()
def read(self, model_path):
raise NotI... | 20.8125 | 35 | 0.627628 | 36 | 333 | 5.638889 | 0.444444 | 0.374384 | 0.325123 | 0.26601 | 0.610837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.276276 | 333 | 15 | 36 | 22.2 | 0.842324 | 0 | 0 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0 | 0 | 0.545455 | 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 | 0 | 1 | 0 | 0 | 5 |
e416aa0b38e16bab3772c8e1e5bf756d77e7cb07 | 207 | py | Python | flatdata-generator/flatdata/generator/tree/nodes/trivial/__init__.py | gferon/flatdata | 8839fb36be105e496fea8acc3fc907ae878dd063 | [
"Apache-2.0"
] | 140 | 2018-01-26T21:59:38.000Z | 2022-02-17T10:23:29.000Z | flatdata-generator/flatdata/generator/tree/nodes/trivial/__init__.py | gferon/flatdata | 8839fb36be105e496fea8acc3fc907ae878dd063 | [
"Apache-2.0"
] | 114 | 2018-01-26T17:49:20.000Z | 2021-11-26T13:27:08.000Z | flatdata-generator/flatdata/generator/tree/nodes/trivial/__init__.py | gferon/flatdata | 8839fb36be105e496fea8acc3fc907ae878dd063 | [
"Apache-2.0"
] | 22 | 2018-01-26T16:51:24.000Z | 2021-04-27T13:32:44.000Z | from .constant import Constant
from .field import Field
from .namespace import Namespace
from .structure import Structure
from .enumeration import Enumeration
from .enumeration_value import EnumerationValue
| 29.571429 | 47 | 0.855072 | 25 | 207 | 7.04 | 0.36 | 0.170455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 207 | 6 | 48 | 34.5 | 0.961749 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e43bf053c622a620566bc8815bad97e1df7f65b0 | 13 | py | Python | myproject/constants.py | ianfaulkner/myproject | d4cb6bf48b9d46b979ddea01c31e794ddea29af0 | [
"BSD-2-Clause"
] | null | null | null | myproject/constants.py | ianfaulkner/myproject | d4cb6bf48b9d46b979ddea01c31e794ddea29af0 | [
"BSD-2-Clause"
] | null | null | null | myproject/constants.py | ianfaulkner/myproject | d4cb6bf48b9d46b979ddea01c31e794ddea29af0 | [
"BSD-2-Clause"
] | 1 | 2019-10-02T17:08:17.000Z | 2019-10-02T17:08:17.000Z | pi = 3.14159
| 6.5 | 12 | 0.615385 | 3 | 13 | 2.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.6 | 0.230769 | 13 | 1 | 13 | 13 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e45ef1830ce2809cc7aaac4272ab8a0ce25f4f35 | 245 | py | Python | announce/urls.py | p2pu/learning-circles | ccd94208ec18082f8fda6d7f21eacdd71bad6023 | [
"MIT"
] | 10 | 2016-05-03T20:41:25.000Z | 2021-09-17T18:42:01.000Z | announce/urls.py | p2pu/learning-circles | ccd94208ec18082f8fda6d7f21eacdd71bad6023 | [
"MIT"
] | 655 | 2016-05-04T19:00:35.000Z | 2022-03-28T13:09:20.000Z | announce/urls.py | p2pu/learning-circles | ccd94208ec18082f8fda6d7f21eacdd71bad6023 | [
"MIT"
] | 8 | 2016-05-06T10:24:27.000Z | 2020-10-21T00:56:59.000Z | from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^send/$', views.announce_webhook, name='announce_webhook'),
url(r'^mailchimp/(?P<webhook_secret>[\w-]+)$', views.mailchimp_webhook, name='announce_webhook'),
]
| 27.222222 | 101 | 0.706122 | 32 | 245 | 5.25 | 0.53125 | 0.267857 | 0.22619 | 0.309524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 245 | 8 | 102 | 30.625 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0.314286 | 0.155102 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e460b8dff81b5de80c35645a388d11f7933de4e7 | 8,713 | py | Python | realworld-testbed/scenarios.py | jhuwyler/qpep | 3b06f02f749cbc14ff9988ad6d9411f0a666f5f9 | [
"Unlicense"
] | null | null | null | realworld-testbed/scenarios.py | jhuwyler/qpep | 3b06f02f749cbc14ff9988ad6d9411f0a666f5f9 | [
"Unlicense"
] | null | null | null | realworld-testbed/scenarios.py | jhuwyler/qpep | 3b06f02f749cbc14ff9988ad6d9411f0a666f5f9 | [
"Unlicense"
] | null | null | null | from abc import ABC, abstractmethod
from loguru import logger
import docker
import time
import os
from dotenv import load_dotenv
load_dotenv()
load_dotenv(str(os.getenv("SERVER_ENV")))
load_dotenv(str(os.getenv("CLIENT_ENV")))
class Scenario(ABC):
def __init__(self, name, testbed, benchmarks):
self.name = ... | 49.505682 | 227 | 0.686331 | 1,098 | 8,713 | 5.216758 | 0.134791 | 0.046089 | 0.027933 | 0.043994 | 0.826466 | 0.790154 | 0.771648 | 0.701816 | 0.686802 | 0.645251 | 0 | 0.007857 | 0.196603 | 8,713 | 175 | 228 | 49.788571 | 0.810429 | 0.029152 | 0 | 0.591837 | 0 | 0.013605 | 0.263276 | 0.043406 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088435 | false | 0 | 0.040816 | 0 | 0.183673 | 0.040816 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e49f8eceffac2fafe9b954704fc0b67bfc2a3831 | 55 | py | Python | mittab/libs/outround_tab_logic/helpers.py | DanielS6/mit-tab | f2b5bb609546514582697b998b8b50a66bc8a396 | [
"MIT"
] | 9 | 2015-01-22T01:19:15.000Z | 2017-11-01T20:09:47.000Z | mittab/libs/outround_tab_logic/helpers.py | DanielS6/mit-tab | f2b5bb609546514582697b998b8b50a66bc8a396 | [
"MIT"
] | 152 | 2018-04-06T14:32:51.000Z | 2022-02-11T22:12:53.000Z | mittab/libs/outround_tab_logic/helpers.py | DanielS6/mit-tab | f2b5bb609546514582697b998b8b50a66bc8a396 | [
"MIT"
] | 13 | 2015-09-14T00:40:06.000Z | 2018-01-24T04:05:32.000Z | def offset_to_quotient(offset):
return 2 ** offset
| 18.333333 | 31 | 0.727273 | 8 | 55 | 4.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.181818 | 55 | 2 | 32 | 27.5 | 0.822222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
e4c4df0b73765b2d795ce2b333de76d60cacfc7b | 37,744 | py | Python | mathml/pmathml/opdict_data.py | ahjulstad/mathdom-python3 | 1fbb7e49d736f03db532423e057c2380ef000dd7 | [
"MIT"
] | 1 | 2016-11-02T06:27:02.000Z | 2016-11-02T06:27:02.000Z | mathml/pmathml/opdict_data.py | ahjulstad/mathdom-python3 | 1fbb7e49d736f03db532423e057c2380ef000dd7 | [
"MIT"
] | null | null | null | mathml/pmathml/opdict_data.py | ahjulstad/mathdom-python3 | 1fbb7e49d736f03db532423e057c2380ef000dd7 | [
"MIT"
] | null | null | null | # Data taken from the MathML 2.0 reference
data = '''
"(" form="prefix" fence="true" stretchy="true" lspace="0em" rspace="0em"
")" form="postfix" fence="true" stretchy="true" lspace="0em" rspace="0em"
"[" form="prefix... | 88.809412 | 140 | 0.58918 | 2,854 | 37,744 | 7.791521 | 0.110722 | 0.102802 | 0.203445 | 0.311193 | 0.824302 | 0.823088 | 0.489949 | 0.477942 | 0.23254 | 0.221118 | 0 | 0.006234 | 0.273235 | 37,744 | 424 | 141 | 89.018868 | 0.804418 | 0.00106 | 0 | 0 | 0 | 0.152975 | 0.999602 | 0.377938 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 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 | 5 |
e4e31c34b73ba64c360c9bcc56b3e00291f3e3ab | 156 | py | Python | src/yellowdog_client/model/add_application_request.py | yellowdog/yellowdog-sdk-python-public | da69a7d6e45c92933e34fefcaef8b5d98dcd6036 | [
"Apache-2.0"
] | null | null | null | src/yellowdog_client/model/add_application_request.py | yellowdog/yellowdog-sdk-python-public | da69a7d6e45c92933e34fefcaef8b5d98dcd6036 | [
"Apache-2.0"
] | null | null | null | src/yellowdog_client/model/add_application_request.py | yellowdog/yellowdog-sdk-python-public | da69a7d6e45c92933e34fefcaef8b5d98dcd6036 | [
"Apache-2.0"
] | null | null | null | from dataclasses import dataclass
from typing import Optional
@dataclass
class AddApplicationRequest:
name: str
description: Optional[str] = None
| 17.333333 | 37 | 0.782051 | 17 | 156 | 7.176471 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173077 | 156 | 8 | 38 | 19.5 | 0.945736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9024ff33641938c6ca0fd3c2205fe578bca5edd1 | 3,002 | py | Python | gans/models/discriminators/conditional_discriminator.py | tlatkowski/gans-2.0 | 974efc5bbcea39c0a7dec9405ba4514ada6dc39c | [
"MIT"
] | 78 | 2019-09-25T15:09:18.000Z | 2022-02-09T09:56:15.000Z | gans/models/discriminators/conditional_discriminator.py | tlatkowski/gans-2.0 | 974efc5bbcea39c0a7dec9405ba4514ada6dc39c | [
"MIT"
] | 23 | 2019-10-09T21:24:39.000Z | 2022-03-12T00:00:53.000Z | gans/models/discriminators/conditional_discriminator.py | tlatkowski/gans-2.0 | 974efc5bbcea39c0a7dec9405ba4514ada6dc39c | [
"MIT"
] | 18 | 2020-01-24T13:13:57.000Z | 2022-02-15T18:58:12.000Z | from easydict import EasyDict as edict
from tensorflow.python.keras import Input
from tensorflow.python.keras import Model
from tensorflow.python.keras import layers
from gans.models import model
class ConditionalDiscriminator(model.Model):
def __init__(
self,
model_parameters: edict,
... | 34.113636 | 107 | 0.633245 | 402 | 3,002 | 4.539801 | 0.179104 | 0.084384 | 0.074521 | 0.054795 | 0.836712 | 0.783562 | 0.761644 | 0.727123 | 0.69863 | 0.69863 | 0 | 0.034572 | 0.229181 | 3,002 | 87 | 108 | 34.505747 | 0.754105 | 0 | 0 | 0.698413 | 0 | 0 | 0.007995 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.063492 | false | 0 | 0.079365 | 0 | 0.206349 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5facd093d044f47f18fc2b28a226bc2b05790aff | 4,587 | py | Python | test/endpoint_tests/test_graphql.py | boxwise/boxwise-flask | 20ab248d73accbbe4b4edd6bc98c1c934ceb2998 | [
"Apache-2.0"
] | 1 | 2020-03-10T08:28:26.000Z | 2020-03-10T08:28:26.000Z | test/endpoint_tests/test_graphql.py | boxwise/boxwise-flask | 20ab248d73accbbe4b4edd6bc98c1c934ceb2998 | [
"Apache-2.0"
] | 25 | 2020-04-19T06:26:27.000Z | 2020-10-13T16:57:43.000Z | test/endpoint_tests/test_graphql.py | boxwise/boxwise-flask | 20ab248d73accbbe4b4edd6bc98c1c934ceb2998 | [
"Apache-2.0"
] | null | null | null | from boxwise_flask.db import db
from boxwise_flask.models.base import Base
from boxwise_flask.models.user import User
def get_base_from_graphql(id, base_query):
return [x for x in base_query if x["id"] == id][0]
def test_all_bases(client):
"""Verify allBases GraphQL query endpoint"""
bases = [
{... | 29.216561 | 87 | 0.556573 | 509 | 4,587 | 4.776031 | 0.1611 | 0.064171 | 0.03949 | 0.059235 | 0.76306 | 0.7355 | 0.730564 | 0.730564 | 0.730564 | 0.711641 | 0 | 0.009088 | 0.304338 | 4,587 | 156 | 88 | 29.403846 | 0.752742 | 0.032265 | 0 | 0.689076 | 0 | 0 | 0.266916 | 0.021932 | 0 | 0 | 0 | 0 | 0.117647 | 1 | 0.042017 | false | 0 | 0.02521 | 0.008403 | 0.07563 | 0.008403 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5fba528e1dc15d850da292db0e8a0a2ab9036729 | 1,134 | py | Python | pytest_cases/tests/cases/issues/test_issue_146.py | plammens/python-pytest-cases | a9083f2195714c49e5606b5191c6fe26d298a691 | [
"BSD-3-Clause"
] | null | null | null | pytest_cases/tests/cases/issues/test_issue_146.py | plammens/python-pytest-cases | a9083f2195714c49e5606b5191c6fe26d298a691 | [
"BSD-3-Clause"
] | null | null | null | pytest_cases/tests/cases/issues/test_issue_146.py | plammens/python-pytest-cases | a9083f2195714c49e5606b5191c6fe26d298a691 | [
"BSD-3-Clause"
] | null | null | null | # from pytest_cases import parametrize_with_cases, fixture
#
#
# def case_without_fixture():
# important_value = 1
# other_important_value = 2
# return important_value, other_important_value
#
#
# @parametrize_with_cases("important_value,other_important_value", cases='.')
# def test_case_without_fixture(req... | 30.648649 | 81 | 0.746032 | 136 | 1,134 | 5.816176 | 0.198529 | 0.424779 | 0.264223 | 0.212389 | 0.673831 | 0.673831 | 0.673831 | 0.480405 | 0.480405 | 0.323641 | 0 | 0.008333 | 0.153439 | 1,134 | 36 | 82 | 31.5 | 0.815625 | 0.934744 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5fcf8fe2e022d585674a3d86932c36f48fe90945 | 40 | py | Python | Meus exemplos/conversor.py | josevini/python | 45cde6d0ae8310b1d8ebb30ae1dd17c0ad0dd02a | [
"MIT"
] | null | null | null | Meus exemplos/conversor.py | josevini/python | 45cde6d0ae8310b1d8ebb30ae1dd17c0ad0dd02a | [
"MIT"
] | null | null | null | Meus exemplos/conversor.py | josevini/python | 45cde6d0ae8310b1d8ebb30ae1dd17c0ad0dd02a | [
"MIT"
] | null | null | null | from func import conversor
conversor()
| 10 | 26 | 0.8 | 5 | 40 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 40 | 3 | 27 | 13.333333 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3963c2443c4421f4d9b778f0e8aefbe85043bd87 | 9,173 | py | Python | src/models/mimic/resnet_layer.py | jsiloto/adaptive-cob | eb38e3b52c4927e3ac0a897142ad26fbc4eb82de | [
"MIT"
] | 1 | 2021-09-15T02:32:57.000Z | 2021-09-15T02:32:57.000Z | src/models/mimic/resnet_layer.py | jsiloto/adaptive-cob | eb38e3b52c4927e3ac0a897142ad26fbc4eb82de | [
"MIT"
] | null | null | null | src/models/mimic/resnet_layer.py | jsiloto/adaptive-cob | eb38e3b52c4927e3ac0a897142ad26fbc4eb82de | [
"MIT"
] | 2 | 2021-11-20T13:17:06.000Z | 2022-03-08T13:42:52.000Z | from torch import nn
from models.slimmable.slimmable_ops import USConv2d, USBatchNorm2d
from models.ext.classifier import Ext4ResNet
from models.mimic.base import BottleneckBase4Ext, ExtEncoder, BottleneckIdentity
class Bottleneck4SmallResNet(BottleneckBase4Ext):
def __init__(self, bottleneck_channel, ext_config,... | 47.041026 | 127 | 0.652349 | 1,062 | 9,173 | 5.419962 | 0.089454 | 0.059069 | 0.061154 | 0.087908 | 0.775712 | 0.743919 | 0.73975 | 0.73975 | 0.73089 | 0.707957 | 0 | 0.064799 | 0.241252 | 9,173 | 194 | 128 | 47.283505 | 0.762213 | 0 | 0 | 0.639535 | 0 | 0 | 0.059741 | 0.012101 | 0 | 0 | 0 | 0 | 0 | 1 | 0.063953 | false | 0 | 0.023256 | 0.023256 | 0.151163 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
39b24716255eac18d3878079c4357bcddca19c59 | 768 | py | Python | tests/test_punctuation_spacing_correction.py | KyleMaclean/Poetry-Generator | d69e30636403194668e22f87d6aecef24e1aba36 | [
"MIT"
] | null | null | null | tests/test_punctuation_spacing_correction.py | KyleMaclean/Poetry-Generator | d69e30636403194668e22f87d6aecef24e1aba36 | [
"MIT"
] | null | null | null | tests/test_punctuation_spacing_correction.py | KyleMaclean/Poetry-Generator | d69e30636403194668e22f87d6aecef24e1aba36 | [
"MIT"
] | null | null | null | from unittest import TestCase
from agents import punctuation_spacing_correction
class Test(TestCase):
def test_do(self):
lines = ['there was a mouse , cat , dog and flower', 'on the highest, weirdest , most abominable place']
expected_lines = ['there was a mouse, cat, dog and flower', 'on the hig... | 40.421053 | 118 | 0.695313 | 98 | 768 | 5.285714 | 0.346939 | 0.07722 | 0.100386 | 0.108108 | 0.779923 | 0.779923 | 0.779923 | 0.779923 | 0.779923 | 0.779923 | 0 | 0.001661 | 0.216146 | 768 | 18 | 119 | 42.666667 | 0.858804 | 0.010417 | 0 | 0.307692 | 0 | 0 | 0.335092 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.153846 | false | 0 | 0.153846 | 0 | 0.384615 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
39b2fa1a15410fe423799e60a080a0f429f16d9f | 305 | py | Python | tests/test_dds_contrib.py | clayne/bethesda-structs | 596e2f205a7a06ec8fca367f3b4d4cc6e38e5d5e | [
"MIT"
] | 12 | 2018-01-12T11:08:56.000Z | 2021-12-21T18:30:16.000Z | tests/test_dds_contrib.py | clayne/bethesda-structs | 596e2f205a7a06ec8fca367f3b4d4cc6e38e5d5e | [
"MIT"
] | 14 | 2018-04-25T18:56:23.000Z | 2020-12-23T08:41:36.000Z | tests/test_dds_contrib.py | clayne/bethesda-structs | 596e2f205a7a06ec8fca367f3b4d4cc6e38e5d5e | [
"MIT"
] | 3 | 2019-01-20T03:52:04.000Z | 2019-09-13T21:16:20.000Z | # Copyright (c) 2018 Stephen Bunn <stephen@bunn.io>
# MIT License <https://choosealicense.com/licenses/mit/>
from bethesda_structs.contrib.dds import MAKEFOURCC
from construct import Bytes, Int32ul
def test_MAKEFOURCC(makefourcc_pair):
assert MAKEFOURCC(*makefourcc_pair[0]) == makefourcc_pair[-1]
| 30.5 | 65 | 0.783607 | 40 | 305 | 5.85 | 0.7 | 0.179487 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.108197 | 305 | 9 | 66 | 33.888889 | 0.830882 | 0.340984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
39e3bad88cc477aa797807db2e76003340c4869e | 277 | py | Python | mwevents/sources/source.py | mediawiki-utilities/python-mwevents | cf53334b54b8abae6e5d345b200e5944aff9e5ba | [
"MIT"
] | 1 | 2015-10-14T18:28:41.000Z | 2015-10-14T18:28:41.000Z | mwevents/sources/source.py | halfak/MediaWiki-events | cf53334b54b8abae6e5d345b200e5944aff9e5ba | [
"MIT"
] | null | null | null | mwevents/sources/source.py | halfak/MediaWiki-events | cf53334b54b8abae6e5d345b200e5944aff9e5ba | [
"MIT"
] | 1 | 2018-09-19T11:14:51.000Z | 2018-09-19T11:14:51.000Z |
class RCListener:
def __iter__(self): raise NotImplementedError()
class Source:
def listener(self, *args, **kwargs):
raise NotImplementedError()
def query(self, start, end, *args, types=None, **kwargs):
raise NotImplementedError()
| 19.785714 | 61 | 0.638989 | 27 | 277 | 6.407407 | 0.592593 | 0.416185 | 0.346821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.249097 | 277 | 13 | 62 | 21.307692 | 0.831731 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0 | 0.714286 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
f2ddf203ca4e06a0380daafdab644feb8b26556b | 30 | py | Python | uliweb/__main__.py | timgates42/uliweb | 80c0459c5e5d257b665eb2e1d0b5f68ad55c42f1 | [
"BSD-2-Clause"
] | 202 | 2015-01-12T08:10:48.000Z | 2021-11-08T09:04:32.000Z | uliweb/__main__.py | timgates42/uliweb | 80c0459c5e5d257b665eb2e1d0b5f68ad55c42f1 | [
"BSD-2-Clause"
] | 30 | 2015-01-01T09:07:17.000Z | 2021-06-03T12:58:45.000Z | uliweb/__main__.py | timgates42/uliweb | 80c0459c5e5d257b665eb2e1d0b5f68ad55c42f1 | [
"BSD-2-Clause"
] | 58 | 2015-01-12T03:28:54.000Z | 2022-01-14T01:58:08.000Z | from manage import main
main() | 15 | 23 | 0.8 | 5 | 30 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 2 | 24 | 15 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
84146e445f81e333c69a7f0b7b5036c35d0914c8 | 210 | py | Python | src/sensor/__init__.py | mushroom-x/gamepad_python | fa1893c6f094521f769d8945ced699f39f102dbf | [
"MIT"
] | 2 | 2022-02-11T03:14:01.000Z | 2022-02-11T03:17:42.000Z | src/sensor/__init__.py | JACKDONG-blue/gamepad_python | 22dc9f537bbee584f37eb3693ae81148a5d29c6a | [
"MIT"
] | 1 | 2022-02-10T18:49:25.000Z | 2022-02-10T18:49:25.000Z | src/sensor/__init__.py | JACKDONG-blue/gamepad_python | 22dc9f537bbee584f37eb3693ae81148a5d29c6a | [
"MIT"
] | 1 | 2022-02-11T02:54:10.000Z | 2022-02-11T02:54:10.000Z | from .sensor import Sensor
from .button import Button, ButtonValue, ButtonEventFlag
from .cross_button import CrossButtonSingle, CrossButtonSingleValue, CrossButton
from .joystick import JoyStickAxis, JoyStick
| 42 | 80 | 0.857143 | 22 | 210 | 8.136364 | 0.545455 | 0.134078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 210 | 4 | 81 | 52.5 | 0.94709 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
841eeb953e1ffdd85066f62645f6bfbdd4cfe818 | 82 | py | Python | datatest/__past__/api_dev1.py | drewdolan/datatest | 1c168739f84328043c7f0be7cf25bb8e23cc259c | [
"Apache-2.0"
] | 277 | 2016-05-12T13:22:49.000Z | 2022-03-11T00:18:32.000Z | datatest/__past__/api_dev1.py | drewdolan/datatest | 1c168739f84328043c7f0be7cf25bb8e23cc259c | [
"Apache-2.0"
] | 57 | 2016-05-18T01:03:32.000Z | 2022-02-17T13:48:43.000Z | datatest/__past__/api_dev1.py | drewdolan/datatest | 1c168739f84328043c7f0be7cf25bb8e23cc259c | [
"Apache-2.0"
] | 16 | 2016-05-22T11:35:19.000Z | 2021-12-01T19:41:42.000Z | """alias for api06"""
from __future__ import absolute_import
from .api06 import *
| 20.5 | 38 | 0.768293 | 11 | 82 | 5.272727 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 0.134146 | 82 | 3 | 39 | 27.333333 | 0.760563 | 0.182927 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
845d3a90f6d9f07f14f6c268877e5f2700b45971 | 150 | py | Python | inputflow/utils.py | kverdecia/dj-input-flow | 10060293dda783a796acdd475ea6b0aab2681499 | [
"MIT"
] | null | null | null | inputflow/utils.py | kverdecia/dj-input-flow | 10060293dda783a796acdd475ea6b0aab2681499 | [
"MIT"
] | 4 | 2021-10-15T01:51:14.000Z | 2021-10-21T05:22:30.000Z | inputflow/utils.py | kverdecia/dj-input-flow | 10060293dda783a796acdd475ea6b0aab2681499 | [
"MIT"
] | null | null | null | from collections import OrderedDict
class Utils:
@staticmethod
def write_to_dict(dictionary, path, value):
dictionary[path] = value
| 18.75 | 47 | 0.72 | 17 | 150 | 6.235294 | 0.823529 | 0.264151 | 0.358491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213333 | 150 | 7 | 48 | 21.428571 | 0.898305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
ffdebdaa179fa5751935d83c1a93cb03f9748edf | 148 | py | Python | lib/sequentia/classifiers/hmm/topologies/__init__.py | Prhmma/sequentia | 9d15fc494e4e932174e9c321b6929b624bbccfc6 | [
"MIT"
] | 32 | 2019-12-31T15:53:47.000Z | 2022-03-31T12:40:40.000Z | lib/sequentia/classifiers/hmm/topologies/__init__.py | Prhmma/sequentia | 9d15fc494e4e932174e9c321b6929b624bbccfc6 | [
"MIT"
] | 25 | 2020-06-01T18:32:47.000Z | 2022-01-22T13:15:36.000Z | lib/sequentia/classifiers/hmm/topologies/__init__.py | Prhmma/sequentia | 9d15fc494e4e932174e9c321b6929b624bbccfc6 | [
"MIT"
] | 6 | 2019-12-31T15:54:26.000Z | 2022-01-23T07:09:28.000Z | from .topology import _Topology
from .left_right import _LeftRightTopology
from .linear import _LinearTopology
from .ergodic import _ErgodicTopology | 37 | 42 | 0.871622 | 17 | 148 | 7.294118 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101351 | 148 | 4 | 43 | 37 | 0.932331 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
081422200dc38069b0326bab5a25ded94e8ab6bb | 44 | py | Python | ansible_runner/tests/__init__.py | smk4664/nautobot-plugin-ansible-runner | 14e3c57e9d4b21abe9bf81484fc3e26114fc7056 | [
"Apache-2.0"
] | null | null | null | ansible_runner/tests/__init__.py | smk4664/nautobot-plugin-ansible-runner | 14e3c57e9d4b21abe9bf81484fc3e26114fc7056 | [
"Apache-2.0"
] | null | null | null | ansible_runner/tests/__init__.py | smk4664/nautobot-plugin-ansible-runner | 14e3c57e9d4b21abe9bf81484fc3e26114fc7056 | [
"Apache-2.0"
] | null | null | null | """Unit tests for ansible_runner plugin."""
| 22 | 43 | 0.727273 | 6 | 44 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 1 | 44 | 44 | 0.794872 | 0.840909 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
0817f0bc7c1cc897208b5396e7bf5394cef5533a | 80 | py | Python | src/replay/__main__.py | karvla/replay | 162b01581b0ecc1a7f726ec17c62a87204f81885 | [
"MIT"
] | 5 | 2020-12-26T20:24:47.000Z | 2021-09-04T22:32:54.000Z | src/replay/__main__.py | karvla/replay | 162b01581b0ecc1a7f726ec17c62a87204f81885 | [
"MIT"
] | null | null | null | src/replay/__main__.py | karvla/replay | 162b01581b0ecc1a7f726ec17c62a87204f81885 | [
"MIT"
] | null | null | null | from replay.main import make_video
if __name__ == "__main__":
make_video()
| 16 | 34 | 0.725 | 11 | 80 | 4.363636 | 0.727273 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 80 | 4 | 35 | 20 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 5 |
f24e2f0e4807a75db3cdc27c47dee6c001098ca3 | 2,473 | py | Python | src/mainapp.py | mattheuslee/PyPlayer | 0cccff7130be40e3f547b7287e00cbe29e9a5796 | [
"MIT"
] | null | null | null | src/mainapp.py | mattheuslee/PyPlayer | 0cccff7130be40e3f547b7287e00cbe29e9a5796 | [
"MIT"
] | null | null | null | src/mainapp.py | mattheuslee/PyPlayer | 0cccff7130be40e3f547b7287e00cbe29e9a5796 | [
"MIT"
] | null | null | null | import sys
import time
import numpy as np
from ai.basicgoai import BasicGoAi
from game.basicgo import BasicGo
from game.player import Player
class MainApp:
def human_human_basicgo():
basicGo = BasicGo()
player = -1
np.set_printoptions(linewidth = 100, formatter = { "int_kind": lambda x: "%... | 38.640625 | 106 | 0.574606 | 299 | 2,473 | 4.665552 | 0.220736 | 0.078853 | 0.039427 | 0.043011 | 0.781362 | 0.734767 | 0.713978 | 0.713978 | 0.713978 | 0.650896 | 0 | 0.015828 | 0.284674 | 2,473 | 63 | 107 | 39.253968 | 0.772753 | 0 | 0 | 0.586207 | 0 | 0 | 0.098666 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051724 | false | 0 | 0.103448 | 0 | 0.172414 | 0.258621 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f26c522481525d0e28f6deb7415d1684693ae444 | 329 | py | Python | speedyfx/externals/__init__.py | rth/py-speedyfx | 836251b6903ef1070e5abdd361bcb422175d391f | [
"BSD-3-Clause"
] | 4 | 2016-09-17T12:38:13.000Z | 2021-08-04T13:16:27.000Z | speedyfx/externals/__init__.py | rth/py-speedyfx | 836251b6903ef1070e5abdd361bcb422175d391f | [
"BSD-3-Clause"
] | 7 | 2016-09-17T12:05:19.000Z | 2016-09-26T11:26:51.000Z | speedyfx/externals/__init__.py | rth/py-speedyfx | 836251b6903ef1070e5abdd361bcb422175d391f | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
try:
from sklearn.feature_extraction.text import VectorizerMixin
from sklearn.base import BaseEstimator
except ImportError:
from .sklearn_base import BaseEstimator, Vectori... | 25.307692 | 63 | 0.805471 | 38 | 329 | 6.552632 | 0.526316 | 0.120482 | 0.192771 | 0.168675 | 0.273092 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003559 | 0.145897 | 329 | 12 | 64 | 27.416667 | 0.882562 | 0.06383 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.875 | 0 | 0.875 | 0.125 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 5 |
f2732d792a6651af8b632e90b3f3b4d33bf2ec5b | 6,568 | py | Python | hlib/tests/test_graph/test_graph.py | hlatourette/pyprep | 0adf87141457dc8c01984e5fe06a43475555972c | [
"MIT"
] | 1 | 2018-03-14T05:10:28.000Z | 2018-03-14T05:10:28.000Z | hlib/tests/test_graph/test_graph.py | hlatourette/pyprep | 0adf87141457dc8c01984e5fe06a43475555972c | [
"MIT"
] | 7 | 2018-04-12T04:54:36.000Z | 2018-08-04T01:33:02.000Z | hlib/tests/test_graph/test_graph.py | hlatourette/study | 0adf87141457dc8c01984e5fe06a43475555972c | [
"MIT"
] | null | null | null | import unittest
from graph.graph import Graph
class TestStack(unittest.TestCase):
def setUp(self):
self.attr_key = 'w'
graph_adj_list = {
0: {1:{}, 2:{}, 3:{}},
1: {4:{}, 5:{}},
2: {5:{}},
3: {6:{}},
4: {6:{}},
5: {7:{}},
... | 42.649351 | 149 | 0.556943 | 963 | 6,568 | 3.607477 | 0.057113 | 0.220207 | 0.267991 | 0.221071 | 0.829303 | 0.630685 | 0.494243 | 0.337363 | 0.28958 | 0.269142 | 0 | 0.064459 | 0.227619 | 6,568 | 154 | 150 | 42.649351 | 0.620343 | 0 | 0 | 0.138462 | 0 | 0 | 0.000761 | 0 | 0 | 0 | 0 | 0 | 0.446154 | 1 | 0.161538 | false | 0 | 0.015385 | 0 | 0.184615 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4b666eded31b2a6bd1805188515509960d45d7fb | 4,788 | py | Python | src/input_getter.py | smileyface12349/notorious-narwhals | 2bafd3799f3f21bef0a62135d302068ae4866918 | [
"MIT"
] | 6 | 2021-07-09T15:32:01.000Z | 2021-07-09T19:33:52.000Z | src/input_getter.py | smileyface12349/notorious-narwhals | 2bafd3799f3f21bef0a62135d302068ae4866918 | [
"MIT"
] | 22 | 2021-07-09T21:32:04.000Z | 2021-07-16T20:22:06.000Z | src/input_getter.py | smileyface12349/notorious-narwhals | 2bafd3799f3f21bef0a62135d302068ae4866918 | [
"MIT"
] | null | null | null | import curses
from threading import Thread
from typing import NoReturn, Optional
class InputGetter:
"""A class that uses curses.getch() to get input"""
def __init__(self, screen: curses.window):
"""Initialize the InputGetter"""
self.screen = screen
self.char_index_list = []
se... | 35.731343 | 110 | 0.608396 | 688 | 4,788 | 4.097384 | 0.111919 | 0.13409 | 0.138347 | 0.132671 | 0.768003 | 0.735722 | 0.735722 | 0.735722 | 0.735722 | 0.728627 | 0 | 0.003617 | 0.307018 | 4,788 | 133 | 111 | 36 | 0.845992 | 0.326023 | 0 | 0.564103 | 0 | 0 | 0.007075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.141026 | false | 0 | 0.038462 | 0 | 0.358974 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4b7fed8c377c1928220f8ccea49e16251d2d23f6 | 100 | py | Python | botcommands/pi.py | JokerQyou/bot | c67664099acd5338555ed6bb5c8b75b7e2fed746 | [
"BSD-2-Clause"
] | 7 | 2015-07-31T14:26:59.000Z | 2016-05-17T01:41:28.000Z | botcommands/pi.py | JokerQyou/bot | c67664099acd5338555ed6bb5c8b75b7e2fed746 | [
"BSD-2-Clause"
] | 36 | 2015-07-19T15:49:35.000Z | 2018-07-31T15:10:31.000Z | botcommands/pi.py | JokerQyou/bot | c67664099acd5338555ed6bb5c8b75b7e2fed746 | [
"BSD-2-Clause"
] | null | null | null | # coding: utf-8
from config import pi_command
@pi_command
def pi(msg=None, debug=False):
pass
| 12.5 | 30 | 0.72 | 17 | 100 | 4.117647 | 0.823529 | 0.257143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.18 | 100 | 7 | 31 | 14.285714 | 0.841463 | 0.13 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
29d521796bd2d45b513788e6834d38768a296bbc | 295 | py | Python | src/webapp/resources/__init__.py | minelminel/flask-boilerplate | 39780a4f5d9fc725ca24f920aa65c2ac56a71496 | [
"MIT"
] | null | null | null | src/webapp/resources/__init__.py | minelminel/flask-boilerplate | 39780a4f5d9fc725ca24f920aa65c2ac56a71496 | [
"MIT"
] | null | null | null | src/webapp/resources/__init__.py | minelminel/flask-boilerplate | 39780a4f5d9fc725ca24f920aa65c2ac56a71496 | [
"MIT"
] | null | null | null | from .base import api
from .index import IndexResource
from .health import HealthResource
from .document import DocumentsResource
api.add_resource(IndexResource, '/')
api.add_resource(HealthResource, '/health')
api.add_resource(DocumentsResource, '/documents/<int:document_id>', '/documents')
| 29.5 | 81 | 0.80339 | 34 | 295 | 6.852941 | 0.441176 | 0.077253 | 0.180258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084746 | 295 | 9 | 82 | 32.777778 | 0.862963 | 0 | 0 | 0 | 0 | 0 | 0.155932 | 0.094915 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
29f05b2b890c04ef8916a639a3e3061caf65f099 | 71 | py | Python | PySpectrograph/Spectra/__init__.py | crawfordsm/pyspectrograph | 4237ba4b4fe08a69e1d6487924d959f089ecca46 | [
"BSD-3-Clause"
] | 18 | 2015-01-11T21:04:59.000Z | 2021-08-06T18:30:47.000Z | PySpectrograph/Spectra/__init__.py | crawfordsm/pyspectrograph | 4237ba4b4fe08a69e1d6487924d959f089ecca46 | [
"BSD-3-Clause"
] | 14 | 2015-04-23T09:39:16.000Z | 2017-12-03T12:49:05.000Z | PySpectrograph/Spectra/__init__.py | crawfordsm/pyspectrograph | 4237ba4b4fe08a69e1d6487924d959f089ecca46 | [
"BSD-3-Clause"
] | 5 | 2015-04-23T08:17:37.000Z | 2019-06-22T13:36:47.000Z | """
Spectra includes models for a spectrum
"""
from . import Spectrum
| 11.833333 | 38 | 0.71831 | 9 | 71 | 5.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183099 | 71 | 5 | 39 | 14.2 | 0.87931 | 0.535211 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8a099be4700bfa6c9cabf6e07c5d892f85173ab4 | 3,307 | py | Python | tests/parser/functions/test_default_function.py | upgradvisor/vyper | 642884ea938a25793c1b2fac866e8458e63a7b49 | [
"Apache-2.0"
] | 1,347 | 2019-11-22T06:49:38.000Z | 2022-03-31T19:49:32.000Z | tests/parser/functions/test_default_function.py | upgradvisor/vyper | 642884ea938a25793c1b2fac866e8458e63a7b49 | [
"Apache-2.0"
] | 915 | 2019-11-21T05:48:16.000Z | 2022-03-31T23:51:03.000Z | tests/parser/functions/test_default_function.py | upgradvisor/vyper | 642884ea938a25793c1b2fac866e8458e63a7b49 | [
"Apache-2.0"
] | 262 | 2019-11-28T01:44:04.000Z | 2022-03-31T21:33:43.000Z | def test_throw_on_sending(w3, assert_tx_failed, get_contract_with_gas_estimation):
code = """
x: public(int128)
@external
def __init__():
self.x = 123
"""
c = get_contract_with_gas_estimation(code)
assert c.x() == 123
assert w3.eth.getBalance(c.address) == 0
assert_tx_failed(
lambd... | 24.679104 | 94 | 0.691261 | 450 | 3,307 | 4.748889 | 0.166667 | 0.082358 | 0.112307 | 0.134768 | 0.77679 | 0.75854 | 0.746373 | 0.718297 | 0.700983 | 0.607861 | 0 | 0.039237 | 0.175386 | 3,307 | 133 | 95 | 24.864662 | 0.744408 | 0.008165 | 0 | 0.647059 | 0 | 0 | 0.300793 | 0.007627 | 0 | 0 | 0.006101 | 0 | 0.196078 | 1 | 0.078431 | false | 0.019608 | 0 | 0 | 0.098039 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8a1eac4eec62dcb75c3d1813b6ef3da37e9f3118 | 13,034 | py | Python | azure-mgmt-cdn/azure/mgmt/cdn/operations/origins_operations.py | azuresdkci1x/azure-sdk-for-python-1722 | e08fa6606543ce0f35b93133dbb78490f8e6bcc9 | [
"MIT"
] | 1 | 2018-11-09T06:16:34.000Z | 2018-11-09T06:16:34.000Z | azure-mgmt-cdn/azure/mgmt/cdn/operations/origins_operations.py | azuresdkci1x/azure-sdk-for-python-1722 | e08fa6606543ce0f35b93133dbb78490f8e6bcc9 | [
"MIT"
] | null | null | null | azure-mgmt-cdn/azure/mgmt/cdn/operations/origins_operations.py | azuresdkci1x/azure-sdk-for-python-1722 | e08fa6606543ce0f35b93133dbb78490f8e6bcc9 | [
"MIT"
] | 1 | 2018-11-09T06:17:41.000Z | 2018-11-09T06:17:41.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes ... | 46.55 | 175 | 0.660887 | 1,382 | 13,034 | 6.01809 | 0.129522 | 0.031261 | 0.03066 | 0.017194 | 0.79079 | 0.783576 | 0.777684 | 0.744018 | 0.71408 | 0.71408 | 0 | 0.003725 | 0.23784 | 13,034 | 279 | 176 | 46.716846 | 0.833501 | 0.295458 | 0 | 0.628788 | 0 | 0.022727 | 0.172398 | 0.094766 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060606 | false | 0 | 0.030303 | 0 | 0.181818 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8a2110541c3679bd19aadfe8e88349a34b64e12f | 262 | py | Python | src/arduino_helper/Grettings.py | madkira/SCXML_to_FSM_for_Arduino | 2e2443eca70ff6d5a8b8ac8c32b0c7e1d4440201 | [
"MIT"
] | 1 | 2020-05-13T23:03:19.000Z | 2020-05-13T23:03:19.000Z | src/arduino_helper/Grettings.py | madkira/SCXML_to_FSM_for_Arduino | 2e2443eca70ff6d5a8b8ac8c32b0c7e1d4440201 | [
"MIT"
] | null | null | null | src/arduino_helper/Grettings.py | madkira/SCXML_to_FSM_for_Arduino | 2e2443eca70ff6d5a8b8ac8c32b0c7e1d4440201 | [
"MIT"
] | 1 | 2019-01-20T12:46:37.000Z | 2019-01-20T12:46:37.000Z | def Grettings(name, object):
return "/******************************************************* \n"\
" * author : Raphaël KUMAR generator\n"\
" * copyright : SoFAB CC-BY-SA\n"\
" * file : "+ name +"\n"\
" * object : "+object+"\n"\
" ***/\n" | 37.428571 | 73 | 0.385496 | 24 | 262 | 4.208333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21374 | 262 | 7 | 74 | 37.428571 | 0.490291 | 0 | 0 | 0 | 0 | 0 | 0.665399 | 0.212928 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0.142857 | 0.285714 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
8a2c77deaf39d7ce89c56a94efd8bd4caa08372f | 68 | py | Python | handlers/__init__.py | k-orolevsk-y/vk-bot-analyzer | 81c07124561f8570354655a988ddb5fbe7cd0dc6 | [
"MIT"
] | null | null | null | handlers/__init__.py | k-orolevsk-y/vk-bot-analyzer | 81c07124561f8570354655a988ddb5fbe7cd0dc6 | [
"MIT"
] | null | null | null | handlers/__init__.py | k-orolevsk-y/vk-bot-analyzer | 81c07124561f8570354655a988ddb5fbe7cd0dc6 | [
"MIT"
] | null | null | null | from .RelationPartnerRemoved import *
from .RemovedFriends import *
| 22.666667 | 37 | 0.823529 | 6 | 68 | 9.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 2 | 38 | 34 | 0.933333 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8a2e8afb87b6978a4775563f4635befcf941d488 | 368,000 | py | Python | nova/tests/unit/api/openstack/compute/test_serversV21.py | PannanaAlex/nova | 348ae354533a34095b475b51bfcaf2b0eb0c0b63 | [
"Apache-2.0"
] | 1 | 2019-04-17T04:21:17.000Z | 2019-04-17T04:21:17.000Z | nova/tests/unit/api/openstack/compute/test_serversV21.py | PannanaAlex/nova | 348ae354533a34095b475b51bfcaf2b0eb0c0b63 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/api/openstack/compute/test_serversV21.py | PannanaAlex/nova | 348ae354533a34095b475b51bfcaf2b0eb0c0b63 | [
"Apache-2.0"
] | null | null | null | # Copyright 2010-2011 OpenStack Foundation
# Copyright 2011 Piston Cloud Computing, Inc.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www... | 44.15117 | 79 | 0.583345 | 40,842 | 368,000 | 4.982396 | 0.034866 | 0.019745 | 0.014502 | 0.016512 | 0.837325 | 0.800581 | 0.761675 | 0.724636 | 0.697441 | 0.664241 | 0 | 0.018327 | 0.305348 | 368,000 | 8,334 | 80 | 44.156467 | 0.777704 | 0.040693 | 0 | 0.643211 | 0 | 0 | 0.151788 | 0.057816 | 0 | 0 | 0 | 0.00012 | 0.10271 | 1 | 0.103001 | false | 0.007576 | 0.008013 | 0.002768 | 0.13884 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8a359317e48fb59e16d0e08f54415c78e9de25ae | 153 | py | Python | storage/admin.py | Webwiznitr/Project-Lava | d63a861e3af57002718cf5e07686df07214295b6 | [
"MIT"
] | null | null | null | storage/admin.py | Webwiznitr/Project-Lava | d63a861e3af57002718cf5e07686df07214295b6 | [
"MIT"
] | null | null | null | storage/admin.py | Webwiznitr/Project-Lava | d63a861e3af57002718cf5e07686df07214295b6 | [
"MIT"
] | 2 | 2020-12-31T05:47:06.000Z | 2021-02-07T14:39:08.000Z | from django.contrib import admin
from .models import Task , Profile
# Register your models here.
admin.site.register(Task)
admin.site.register(Profile)
| 21.857143 | 34 | 0.797386 | 22 | 153 | 5.545455 | 0.545455 | 0.147541 | 0.278689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 153 | 6 | 35 | 25.5 | 0.903704 | 0.169935 | 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 | 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 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.