Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Thysrael/Horizon
/ functions
Functions
669 in github.com/Thysrael/Horizon
⨍
Functions
669
◇
Types & classes
97
Method
test_request_body_override_sends_post_without_configured_body
(self)
tests/test_webhook.py:715
Function
test_resolve_config_path_defaults_to_repo_data_config
(tmp_path: Path)
tests/test_mcp_adapter.py:24
Function
test_resolve_horizon_path_accepts_explicit_repo
()
tests/test_mcp_adapter.py:18
Method
test_response_format_present_for_openai
(self, monkeypatch)
tests/test_minimax_client.py:184
Method
test_retries_with_max_completion_tokens_for_custom_deployment
(self, monkeypatch)
tests/test_azure_client.py:77
Method
test_retries_without_temperature_on_deprecated_error
(self, monkeypatch)
tests/test_minimax_client.py:239
Method
test_returns_empty_when_disabled
(self)
tests/test_openbb_scraper.py:83
Method
test_returns_empty_when_obb_not_installed
(self)
tests/test_openbb_scraper.py:77
Function
test_rss_ids_are_deterministic
()
tests/test_rss.py:12
Function
test_run_applies_balanced_digest_before_enrichment
(tmp_path, monkeypatch)
tests/test_balanced_digest.py:139
Function
test_run_failure_returns_empty
(monkeypatch)
tests/test_twitter.py:187
Function
test_save_and_load_stage_items
(tmp_path: Path)
tests/test_mcp_run_store.py:21
Function
test_save_and_load_summary
(tmp_path: Path)
tests/test_mcp_run_store.py:44
Function
test_send_daily_summary_cleans_app_generated_markdown_html
(monkeypatch)
tests/test_email.py:100
Function
test_send_daily_summary_does_not_link_unsafe_details_href
(monkeypatch)
tests/test_email.py:139
Function
test_send_daily_summary_escapes_raw_html
(monkeypatch)
tests/test_email.py:82
Function
test_send_daily_summary_falls_back_to_email_address_for_smtp_login
(monkeypatch)
tests/test_email.py:69
Function
test_send_daily_summary_uses_smtp_username_when_configured
(monkeypatch)
tests/test_email.py:51
Method
test_sends_temperature_by_default
(self, monkeypatch)
tests/test_minimax_client.py:223
Method
test_shell_escape_artifacts_stripped
Shell escape artifacts like \\? and \\= are auto-stripped from URL.
tests/test_webhook.py:1294
Method
test_short_value_not_truncated
(self)
tests/test_webhook.py:117
Function
test_short_window_uses_when_operator
()
tests/test_google_news.py:54
Function
test_should_fallback_detects_retryable_errors
_should_fallback correctly identifies retryable errors.
tests/test_chained_client.py:134
Method
test_simple_dict
(self)
tests/test_webhook.py:65
Method
test_simple_replacement
(self)
tests/test_webhook.py:35
Method
test_single_header
(self)
tests/test_webhook.py:377
Method
test_single_segment_exceeds_limit_still_kept
(self)
tests/test_webhook.py:129
Method
test_skips_disabled_watchlist
(self)
tests/test_openbb_scraper.py:90
Method
test_skips_watchlist_with_no_symbols
(self)
tests/test_openbb_scraper.py:104
Function
test_start_run_http_error_returns_empty
(monkeypatch)
tests/test_twitter.py:208
Method
test_subsequent_calls_skip_temperature_after_fallback
(self, monkeypatch)
tests/test_minimax_client.py:281
Function
test_success_on_first_provider
When first provider succeeds, no fallback occurs.
tests/test_chained_client.py:50
Function
test_successful_fetch_returns_items
(monkeypatch)
tests/test_twitter.py:113
Method
test_summary_and_items_delivery_calls_notify_multiple_times
delivery='summary_and_items' sends overview + N item notifications.
tests/test_webhook.py:887
Method
test_summary_and_items_overview_last_sends_reversed_items_then_overview
overview_position='last' keeps overview as newest chat message.
tests/test_webhook.py:936
Method
test_summary_and_items_zh_overview_title
summary_and_items with zh lang uses '总览' in overview title.
tests/test_webhook.py:1137
Method
test_summary_delivery_calls_notify_once
delivery='summary' sends a single notify call with message_kind='summary'.
tests/test_webhook.py:824
Method
test_summary_delivery_zh_lang
Chinese lang uses '日报' in message_title.
tests/test_webhook.py:859
Method
test_summary_with_multiline_content
(self)
tests/test_webhook.py:56
Method
test_summary_with_quotes_safely_replaced
Verify that quotes in summary don't break the JSON structure.
tests/test_webhook.py:105
Method
test_temperature_zero_clamped_for_minimax
(self, monkeypatch)
tests/test_minimax_client.py:165
Function
test_time_window_uses_startdatetime_when_no_timespan
()
tests/test_gdelt.py:49
Function
test_time_window_uses_timespan_when_set
()
tests/test_gdelt.py:62
Method
test_timeout_exception_prints_warning
(self)
tests/test_webhook.py:1538
Method
test_timestamp_is_current_utc
timestamp variable reflects the current UTC time.
tests/test_webhook.py:1107
Method
test_truncate_by_segments
(self)
tests/test_webhook.py:122
Function
test_unconfigured_balanced_digest_preserves_old_behavior
()
tests/test_balanced_digest.py:41
Function
test_unsupported_stage_raises
(tmp_path: Path)
tests/test_mcp_run_store.py:55
Function
test_update_meta_sets_updated_at
(tmp_path: Path)
tests/test_mcp_run_store.py:34
Function
test_url_constructed_when_missing
(monkeypatch)
tests/test_twitter.py:265
Method
test_url_env_null_sets_url_none
url_env=None in config → url=None + console warning.
tests/test_webhook.py:1280
Method
test_uses_custom_base_url
(self, monkeypatch)
tests/test_minimax_client.py:82
Method
test_uses_default_base_url_for_ali
(self, monkeypatch)
tests/test_minimax_client.py:87
Method
test_uses_max_completion_tokens_for_gpt5_prefix
(self, monkeypatch)
tests/test_azure_client.py:62
Method
test_uses_provider_default_base_url
(self, monkeypatch)
tests/test_minimax_client.py:77
Method
test_valid_http_url_passes
(self)
tests/test_webhook.py:1231
Method
test_valid_https_url_passes
(self)
tests/test_webhook.py:1224
Function
test_validate_config_smoke
(tmp_path: Path)
tests/test_mcp_service_smoke.py:25
Method
test_watchlist_exception_does_not_block_others
(self)
tests/test_openbb_scraper.py:246
Method
test_whitespace_before_brace
(self)
tests/test_webhook.py:360
Method
test_whitespace_url_stripped_and_validated
URL with surrounding whitespace is stripped before validation.
tests/test_webhook.py:1286
Method
test_wrong_scheme_raises_value_error
URLs with non-http/https scheme raise ValueError.
tests/test_webhook.py:1246
Method
total
(self)
src/ai/tokens.py:19
Method
total_tokens
(self)
src/ai/tokens.py:30
Method
validate_delivery
(cls, v: str)
src/models.py:345
Method
validate_fallback_layout
(cls, v: str)
src/models.py:369
Method
validate_layout
(cls, v: str)
src/models.py:361
Method
validate_overview_position
(cls, v: str)
src/models.py:379
Method
validate_platform
(cls, v: str)
src/models.py:353
← previous
601–669 of 669, ranked by callers