Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HKUDS/Vibe-Trading
/ functions
Functions
26,887 in github.com/HKUDS/Vibe-Trading
⨍
Functions
26,887
◇
Types & classes
2,943
↳
Endpoints
204
Function
test_subscribe_terminates_after_clear
The subscribe generator must stop after clear sends the sentinel.
agent/tests/test_eventbus_clear_subscribers.py:91
Method
test_subscript_aug_assign
(self)
tools/test_ci_env_var_gate.py:135
Method
test_subscript_read
(self)
tools/test_ci_env_var_gate.py:83
Method
test_subscript_read_in_expression
(self)
tools/test_ci_env_var_gate.py:88
Method
test_subscript_write
(self)
tools/test_ci_env_var_gate.py:131
Function
test_substituted_loader_is_not_repeated_or_misnamed
()
agent/tests/test_analysis_reliability.py:232
Function
test_substituted_partial_batch_keeps_each_serving_source
A resolver substitution and later fetch fallback both retain identity.
agent/tests/test_market_data_serving_source.py:74
Function
test_success_both_legs_ok_and_discards_wss_url
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_slack_connection_test.py:102
Function
test_success_document_is_byte_deterministic_across_runs
()
agent/tests/test_paper_trade_tool.py:165
Method
test_success_empty_string
(self)
agent/tests/test_loop_helpers.py:390
Method
test_success_envelope
(self)
agent/tests/test_institutional_holdings_tool.py:496
Method
test_success_envelope
(self, monkeypatch)
agent/tests/test_prediction_market_tool.py:535
Method
test_success_envelope
(self, monkeypatch)
agent/tests/test_fred_macro_tool.py:59
Function
test_success_envelope_carries_no_ok_field
(run_dir: Path)
agent/tests/test_run_artifact_tool.py:538
Function
test_success_envelope_merges_reports_and_consensus
()
agent/tests/test_research_reports_tool.py:72
Method
test_success_envelope_normalizes_contracts
(self)
agent/tests/test_options_chain_tool.py:60
Method
test_success_envelope_normalizes_records
(self)
agent/tests/test_block_trades_tool.py:51
Function
test_success_envelope_parses_periods_newest_first
()
agent/tests/test_shareholder_count_tool.py:73
Method
test_success_fallback_reason_built_lazily_from_count
(self)
agent/tests/test_run_outcome_module.py:108
Function
test_success_http_with_broker_error_is_not_empty_success
(monkeypatch, config)
agent/tests/test_kis_recovery.py:44
Method
test_success_invalid_json
(self)
agent/tests/test_loop_helpers.py:393
Method
test_success_json_ok
(self)
agent/tests/test_loop_helpers.py:381
Function
test_success_lists_filings_with_document_urls
()
agent/tests/test_sec_filings_tool.py:57
Method
test_success_non_dict_json
(self)
agent/tests/test_loop_helpers.py:387
Function
test_success_on_free_loopback_port
()
agent/tests/test_websocket_connection_test.py:63
Method
test_success_plain_text
(self)
agent/tests/test_loop_helpers.py:378
Function
test_success_probes_imap_then_smtp
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_email_connection_test.py:225
Function
test_success_returns_ok_and_discards_token
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_qq_connection_test.py:93
Function
test_success_returns_ok_and_discards_token
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_feishu_connection_test.py:91
Function
test_success_returns_ok_and_discards_token
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_dingtalk_connection_test.py:135
Function
test_success_uses_fresh_client_even_when_sdk_client_present
A started channel's lark client must not be reused by the probe.
agent/tests/test_feishu_connection_test.py:123
Function
test_success_uses_fresh_client_even_when_sdk_client_present
A started channel's discord.py client must not be reused by the probe.
agent/tests/test_discord_connection_test.py:114
Function
test_success_uses_fresh_client_even_when_shared_client_present
A started channel's ``_http`` must not be reused by the probe.
agent/tests/test_qq_connection_test.py:126
Function
test_success_uses_fresh_client_even_when_shared_client_present
A started channel's ``_http`` must not be reused by the probe.
agent/tests/test_dingtalk_connection_test.py:167
Function
test_success_valid_bot_token_returns_ok_and_discards_body
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_discord_connection_test.py:93
Method
test_success_with_pending_write_directive
(self)
agent/tests/test_run_outcome_module.py:116
Method
test_success_with_released_fallback_reason
(self)
agent/tests/test_run_outcome_module.py:97
Function
test_successful_backtest_only_supports_metrics_in_its_artifact
One successful result must not authorize unrelated invented metrics.
agent/tests/test_agent_grounding.py:2998
Function
test_successful_forward_consumes_count_and_audits_accepted
Counterpart to H2: a non-error forward consumes exactly one count and writes one ``order_placed``/``accepted`` record carrying ``live_action``.
agent/tests/test_mandate_enforcement.py:571
Function
test_successful_hot_swap_publishes_no_notice
Planbook test 3: a clean per-channel swap is not disruptive → no notice.
agent/tests/test_channel_reset_notice.py:240
Function
test_successful_mutation_clears_failed_call_ledger
()
agent/tests/test_tool_progress.py:94
Function
test_successful_rebuild_clears_stale_error
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_channel_manager_health.py:162
Function
test_successful_repair_allows_a_previously_failed_read
(tmp_path)
agent/tests/test_agent_loop_no_progress.py:153
Function
test_successful_retry_only_reflects_current_attempt_artifacts
Control: attempt 1 fails with artifacts on disk; attempt 2 succeeds with its own, different report/artifact. Only attempt 2's content and file
agent/tests/test_swarm_retry_artifact_isolation.py:242
Function
test_successful_run_records_state_success
(tool_run_dir)
agent/tests/test_backtest_tool_state.py:48
Function
test_successful_strategy_file_write_records_the_active_model
( tmp_path: Path, )
agent/tests/test_agent_loop_strategy_provenance.py:11
Function
test_successor_facts_include_only_pre_change_history
(monkeypatch)
agent/tests/test_sec_filer_lineage.py:7
Function
test_suffix_form_symbols_still_route_to_the_risk_xray
()
agent/tests/test_portfolio_futu_prefixed_codes.py:44
Method
test_suffix_lowercase
(self)
agent/tests/test_market_detection.py:351
Method
test_suffix_match_picks_longest_valid_marker
(self)
agent/tests/test_kimi_reasoning_content.py:122
Method
test_suffix_of
(self)
agent/tests/test_stock_news_tool.py:72
Method
test_suffix_uppercase
(self)
agent/tests/test_market_detection.py:354
Method
test_suffixed_passthrough
(self)
agent/tests/test_gildata_loader.py:101
Function
test_suffixed_symbols_map_to_their_market
(symbol: str, market: str)
agent/tests/test_trade_journal_suffixed_us_market.py:25
Method
test_suffixed_ticker_with_name_still_reaches_yahoo
The bare-ticker clause must not fire on suffixed Canadian tickers.
agent/tests/test_symbol_search_tool.py:639
Method
test_suggested_schedule_is_valid
(self, slug: str)
agent/tests/test_research_playbooks.py:102
Method
test_suggested_timezone_defers_first_fire_to_an_authored_occurrence
( self, client: TestClient )
agent/tests/test_playbooks_surface.py:292
Method
test_suggested_timezone_resolves
(self, slug: str)
agent/tests/test_research_playbooks.py:106
Function
test_summary_aggregates_and_largest_date
()
agent/tests/test_rebalance_notes.py:64
Function
test_summary_budget_cancellation_prevents_more_summaries_and_agent_call
(tmp_path, monkeypatch)
agent/tests/test_llm_cost_accounting.py:55
Function
test_summary_chunks_cover_every_message_at_message_boundaries
Multiple ordinary chunks contain every whole message exactly once.
agent/tests/test_auto_compact_chunked_summary.py:69
Function
test_summary_chunks_preserve_oversized_message_as_labeled_fragments
Fragment bodies concatenate back to the exact oversized raw JSON.
agent/tests/test_auto_compact_chunked_summary.py:90
Function
test_summary_chunks_single_chunk_matches_json_dumps
The common one-chunk path must preserve the original prompt bytes.
agent/tests/test_auto_compact_chunked_summary.py:56
Function
test_summary_is_concise_and_machine_readable
()
agent/tests/test_binance_shadow_evidence.py:313
Function
test_summary_matches_run_card_and_equity_fixture
(summary_run_dir)
agent/tests/test_backtest_summary.py:145
Function
test_summary_metrics_stay_complete_when_stdout_truncates
(summary_run_dir)
agent/tests/test_backtest_summary.py:360
Function
test_summary_refuses_artifact_symlink_outside_run
(summary_run_dir, tmp_path, relative)
agent/tests/test_backtest_summary.py:481
Function
test_summary_usage_obeys_goal_budget_without_stopping_funded_work
( tmp_path, monkeypatch, budget, summary_calls, agent_calls, status, )
agent/tests/test_llm_cost_accounting.py:78
Function
test_support_resistance_empty_on_flat
()
agent/tests/test_pattern_tool.py:147
Function
test_support_resistance_separates_levels
()
agent/tests/test_pattern_tool.py:139
Function
test_supported_1h_still_maps
(monkeypatch)
agent/tests/test_india_broker_loader.py:95
Function
test_supported_filters_still_apply
(expr: str, symbols: list[str])
agent/tests/test_journal_unsupported_filter.py:34
Function
test_supported_five_minute_symbols
(symbol: str)
agent/tests/test_paper_trade_5m_scope.py:48
Method
test_supported_intervals
(self, interval, expected)
agent/tests/test_futu_loader.py:129
Function
test_suspended_symbol_carries_forward_beside_a_clean_split
()
agent/tests/test_paper_trade_corporate_actions.py:457
Function
test_suspended_when_the_symbol_has_no_bar_today
()
agent/tests/test_paper_trade_rejections.py:145
Function
test_suspension_row_marks_suspended
()
agent/tests/test_paper_trade_limits_cn_a.py:158
Function
test_svensson_fit_is_at_least_as_good_as_nelson_siegel_on_the_same_data
()
agent/tests/quantlib/test_fixedincome.py:427
Function
test_svensson_fit_keeps_both_refined_decay_parameters_inside_bounds
()
agent/tests/quantlib/test_fixedincome.py:458
Function
test_svensson_reduces_to_nelson_siegel_when_the_second_hump_is_flat
()
agent/tests/quantlib/test_fixedincome.py:378
Function
test_swallowed_loader_exception_is_logged
G2: the contained loader blow-up must still be logged (was silent).
agent/tests/test_get_market_data_unresolved.py:91
Method
test_swap_applied_once_per_day
(self)
agent/tests/test_forex_engine.py:192
Method
test_swap_disabled
(self)
agent/tests/test_forex_engine.py:267
Method
test_swap_multi_symbol
Each symbol gets its own daily swap (not shared).
agent/tests/test_forex_engine.py:232
Method
test_swap_not_applied_twice_same_day
(self)
agent/tests/test_forex_engine.py:220
Method
test_swap_uses_pair_rate_for_yahoo_notation
EURUSD=X is charged the EUR/USD swap rate, not the -1.0 fallback.
agent/tests/test_forex_engine.py:206
Function
test_swarm_actual_worker_templates_retain_explicit_assets_and_duration
(prompt, preset, asset, key, duration)
agent/tests/test_user_blockers_followups.py:82
Method
test_swarm_config_direct
(self)
agent/tests/test_env_schema.py:612
Function
test_swarm_config_rejects_retry_cap_below_base
()
agent/tests/test_swarm_worker_retry_backoff.py:79
Function
test_swarm_dashboard_marks_resumed_task_as_kept
()
agent/tests/test_cli_swarm_retry.py:110
Method
test_swarm_defaults
(self)
agent/tests/test_env_schema.py:172
Function
test_swarm_detail_uses_redacted_public_task_projection
( swarm_store: SwarmStore, )
agent/tests/test_swarm_route_contracts.py:107
Function
test_swarm_events_keeps_last_index_query_compatibility
( swarm_store: SwarmStore, )
agent/tests/test_swarm_route_contracts.py:87
Function
test_swarm_events_resumes_from_last_event_id_header
( swarm_store: SwarmStore, )
agent/tests/test_swarm_route_contracts.py:61
Function
test_swarm_events_returns_404_before_streaming_missing_run
( swarm_store: SwarmStore, )
agent/tests/test_swarm_route_contracts.py:52
Function
test_swarm_preset_count_matches_bundled_yaml_files
()
agent/tests/test_distribution_skill_manifest.py:99
Function
test_swarm_public_provider_allowlist_includes_opencode
()
agent/tests/test_opencode_provider.py:94
Function
test_swarm_registry_can_expose_local_get_market_data_tool
()
agent/tests/test_market_data_tool.py:272
Function
test_swarm_registry_honours_skill_allowlist
()
agent/tests/test_load_skill_allowlist.py:99
Function
test_swarm_registry_loads_and_calls_remote_stdio_tool
A Swarm worker registry can discover and call an approved MCP tool.
agent/tests/test_mcp_stdio_integration.py:128
← previous
next →
24,901–25,000 of 26,887, ranked by callers