MCPcopy Create free account

hub / github.com/Thysrael/Horizon / functions

Functions669 in github.com/Thysrael/Horizon

Methodtest_request_body_override_sends_post_without_configured_body
(self)
tests/test_webhook.py:715
Functiontest_resolve_config_path_defaults_to_repo_data_config
(tmp_path: Path)
tests/test_mcp_adapter.py:24
Functiontest_resolve_horizon_path_accepts_explicit_repo
()
tests/test_mcp_adapter.py:18
Methodtest_response_format_present_for_openai
(self, monkeypatch)
tests/test_minimax_client.py:184
Methodtest_retries_with_max_completion_tokens_for_custom_deployment
(self, monkeypatch)
tests/test_azure_client.py:77
Methodtest_retries_without_temperature_on_deprecated_error
(self, monkeypatch)
tests/test_minimax_client.py:239
Methodtest_returns_empty_when_disabled
(self)
tests/test_openbb_scraper.py:83
Methodtest_returns_empty_when_obb_not_installed
(self)
tests/test_openbb_scraper.py:77
Functiontest_rss_ids_are_deterministic
()
tests/test_rss.py:12
Functiontest_run_applies_balanced_digest_before_enrichment
(tmp_path, monkeypatch)
tests/test_balanced_digest.py:139
Functiontest_run_failure_returns_empty
(monkeypatch)
tests/test_twitter.py:187
Functiontest_save_and_load_stage_items
(tmp_path: Path)
tests/test_mcp_run_store.py:21
Functiontest_save_and_load_summary
(tmp_path: Path)
tests/test_mcp_run_store.py:44
Functiontest_send_daily_summary_cleans_app_generated_markdown_html
(monkeypatch)
tests/test_email.py:100
Functiontest_send_daily_summary_does_not_link_unsafe_details_href
(monkeypatch)
tests/test_email.py:139
Functiontest_send_daily_summary_escapes_raw_html
(monkeypatch)
tests/test_email.py:82
Functiontest_send_daily_summary_falls_back_to_email_address_for_smtp_login
(monkeypatch)
tests/test_email.py:69
Functiontest_send_daily_summary_uses_smtp_username_when_configured
(monkeypatch)
tests/test_email.py:51
Methodtest_sends_temperature_by_default
(self, monkeypatch)
tests/test_minimax_client.py:223
Methodtest_shell_escape_artifacts_stripped
Shell escape artifacts like \\? and \\= are auto-stripped from URL.
tests/test_webhook.py:1294
Methodtest_short_value_not_truncated
(self)
tests/test_webhook.py:117
Functiontest_short_window_uses_when_operator
()
tests/test_google_news.py:54
Functiontest_should_fallback_detects_retryable_errors
_should_fallback correctly identifies retryable errors.
tests/test_chained_client.py:134
Methodtest_simple_dict
(self)
tests/test_webhook.py:65
Methodtest_simple_replacement
(self)
tests/test_webhook.py:35
Methodtest_single_header
(self)
tests/test_webhook.py:377
Methodtest_single_segment_exceeds_limit_still_kept
(self)
tests/test_webhook.py:129
Methodtest_skips_disabled_watchlist
(self)
tests/test_openbb_scraper.py:90
Methodtest_skips_watchlist_with_no_symbols
(self)
tests/test_openbb_scraper.py:104
Functiontest_start_run_http_error_returns_empty
(monkeypatch)
tests/test_twitter.py:208
Methodtest_subsequent_calls_skip_temperature_after_fallback
(self, monkeypatch)
tests/test_minimax_client.py:281
Functiontest_success_on_first_provider
When first provider succeeds, no fallback occurs.
tests/test_chained_client.py:50
Functiontest_successful_fetch_returns_items
(monkeypatch)
tests/test_twitter.py:113
Methodtest_summary_and_items_delivery_calls_notify_multiple_times
delivery='summary_and_items' sends overview + N item notifications.
tests/test_webhook.py:887
Methodtest_summary_and_items_overview_last_sends_reversed_items_then_overview
overview_position='last' keeps overview as newest chat message.
tests/test_webhook.py:936
Methodtest_summary_and_items_zh_overview_title
summary_and_items with zh lang uses '总览' in overview title.
tests/test_webhook.py:1137
Methodtest_summary_delivery_calls_notify_once
delivery='summary' sends a single notify call with message_kind='summary'.
tests/test_webhook.py:824
Methodtest_summary_delivery_zh_lang
Chinese lang uses '日报' in message_title.
tests/test_webhook.py:859
Methodtest_summary_with_multiline_content
(self)
tests/test_webhook.py:56
Methodtest_summary_with_quotes_safely_replaced
Verify that quotes in summary don't break the JSON structure.
tests/test_webhook.py:105
Methodtest_temperature_zero_clamped_for_minimax
(self, monkeypatch)
tests/test_minimax_client.py:165
Functiontest_time_window_uses_startdatetime_when_no_timespan
()
tests/test_gdelt.py:49
Functiontest_time_window_uses_timespan_when_set
()
tests/test_gdelt.py:62
Methodtest_timeout_exception_prints_warning
(self)
tests/test_webhook.py:1538
Methodtest_timestamp_is_current_utc
timestamp variable reflects the current UTC time.
tests/test_webhook.py:1107
Methodtest_truncate_by_segments
(self)
tests/test_webhook.py:122
Functiontest_unconfigured_balanced_digest_preserves_old_behavior
()
tests/test_balanced_digest.py:41
Functiontest_unsupported_stage_raises
(tmp_path: Path)
tests/test_mcp_run_store.py:55
Functiontest_update_meta_sets_updated_at
(tmp_path: Path)
tests/test_mcp_run_store.py:34
Functiontest_url_constructed_when_missing
(monkeypatch)
tests/test_twitter.py:265
Methodtest_url_env_null_sets_url_none
url_env=None in config → url=None + console warning.
tests/test_webhook.py:1280
Methodtest_uses_custom_base_url
(self, monkeypatch)
tests/test_minimax_client.py:82
Methodtest_uses_default_base_url_for_ali
(self, monkeypatch)
tests/test_minimax_client.py:87
Methodtest_uses_max_completion_tokens_for_gpt5_prefix
(self, monkeypatch)
tests/test_azure_client.py:62
Methodtest_uses_provider_default_base_url
(self, monkeypatch)
tests/test_minimax_client.py:77
Methodtest_valid_http_url_passes
(self)
tests/test_webhook.py:1231
Methodtest_valid_https_url_passes
(self)
tests/test_webhook.py:1224
Functiontest_validate_config_smoke
(tmp_path: Path)
tests/test_mcp_service_smoke.py:25
Methodtest_watchlist_exception_does_not_block_others
(self)
tests/test_openbb_scraper.py:246
Methodtest_whitespace_before_brace
(self)
tests/test_webhook.py:360
Methodtest_whitespace_url_stripped_and_validated
URL with surrounding whitespace is stripped before validation.
tests/test_webhook.py:1286
Methodtest_wrong_scheme_raises_value_error
URLs with non-http/https scheme raise ValueError.
tests/test_webhook.py:1246
Methodtotal
(self)
src/ai/tokens.py:19
Methodtotal_tokens
(self)
src/ai/tokens.py:30
Methodvalidate_delivery
(cls, v: str)
src/models.py:345
Methodvalidate_fallback_layout
(cls, v: str)
src/models.py:369
Methodvalidate_layout
(cls, v: str)
src/models.py:361
Methodvalidate_overview_position
(cls, v: str)
src/models.py:379
Methodvalidate_platform
(cls, v: str)
src/models.py:353
← previous601–669 of 669, ranked by callers