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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7931c609a56ad449420d03f2cd0e99105b5827f2 | 33 | py | Python | src/aceinna/framework/__init__.py | LukaszChl/ros_openimu | 1bcf547fa42ee7c7dcc856c1d4eb5702d301b059 | [
"Apache-2.0"
] | 6 | 2021-03-18T16:18:53.000Z | 2022-01-18T15:32:15.000Z | src/aceinna/framework/__init__.py | LukaszChl/ros_openimu | 1bcf547fa42ee7c7dcc856c1d4eb5702d301b059 | [
"Apache-2.0"
] | 11 | 2020-12-22T16:19:20.000Z | 2022-02-11T11:03:25.000Z | src/aceinna/framework/__init__.py | LukaszChl/ros_openimu | 1bcf547fa42ee7c7dcc856c1d4eb5702d301b059 | [
"Apache-2.0"
] | 11 | 2021-04-12T03:00:28.000Z | 2022-03-25T19:53:43.000Z | from .app_logger import AppLogger | 33 | 33 | 0.878788 | 5 | 33 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f70d90d6d3226de3373ba626ee5ba1d83ff5c2ce | 229 | py | Python | backend/src/hatchling/builders/plugin/hooks.py | daobook/hatch | 1cf39ad1a11ce90bc77fb7fdc4b9202433509179 | [
"MIT"
] | null | null | null | backend/src/hatchling/builders/plugin/hooks.py | daobook/hatch | 1cf39ad1a11ce90bc77fb7fdc4b9202433509179 | [
"MIT"
] | null | null | null | backend/src/hatchling/builders/plugin/hooks.py | daobook/hatch | 1cf39ad1a11ce90bc77fb7fdc4b9202433509179 | [
"MIT"
] | null | null | null | from ...plugin import hookimpl
from ..custom import CustomBuilder
from ..sdist import SdistBuilder
from ..wheel import WheelBuilder
@hookimpl
def hatch_register_builder():
return [CustomBuilder, SdistBuilder, WheelBuilder]
| 22.9 | 54 | 0.799127 | 25 | 229 | 7.24 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126638 | 229 | 9 | 55 | 25.444444 | 0.905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.571429 | 0.142857 | 0.857143 | 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 | 1 | 1 | 0 | 0 | 6 |
f76f6042ce6217c7713d4e9883b5e9de5541e42d | 42 | py | Python | k_thinning/full_knowledge/RL/__init__.py | varikakasandor/dissertation-balls-into-bins | fba69dd5ffd0b4984795c9a5ec119bf8c6f47d9e | [
"Apache-2.0"
] | null | null | null | k_thinning/full_knowledge/RL/__init__.py | varikakasandor/dissertation-balls-into-bins | fba69dd5ffd0b4984795c9a5ec119bf8c6f47d9e | [
"Apache-2.0"
] | null | null | null | k_thinning/full_knowledge/RL/__init__.py | varikakasandor/dissertation-balls-into-bins | fba69dd5ffd0b4984795c9a5ec119bf8c6f47d9e | [
"Apache-2.0"
] | null | null | null | from k_thinning.full_knowledge.RL import * | 42 | 42 | 0.857143 | 7 | 42 | 4.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f79b2fdab5421943091c0fc50e2631078435f500 | 214 | py | Python | meta_mb/optimizers/__init__.py | iclavera/meta-mb | a1204e573c1415161129403cfb287bf120488fd0 | [
"MIT"
] | 4 | 2021-01-07T08:22:51.000Z | 2021-12-27T10:53:14.000Z | meta_mb/optimizers/__init__.py | iclavera/meta-mb | a1204e573c1415161129403cfb287bf120488fd0 | [
"MIT"
] | null | null | null | meta_mb/optimizers/__init__.py | iclavera/meta-mb | a1204e573c1415161129403cfb287bf120488fd0 | [
"MIT"
] | null | null | null | from meta_mb.optimizers.base import Optimizer
from meta_mb.optimizers.conjugate_gradient_optimizer import ConjugateGradientOptimizer
from meta_mb.optimizers.maml_first_order_optimizer import MAMLFirstOrderOptimizer | 71.333333 | 86 | 0.920561 | 26 | 214 | 7.269231 | 0.538462 | 0.126984 | 0.15873 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051402 | 214 | 3 | 87 | 71.333333 | 0.931034 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e3a276b0291c98baa8d0c46ba8f6d48210972eb0 | 55,450 | py | Python | test/hummingbot/connector/exchange/bitmart/test_bitmart_exchange.py | cardosofede/hummingbot | d1df085bb879a06a7dc77d4fdc8ff6f13d8726ca | [
"Apache-2.0"
] | 542 | 2021-12-17T22:34:31.000Z | 2022-03-31T14:36:23.000Z | test/hummingbot/connector/exchange/bitmart/test_bitmart_exchange.py | cardosofede/hummingbot | d1df085bb879a06a7dc77d4fdc8ff6f13d8726ca | [
"Apache-2.0"
] | 291 | 2021-12-17T20:07:53.000Z | 2022-03-31T11:07:23.000Z | test/hummingbot/connector/exchange/bitmart/test_bitmart_exchange.py | cardosofede/hummingbot | d1df085bb879a06a7dc77d4fdc8ff6f13d8726ca | [
"Apache-2.0"
] | 220 | 2021-12-17T12:41:23.000Z | 2022-03-31T23:03:22.000Z | import asyncio
import json
import re
import unittest
from decimal import Decimal
from typing import Dict, Awaitable, List
from unittest.mock import AsyncMock, patch, MagicMock
from aioresponses import aioresponses
from hummingbot.connector.exchange.bitmart.bitmart_exchange import BitmartExchange
from hummingbot.conne... | 38.560501 | 111 | 0.613309 | 6,094 | 55,450 | 5.244175 | 0.062028 | 0.039865 | 0.023938 | 0.021403 | 0.857219 | 0.813849 | 0.782903 | 0.760968 | 0.745291 | 0.733338 | 0 | 0.037447 | 0.283877 | 55,450 | 1,437 | 112 | 38.587335 | 0.767358 | 0.003427 | 0 | 0.69028 | 0 | 0 | 0.13217 | 0.054682 | 0 | 0 | 0 | 0 | 0.092257 | 1 | 0.0486 | false | 0 | 0.015651 | 0 | 0.073311 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e3b80b31e1cfb082405e42ff6d9408750083597f | 6,326 | py | Python | tests/system/presenter/test_check_mediafile_id.py | ostcar/openslides-backend | e6ceac497c37a1e3e7f408c6cfb29cf21d985b4c | [
"MIT"
] | null | null | null | tests/system/presenter/test_check_mediafile_id.py | ostcar/openslides-backend | e6ceac497c37a1e3e7f408c6cfb29cf21d985b4c | [
"MIT"
] | 19 | 2021-11-22T16:25:54.000Z | 2021-11-25T13:38:13.000Z | tests/system/presenter/test_check_mediafile_id.py | ostcar/openslides-backend | e6ceac497c37a1e3e7f408c6cfb29cf21d985b4c | [
"MIT"
] | null | null | null | from openslides_backend.permissions.permissions import Permissions
from .base import BasePresenterTestCase
class TestCheckMediafileId(BasePresenterTestCase):
def test_simple(self) -> None:
self.create_model(
"mediafile/1",
{"filename": "the filename", "is_directory": False, "meeti... | 39.291925 | 87 | 0.513437 | 621 | 6,326 | 4.921095 | 0.117552 | 0.02356 | 0.029777 | 0.064791 | 0.848822 | 0.834424 | 0.820681 | 0.820681 | 0.813482 | 0.813482 | 0 | 0.026098 | 0.351881 | 6,326 | 160 | 88 | 39.5375 | 0.719268 | 0 | 0 | 0.557823 | 0 | 0 | 0.268732 | 0.058647 | 0 | 0 | 0 | 0 | 0.095238 | 1 | 0.07483 | false | 0 | 0.013605 | 0 | 0.095238 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e3b8a8d22dd50ff0085b46a988dd2d199ba885fc | 22,200 | py | Python | tests/test_views.py | wq1308786830/danjac-newsmeme | 43a9a52775530c02de4fb540c827bf0c82860c01 | [
"BSD-3-Clause"
] | 48 | 2015-01-23T07:24:37.000Z | 2022-03-22T05:27:33.000Z | tests/test_views.py | wq1308786830/danjac-newsmeme | 43a9a52775530c02de4fb540c827bf0c82860c01 | [
"BSD-3-Clause"
] | null | null | null | tests/test_views.py | wq1308786830/danjac-newsmeme | 43a9a52775530c02de4fb540c827bf0c82860c01 | [
"BSD-3-Clause"
] | 22 | 2015-01-30T14:46:12.000Z | 2020-03-28T03:13:59.000Z | # -*- coding: utf-8 -*-
"""
test_views.py
~~~~~~~~
NewsMeme tests
:copyright: (c) 2010 by Dan Jacob.
:license: BSD, see LICENSE for more details.
"""
from newsmeme.signals import comment_added
from newsmeme.models import User, Post, Comment
from newsmeme.extensions import db, mail
from tests imp... | 26.65066 | 80 | 0.541982 | 2,419 | 22,200 | 4.856966 | 0.06945 | 0.060516 | 0.099583 | 0.073283 | 0.850881 | 0.810537 | 0.746106 | 0.703805 | 0.624308 | 0.554515 | 0 | 0.015934 | 0.327162 | 22,200 | 832 | 81 | 26.682692 | 0.770637 | 0.01009 | 0 | 0.72973 | 0 | 0 | 0.115698 | 0.005468 | 0 | 0 | 0 | 0 | 0.173745 | 1 | 0.098456 | false | 0.079151 | 0.007722 | 0 | 0.129344 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e3deafc16f732a32a7106e19d46a7c2af9dfe7d2 | 21 | py | Python | ranzen/torch/transforms/__init__.py | predictive-analytics-lab/palk | 64bcb36af07ee54df90e96c0b3a7cc6276dd4a06 | [
"Apache-2.0"
] | null | null | null | ranzen/torch/transforms/__init__.py | predictive-analytics-lab/palk | 64bcb36af07ee54df90e96c0b3a7cc6276dd4a06 | [
"Apache-2.0"
] | 11 | 2021-02-18T11:01:22.000Z | 2021-09-27T14:47:42.000Z | ranzen/torch/transforms/__init__.py | predictive-analytics-lab/palkit | 64bcb36af07ee54df90e96c0b3a7cc6276dd4a06 | [
"Apache-2.0"
] | null | null | null | from .mixup import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
581c4757d07549d7cb71ff39048487e8a4299c12 | 5,663 | py | Python | configs/deepim/lmPbrSO/FlowNet512_1.5AugAAE_Flat_lmPbr_SO/FlowNet512_1.5AugAAE_Flat_Pbr_05_can.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 33 | 2021-12-15T07:11:47.000Z | 2022-03-29T08:58:32.000Z | configs/deepim/lmPbrSO/FlowNet512_1.5AugAAE_Flat_lmPbr_SO/FlowNet512_1.5AugAAE_Flat_Pbr_05_can.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 3 | 2021-12-15T11:39:54.000Z | 2022-03-29T07:24:23.000Z | configs/deepim/lmPbrSO/FlowNet512_1.5AugAAE_Flat_lmPbr_SO/FlowNet512_1.5AugAAE_Flat_Pbr_05_can.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | null | null | null | _base_ = ["./FlowNet512_1.5AugAAE_Flat_Pbr_01_ape.py"]
OUTPUT_DIR = "output/deepim/lmPbrSO/FlowNet512_1.5AugAAE_Flat_lmPbr_SO/can"
DATASETS = dict(TRAIN=("lm_pbr_can_train",), TEST=("lm_real_can_test",))
# bbnc5
# objects can Avg(1) ... | 209.740741 | 318 | 0.07187 | 155 | 5,663 | 14.696774 | 0.322581 | 0.030729 | 0.024583 | 0.030729 | 0.384109 | 0.384109 | 0.110623 | 0 | 0 | 0 | 0 | 0.075031 | 0.576373 | 5,663 | 26 | 319 | 217.807692 | 0.080867 | 0.956384 | 0 | 0 | 0 | 0 | 0.585903 | 0.444934 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
582c46b81b52ea58dcb89904f82c50c921559e60 | 441 | py | Python | terrascript/logicmonitor/r.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/logicmonitor/r.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/logicmonitor/r.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/logicmonitor/r.py
import terrascript
class logicmonitor_collector(terrascript.Resource):
pass
class logicmonitor_collector_group(terrascript.Resource):
pass
class logicmonitor_dashboard(terrascript.Resource):
pass
class logicmonitor_dashboard_group(terrascript.Resource):
pass
cla... | 16.333333 | 57 | 0.804989 | 45 | 441 | 7.688889 | 0.266667 | 0.294798 | 0.398844 | 0.404624 | 0.693642 | 0.578035 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131519 | 441 | 26 | 58 | 16.961538 | 0.903394 | 0.06576 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.461538 | 0.076923 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
5839e9aa0e093677ecb796f18d4c6c87861463e5 | 368 | py | Python | app/util.py | Bello-Bello/open-rank-tracker | 7a393b37961f4261b417c7745e3f9c5043a61376 | [
"MIT"
] | null | null | null | app/util.py | Bello-Bello/open-rank-tracker | 7a393b37961f4261b417c7745e3f9c5043a61376 | [
"MIT"
] | null | null | null | app/util.py | Bello-Bello/open-rank-tracker | 7a393b37961f4261b417c7745e3f9c5043a61376 | [
"MIT"
] | 1 | 2022-02-21T23:52:22.000Z | 2022-02-21T23:52:22.000Z | import os
def create_db_uri():
pguser = os.environ.get("POSTGRES_USER", "")
pgpass = os.environ.get("POSTGRES_PASSWORD", "")
pghost = os.environ.get("POSTGRES_HOST", "")
pgdb = os.environ.get("POSTGRES_DB", "")
return "postgresql://{}:{}@{}/{}".format(pguser, pgpass, pghost, pgdb)
def create_te... | 24.533333 | 74 | 0.63587 | 45 | 368 | 5 | 0.488889 | 0.16 | 0.213333 | 0.355556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157609 | 368 | 14 | 75 | 26.285714 | 0.725806 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0.065217 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.222222 | 0.111111 | 0.111111 | 0.555556 | 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 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
58474dfa853f7715f104bcfef74e4282ac0ef6f9 | 11,282 | py | Python | tests/test_order_with_partial_refund.py | Iceberg-Marketplace/Iceberg-API-PYTHON | 5f8314376ebb6e5a8099253ec79fd40ea835beac | [
"MIT"
] | null | null | null | tests/test_order_with_partial_refund.py | Iceberg-Marketplace/Iceberg-API-PYTHON | 5f8314376ebb6e5a8099253ec79fd40ea835beac | [
"MIT"
] | 2 | 2015-01-26T10:22:41.000Z | 2015-01-26T10:22:41.000Z | tests/test_order_with_partial_refund.py | Iceberg-Marketplace/Iceberg-API-PYTHON | 5f8314376ebb6e5a8099253ec79fd40ea835beac | [
"MIT"
] | 3 | 2016-12-30T15:08:57.000Z | 2019-09-24T14:13:44.000Z | # -*- coding: utf-8 -*-
from decimal import Decimal
from helper import IcebergUnitTestCase
class ClientOrder(IcebergUnitTestCase):
def test_01_anonymous_add_to_cart(self):
"""
Add to cart as anonymous
"""
self.login_anonymous()
cart = self.api_handler.Cart()
cart.sav... | 41.025455 | 128 | 0.683567 | 1,279 | 11,282 | 5.713839 | 0.131353 | 0.049808 | 0.039135 | 0.051177 | 0.76861 | 0.759168 | 0.746032 | 0.73618 | 0.726054 | 0.719075 | 0 | 0.008625 | 0.229215 | 11,282 | 274 | 129 | 41.175182 | 0.831762 | 0.142085 | 0 | 0.685185 | 0 | 0 | 0.058073 | 0.010119 | 0 | 0 | 0 | 0.007299 | 0.092593 | 0 | null | null | 0 | 0.012346 | null | null | 0.012346 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
587facad996ec3c8b121d54bd6b2a94ab717beb2 | 35 | py | Python | 1c_GT_Computer_Networks/Project-1/__init__.py | yevheniyc/Python | 262842477793d65c2b382ca810867fd24a415576 | [
"MIT"
] | 4 | 2016-08-28T03:21:36.000Z | 2021-01-19T01:59:17.000Z | 1c_GT_Computer_Networks/Project-1/__init__.py | yevheniyc/Python | 262842477793d65c2b382ca810867fd24a415576 | [
"MIT"
] | null | null | null | 1c_GT_Computer_Networks/Project-1/__init__.py | yevheniyc/Python | 262842477793d65c2b382ca810867fd24a415576 | [
"MIT"
] | 1 | 2018-05-20T12:33:23.000Z | 2018-05-20T12:33:23.000Z | "CS244 Assignment #1: Parking Lot"
| 17.5 | 34 | 0.742857 | 5 | 35 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0.142857 | 35 | 1 | 35 | 35 | 0.733333 | 0.914286 | 0 | 0 | 0 | 0 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5434fa34763d0fed8fbe06c42c25b266363089fd | 71 | py | Python | ovl/partials/filter_applier.py | SerpentBit/ovl | e11baa551f4e8e9682518e595de2f3b81aae8848 | [
"Apache-2.0"
] | 2 | 2022-03-07T20:32:23.000Z | 2022-03-29T19:10:03.000Z | ovl/partials/filter_applier.py | SerpentBit/ovl | e11baa551f4e8e9682518e595de2f3b81aae8848 | [
"Apache-2.0"
] | null | null | null | ovl/partials/filter_applier.py | SerpentBit/ovl | e11baa551f4e8e9682518e595de2f3b81aae8848 | [
"Apache-2.0"
] | 2 | 2022-02-07T18:34:50.000Z | 2022-02-23T19:41:32.000Z | def apply(input_data, data_filter):
return data_filter(input_data)
| 23.666667 | 35 | 0.788732 | 11 | 71 | 4.727273 | 0.545455 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126761 | 71 | 2 | 36 | 35.5 | 0.83871 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
544c368332d2c35bbe660bf79a09d70df374999d | 14,474 | py | Python | tests/networking/arista/test_snmp.py | QualiSystems/cloudshell-networking-arista- | 011ff605244a98bb488fec985bd0e053af9855d0 | [
"Apache-2.0"
] | null | null | null | tests/networking/arista/test_snmp.py | QualiSystems/cloudshell-networking-arista- | 011ff605244a98bb488fec985bd0e053af9855d0 | [
"Apache-2.0"
] | 9 | 2018-04-03T12:02:29.000Z | 2021-07-08T09:07:29.000Z | tests/networking/arista/test_snmp.py | QualiSystems/cloudshell-networking-arista- | 011ff605244a98bb488fec985bd0e053af9855d0 | [
"Apache-2.0"
] | 2 | 2017-02-08T23:52:21.000Z | 2018-07-04T15:33:36.000Z | from mock import MagicMock, patch
from cloudshell.networking.arista.runners.arista_autoload_runner import (
AristaAutoloadRunner,
)
from cloudshell.networking.arista.snmp.arista_snmp_handler import AristaSnmpHandler
from tests.networking.arista.base_test import (
CONFIG_PROMPT,
ENABLE_PROMPT,
BaseAris... | 35.915633 | 83 | 0.564322 | 1,446 | 14,474 | 5.412863 | 0.10166 | 0.05826 | 0.089817 | 0.07027 | 0.87096 | 0.861761 | 0.849751 | 0.83723 | 0.83723 | 0.818704 | 0 | 0.004893 | 0.336327 | 14,474 | 402 | 84 | 36.004975 | 0.80991 | 0 | 0 | 0.635838 | 0 | 0 | 0.296739 | 0.106881 | 0 | 0 | 0 | 0 | 0.028902 | 1 | 0.043353 | false | 0.00289 | 0.011561 | 0 | 0.057803 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
544c81e36d4d6ebf7666ee4a00cabde09be98d35 | 34 | py | Python | myre/__init__.py | TonyFlury/myre | 04b55fbd3baf59c0d46fa6ee987fb294aad7a7b9 | [
"MIT"
] | null | null | null | myre/__init__.py | TonyFlury/myre | 04b55fbd3baf59c0d46fa6ee987fb294aad7a7b9 | [
"MIT"
] | null | null | null | myre/__init__.py | TonyFlury/myre | 04b55fbd3baf59c0d46fa6ee987fb294aad7a7b9 | [
"MIT"
] | null | null | null | # coding=utf-8
from .myre import * | 17 | 19 | 0.705882 | 6 | 34 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.147059 | 34 | 2 | 19 | 17 | 0.793103 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
54645c804bb9635acabceb078b6c85dd90f764f7 | 68,157 | py | Python | api_tests/nodes/views/test_node_contributors_list.py | sf2ne/Playground | 95b2d222d7ac43baca0249acbfc34e043d6a95b3 | [
"Apache-2.0"
] | null | null | null | api_tests/nodes/views/test_node_contributors_list.py | sf2ne/Playground | 95b2d222d7ac43baca0249acbfc34e043d6a95b3 | [
"Apache-2.0"
] | 13 | 2020-03-24T15:29:41.000Z | 2022-03-11T23:15:28.000Z | api_tests/nodes/views/test_node_contributors_list.py | sf2ne/Playground | 95b2d222d7ac43baca0249acbfc34e043d6a95b3 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from nose.tools import * # flake8: noqa
from api.base.settings.defaults import API_BASE
from website.models import NodeLog
from framework.auth.core import Auth
from tests.base import ApiTestCase
from tests.factories import (
ProjectFactory,
AuthUserFactory,
UserFactory,
Regis... | 45.958867 | 186 | 0.586411 | 7,773 | 68,157 | 4.877911 | 0.029204 | 0.051904 | 0.062401 | 0.050638 | 0.917818 | 0.897563 | 0.867154 | 0.857422 | 0.847347 | 0.825615 | 0 | 0.011639 | 0.282744 | 68,157 | 1,482 | 187 | 45.989879 | 0.763961 | 0.00427 | 0 | 0.655698 | 0 | 0 | 0.121437 | 0.01179 | 0 | 0 | 0 | 0 | 0.223114 | 1 | 0.093098 | false | 0 | 0.006421 | 0.000803 | 0.106742 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
547b0aaaa3af418ed845a47d6d06241ee33196c3 | 30 | py | Python | tests/unit_tests/test_for_test.py | kottenator/django-polyfill-js | a082bc84bf367c8c2e1ff8757c23b27456eb00b8 | [
"MIT"
] | null | null | null | tests/unit_tests/test_for_test.py | kottenator/django-polyfill-js | a082bc84bf367c8c2e1ff8757c23b27456eb00b8 | [
"MIT"
] | null | null | null | tests/unit_tests/test_for_test.py | kottenator/django-polyfill-js | a082bc84bf367c8c2e1ff8757c23b27456eb00b8 | [
"MIT"
] | null | null | null | def test_for_test():
pass
| 10 | 20 | 0.666667 | 5 | 30 | 3.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 30 | 2 | 21 | 15 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
548e2172ee590e2c9cbcf3fb85bff7d5512fa71e | 2,342 | py | Python | 17.py | mheden/adventofcode2020 | 17440bb4dff6abf771b594f488e0c9e7ff363d1b | [
"MIT"
] | null | null | null | 17.py | mheden/adventofcode2020 | 17440bb4dff6abf771b594f488e0c9e7ff363d1b | [
"MIT"
] | null | null | null | 17.py | mheden/adventofcode2020 | 17440bb4dff6abf771b594f488e0c9e7ff363d1b | [
"MIT"
] | null | null | null | from utils import read_file
from grid import Grid
def part1(data, num=6):
def iterate(g):
g.update_limits()
result = Grid(dim=g.dim, emptyvalue=g.emptyvalue)
for z in range(g.limits["min"][2] - 1, g.limits["max"][2] + 2):
for y in range(g.limits["min"][1] - 1, g.limits["max"][1... | 32.527778 | 83 | 0.412895 | 327 | 2,342 | 2.93578 | 0.16208 | 0.102083 | 0.03125 | 0.102083 | 0.829167 | 0.769792 | 0.710417 | 0.710417 | 0.710417 | 0.708333 | 0 | 0.038381 | 0.38813 | 2,342 | 71 | 84 | 32.985915 | 0.631542 | 0 | 0 | 0.666667 | 0 | 0 | 0.055508 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070175 | false | 0 | 0.035088 | 0 | 0.175439 | 0.070175 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
49ffbcf0377ca009d36c218cc246eb3ac3e8997c | 134 | py | Python | laboratory/__init__.py | thiagolcmelo/dynamic | 9e4e71dd25ce3c778b17b62ef4062273d244a5ac | [
"MIT"
] | null | null | null | laboratory/__init__.py | thiagolcmelo/dynamic | 9e4e71dd25ce3c778b17b62ef4062273d244a5ac | [
"MIT"
] | null | null | null | laboratory/__init__.py | thiagolcmelo/dynamic | 9e4e71dd25ce3c778b17b62ef4062273d244a5ac | [
"MIT"
] | null | null | null | # third-party imports
from flask import Blueprint
laboratory = Blueprint('laboratory', __name__)
# local imports
from . import views | 19.142857 | 46 | 0.783582 | 16 | 134 | 6.3125 | 0.6875 | 0.217822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141791 | 134 | 7 | 47 | 19.142857 | 0.878261 | 0.246269 | 0 | 0 | 0 | 0 | 0.10101 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
b718428005cb2ac70ef7e866c075944c181f124a | 73 | py | Python | test_main.py | AratioD/demo-github-actions | 04b6345177e61dfca6c6959d1a1ac3006f2bc378 | [
"MIT"
] | null | null | null | test_main.py | AratioD/demo-github-actions | 04b6345177e61dfca6c6959d1a1ac3006f2bc378 | [
"MIT"
] | 28 | 2021-06-04T09:39:34.000Z | 2021-06-14T10:39:57.000Z | test_main.py | AratioD/demo-github-actions | 04b6345177e61dfca6c6959d1a1ac3006f2bc378 | [
"MIT"
] | null | null | null | import pytest
import main
def test_main():
assert 2 == main.main()
| 10.428571 | 27 | 0.671233 | 11 | 73 | 4.363636 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.219178 | 73 | 6 | 28 | 12.166667 | 0.824561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b71bb0773deb5b7c8f4fe755395656e413f6cfef | 196 | py | Python | BlinkerAdapters/__init__.py | Victor-He/blinker-py | 52eefadd382cd82124883d58e032b7cf7298264f | [
"MIT"
] | 1,267 | 2018-04-12T07:07:04.000Z | 2022-03-31T06:30:32.000Z | BlinkerAdapters/__init__.py | Victor-He/blinker-py | 52eefadd382cd82124883d58e032b7cf7298264f | [
"MIT"
] | 16 | 2020-01-31T00:44:29.000Z | 2022-03-19T12:05:03.000Z | BlinkerAdapters/__init__.py | Victor-He/blinker-py | 52eefadd382cd82124883d58e032b7cf7298264f | [
"MIT"
] | 25 | 2018-07-26T02:39:31.000Z | 2022-03-24T08:29:11.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from .BlinkerLinuxWS import *
from .BlinkerMQTT import *
from .BlinkerBLE import *
from .bluez_components import *
from .bluezutils import *
| 21.777778 | 32 | 0.693878 | 23 | 196 | 5.869565 | 0.652174 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00625 | 0.183673 | 196 | 8 | 33 | 24.5 | 0.8375 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b7210bda76ba3013fd84e8b9442728d909c4eb02 | 92 | py | Python | examples/relationship_many_to_many_models.py | codingjoe/OpenAlchemy | a899c05b11209d9d23f81c2638f501e5147c90b8 | [
"Apache-2.0"
] | null | null | null | examples/relationship_many_to_many_models.py | codingjoe/OpenAlchemy | a899c05b11209d9d23f81c2638f501e5147c90b8 | [
"Apache-2.0"
] | null | null | null | examples/relationship_many_to_many_models.py | codingjoe/OpenAlchemy | a899c05b11209d9d23f81c2638f501e5147c90b8 | [
"Apache-2.0"
] | null | null | null | from open_alchemy import init_yaml
init_yaml("relationship-many-to-many-example-spec.yml")
| 23 | 55 | 0.826087 | 15 | 92 | 4.866667 | 0.8 | 0.219178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 92 | 3 | 56 | 30.666667 | 0.848837 | 0 | 0 | 0 | 0 | 0 | 0.456522 | 0.456522 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b741ed02bc995cdc72298baa43f8747c65303bb9 | 36 | py | Python | problem_14/__init__.py | oltionzefi/daily-coding-problem | 4fe3ec53e1f3c7d299849671fdfead462d548cd3 | [
"MIT"
] | null | null | null | problem_14/__init__.py | oltionzefi/daily-coding-problem | 4fe3ec53e1f3c7d299849671fdfead462d548cd3 | [
"MIT"
] | null | null | null | problem_14/__init__.py | oltionzefi/daily-coding-problem | 4fe3ec53e1f3c7d299849671fdfead462d548cd3 | [
"MIT"
] | null | null | null | from .problem_14 import estimate_pi
| 18 | 35 | 0.861111 | 6 | 36 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.111111 | 36 | 1 | 36 | 36 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3f9c73464fe49a1212ae0a1c40f1828ba92485c8 | 70 | py | Python | example.py | mrchrisadams/poetry-with-dotenvs | 1811988db9e02f35cfa7e1c714fd87a28fd787ed | [
"Apache-2.0"
] | 1 | 2021-01-06T00:15:05.000Z | 2021-01-06T00:15:05.000Z | example.py | mrchrisadams/poetry-with-dotenvs | 1811988db9e02f35cfa7e1c714fd87a28fd787ed | [
"Apache-2.0"
] | null | null | null | example.py | mrchrisadams/poetry-with-dotenvs | 1811988db9e02f35cfa7e1c714fd87a28fd787ed | [
"Apache-2.0"
] | null | null | null | from poetry_with_dotenvs import access_some_envs
access_some_envs()
| 14 | 48 | 0.871429 | 11 | 70 | 5 | 0.727273 | 0.363636 | 0.509091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 70 | 4 | 49 | 17.5 | 0.873016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3fa578434a36e5fbb857c06718aef57f54eff4b7 | 4,967 | py | Python | tests/test_models/test_kinematics.py | floodlight-sports/floodlight | 37f088d90265bed5aa987a3e5aacfea0552f933b | [
"MIT"
] | 26 | 2022-01-25T22:15:22.000Z | 2022-03-02T11:06:29.000Z | tests/test_models/test_kinematics.py | floodlight-sports/floodlight | 37f088d90265bed5aa987a3e5aacfea0552f933b | [
"MIT"
] | 12 | 2021-11-17T15:42:28.000Z | 2022-03-28T19:59:24.000Z | tests/test_models/test_kinematics.py | floodlight-sports/floodlight | 37f088d90265bed5aa987a3e5aacfea0552f933b | [
"MIT"
] | 8 | 2021-11-03T09:01:22.000Z | 2022-03-23T10:43:14.000Z | import pytest
import numpy as np
from floodlight.models.kinematics import DistanceModel, VelocityModel, AccelerationModel
# Differences in the kinematic models can be calculated via central or backward
# difference methode. This is specified in the respective models .fit()-method.
# As this has no impact on the calc... | 25.869792 | 88 | 0.674049 | 657 | 4,967 | 4.837139 | 0.143075 | 0.03304 | 0.094399 | 0.157332 | 0.843927 | 0.826935 | 0.826935 | 0.826935 | 0.826935 | 0.81781 | 0 | 0.040337 | 0.211395 | 4,967 | 191 | 89 | 26.005236 | 0.770998 | 0.114757 | 0 | 0.699115 | 0 | 0 | 0.005503 | 0 | 0 | 0 | 0 | 0 | 0.088496 | 1 | 0.088496 | false | 0 | 0.026549 | 0 | 0.115044 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3ff84b8f6a3fc3eb5cd145e0dcae24ad95fc640c | 46 | py | Python | runPlotAppDev.py | maldata/matplotlib_qtquick_playground | f7da94093315d8f540124d5037406d004574dede | [
"MIT"
] | null | null | null | runPlotAppDev.py | maldata/matplotlib_qtquick_playground | f7da94093315d8f540124d5037406d004574dede | [
"MIT"
] | null | null | null | runPlotAppDev.py | maldata/matplotlib_qtquick_playground | f7da94093315d8f540124d5037406d004574dede | [
"MIT"
] | null | null | null | from plotapp import __main__
__main__.main()
| 11.5 | 28 | 0.804348 | 6 | 46 | 4.833333 | 0.666667 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 46 | 3 | 29 | 15.333333 | 0.725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b20581182cf49c2ec957aea47c9f86fb21c3a5a0 | 99 | py | Python | test/tabs.py | f1x3d/git-tabs-spaces-converter | 2192f8804de414b2a54c5d55c3aada8a1be43825 | [
"MIT"
] | 1 | 2020-10-31T13:37:12.000Z | 2020-10-31T13:37:12.000Z | test/tabs.py | f1x3d/git-tabs-spaces-converter | 2192f8804de414b2a54c5d55c3aada8a1be43825 | [
"MIT"
] | 3 | 2020-10-31T13:16:07.000Z | 2020-10-31T13:27:24.000Z | test/tabs.py | f1x3d/git-tabs-spaces-converter | 2192f8804de414b2a54c5d55c3aada8a1be43825 | [
"MIT"
] | null | null | null | def print_hello_world(n):
while n > 0:
print('Hello, world!')
n = n - 1
print_hello_world(3)
| 14.142857 | 25 | 0.646465 | 18 | 99 | 3.333333 | 0.5 | 0.5 | 0.75 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037975 | 0.20202 | 99 | 6 | 26 | 16.5 | 0.721519 | 0 | 0 | 0 | 0 | 0 | 0.131313 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.2 | 0.6 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b208c249a1f7a6c2a452cdd3d68e9fb991e55722 | 17,627 | py | Python | moncli/entities/update.py | rstrblstr/moncli | 0262b58b3d7932f8c9905247ebd48172f96654e2 | [
"BSD-3-Clause"
] | 1 | 2021-05-01T11:26:33.000Z | 2021-05-01T11:26:33.000Z | moncli/entities/update.py | rstrblstr/moncli | 0262b58b3d7932f8c9905247ebd48172f96654e2 | [
"BSD-3-Clause"
] | null | null | null | moncli/entities/update.py | rstrblstr/moncli | 0262b58b3d7932f8c9905247ebd48172f96654e2 | [
"BSD-3-Clause"
] | null | null | null | from schematics import types
from schematics.models import Model
from .. import api_v2 as client, config, entities as en
from ..api_v2 import constants
class _Update(Model):
"""Update base model"""
id = types.StringType(required=True)
creator_id = types.StringType(required=True)
item_id = types.Strin... | 30.549393 | 141 | 0.515062 | 1,932 | 17,627 | 4.42029 | 0.089027 | 0.056909 | 0.033724 | 0.041218 | 0.808899 | 0.779391 | 0.745316 | 0.727166 | 0.708197 | 0.693443 | 0 | 0.007049 | 0.404436 | 17,627 | 576 | 142 | 30.602431 | 0.806439 | 0.540591 | 0 | 0.609929 | 0 | 0 | 0.018777 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.106383 | false | 0 | 0.028369 | 0.007092 | 0.361702 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b763088cf1763dac98829a4f51a1f65ebd1ee163 | 18 | py | Python | pssp.py | himanshuhat21/mcd | 2603f7eb0926e2b47464e6913ea665d5dca6b767 | [
"MIT"
] | null | null | null | pssp.py | himanshuhat21/mcd | 2603f7eb0926e2b47464e6913ea665d5dca6b767 | [
"MIT"
] | null | null | null | pssp.py | himanshuhat21/mcd | 2603f7eb0926e2b47464e6913ea665d5dca6b767 | [
"MIT"
] | null | null | null | x = 12
print(x>32) | 9 | 11 | 0.611111 | 5 | 18 | 2.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 0.166667 | 18 | 2 | 11 | 9 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 6 |
b77ea7b5139668b6fadf33ad937ec1e71abd1780 | 73,637 | py | Python | project/editorial/views/assets.py | ProjectFacet/facet | dc6bc79d450f7e2bdf59cfbcd306d05a736e4db9 | [
"MIT"
] | 25 | 2015-07-13T22:16:36.000Z | 2021-11-11T02:45:32.000Z | project/editorial/views/assets.py | ProjectFacet/facet | dc6bc79d450f7e2bdf59cfbcd306d05a736e4db9 | [
"MIT"
] | 74 | 2015-12-01T18:57:47.000Z | 2022-03-11T23:25:47.000Z | project/editorial/views/assets.py | ProjectFacet/facet | dc6bc79d450f7e2bdf59cfbcd306d05a736e4db9 | [
"MIT"
] | 6 | 2016-01-08T21:12:43.000Z | 2019-05-20T16:07:56.000Z | """ Media Asset handling views for editorial app.
editorial/views/assetviews.py
"""
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.shortcuts import redirect, get_object_or_404
from django.http import HttpResponseRedirect
from django.core.urlresolvers import reverse
from djan... | 44.094012 | 134 | 0.65573 | 8,443 | 73,637 | 5.597655 | 0.036125 | 0.039335 | 0.033326 | 0.030215 | 0.868602 | 0.821629 | 0.804194 | 0.78149 | 0.735871 | 0.691458 | 0 | 0.002017 | 0.246045 | 73,637 | 1,669 | 135 | 44.120431 | 0.849241 | 0.252781 | 0 | 0.667022 | 0 | 0 | 0.0975 | 0.023234 | 0 | 0 | 0 | 0.000599 | 0 | 1 | 0.071505 | false | 0 | 0.009605 | 0 | 0.372465 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b7824f342407eca9c1f2c355f6724948a4dc8719 | 98 | py | Python | terrascript/local/__init__.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | terrascript/local/__init__.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | terrascript/local/__init__.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | # terrascript/local/__init__.py
import terrascript
class local(terrascript.Provider):
pass
| 12.25 | 34 | 0.77551 | 11 | 98 | 6.545455 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 98 | 7 | 35 | 14 | 0.857143 | 0.295918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
b784c4b383c6a462a8068e02563abf3756b58103 | 13,495 | py | Python | PythonAPI/examples/TestBench/Environments/Assertions_case_study.py | TSL-UOB/CAV-Game | 056e39992dd1431cb324c1fa336e91a1172b26a7 | [
"MIT"
] | null | null | null | PythonAPI/examples/TestBench/Environments/Assertions_case_study.py | TSL-UOB/CAV-Game | 056e39992dd1431cb324c1fa336e91a1172b26a7 | [
"MIT"
] | null | null | null | PythonAPI/examples/TestBench/Environments/Assertions_case_study.py | TSL-UOB/CAV-Game | 056e39992dd1431cb324c1fa336e91a1172b26a7 | [
"MIT"
] | null | null | null | import random
import numpy as np
from Agents.pedestrian import pedestrian
from Agents.vehicle import vehicle
from TB_common_functions import log, calculateDistance
# from Agents.traffic_light import traffic_light
def interpolate_path(path_tuple, increments_resolution):
path_tuple_interpolated = []
path_tuple_in... | 37.074176 | 147 | 0.651056 | 2,033 | 13,495 | 4.099852 | 0.117068 | 0.042232 | 0.035993 | 0.023995 | 0.808278 | 0.778044 | 0.742651 | 0.742172 | 0.740972 | 0.717696 | 0 | 0.072915 | 0.145313 | 13,495 | 364 | 148 | 37.074176 | 0.649731 | 0.327899 | 0 | 0.601896 | 0 | 0 | 0.024059 | 0.009468 | 0 | 0 | 0 | 0 | 0.014218 | 1 | 0.061611 | false | 0.028436 | 0.023697 | 0 | 0.099526 | 0.061611 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b7ad3470270ff297ac3f90d5f7008b62cee6b81e | 6,262 | py | Python | tests/test_coptmod.py | dsei210s19-applied-ml-and-dm/OPTMOD | 85edea79284097cfaeeaa8eb0be3c9595b4a733f | [
"BSD-2-Clause"
] | 3 | 2019-02-14T23:45:06.000Z | 2019-08-23T19:20:31.000Z | tests/test_coptmod.py | dsei210s19-applied-ml-and-dm/OPTMOD | 85edea79284097cfaeeaa8eb0be3c9595b4a733f | [
"BSD-2-Clause"
] | 21 | 2019-01-17T07:30:42.000Z | 2020-04-11T18:26:43.000Z | tests/test_coptmod.py | dsei210s19-applied-ml-and-dm/OPTMOD | 85edea79284097cfaeeaa8eb0be3c9595b4a733f | [
"BSD-2-Clause"
] | 1 | 2022-01-21T23:56:42.000Z | 2022-01-21T23:56:42.000Z | import optmod
import unittest
import numpy as np
class TestCoptmod(unittest.TestCase):
def test_module(self):
c = optmod.coptmod
self.assertTrue(hasattr(c, 'Evaluator'))
self.assertListEqual([c.NODE_TYPE_UNKNOWN,
c.NODE_TYPE_CONSTANT,
... | 31.94898 | 62 | 0.55206 | 858 | 6,262 | 3.805361 | 0.100233 | 0.183767 | 0.196018 | 0.104747 | 0.779479 | 0.746095 | 0.737213 | 0.728943 | 0.728943 | 0.728943 | 0 | 0.038728 | 0.30725 | 6,262 | 195 | 63 | 32.112821 | 0.713923 | 0.007665 | 0 | 0.610738 | 0 | 0 | 0.00274 | 0 | 0 | 0 | 0 | 0 | 0.348993 | 1 | 0.033557 | false | 0 | 0.020134 | 0 | 0.060403 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b7af6b4e882749dd157956056ef4d906b8bbfd1e | 36 | py | Python | r7insight/__init__.py | ErichMoraga/r7insight_python | fef0efad33471d216455b23cbac4885b38ac040d | [
"MIT"
] | 2 | 2021-02-05T16:49:47.000Z | 2022-01-27T16:28:53.000Z | r7insight/__init__.py | ErichMoraga/r7insight_python | fef0efad33471d216455b23cbac4885b38ac040d | [
"MIT"
] | null | null | null | r7insight/__init__.py | ErichMoraga/r7insight_python | fef0efad33471d216455b23cbac4885b38ac040d | [
"MIT"
] | 7 | 2019-01-03T02:45:56.000Z | 2021-01-13T11:58:33.000Z | from .utils import R7InsightHandler
| 18 | 35 | 0.861111 | 4 | 36 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4d07c6cde7e8d39d03410963619451a914c5169e | 42 | py | Python | depConfusionTest/__init__.py | Moneypulation/depConfusionTest | 79af71366e2e613d991df4dac2429805df0f1dc6 | [
"MIT"
] | null | null | null | depConfusionTest/__init__.py | Moneypulation/depConfusionTest | 79af71366e2e613d991df4dac2429805df0f1dc6 | [
"MIT"
] | null | null | null | depConfusionTest/__init__.py | Moneypulation/depConfusionTest | 79af71366e2e613d991df4dac2429805df0f1dc6 | [
"MIT"
] | null | null | null | from depConfusionTest.foo import foo123 | 42 | 42 | 0.833333 | 5 | 42 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.142857 | 42 | 1 | 42 | 42 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4d91736a55855f7981c33ab197e516d81f3b79f6 | 107 | py | Python | UniSim/unisim/config.py | RDC4Smart-Mobility/UniSim | 872a22ccdac859b9a12f11a9f5d20467e9db18ee | [
"MIT"
] | null | null | null | UniSim/unisim/config.py | RDC4Smart-Mobility/UniSim | 872a22ccdac859b9a12f11a9f5d20467e9db18ee | [
"MIT"
] | null | null | null | UniSim/unisim/config.py | RDC4Smart-Mobility/UniSim | 872a22ccdac859b9a12f11a9f5d20467e9db18ee | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import, unicode_literals
| 35.666667 | 82 | 0.775701 | 13 | 107 | 5.846154 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.11215 | 107 | 2 | 83 | 53.5 | 0.789474 | 0.196262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
4de58a778587b8d616e320e2ec59025e9d18e542 | 45 | py | Python | tests/basic/while.py | treeform/pystorm | 3a2224bcdaccc5a2abf6a820c0bcf7afa3e6fed4 | [
"MIT"
] | 50 | 2015-03-24T19:45:34.000Z | 2022-02-20T04:34:26.000Z | tests/basic/while.py | MoonStarCZW/py2js | 6cda2b1d3cf281a5ca92c18b08ac9fa1c389cbea | [
"MIT"
] | 2 | 2017-02-26T09:43:07.000Z | 2017-03-06T20:04:24.000Z | tests/flow/while.py | Slater-Victoroff/pyjaco | 89c4e3c46399c5023b0e160005d855a01241c58a | [
"MIT"
] | 12 | 2016-03-07T09:30:49.000Z | 2021-09-05T20:38:47.000Z |
x = 1
while x<10:
print x
x = x + 1
| 7.5 | 13 | 0.422222 | 10 | 45 | 1.9 | 0.5 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.466667 | 45 | 5 | 14 | 9 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.25 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
12a7b8352b96cc6ee5a68e7b856b729ad82b07d2 | 25,483 | py | Python | galpopfm/dustfm.py | IQcollaboratory/galpopFM | 1b30abc1cc2fd1119d0f34a237b0c1112d7afc9d | [
"MIT"
] | 1 | 2020-02-08T17:36:06.000Z | 2020-02-08T17:36:06.000Z | galpopfm/dustfm.py | IQcollaboratory/galpopFM | 1b30abc1cc2fd1119d0f34a237b0c1112d7afc9d | [
"MIT"
] | 35 | 2020-02-07T19:02:27.000Z | 2021-02-04T14:28:05.000Z | galpopfm/dustfm.py | IQcollaboratory/galpopFM | 1b30abc1cc2fd1119d0f34a237b0c1112d7afc9d | [
"MIT"
] | null | null | null | '''
foward modeling dust with empirical prescriptions for assigning
attenuation curves for forward modeled galaxies
'''
import numpy as np
from scipy.stats import truncnorm
def Attenuate(theta, lam, spec_noneb, spec_neb, logmstar, logsfr, dem='slab_calzetti'):
''' DEM attenuation wrapper. Imposes the followi... | 34.022697 | 148 | 0.589923 | 3,916 | 25,483 | 3.682329 | 0.07763 | 0.004993 | 0.013731 | 0.007767 | 0.814771 | 0.78835 | 0.765465 | 0.762067 | 0.75 | 0.743897 | 0 | 0.062983 | 0.284111 | 25,483 | 748 | 149 | 34.068182 | 0.727457 | 0.454735 | 0 | 0.653137 | 0 | 0 | 0.017341 | 0.010936 | 0 | 0 | 0 | 0 | 0.081181 | 1 | 0.04059 | false | 0 | 0.00738 | 0 | 0.095941 | 0.055351 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
12da6e6c01f311d6c770cb9696a00b32b7b3da9c | 47,400 | py | Python | tests/unit/test_fs_local.py | neuro-inc/platform-storage-api | 7564d6f353f7839962cc5dc2793ba44359eaf390 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_fs_local.py | neuro-inc/platform-storage-api | 7564d6f353f7839962cc5dc2793ba44359eaf390 | [
"Apache-2.0"
] | 2 | 2021-12-29T21:43:29.000Z | 2022-01-27T10:45:49.000Z | tests/unit/test_fs_local.py | neuro-inc/platform-storage-api | 7564d6f353f7839962cc5dc2793ba44359eaf390 | [
"Apache-2.0"
] | null | null | null | import os
import shutil
import tempfile
import uuid
from collections.abc import AsyncIterator, Iterable, Iterator
from pathlib import Path, PurePath
from typing import Any, Callable, Coroutine
from unittest import mock
import pytest
import pytest_asyncio
from platform_storage_api.fs.local import (
FileStatus,
... | 34.223827 | 88 | 0.621814 | 6,018 | 47,400 | 4.61881 | 0.037388 | 0.052885 | 0.068715 | 0.032235 | 0.855303 | 0.828608 | 0.803425 | 0.775435 | 0.745683 | 0.72183 | 0 | 0.000916 | 0.286076 | 47,400 | 1,384 | 89 | 34.248555 | 0.820479 | 0.003122 | 0 | 0.696043 | 0 | 0 | 0.021398 | 0 | 0 | 0 | 0 | 0 | 0.097122 | 1 | 0.010791 | false | 0.007194 | 0.009892 | 0.002698 | 0.027878 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
12ebdd219cd7aa1019874cb7b6ab717acb701dc2 | 95 | py | Python | moses/dataset/__init__.py | jiahuei/moses | 7546d45b8d4160f4f40747525dc81b50431c8749 | [
"MIT"
] | 585 | 2018-11-28T12:16:12.000Z | 2022-03-28T03:50:20.000Z | moses/dataset/__init__.py | jiahuei/moses | 7546d45b8d4160f4f40747525dc81b50431c8749 | [
"MIT"
] | 52 | 2018-12-04T21:15:15.000Z | 2022-03-03T22:14:19.000Z | moses/dataset/__init__.py | jiahuei/moses | 7546d45b8d4160f4f40747525dc81b50431c8749 | [
"MIT"
] | 200 | 2018-11-28T13:49:16.000Z | 2022-03-29T16:53:50.000Z | from .dataset import get_dataset, get_statistics
__all__ = ['get_dataset', 'get_statistics']
| 19 | 48 | 0.778947 | 12 | 95 | 5.5 | 0.5 | 0.30303 | 0.393939 | 0.69697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115789 | 95 | 4 | 49 | 23.75 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
42161fd3b1c595564235b67c1806744df1982626 | 389 | py | Python | astropy/run_test.py | Cadair/conda-recipes | 0227a81ed80e24eefffe091836dead93f8312ffe | [
"BSD-3-Clause"
] | 302 | 2015-01-04T18:21:56.000Z | 2021-11-16T12:14:37.000Z | astropy/run_test.py | Cadair/conda-recipes | 0227a81ed80e24eefffe091836dead93f8312ffe | [
"BSD-3-Clause"
] | 393 | 2015-01-03T14:35:48.000Z | 2019-12-09T15:09:07.000Z | astropy/run_test.py | Cadair/conda-recipes | 0227a81ed80e24eefffe091836dead93f8312ffe | [
"BSD-3-Clause"
] | 325 | 2015-01-04T17:26:39.000Z | 2021-11-04T16:25:54.000Z | import astropy.io.fits.compression
import astropy.io.votable.tablewriter
import astropy.nddata.convolution.boundary_extend
import astropy.nddata.convolution.boundary_fill
import astropy.nddata.convolution.boundary_none
import astropy.nddata.convolution.boundary_wrap
import astropy.time.sofa_time
import astropy.utils._c... | 35.363636 | 49 | 0.879177 | 52 | 389 | 6.423077 | 0.403846 | 0.389222 | 0.227545 | 0.359281 | 0.45509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051414 | 389 | 10 | 50 | 38.9 | 0.905149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 6 |
423daac11f1bc1dc6389875584a1867800935230 | 33 | py | Python | apex_utils/apex/utils/__init__.py | ViugiNick/sentiment-discovery | c781b1236a52a981af40733de13ea1598d4255d9 | [
"BSD-3-Clause"
] | 1 | 2018-10-16T10:56:47.000Z | 2018-10-16T10:56:47.000Z | apex_utils/apex/utils/__init__.py | atsnova/sentiment-discovery | 7f5ab28918a6fc29318a30f557b9454f0f5cc26a | [
"BSD-3-Clause"
] | null | null | null | apex_utils/apex/utils/__init__.py | atsnova/sentiment-discovery | 7f5ab28918a6fc29318a30f557b9454f0f5cc26a | [
"BSD-3-Clause"
] | 1 | 2019-03-13T11:43:13.000Z | 2019-03-13T11:43:13.000Z | from .FusedNorm import FusedNorm
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
42811b608c768524384ab14a009aed1e430fe507 | 8,942 | py | Python | tests/open_alchemy/column_factory/test_integration.py | codingjoe/OpenAlchemy | a899c05b11209d9d23f81c2638f501e5147c90b8 | [
"Apache-2.0"
] | null | null | null | tests/open_alchemy/column_factory/test_integration.py | codingjoe/OpenAlchemy | a899c05b11209d9d23f81c2638f501e5147c90b8 | [
"Apache-2.0"
] | null | null | null | tests/open_alchemy/column_factory/test_integration.py | codingjoe/OpenAlchemy | a899c05b11209d9d23f81c2638f501e5147c90b8 | [
"Apache-2.0"
] | null | null | null | """Tests for the column factory."""
# pylint: disable=protected-access
import pytest
import sqlalchemy
from open_alchemy import column_factory
@pytest.mark.column
def test_integration():
"""
GIVEN schema
WHEN column_factory is called with the schema
THEN SQLAlchemy boolean column is returned in a di... | 31.485915 | 88 | 0.589801 | 941 | 8,942 | 5.442083 | 0.093518 | 0.079477 | 0.03554 | 0.039055 | 0.866042 | 0.866042 | 0.844562 | 0.838703 | 0.79379 | 0.748291 | 0 | 0.001708 | 0.27958 | 8,942 | 283 | 89 | 31.597173 | 0.793232 | 0.209349 | 0 | 0.593909 | 0 | 0 | 0.218791 | 0.030733 | 0 | 0 | 0 | 0 | 0.13198 | 1 | 0.045685 | false | 0 | 0.015228 | 0 | 0.060914 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
429df70a038f138dcb03587f550961a7d2b408f9 | 154 | py | Python | 00 - basics/test.py | MIT-BECL/python-plotting-notes | ecf62a6126ac51097ed973b1fc7856dc78a48172 | [
"CC-BY-4.0"
] | 1 | 2021-06-09T17:40:05.000Z | 2021-06-09T17:40:05.000Z | 00 - basics/test.py | MIT-BECL/python-plotting-notes | ecf62a6126ac51097ed973b1fc7856dc78a48172 | [
"CC-BY-4.0"
] | null | null | null | 00 - basics/test.py | MIT-BECL/python-plotting-notes | ecf62a6126ac51097ed973b1fc7856dc78a48172 | [
"CC-BY-4.0"
] | 1 | 2021-06-09T17:43:48.000Z | 2021-06-09T17:43:48.000Z | #%% Basic imports
import matplotlib.pylab as plt
import matplotlib.gridspec as gridspec
from palettable.colorbrewer.qualitative import Dark2_7
#%% Basic | 25.666667 | 54 | 0.818182 | 20 | 154 | 6.25 | 0.7 | 0.256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.116883 | 154 | 6 | 55 | 25.666667 | 0.904412 | 0.155844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c4214a843cce1da03a3dba2b39d55dc7611293cd | 56 | py | Python | botik/config.py | Darktimka007/botik | 263c63c568cc5510b8f4ce69d43105301a91db67 | [
"Apache-2.0"
] | null | null | null | botik/config.py | Darktimka007/botik | 263c63c568cc5510b8f4ce69d43105301a91db67 | [
"Apache-2.0"
] | null | null | null | botik/config.py | Darktimka007/botik | 263c63c568cc5510b8f4ce69d43105301a91db67 | [
"Apache-2.0"
] | null | null | null | TOKEN='1211663629:AAGEAv3CizRGsRdzw1a0_VxjZB5RMGBB9P8'
| 18.666667 | 54 | 0.892857 | 4 | 56 | 12.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296296 | 0.035714 | 56 | 2 | 55 | 28 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0.836364 | 0.836364 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c452eefba367b72b47f3fe0e8001fc95b8740e91 | 107 | py | Python | morpfw/sql.py | morpframework/morpfw | b867e5809d6c52e8839586670a29fcd179ce64c7 | [
"Apache-2.0"
] | 8 | 2018-12-08T01:41:58.000Z | 2020-12-21T15:30:12.000Z | morpfw/sql.py | morpframework/morpfw | b867e5809d6c52e8839586670a29fcd179ce64c7 | [
"Apache-2.0"
] | 17 | 2019-02-05T15:01:32.000Z | 2020-04-28T16:17:42.000Z | morpfw/sql.py | morpframework/morpfw | b867e5809d6c52e8839586670a29fcd179ce64c7 | [
"Apache-2.0"
] | 2 | 2018-12-08T05:03:37.000Z | 2019-03-20T07:15:21.000Z | from .crud.storage.pgsqlstorage import construct_orm_model
from .crud.storage.sqlstorage import GUID, Base
| 35.666667 | 58 | 0.850467 | 15 | 107 | 5.933333 | 0.733333 | 0.179775 | 0.337079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084112 | 107 | 2 | 59 | 53.5 | 0.908163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
67045bcb9814ac4aeb47a3ce8b29708f14d8d695 | 43,363 | py | Python | PROGRAMS/IGCSEPhysicsSorting.py | KKaps-code/IGCSEPhysicsPastPaper-Sorter | e50048c5b617c80af9944d49963b18238ae7f05a | [
"MIT"
] | null | null | null | PROGRAMS/IGCSEPhysicsSorting.py | KKaps-code/IGCSEPhysicsPastPaper-Sorter | e50048c5b617c80af9944d49963b18238ae7f05a | [
"MIT"
] | null | null | null | PROGRAMS/IGCSEPhysicsSorting.py | KKaps-code/IGCSEPhysicsPastPaper-Sorter | e50048c5b617c80af9944d49963b18238ae7f05a | [
"MIT"
] | null | null | null | #IMPORTING NECESSARY LIBRARIES
import tkinter as tk
from tkinter import *
from tkinter import filedialog
from tkinter import Tk
from array import *
import os
import time
import PyPDF2
from tkinter import ttk
from ttkthemes import themed_tk as theme
#DEFINING IMPORTANT FUNCTIONS WHICH THE BUTTONS WOULD PERF... | 31.513808 | 140 | 0.517377 | 5,999 | 43,363 | 3.730955 | 0.065344 | 0.07725 | 0.054731 | 0.04584 | 0.775981 | 0.752346 | 0.748235 | 0.748235 | 0.745376 | 0.73501 | 0 | 0.096667 | 0.321288 | 43,363 | 1,375 | 141 | 31.536727 | 0.663824 | 0.011162 | 0 | 0.711127 | 0 | 0 | 0.096539 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021371 | false | 0 | 0.007369 | 0 | 0.02874 | 0.021371 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6714de5c193cac13897eb0a805817eeef907edf9 | 46 | py | Python | autogoal/experimental/augly_tony/semantic/__init__.py | 70nybl4nc0/autogoal | 4fc95a451ee3c0a2893de315fdb27e32e3288b41 | [
"MIT"
] | null | null | null | autogoal/experimental/augly_tony/semantic/__init__.py | 70nybl4nc0/autogoal | 4fc95a451ee3c0a2893de315fdb27e32e3288b41 | [
"MIT"
] | null | null | null | autogoal/experimental/augly_tony/semantic/__init__.py | 70nybl4nc0/autogoal | 4fc95a451ee3c0a2893de315fdb27e32e3288b41 | [
"MIT"
] | null | null | null | from _image import Image
from _audio import *
| 15.333333 | 24 | 0.804348 | 7 | 46 | 5 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 25 | 23 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
672543a33a00f0382306f35be79fe7be4229a870 | 4,882 | py | Python | z2/part2/batch/jm/parser_errors_2/140921606.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 1 | 2020-04-16T12:13:47.000Z | 2020-04-16T12:13:47.000Z | z2/part2/batch/jm/parser_errors_2/140921606.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:50:15.000Z | 2020-05-19T14:58:30.000Z | z2/part2/batch/jm/parser_errors_2/140921606.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:45:13.000Z | 2020-06-09T19:18:31.000Z | from part1 import (
gamma_board,
gamma_busy_fields,
gamma_delete,
gamma_free_fields,
gamma_golden_move,
gamma_golden_possible,
gamma_move,
gamma_new,
)
"""
scenario: test_random_actions
uuid: 140921606
"""
"""
random actions, total chaos
"""
board = gamma_new(5, 5, 2, 15)
assert board i... | 29.059524 | 46 | 0.671651 | 867 | 4,882 | 3.626298 | 0.062284 | 0.304389 | 0.28626 | 0.381679 | 0.74173 | 0.731234 | 0.704198 | 0.550573 | 0.428117 | 0.408079 | 0 | 0.153351 | 0.171856 | 4,882 | 167 | 47 | 29.233533 | 0.624289 | 0 | 0 | 0.344828 | 0 | 0 | 0.036504 | 0 | 0 | 0 | 0 | 0 | 0.675862 | 1 | 0 | false | 0 | 0.006897 | 0 | 0.006897 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 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 | 6 |
6742738da0b50bd2501e57d98c566967d338a704 | 13,470 | py | Python | tests/test_setpoints.py | PeteRager/lennoxs30api | e210b4fd9098c195d02b30c19733b5ead46aaf2c | [
"MIT"
] | 6 | 2021-06-05T02:50:21.000Z | 2021-11-28T23:08:41.000Z | tests/test_setpoints.py | PeteRager/lennoxs30api | e210b4fd9098c195d02b30c19733b5ead46aaf2c | [
"MIT"
] | 12 | 2021-07-16T00:28:59.000Z | 2021-11-20T22:52:51.000Z | tests/test_setpoints.py | PeteRager/lennoxs30api | e210b4fd9098c195d02b30c19733b5ead46aaf2c | [
"MIT"
] | 2 | 2021-10-30T04:44:48.000Z | 2021-10-30T14:43:04.000Z | from unittest import mock
from lennoxs30api.s30api_async import lennox_zone, s30api_async, lennox_system
from lennoxs30api.lennox_home import lennox_home
import json
import os
import unittest
import asyncio
from unittest.mock import patch
def loadfile(name) -> json:
script_dir = os.path.dirname(__file__) + "/me... | 40.208955 | 106 | 0.653601 | 1,603 | 13,470 | 5.311915 | 0.113537 | 0.067176 | 0.077863 | 0.041339 | 0.796829 | 0.78485 | 0.762772 | 0.762772 | 0.745978 | 0.738931 | 0 | 0.054439 | 0.217223 | 13,470 | 334 | 107 | 40.329341 | 0.75313 | 0.028137 | 0 | 0.731183 | 0 | 0 | 0.109752 | 0.039132 | 0 | 0 | 0 | 0 | 0.376344 | 1 | 0.039427 | false | 0.003584 | 0.028674 | 0 | 0.075269 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
676ca2551c129ec69a32d872cc428ee5cdc043db | 248 | py | Python | discord_exchange/__init__.py | MiltFra/discord-exchange | 66764a22b74a09ab2f8704884164a5deadddb17a | [
"Apache-2.0"
] | null | null | null | discord_exchange/__init__.py | MiltFra/discord-exchange | 66764a22b74a09ab2f8704884164a5deadddb17a | [
"Apache-2.0"
] | null | null | null | discord_exchange/__init__.py | MiltFra/discord-exchange | 66764a22b74a09ab2f8704884164a5deadddb17a | [
"Apache-2.0"
] | null | null | null | from discord_exchange.orderbook import Orderbook
from discord_exchange.orderbook import Trade
from discord_exchange.orderbook import Order
from discord_exchange.binary_exchange import BinaryExchange
__version__ = "0.0.1"
__author__ = "Franz Miltz" | 35.428571 | 59 | 0.858871 | 32 | 248 | 6.25 | 0.46875 | 0.22 | 0.38 | 0.42 | 0.51 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013333 | 0.092742 | 248 | 7 | 60 | 35.428571 | 0.875556 | 0 | 0 | 0 | 0 | 0 | 0.064257 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
679124d19e07b756c3d2aa1802e01d3d10935075 | 28 | py | Python | p.py | codio-packs/tkinter-widgets | c35886b7b3a9ca49f0af8a47c8c21e84c117e512 | [
"MIT"
] | 1 | 2019-09-17T07:35:43.000Z | 2019-09-17T07:35:43.000Z | p.py | codio-packs/tkinter-widgets | c35886b7b3a9ca49f0af8a47c8c21e84c117e512 | [
"MIT"
] | null | null | null | p.py | codio-packs/tkinter-widgets | c35886b7b3a9ca49f0af8a47c8c21e84c117e512 | [
"MIT"
] | null | null | null | import sys
print (sys.argv)
| 9.333333 | 16 | 0.75 | 5 | 28 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 2 | 17 | 14 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
67a18f5a1d42e66a1e02e7dff739af2e1a6a9a2e | 200 | py | Python | py_tests/test_template_filters.py | tiesjan/url-shortener | 395ffc7b88dfe97c88914e8c4047690185b54ea7 | [
"BSD-3-Clause"
] | null | null | null | py_tests/test_template_filters.py | tiesjan/url-shortener | 395ffc7b88dfe97c88914e8c4047690185b54ea7 | [
"BSD-3-Clause"
] | null | null | null | py_tests/test_template_filters.py | tiesjan/url-shortener | 395ffc7b88dfe97c88914e8c4047690185b54ea7 | [
"BSD-3-Clause"
] | null | null | null | from url_shortener.template_filters import pluralize
def test_pluralize():
assert pluralize(0) == 's'
assert pluralize(1) == ''
assert pluralize(2) == 's'
assert pluralize(3) == 's'
| 22.222222 | 52 | 0.66 | 25 | 200 | 5.16 | 0.6 | 0.465116 | 0.248062 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.2 | 200 | 8 | 53 | 25 | 0.78125 | 0 | 0 | 0 | 0 | 0 | 0.015 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
67d78b6a0e7d301305644683f2638977cdf4c155 | 5,756 | py | Python | animations/factorizations.py | bnels/cse21 | daad575743bfa7c025c507b3a18a3dff445ca385 | [
"MIT"
] | 1 | 2021-04-08T17:00:32.000Z | 2021-04-08T17:00:32.000Z | animations/factorizations.py | bnels/cse21 | daad575743bfa7c025c507b3a18a3dff445ca385 | [
"MIT"
] | null | null | null | animations/factorizations.py | bnels/cse21 | daad575743bfa7c025c507b3a18a3dff445ca385 | [
"MIT"
] | null | null | null | from manim import *
from manim_reveal import SlideScene
from manimtda.linalg.shapes import *
from manimtda.utils import *
def EUmat(color=WHITE):
return VGroup(
Square(color=color),
Line(np.array([-1,1,0]), np.array([-0.3,0.3,0]),color=color),
Line(np.array([0,0.3,0]), np.array([0.3,0,0])... | 24.493617 | 79 | 0.560111 | 780 | 5,756 | 3.978205 | 0.153846 | 0.022559 | 0.033516 | 0.043829 | 0.821141 | 0.807606 | 0.789558 | 0.789558 | 0.789558 | 0.789558 | 0 | 0.018308 | 0.297776 | 5,756 | 234 | 80 | 24.598291 | 0.749381 | 0.072099 | 0 | 0.673333 | 0 | 0 | 0.004885 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.193333 | false | 0.013333 | 0.026667 | 0.033333 | 0.386667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
67f3c76e02510a436d030f33b0f16c6eb4e18cc0 | 1,215 | py | Python | DataStream/DataInputStream.py | mauriballes/proyecto_compiladores_c3 | e1627910c640869ddee6417613789f4e0684bce6 | [
"MIT"
] | null | null | null | DataStream/DataInputStream.py | mauriballes/proyecto_compiladores_c3 | e1627910c640869ddee6417613789f4e0684bce6 | [
"MIT"
] | null | null | null | DataStream/DataInputStream.py | mauriballes/proyecto_compiladores_c3 | e1627910c640869ddee6417613789f4e0684bce6 | [
"MIT"
] | null | null | null |
"""
Reading from Java DataInputStream format.
"""
import struct
class DataInputStream:
def __init__(self, stream):
self.stream = stream
def read_boolean(self):
return struct.unpack('?', self.stream.read(1))[0]
def read_byte(self):
return struct.unpack('b', self.stream.read(1))[0... | 25.851064 | 64 | 0.619753 | 174 | 1,215 | 4.218391 | 0.224138 | 0.20436 | 0.228883 | 0.269755 | 0.509537 | 0.509537 | 0.457766 | 0.36376 | 0.324251 | 0.324251 | 0 | 0.023037 | 0.213992 | 1,215 | 47 | 65 | 25.851064 | 0.74555 | 0.033745 | 0 | 0 | 0 | 0 | 0.016295 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.448276 | false | 0 | 0.034483 | 0.344828 | 0.896552 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
db02d43d228dafde50db8e706b9e24576baabf8f | 53,968 | py | Python | gr37/hf/X310/wwv_monitor_x310_2.py | zleffke/flowgraph_sandbox | 6bcad45fd4585e917678b843be323278ebf06323 | [
"MIT"
] | null | null | null | gr37/hf/X310/wwv_monitor_x310_2.py | zleffke/flowgraph_sandbox | 6bcad45fd4585e917678b843be323278ebf06323 | [
"MIT"
] | null | null | null | gr37/hf/X310/wwv_monitor_x310_2.py | zleffke/flowgraph_sandbox | 6bcad45fd4585e917678b843be323278ebf06323 | [
"MIT"
] | null | null | null | #!/usr/bin/env python2
# -*- coding: utf-8 -*-
##################################################
# GNU Radio Python Flow Graph
# Title: WWV Monitor X310, Start Time [UTC]: 2020-07-15T03:24:49.649869Z
# GNU Radio version: 3.7.13.4
##################################################
if __name__ == '__main__':
import... | 51.594646 | 179 | 0.653665 | 8,636 | 53,968 | 3.668597 | 0.049097 | 0.021526 | 0.039202 | 0.052585 | 0.876965 | 0.834764 | 0.789754 | 0.754782 | 0.695695 | 0.645445 | 0 | 0.049968 | 0.216443 | 53,968 | 1,045 | 180 | 51.644019 | 0.699246 | 0.00945 | 0 | 0.363636 | 0 | 0 | 0.035273 | 0.001418 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.022727 | 0.02381 | null | null | 0.001082 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
db168de10b25b558135c4875205413b3c1ec15d8 | 186 | py | Python | .history/List of Capstone Projects/pi_program_20200516141346.py | EvanthiosPapadopoulos/Python3 | ab773fd458e365c1510f98ecac65965234c881e8 | [
"MIT"
] | 1 | 2020-05-18T17:50:00.000Z | 2020-05-18T17:50:00.000Z | .history/List of Capstone Projects/pi_program_20200516141346.py | EvanthiosPapadopoulos/Python3 | ab773fd458e365c1510f98ecac65965234c881e8 | [
"MIT"
] | null | null | null | .history/List of Capstone Projects/pi_program_20200516141346.py | EvanthiosPapadopoulos/Python3 | ab773fd458e365c1510f98ecac65965234c881e8 | [
"MIT"
] | null | null | null | '''
Find PI to the Nth Digit - Enter a number and have the program generate π (pi) up to that many decimal places. Keep a limit to how far the program will go.
'''
import HeaderOfFiles
| 31 | 155 | 0.736559 | 34 | 186 | 4.029412 | 0.794118 | 0.145985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204301 | 186 | 5 | 156 | 37.2 | 0.925676 | 0.833333 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
db1f19cb084dbc508bfd36c26611109d743a868b | 1,950 | py | Python | util/data/gen/CoreUIComponents.dll.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | util/data/gen/CoreUIComponents.dll.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | util/data/gen/CoreUIComponents.dll.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | symbols = []
exports = [{'type': 'function', 'name': 'CoreUIClientCreate', 'address': '0x7ffb38d8cb90'}, {'type': 'function', 'name': 'CoreUIClientTestCreate', 'address': '0x7ffb38e9a810'}, {'type': 'function', 'name': 'CoreUIConfigureTestHost', 'address': '0x7ffb38df9ba0'}, {'type': 'function', 'name': 'CoreUICreateDu... | 975 | 1,937 | 0.702051 | 134 | 1,950 | 10.216418 | 0.373134 | 0.192841 | 0.257122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086549 | 0.069744 | 1,950 | 2 | 1,937 | 975 | 0.668137 | 0 | 0 | 0 | 0 | 0 | 0.694516 | 0.217324 | 0 | 0 | 0.157868 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e1ed9bdeb1a9005af3c3f3abc469d19faf974131 | 88 | py | Python | st3/libconda/tests/__init__.py | DamnWidget/libconda | 17ab8cd61a4df83047608dcdbc08f408b80d4e76 | [
"Apache-2.0"
] | null | null | null | st3/libconda/tests/__init__.py | DamnWidget/libconda | 17ab8cd61a4df83047608dcdbc08f408b80d4e76 | [
"Apache-2.0"
] | null | null | null | st3/libconda/tests/__init__.py | DamnWidget/libconda | 17ab8cd61a4df83047608dcdbc08f408b80d4e76 | [
"Apache-2.0"
] | null | null | null | import os
import sys
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..'))
| 17.6 | 65 | 0.704545 | 15 | 88 | 3.866667 | 0.6 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.090909 | 88 | 4 | 66 | 22 | 0.7125 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c06432d28bb085d1ad3e65af6e90b5fb9f0124c9 | 260,273 | py | Python | instances/passenger_demand/pas-20210422-1717-int18e/72.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int18e/72.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int18e/72.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 34399
passenger_arriving = (
(9, 4, 8, 11, 5, 1, 5, 5, 2, 3, 3, 0, 0, 7, 4, 8, 4, 6, 2, 8, 4, 2, 2, 1, 1, 0), # 0
(6, 9, 9, 6, 5, 1, 3, 5, 3, 1, 3, 0, 0, 9, 7, 4, 4, 7, 4, 3, 5, 5, 2, 2, 0, 0), # 1
(11, 13, 5, 10, 9, 2, 5, 2, 3, 1, 4, 1, 0, 14, 7, 7, 6, 15, 4, 3, 6, 3, 1, 2, 1... | 278.366845 | 490 | 0.771302 | 32,987 | 260,273 | 6.085367 | 0.233728 | 0.35509 | 0.340743 | 0.645618 | 0.366423 | 0.361187 | 0.36057 | 0.36057 | 0.36057 | 0.36057 | 0 | 0.851065 | 0.095031 | 260,273 | 934 | 491 | 278.664882 | 0.001185 | 0.015411 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c068c131e57b1f303cc1518eac8b5ab5859b9cf4 | 588 | py | Python | codewars/8kyu/dinamuh/TotalAmount/test.py | dinamuh/Training_one | d18e8fb12608ce1753162c20252ca928c4df97ab | [
"MIT"
] | null | null | null | codewars/8kyu/dinamuh/TotalAmount/test.py | dinamuh/Training_one | d18e8fb12608ce1753162c20252ca928c4df97ab | [
"MIT"
] | 2 | 2019-01-22T10:53:42.000Z | 2019-01-31T08:02:48.000Z | codewars/8kyu/dinamuh/TotalAmount/test.py | dinamuh/Training_one | d18e8fb12608ce1753162c20252ca928c4df97ab | [
"MIT"
] | 13 | 2019-01-22T10:37:42.000Z | 2019-01-25T13:30:43.000Z | from main import points
def test_points(benchmark):
assert benchmark(points, ['1:0', '2:0', '3:0', '4:0', '2:1', '3:1', '4:1', '3:2', '4:2', '4:3']) == 30
assert benchmark(points, ['1:1', '2:2', '3:3', '4:4', '2:2', '3:3', '4:4', '3:3', '4:4', '4:4']) == 10
assert benchmark(points, ['0:1', '0:2', '0:3', '... | 58.8 | 106 | 0.437075 | 128 | 588 | 2 | 0.132813 | 0.046875 | 0.410156 | 0.34375 | 0.570313 | 0.554688 | 0.492188 | 0.464844 | 0.464844 | 0.429688 | 0 | 0.222449 | 0.166667 | 588 | 9 | 107 | 65.333333 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0.255102 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fbfb44abccba6a3786c86bef1d5acf3bc706af7c | 46 | py | Python | {{cookiecutter.repo_name}}/test/{{cookiecutter.package_name}}/main_test.py | genericmoniker/python-project-cookiecutter | cb73950bc21c4cfa056231d852fa1886531d4626 | [
"MIT"
] | null | null | null | {{cookiecutter.repo_name}}/test/{{cookiecutter.package_name}}/main_test.py | genericmoniker/python-project-cookiecutter | cb73950bc21c4cfa056231d852fa1886531d4626 | [
"MIT"
] | 2 | 2020-03-16T21:09:37.000Z | 2020-03-16T21:29:58.000Z | test/gitsplit/main_test.py | genericmoniker/git-split | a46a496e44f3a365579d26359ec446e09fa8cbe5 | [
"MIT"
] | null | null | null | def test_something() -> None:
assert True
| 15.333333 | 29 | 0.673913 | 6 | 46 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 46 | 2 | 30 | 23 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
225a423861ecc8252fa8982fc822102a3c9bfa26 | 7,290 | py | Python | DQMOffline/RecoB/python/cTagCombinedSVVariables_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 6 | 2017-09-08T14:12:56.000Z | 2022-03-09T23:57:01.000Z | DQMOffline/RecoB/python/cTagCombinedSVVariables_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 545 | 2017-09-19T17:10:19.000Z | 2022-03-07T16:55:27.000Z | DQMOffline/RecoB/python/cTagCombinedSVVariables_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 14 | 2017-10-04T09:47:21.000Z | 2019-10-23T18:04:45.000Z | import FWCore.ParameterSet.Config as cms
combinedSVRecoVertexAllSoftLeptonCtagLVariables = cms.PSet(
flightDistance2dSig = cms.PSet(
logScale = cms.bool(True),
nBins = cms.uint32(50),
max = cms.double(50.0),
min = cms.double(-1.0)
),
flightDistance3dSig = cms.PSet(
l... | 28.255814 | 65 | 0.528669 | 888 | 7,290 | 4.34009 | 0.095721 | 0.172807 | 0.108978 | 0.172807 | 0.747535 | 0.736637 | 0.708355 | 0.70109 | 0.70109 | 0.634665 | 0 | 0.084357 | 0.318656 | 7,290 | 257 | 66 | 28.365759 | 0.691564 | 0 | 0 | 0.697211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003984 | 0 | 0.003984 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
225bdadd93238da253e013abaabe84afb3831ad5 | 139 | py | Python | arm_control/src/arm_control/__init__.py | errrr0501/wrs2020 | 8695eca402081d3d02dc12bb50b3ebd78464e96f | [
"MIT"
] | 1 | 2020-02-17T12:56:02.000Z | 2020-02-17T12:56:02.000Z | arm_control/src/arm_control/__init__.py | i-am-neet/wrs2020 | 3b388eac6832f2559c59fa0c1f7732589c5eff0c | [
"MIT"
] | null | null | null | arm_control/src/arm_control/__init__.py | i-am-neet/wrs2020 | 3b388eac6832f2559c59fa0c1f7732589c5eff0c | [
"MIT"
] | 2 | 2020-10-12T07:48:51.000Z | 2020-10-19T15:28:28.000Z | #!/usr/bin/env python3
from arm_task import ArmTask, Command, Status
from suction import SuctionTask
from dual_arm_task import DualArmTask
| 27.8 | 45 | 0.834532 | 21 | 139 | 5.380952 | 0.714286 | 0.123894 | 0.230089 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00813 | 0.115108 | 139 | 4 | 46 | 34.75 | 0.910569 | 0.151079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
97de1fe05c9714832b4b5ab36a81718f641b4cb4 | 44 | py | Python | atmosphere/atmospherex/__init__.py | ambiata/atmosphere-python-sdk | 48880a8553000cdea59d63b0fba49e1f0f482784 | [
"MIT"
] | null | null | null | atmosphere/atmospherex/__init__.py | ambiata/atmosphere-python-sdk | 48880a8553000cdea59d63b0fba49e1f0f482784 | [
"MIT"
] | 9 | 2021-02-21T21:53:03.000Z | 2021-11-05T06:06:55.000Z | atmosphere/atmospherex/__init__.py | ambiata/atmosphere-python-sdk | 48880a8553000cdea59d63b0fba49e1f0f482784 | [
"MIT"
] | null | null | null | from .atmospherex_api import AtmospherexAPI
| 22 | 43 | 0.886364 | 5 | 44 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
97f10e0c35765a4091c4de904717fdd9e058be8b | 109 | py | Python | models/__init__.py | XiaohangZhan/dist-framework | c13e431fafea39327e8aebe92aa8311c8f0a2169 | [
"MIT"
] | 16 | 2019-08-16T16:23:45.000Z | 2020-07-27T03:50:49.000Z | models/__init__.py | XiaohangZhan/dist-framework | c13e431fafea39327e8aebe92aa8311c8f0a2169 | [
"MIT"
] | 1 | 2020-06-12T10:09:55.000Z | 2020-06-15T04:57:28.000Z | models/__init__.py | XiaohangZhan/dist-framework | c13e431fafea39327e8aebe92aa8311c8f0a2169 | [
"MIT"
] | 2 | 2019-08-20T01:41:41.000Z | 2020-06-04T02:51:18.000Z | from . import backbone
from .losses import *
from .single_stage_model import *
from .classification import *
| 21.8 | 33 | 0.788991 | 14 | 109 | 6 | 0.571429 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146789 | 109 | 4 | 34 | 27.25 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3f0638c647bdafff5616fea9fdb403b378c867be | 16,691 | py | Python | tests/ut/python/dataset/test_datasets_imagefolder.py | dongkcs/mindspore | cd7df6dbf463ff3128e9181e9d0c779cecb81320 | [
"Apache-2.0"
] | 2 | 2020-11-23T13:46:37.000Z | 2020-12-20T02:02:38.000Z | tests/ut/python/dataset/test_datasets_imagefolder.py | dongkcs/mindspore | cd7df6dbf463ff3128e9181e9d0c779cecb81320 | [
"Apache-2.0"
] | 1 | 2020-12-29T06:46:38.000Z | 2020-12-29T06:46:38.000Z | tests/ut/python/dataset/test_datasets_imagefolder.py | dongkcs/mindspore | cd7df6dbf463ff3128e9181e9d0c779cecb81320 | [
"Apache-2.0"
] | 1 | 2021-05-12T06:30:29.000Z | 2021-05-12T06:30:29.000Z | # Copyright 2019 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | 33.583501 | 105 | 0.667605 | 2,271 | 16,691 | 4.747248 | 0.084104 | 0.084408 | 0.046749 | 0.052593 | 0.848623 | 0.836472 | 0.745014 | 0.721362 | 0.702811 | 0.701512 | 0 | 0.037929 | 0.208615 | 16,691 | 496 | 106 | 33.65121 | 0.778257 | 0.186807 | 0 | 0.619205 | 0 | 0 | 0.162575 | 0.03256 | 0 | 0 | 0 | 0 | 0.076159 | 1 | 0.059603 | false | 0 | 0.006623 | 0 | 0.066225 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3f21df67a4940b008fc49b7b17e36bfe256dbebc | 33 | py | Python | tartiflette/directive/__init__.py | alexchamberlain/tartiflette | 6904b0f47770c348553e907be5f5bdb0929fe149 | [
"MIT"
] | null | null | null | tartiflette/directive/__init__.py | alexchamberlain/tartiflette | 6904b0f47770c348553e907be5f5bdb0929fe149 | [
"MIT"
] | null | null | null | tartiflette/directive/__init__.py | alexchamberlain/tartiflette | 6904b0f47770c348553e907be5f5bdb0929fe149 | [
"MIT"
] | null | null | null | from .directive import Directive
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3f39f413f584813e10bc695ce16fb26d66385e13 | 27 | py | Python | snail/__init__.py | Who8MyLunch/Snail | 86f4093a884ceb6ba296afad50f238f439e4c2c4 | [
"MIT"
] | 2 | 2021-04-09T20:17:41.000Z | 2021-04-09T20:18:06.000Z | snail/__init__.py | Who8MyLunch/Snail | 86f4093a884ceb6ba296afad50f238f439e4c2c4 | [
"MIT"
] | 5 | 2019-11-24T16:24:11.000Z | 2021-02-22T16:10:05.000Z | snail/__init__.py | Who8MyLunch/Snail | 86f4093a884ceb6ba296afad50f238f439e4c2c4 | [
"MIT"
] | 3 | 2020-07-25T23:00:59.000Z | 2022-02-15T02:37:27.000Z | from .device import Device
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3f49154e72709827a117b624e9bfe75dbaefe449 | 129 | py | Python | src/potpourri3d/__init__.py | unspun/potpourri3d | 4ae5fc3ab58be9734fb7f5a6503808a796b89067 | [
"MIT"
] | 221 | 2021-02-17T17:43:27.000Z | 2022-03-29T06:54:05.000Z | src/potpourri3d/__init__.py | unspun/potpourri3d | 4ae5fc3ab58be9734fb7f5a6503808a796b89067 | [
"MIT"
] | 6 | 2021-02-24T19:47:36.000Z | 2022-02-07T18:37:41.000Z | src/potpourri3d/__init__.py | unspun/potpourri3d | 4ae5fc3ab58be9734fb7f5a6503808a796b89067 | [
"MIT"
] | 15 | 2021-02-18T05:10:39.000Z | 2022-03-09T09:51:04.000Z | from potpourri3d.core import *
from potpourri3d.io import *
from potpourri3d.mesh import *
from potpourri3d.point_cloud import *
| 25.8 | 37 | 0.813953 | 17 | 129 | 6.117647 | 0.470588 | 0.576923 | 0.605769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035398 | 0.124031 | 129 | 4 | 38 | 32.25 | 0.884956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3f5f3f3dc09d7dc1393536e97f7bf03558c36aa7 | 4,265 | py | Python | yt/geometry/coordinates/tests/test_geographic_coordinates.py | kastalpes/yt | b1e197ca84433fbd61eaf44b28ff5cdb37981d4c | [
"BSD-3-Clause-Clear"
] | 2 | 2021-03-02T18:59:49.000Z | 2021-03-02T18:59:50.000Z | yt/geometry/coordinates/tests/test_geographic_coordinates.py | kastalpes/yt | b1e197ca84433fbd61eaf44b28ff5cdb37981d4c | [
"BSD-3-Clause-Clear"
] | 4 | 2018-04-13T23:03:42.000Z | 2018-05-08T17:50:43.000Z | yt/geometry/coordinates/tests/test_geographic_coordinates.py | kastalpes/yt | b1e197ca84433fbd61eaf44b28ff5cdb37981d4c | [
"BSD-3-Clause-Clear"
] | 2 | 2020-05-16T15:29:37.000Z | 2020-06-22T10:17:08.000Z | # Some tests for the geographic coordinates handler
import numpy as np
from yt.testing import \
fake_amr_ds, \
assert_equal, \
assert_rel_equal
# Our canonical tests are that we can access all of our fields and we can
# compute our volume correctly.
def test_geographic_coordinates():
# We're going t... | 50.176471 | 80 | 0.62837 | 659 | 4,265 | 3.924127 | 0.206373 | 0.092034 | 0.100541 | 0.097448 | 0.792343 | 0.774942 | 0.774942 | 0.774942 | 0.743233 | 0.682908 | 0 | 0.031102 | 0.208441 | 4,265 | 84 | 81 | 50.77381 | 0.734893 | 0.222509 | 0 | 0.576271 | 0 | 0 | 0.195329 | 0.038823 | 0 | 0 | 0 | 0 | 0.40678 | 1 | 0.033898 | false | 0 | 0.033898 | 0 | 0.067797 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
58d28e55daa32cafb24066b3d26ef87d6317b523 | 162 | py | Python | a/aa/web_form/mark_attendence/mark_attendence.py | aswinthaikkat/a | 8da4a780e82cfb498017e1d15711001e5679b9a4 | [
"MIT"
] | null | null | null | a/aa/web_form/mark_attendence/mark_attendence.py | aswinthaikkat/a | 8da4a780e82cfb498017e1d15711001e5679b9a4 | [
"MIT"
] | null | null | null | a/aa/web_form/mark_attendence/mark_attendence.py | aswinthaikkat/a | 8da4a780e82cfb498017e1d15711001e5679b9a4 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
import frappe
def get_context(context):
pass
def has_website_permission(doc,ptype,user,verbose=False):
return True
| 14.727273 | 57 | 0.814815 | 23 | 162 | 5.391304 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123457 | 162 | 11 | 58 | 14.727273 | 0.873239 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.333333 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 6 |
58d7874e2071ed69f4f866554b981b6b71c80653 | 15,976 | py | Python | xlsxwriter/test/styles/test_write_xf_methods.py | DeltaEpsilon7787/XlsxWriter | 550b9c5bd678c861dcc9f6f4072b33a69566e065 | [
"BSD-2-Clause-FreeBSD"
] | 2,766 | 2015-01-02T17:36:42.000Z | 2022-03-31T09:23:30.000Z | xlsxwriter/test/styles/test_write_xf_methods.py | DeltaEpsilon7787/XlsxWriter | 550b9c5bd678c861dcc9f6f4072b33a69566e065 | [
"BSD-2-Clause-FreeBSD"
] | 683 | 2015-01-03T09:55:02.000Z | 2022-03-31T07:18:15.000Z | xlsxwriter/test/styles/test_write_xf_methods.py | jmcnamara/test_py_github_actions | d445d5d98b038b63453dd70c9c1a9ca1b325cb47 | [
"BSD-2-Clause-FreeBSD"
] | 636 | 2015-01-05T01:57:08.000Z | 2022-03-25T18:42:41.000Z | ###############################################################################
#
# Tests for XlsxWriter.
#
# Copyright (c), 2013-2021, John McNamara, jmcnamara@cpan.org
#
import unittest
from io import StringIO
from ...styles import Styles
from ...format import Format
class TestWriteXf(unittest.TestCase):
"""
... | 31.824701 | 191 | 0.607223 | 2,069 | 15,976 | 4.478492 | 0.072499 | 0.101014 | 0.053421 | 0.054392 | 0.924887 | 0.924887 | 0.91539 | 0.895316 | 0.83283 | 0.751673 | 0 | 0.0272 | 0.226778 | 15,976 | 501 | 192 | 31.888224 | 0.722901 | 0.144905 | 0 | 0.655556 | 0 | 0.133333 | 0.316439 | 0.1146 | 0 | 0 | 0 | 0 | 0.133333 | 1 | 0.137037 | false | 0 | 0.014815 | 0 | 0.155556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
58df2ff230098d344c2e06143d21c584c05e3461 | 399 | py | Python | sdcdup/visualization/__init__.py | WillieMaddox/Airbus_SDC_dup | 09be904cf3c8050086f07538f5e2954282de5d62 | [
"MIT"
] | null | null | null | sdcdup/visualization/__init__.py | WillieMaddox/Airbus_SDC_dup | 09be904cf3c8050086f07538f5e2954282de5d62 | [
"MIT"
] | null | null | null | sdcdup/visualization/__init__.py | WillieMaddox/Airbus_SDC_dup | 09be904cf3c8050086f07538f5e2954282de5d62 | [
"MIT"
] | null | null | null |
from .visualize import ChannelShift
from .visualize import reversed_recombined_holt_winters
from .visualize import get_ticks
from .visualize import subtract_channel_average
from .visualize import draw_tile_number
from .visualize import draw_bbox
from .visualize import draw_tile_bbox
from .visualize import draw_overlap... | 33.25 | 55 | 0.87218 | 56 | 399 | 5.928571 | 0.375 | 0.391566 | 0.572289 | 0.277108 | 0.424699 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102757 | 399 | 11 | 56 | 36.272727 | 0.927374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 6 |
58f437f606e78fa9a8280b5b3337f1b69749090f | 4,076 | py | Python | rxn4chemistry/callbacks.py | ltalirz/rxn4chemistry | b8601cecdfdeeb45cefacca9bf8945e478d290fa | [
"MIT"
] | null | null | null | rxn4chemistry/callbacks.py | ltalirz/rxn4chemistry | b8601cecdfdeeb45cefacca9bf8945e478d290fa | [
"MIT"
] | null | null | null | rxn4chemistry/callbacks.py | ltalirz/rxn4chemistry | b8601cecdfdeeb45cefacca9bf8945e478d290fa | [
"MIT"
] | null | null | null | """Callbacks for IBM RXN for Chemistry API."""
import logging
import requests
from bs4 import BeautifulSoup
LOGGER = logging.getLogger('rxn4chemistry:callbacks')
def prediction_id_on_success(response: requests.models.Response) -> dict:
"""
Process the successful response of requests returning a prediction
... | 26.128205 | 78 | 0.654318 | 417 | 4,076 | 6.282974 | 0.179856 | 0.123664 | 0.134351 | 0.183206 | 0.766031 | 0.750382 | 0.750382 | 0.750382 | 0.71145 | 0.676336 | 0 | 0.000653 | 0.248773 | 4,076 | 155 | 79 | 26.296774 | 0.854997 | 0.415604 | 0 | 0.448276 | 0 | 0 | 0.124049 | 0.010932 | 0 | 0 | 0 | 0 | 0 | 1 | 0.137931 | false | 0 | 0.051724 | 0 | 0.327586 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
450eb50a6f36ae70158810b21dbc86335e6a26ea | 21,618 | py | Python | nufftbindings/pykeops.py | albangossard/Bindings-NUFFT-pytorch | 86446555505e0daef07dfdd4620d7cd5d57f9832 | [
"MIT"
] | null | null | null | nufftbindings/pykeops.py | albangossard/Bindings-NUFFT-pytorch | 86446555505e0daef07dfdd4620d7cd5d57f9832 | [
"MIT"
] | null | null | null | nufftbindings/pykeops.py | albangossard/Bindings-NUFFT-pytorch | 86446555505e0daef07dfdd4620d7cd5d57f9832 | [
"MIT"
] | null | null | null | # Author: Alban Gossard
# Last modification: 2021/22/09
import torch
from pykeops.torch import LazyTensor, ComplexLazyTensor
# from pykeops import IntCst, Imag2Complex
from nufftbindings.basenufft import *
class Nufft(baseNUFFT):
def _set_dims(self):
self.cos_coupling = None
self.sin_coupling = N... | 43.939024 | 184 | 0.539042 | 3,094 | 21,618 | 3.638009 | 0.046542 | 0.027985 | 0.068408 | 0.068763 | 0.908849 | 0.886727 | 0.872779 | 0.846482 | 0.821429 | 0.803749 | 0 | 0.032025 | 0.295124 | 21,618 | 491 | 185 | 44.028513 | 0.706654 | 0.018734 | 0 | 0.685096 | 0 | 0 | 0.020439 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033654 | false | 0 | 0.007212 | 0 | 0.086538 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
18af57b6ce40c620300712d55b95264ee514e588 | 54 | py | Python | cal/__init__.py | sim6998/Python-Tutorials | 07bead55b6b9a6bbdc2479907de06f28761aca59 | [
"MIT"
] | null | null | null | cal/__init__.py | sim6998/Python-Tutorials | 07bead55b6b9a6bbdc2479907de06f28761aca59 | [
"MIT"
] | null | null | null | cal/__init__.py | sim6998/Python-Tutorials | 07bead55b6b9a6bbdc2479907de06f28761aca59 | [
"MIT"
] | null | null | null | from cal.sum import getSum
from cal.sub import getSub | 27 | 27 | 0.814815 | 10 | 54 | 4.4 | 0.7 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 54 | 2 | 28 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
18c88e003632abd2e6f42a110e639d276342dadd | 23 | py | Python | hello.py | dvhankerson/BroadbandSubs | 5dad024d85c57fa4cdc69ee5c159dd7f69460a26 | [
"MIT"
] | null | null | null | hello.py | dvhankerson/BroadbandSubs | 5dad024d85c57fa4cdc69ee5c159dd7f69460a26 | [
"MIT"
] | null | null | null | hello.py | dvhankerson/BroadbandSubs | 5dad024d85c57fa4cdc69ee5c159dd7f69460a26 | [
"MIT"
] | null | null | null | print "hello, github!"
| 11.5 | 22 | 0.695652 | 3 | 23 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
18d81e022916b5684a27f9a4260ab414698a7615 | 59 | py | Python | catkin_ws/devel/lib/python2.7/dist-packages/localize/msg/__init__.py | preethamam/ROS-TurtleBot-2DAreaScanning | bcd6c976347839d5f2d2bca15c331cf4de8af342 | [
"MIT"
] | null | null | null | catkin_ws/devel/lib/python2.7/dist-packages/localize/msg/__init__.py | preethamam/ROS-TurtleBot-2DAreaScanning | bcd6c976347839d5f2d2bca15c331cf4de8af342 | [
"MIT"
] | null | null | null | catkin_ws/devel/lib/python2.7/dist-packages/localize/msg/__init__.py | preethamam/ROS-TurtleBot-2DAreaScanning | bcd6c976347839d5f2d2bca15c331cf4de8af342 | [
"MIT"
] | null | null | null | from ._slam_stamped import *
from ._theta_stamped import *
| 19.666667 | 29 | 0.79661 | 8 | 59 | 5.375 | 0.625 | 0.604651 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 59 | 2 | 30 | 29.5 | 0.843137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e13e87485c3eb3a77597e73bd1135a6140a42a51 | 2,542 | py | Python | example/example.py | Andoryuuta/PyRSAref | bcb1502334d8041e7dd756f8e69eb07e77d207fd | [
"MIT"
] | null | null | null | example/example.py | Andoryuuta/PyRSAref | bcb1502334d8041e7dd756f8e69eb07e77d207fd | [
"MIT"
] | null | null | null | example/example.py | Andoryuuta/PyRSAref | bcb1502334d8041e7dd756f8e69eb07e77d207fd | [
"MIT"
] | null | null | null | import pyrsaref
from hexdump import hexdump
""""
# Known-value test
rsa = pyrsaref.CryptRSA()
pub_key = bytes([0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0... | 65.179487 | 1,577 | 0.693155 | 414 | 2,542 | 4.200483 | 0.268116 | 0.92927 | 1.352501 | 1.748131 | 0.508338 | 0.494537 | 0.494537 | 0.460035 | 0.439333 | 0.439333 | 0 | 0.393883 | 0.151062 | 2,542 | 38 | 1,578 | 66.894737 | 0.411956 | 0.055468 | 0 | 0 | 0 | 0 | 0.011364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.181818 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
beeaf72f82ba26ea47f96f8f0bb0ce6bdaca2432 | 53 | py | Python | src/CBP/__init__.py | b29308188/cs598vqa | fc45af29c08288d97cbe6145489e754b1dca267e | [
"MIT"
] | null | null | null | src/CBP/__init__.py | b29308188/cs598vqa | fc45af29c08288d97cbe6145489e754b1dca267e | [
"MIT"
] | null | null | null | src/CBP/__init__.py | b29308188/cs598vqa | fc45af29c08288d97cbe6145489e754b1dca267e | [
"MIT"
] | null | null | null | from count_sketch import count_sketch, bilinear_pool
| 26.5 | 52 | 0.886792 | 8 | 53 | 5.5 | 0.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09434 | 53 | 1 | 53 | 53 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bef840d96ef3b9a20b3d3befcc66f6ef40285ca3 | 43 | py | Python | aave-server/app/tasks/worker.py | zoek1/Birdwatching | c447d7c7e59577ff9bc647093a6799fc96a7cb10 | [
"MIT"
] | null | null | null | aave-server/app/tasks/worker.py | zoek1/Birdwatching | c447d7c7e59577ff9bc647093a6799fc96a7cb10 | [
"MIT"
] | null | null | null | aave-server/app/tasks/worker.py | zoek1/Birdwatching | c447d7c7e59577ff9bc647093a6799fc96a7cb10 | [
"MIT"
] | null | null | null | from common.tasks import app as scheduler
| 14.333333 | 41 | 0.813953 | 7 | 43 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 2 | 42 | 21.5 | 0.972222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
55dcff63fc32a81a50382c933ea0c01f025d10de | 44 | py | Python | nes/darts/re/__init__.py | automl/nes | 1c54786c30acd6e19eb9708204bffc86b58ea272 | [
"Apache-2.0"
] | 26 | 2020-06-22T16:07:54.000Z | 2022-03-23T08:12:05.000Z | nes/darts/re/__init__.py | automl/nes | 1c54786c30acd6e19eb9708204bffc86b58ea272 | [
"Apache-2.0"
] | 2 | 2020-07-13T06:23:18.000Z | 2022-03-31T07:30:18.000Z | nes/darts/re/__init__.py | automl/nes | 1c54786c30acd6e19eb9708204bffc86b58ea272 | [
"Apache-2.0"
] | 4 | 2020-07-06T01:55:16.000Z | 2021-08-02T00:00:14.000Z | from .re_master import RegularizedEvolution
| 22 | 43 | 0.886364 | 5 | 44 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
55e1267affa8b0dabf00c5e173aed442817862ea | 156 | py | Python | file/admin.py | CaptainMorch/TJU_Cats | c0f692ffce9132936538b991b825744d89933ea7 | [
"MIT"
] | null | null | null | file/admin.py | CaptainMorch/TJU_Cats | c0f692ffce9132936538b991b825744d89933ea7 | [
"MIT"
] | null | null | null | file/admin.py | CaptainMorch/TJU_Cats | c0f692ffce9132936538b991b825744d89933ea7 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Photo
# Register your models here.
@admin.register(Photo)
class PhotoAdmin(admin.ModelAdmin):
pass | 22.285714 | 35 | 0.788462 | 21 | 156 | 5.857143 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 156 | 7 | 36 | 22.285714 | 0.911111 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
55e6bfecacb5f0461c12c81f6f75878efdec8c17 | 57 | py | Python | willard/__init__.py | cfr2ak/willard | c45e51f2a27f0727b5e55269b266dfbaa752a6f9 | [
"MIT"
] | 1 | 2022-01-13T22:30:16.000Z | 2022-01-13T22:30:16.000Z | willard/__init__.py | cfr2ak/willard | c45e51f2a27f0727b5e55269b266dfbaa752a6f9 | [
"MIT"
] | 7 | 2019-10-14T04:31:51.000Z | 2019-11-19T11:27:43.000Z | willard/__init__.py | cfr2ak/willard | c45e51f2a27f0727b5e55269b266dfbaa752a6f9 | [
"MIT"
] | null | null | null | from . import type
from . import const
from . import alg
| 14.25 | 19 | 0.736842 | 9 | 57 | 4.666667 | 0.555556 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 57 | 3 | 20 | 19 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
55f6f107d12828727e0231597afe8d40f7b11079 | 31 | py | Python | src/elicznik/__init__.py | mlesniew/elicznik | fdec5f26a3aadde94e15f1783eef74b18426099d | [
"MIT"
] | null | null | null | src/elicznik/__init__.py | mlesniew/elicznik | fdec5f26a3aadde94e15f1783eef74b18426099d | [
"MIT"
] | 1 | 2022-01-29T09:52:19.000Z | 2022-01-29T09:52:19.000Z | src/elicznik/__init__.py | mlesniew/elicznik | fdec5f26a3aadde94e15f1783eef74b18426099d | [
"MIT"
] | 2 | 2022-01-29T05:50:52.000Z | 2022-03-30T14:04:18.000Z | from .elicznik import ELicznik
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
36098ed6338b697562b6b8ae7b8559c0481aebcf | 53 | py | Python | yass/__init__.py | mardix/yass | 32f804c1a916f5b0a13d13fa750e52be3b6d666d | [
"MIT"
] | 2 | 2017-02-26T23:31:24.000Z | 2017-02-27T12:26:59.000Z | yass/__init__.py | mardix/yass | 32f804c1a916f5b0a13d13fa750e52be3b6d666d | [
"MIT"
] | 1 | 2021-03-25T21:27:39.000Z | 2021-03-25T21:27:39.000Z | yass/__init__.py | mardix/yass | 32f804c1a916f5b0a13d13fa750e52be3b6d666d | [
"MIT"
] | 1 | 2020-02-25T14:00:15.000Z | 2020-02-25T14:00:15.000Z |
from .yass import Yass
import publisher
import re
| 7.571429 | 22 | 0.773585 | 8 | 53 | 5.125 | 0.625 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207547 | 53 | 6 | 23 | 8.833333 | 0.97619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
360fa132389d618ea3f8081d2f37aaaa4cfc33f0 | 6,519 | py | Python | tatum/ledger/account.py | Narasimha-sai/Tatum | a4ff464806e03fb0490abe21f5378cffd5f87be1 | [
"MIT"
] | null | null | null | tatum/ledger/account.py | Narasimha-sai/Tatum | a4ff464806e03fb0490abe21f5378cffd5f87be1 | [
"MIT"
] | null | null | null | tatum/ledger/account.py | Narasimha-sai/Tatum | a4ff464806e03fb0490abe21f5378cffd5f87be1 | [
"MIT"
] | 1 | 2022-02-03T06:46:11.000Z | 2022-02-03T06:46:11.000Z | import http.client
import json
import validator.ledger as ledger_validator
import requests
import os
from dotenv import load_dotenv
load_dotenv()
conn = http.client.HTTPSConnection(os.environ['API_URL'])
API_KEY = os.environ['API_KEY']
def headers(for_post = False):
if for_post:
return {
'cont... | 43.751678 | 182 | 0.672036 | 841 | 6,519 | 4.969084 | 0.10107 | 0.09811 | 0.068198 | 0.088059 | 0.904523 | 0.883944 | 0.865757 | 0.850682 | 0.798995 | 0.784159 | 0 | 0.007094 | 0.178248 | 6,519 | 149 | 183 | 43.751678 | 0.773007 | 0 | 0 | 0.573643 | 0 | 0 | 0.13727 | 0.08819 | 0 | 0 | 0 | 0 | 0 | 1 | 0.131783 | false | 0 | 0.046512 | 0 | 0.317829 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3617f66a5d43786f620f93b054621220a45072b5 | 10,078 | py | Python | tests/unit/utils/test_timestamps.py | ahertz/pyowm | e7ccb5ec3f86bee0cbb9981070a62988a83a5b3c | [
"MIT"
] | 799 | 2015-01-03T12:07:57.000Z | 2022-03-31T03:59:53.000Z | tests/unit/utils/test_timestamps.py | ahertz/pyowm | e7ccb5ec3f86bee0cbb9981070a62988a83a5b3c | [
"MIT"
] | 279 | 2015-02-12T16:11:43.000Z | 2022-02-14T21:49:03.000Z | tests/unit/utils/test_timestamps.py | ahertz/pyowm | e7ccb5ec3f86bee0cbb9981070a62988a83a5b3c | [
"MIT"
] | 215 | 2015-01-06T19:07:11.000Z | 2022-02-14T21:39:33.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import unittest
from datetime import datetime, date, timedelta, timezone
from pyowm.utils import timestamps, formatting
class TestTimeUtils(unittest.TestCase):
def is_timezone_aware(self, dt):
self.assertIsNotNone(dt.tzinfo)
self.assertIsNotNone(dt.t... | 40.96748 | 110 | 0.661342 | 1,186 | 10,078 | 5.419899 | 0.080101 | 0.053049 | 0.065339 | 0.079807 | 0.834163 | 0.816739 | 0.816739 | 0.809116 | 0.761979 | 0.696795 | 0 | 0.035311 | 0.235662 | 10,078 | 245 | 111 | 41.134694 | 0.799169 | 0.00774 | 0 | 0.490291 | 0 | 0 | 0.0008 | 0 | 0 | 0 | 0 | 0 | 0.18932 | 1 | 0.140777 | false | 0 | 0.014563 | 0 | 0.160194 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
367e37dfaf97fce86ea7ebbb4d8f613070e7b7f1 | 42 | py | Python | abmarl/sim/corridor/__init__.py | Leonardo767/Abmarl | 9fada5447b09174c6a70b6032b4a8d08b66c4589 | [
"Apache-2.0"
] | 7 | 2020-11-13T01:33:44.000Z | 2021-03-05T14:30:34.000Z | abmarl/sim/corridor/__init__.py | Leonardo767/Abmarl | 9fada5447b09174c6a70b6032b4a8d08b66c4589 | [
"Apache-2.0"
] | 91 | 2020-11-04T23:34:30.000Z | 2021-06-08T17:18:00.000Z | abmarl/sim/corridor/__init__.py | Leonardo767/Abmarl | 9fada5447b09174c6a70b6032b4a8d08b66c4589 | [
"Apache-2.0"
] | 6 | 2021-07-12T19:28:51.000Z | 2022-03-01T00:50:02.000Z | from .multi_corridor import MultiCorridor
| 21 | 41 | 0.880952 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
36ef5b50827b431e88c585b422c5723b820627c2 | 140 | py | Python | aws_dynamodb_policies/aws_dynamodb_table_encryption.py | designing-penguin/panther-analysis | 26034cea4504f43227f8d3789225f6ca7b35dfe0 | [
"Apache-2.0"
] | 1 | 2020-10-21T08:14:49.000Z | 2020-10-21T08:14:49.000Z | aws_dynamodb_policies/aws_dynamodb_table_encryption.py | designing-penguin/panther-analysis | 26034cea4504f43227f8d3789225f6ca7b35dfe0 | [
"Apache-2.0"
] | null | null | null | aws_dynamodb_policies/aws_dynamodb_table_encryption.py | designing-penguin/panther-analysis | 26034cea4504f43227f8d3789225f6ca7b35dfe0 | [
"Apache-2.0"
] | null | null | null | def policy(resource):
return (resource['SSEDescription'] is not None and
resource['SSEDescription']['Status'] == 'ENABLED')
| 35 | 62 | 0.657143 | 14 | 140 | 6.571429 | 0.785714 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192857 | 140 | 3 | 63 | 46.666667 | 0.814159 | 0 | 0 | 0 | 0 | 0 | 0.292857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
36ef91833e6ae3a593ca5a64f1ee869589e9be29 | 194 | py | Python | API_testes/tests/test_get.py | tavares-douglas/S206_testes | 49bce4e12d58296250a5af68efe87d9a25e86bad | [
"MIT"
] | null | null | null | API_testes/tests/test_get.py | tavares-douglas/S206_testes | 49bce4e12d58296250a5af68efe87d9a25e86bad | [
"MIT"
] | null | null | null | API_testes/tests/test_get.py | tavares-douglas/S206_testes | 49bce4e12d58296250a5af68efe87d9a25e86bad | [
"MIT"
] | null | null | null | import requests
from scripts.getting_data import generate_response as gr
def test_status_and_data():
_, response = gr()
assert response.get('status') and len(response.get('data')) > 0
| 24.25 | 67 | 0.737113 | 28 | 194 | 4.892857 | 0.642857 | 0.131387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006098 | 0.154639 | 194 | 7 | 68 | 27.714286 | 0.829268 | 0 | 0 | 0 | 1 | 0 | 0.051813 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7fe52537b558422059498a7b0fa2ebb6da9692a2 | 16,254 | py | Python | templates/aws-cloudfront-waf/source/log_parser/build_athena_queries.py | zxkane/aws-cloudfront-extensions | cca8334f3777d3c5170113990b28b00bac34ddf6 | [
"Apache-2.0"
] | 678 | 2016-10-10T14:32:01.000Z | 2022-03-26T19:44:59.000Z | templates/aws-cloudfront-waf/source/log_parser/build_athena_queries.py | zxkane/aws-cloudfront-extensions | cca8334f3777d3c5170113990b28b00bac34ddf6 | [
"Apache-2.0"
] | 203 | 2016-10-14T03:06:47.000Z | 2022-03-31T07:04:40.000Z | templates/aws-cloudfront-waf/source/log_parser/build_athena_queries.py | zxkane/aws-cloudfront-extensions | cca8334f3777d3c5170113990b28b00bac34ddf6 | [
"Apache-2.0"
] | 346 | 2016-10-10T22:24:50.000Z | 2022-03-12T23:31:59.000Z | ##############################################################################
# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. #
# #
# Licensed under the Apache License, Version 2.0 (the "License"). #
# Y... | 41.253807 | 167 | 0.536053 | 1,881 | 16,254 | 4.385433 | 0.119086 | 0.01382 | 0.069827 | 0.05334 | 0.834525 | 0.825433 | 0.80834 | 0.79343 | 0.77864 | 0.731604 | 0 | 0.006362 | 0.332718 | 16,254 | 393 | 168 | 41.358779 | 0.754195 | 0.289959 | 0 | 0.662281 | 0 | 0.013158 | 0.199196 | 0.057318 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035088 | false | 0 | 0.004386 | 0 | 0.074561 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1821594288a8cc12a60b8a5fd5cf3958afb5028b | 20,153 | py | Python | win/devkit/other/pymel/extras/completion/py/PySide/QtDeclarative.py | leegoonz/Maya-devkit | b81fe799b58e854e4ef16435426d60446e975871 | [
"ADSL"
] | 10 | 2018-03-30T16:09:02.000Z | 2021-12-07T07:29:19.000Z | win/devkit/other/pymel/extras/completion/py/PySide/QtDeclarative.py | leegoonz/Maya-devkit | b81fe799b58e854e4ef16435426d60446e975871 | [
"ADSL"
] | null | null | null | win/devkit/other/pymel/extras/completion/py/PySide/QtDeclarative.py | leegoonz/Maya-devkit | b81fe799b58e854e4ef16435426d60446e975871 | [
"ADSL"
] | 9 | 2018-06-02T09:18:49.000Z | 2021-12-20T09:24:35.000Z | from PySide.QtGui import QGraphicsView as _QGraphicsView
from PySide.QtCore import QObject as _QObject
from PySide.QtGui import QGraphicsObject as _QGraphicsObject
class _Property(object):
def __call__(*args, **kwargs):
"""
x.__call__(...) <==> x(...)
"""
pass
def... | 15.198341 | 76 | 0.47065 | 1,652 | 20,153 | 5.529661 | 0.167676 | 0.253968 | 0.311111 | 0.342419 | 0.370115 | 0.360153 | 0.332129 | 0.304652 | 0.275972 | 0.191133 | 0 | 0.00017 | 0.417605 | 20,153 | 1,325 | 77 | 15.209811 | 0.778138 | 0.071801 | 0 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.405594 | false | 0.405594 | 0.012238 | 0 | 0.59965 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
184f1c0d63d001f0c2bc3fe7339d2570cd4fb1ef | 3,209 | py | Python | Proyectos_Django/TrainningApp/Market/migrations/0001_initial.py | iAmMe340/Frameworks-7a-2020b | eddc9e5e564e761209fb13938c9ec0228b339a7a | [
"MIT"
] | 1 | 2020-09-21T20:37:33.000Z | 2020-09-21T20:37:33.000Z | Proyectos_Django/TrainningApp/Market/migrations/0001_initial.py | iAmMe340/Frameworks-7a-2020b | eddc9e5e564e761209fb13938c9ec0228b339a7a | [
"MIT"
] | null | null | null | Proyectos_Django/TrainningApp/Market/migrations/0001_initial.py | iAmMe340/Frameworks-7a-2020b | eddc9e5e564e761209fb13938c9ec0228b339a7a | [
"MIT"
] | null | null | null | # Generated by Django 3.1.4 on 2020-12-17 19:55
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Category',
fields=[
... | 45.842857 | 118 | 0.57962 | 304 | 3,209 | 5.980263 | 0.233553 | 0.060506 | 0.069307 | 0.092409 | 0.748075 | 0.748075 | 0.748075 | 0.748075 | 0.748075 | 0.748075 | 0 | 0.019828 | 0.277033 | 3,209 | 69 | 119 | 46.507246 | 0.763793 | 0.014023 | 0 | 0.677419 | 1 | 0 | 0.140101 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032258 | 0 | 0.096774 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
43ec57d0be61b9ec587623c6ef5efde1bc34f0e2 | 44 | py | Python | page_objects/elements/__init__.py | konflic/python_qa_jenkins | 1a4293945d94242b5f31a373769f74ee8b1193bd | [
"MIT"
] | 3 | 2020-11-22T16:20:27.000Z | 2021-06-16T18:46:56.000Z | page_objects/elements/__init__.py | konflic/python_qa_jenkins | 1a4293945d94242b5f31a373769f74ee8b1193bd | [
"MIT"
] | null | null | null | page_objects/elements/__init__.py | konflic/python_qa_jenkins | 1a4293945d94242b5f31a373769f74ee8b1193bd | [
"MIT"
] | null | null | null | from .FeaturedProduct import FeaturedProduct | 44 | 44 | 0.909091 | 4 | 44 | 10 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.97561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a1843e82ec6a7da5ba1cc7f28de044def322fc97 | 378 | py | Python | src/api/domain/connection/CheckDatabaseConnectionTableRowCount/CheckDatabaseConnectionTableRowCountCommand.py | PythonDataIntegrator/pythondataintegrator | 6167778c36c2295e36199ac0d4d256a4a0c28d7a | [
"MIT"
] | 14 | 2020-12-19T15:06:13.000Z | 2022-01-12T19:52:17.000Z | src/api/domain/connection/CheckDatabaseConnectionTableRowCount/CheckDatabaseConnectionTableRowCountCommand.py | PythonDataIntegrator/pythondataintegrator | 6167778c36c2295e36199ac0d4d256a4a0c28d7a | [
"MIT"
] | 43 | 2021-01-06T22:05:22.000Z | 2022-03-10T10:30:30.000Z | src/api/domain/connection/CheckDatabaseConnectionTableRowCount/CheckDatabaseConnectionTableRowCountCommand.py | PythonDataIntegrator/pythondataintegrator | 6167778c36c2295e36199ac0d4d256a4a0c28d7a | [
"MIT"
] | 4 | 2020-12-18T23:10:09.000Z | 2021-04-02T13:03:12.000Z | from dataclasses import dataclass
from domain.connection.CheckDatabaseConnectionTableRowCount.CheckDatabaseConnectionTableRowCountRequest import CheckDatabaseConnectionTableRowCountRequest
from infrastructure.cqrs.ICommand import ICommand
@dataclass
class CheckDatabaseConnectionTableRowCountCommand(ICommand):
re... | 37.8 | 154 | 0.902116 | 24 | 378 | 14.208333 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068783 | 378 | 9 | 155 | 42 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.833333 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a18e717d57af7cde0f79bf4df13ca4b505abc514 | 2,792 | py | Python | tests/netflix/test_crdb.py | Netflix-Skunkworks/service-capacity-modeling | 563ed66e62c84f387a4c710e008a0d82479a6718 | [
"Apache-2.0"
] | 6 | 2021-06-24T21:32:35.000Z | 2021-12-20T21:03:46.000Z | tests/netflix/test_crdb.py | Netflix-Skunkworks/service-capacity-modeling | 563ed66e62c84f387a4c710e008a0d82479a6718 | [
"Apache-2.0"
] | 6 | 2021-06-30T23:05:04.000Z | 2022-03-09T16:29:29.000Z | tests/netflix/test_crdb.py | Netflix-Skunkworks/service-capacity-modeling | 563ed66e62c84f387a4c710e008a0d82479a6718 | [
"Apache-2.0"
] | 4 | 2021-06-26T19:27:16.000Z | 2021-09-23T09:39:40.000Z | from service_capacity_modeling.capacity_planner import planner
from service_capacity_modeling.interface import CapacityDesires
from service_capacity_modeling.interface import DataShape
from service_capacity_modeling.interface import Interval
from service_capacity_modeling.interface import QueryPattern
def test_crdb_b... | 33.238095 | 72 | 0.664756 | 350 | 2,792 | 5.111429 | 0.285714 | 0.060369 | 0.0436 | 0.075461 | 0.893795 | 0.893795 | 0.761878 | 0.761878 | 0.761878 | 0.761878 | 0 | 0.06383 | 0.259312 | 2,792 | 83 | 73 | 33.638554 | 0.801257 | 0.152937 | 0 | 0.639344 | 0 | 0 | 0.027165 | 0.019525 | 0 | 0 | 0 | 0 | 0.131148 | 1 | 0.032787 | false | 0 | 0.081967 | 0 | 0.114754 | 0.016393 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a19dd21aa066af2ffc6a3477c82d1e14db2e6289 | 196 | py | Python | raphael/app/modules/openldap/__init__.py | major1201/raphael | 18d7060834be7645b66144ba2a1638f3e1db2dd2 | [
"MIT"
] | null | null | null | raphael/app/modules/openldap/__init__.py | major1201/raphael | 18d7060834be7645b66144ba2a1638f3e1db2dd2 | [
"MIT"
] | null | null | null | raphael/app/modules/openldap/__init__.py | major1201/raphael | 18d7060834be7645b66144ba2a1638f3e1db2dd2 | [
"MIT"
] | null | null | null | # encoding: utf-8
from __future__ import division, absolute_import, with_statement, print_function
from flask import Blueprint
openldap_bp = Blueprint('openldap', __name__)
from . import views
| 21.777778 | 80 | 0.806122 | 25 | 196 | 5.84 | 0.72 | 0.232877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005848 | 0.127551 | 196 | 8 | 81 | 24.5 | 0.847953 | 0.076531 | 0 | 0 | 0 | 0 | 0.044693 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0.75 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.