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
Method
test_rejects_missing_required_key
(self, tmp_path: Path)
agent/tests/test_research_playbooks.py:212
Function
test_rejects_missing_run_dir_argument
()
agent/tests/test_validation_cli.py:13
Method
test_rejects_negative_interval
(self)
agent/tests/test_scheduled_research_store.py:68
Method
test_rejects_non_a_share
Non-A-share codes should be rejected.
agent/tests/test_baostock_loader.py:39
Function
test_rejects_non_directory_path
()
agent/tests/test_validation_cli.py:35
Method
test_rejects_non_mapping_frontmatter
(self, tmp_path: Path)
agent/tests/test_research_playbooks.py:202
Method
test_rejects_non_numeric_cron_field
(self)
agent/tests/test_scheduled_research_store.py:76
Method
test_rejects_others
(self)
agent/tests/test_yahoo_loader.py:79
Method
test_rejects_out_of_range_hour
(self)
agent/tests/test_scheduled_research_store.py:88
Method
test_rejects_out_of_range_list_and_range_ends
(self)
agent/tests/test_scheduled_research_store.py:120
Method
test_rejects_out_of_range_minute
(self)
agent/tests/test_scheduled_research_store.py:84
Method
test_rejects_out_of_range_step
(self)
agent/tests/test_scheduled_research_store.py:96
Method
test_rejects_oversized_interval
(self)
agent/tests/test_scheduled_research_store.py:106
Function
test_rejects_path_outside_allowed_roots
(tool)
agent/tests/test_image_vision_tool.py:36
Method
test_rejects_range_step_and_wildcard_in_list
(self)
agent/tests/test_scheduled_research_store.py:126
Method
test_rejects_reversed_range
(self)
agent/tests/test_scheduled_research_store.py:116
Method
test_rejects_undeclared_placeholder
(self, tmp_path: Path)
agent/tests/test_research_playbooks.py:227
Method
test_rejects_unknown_key
(self)
agent/tests/test_scheduled_research_store.py:150
Method
test_rejects_unknown_model_name
(self)
agent/tests/quantlib/valuation/test_artifact.py:891
Method
test_rejects_zero_day_of_month
(self)
agent/tests/test_scheduled_research_store.py:92
Method
test_rejects_zero_interval
(self)
agent/tests/test_scheduled_research_store.py:64
Method
test_related_memories_filters_invalid_ids
Non-6-char or non-hex IDs in related_memories should be dropped.
agent/tests/test_memory_lifecycle.py:154
Method
test_related_party_record_is_countable
(self, fsp)
agent/tests/test_fetch_sina_penalties.py:303
Function
test_relative_fallback_cannot_escape_through_symlink
(tmp_path, monkeypatch)
agent/tests/test_file_tool_sandbox_security.py:261
Function
test_relative_fallback_uses_run_dir_not_cwd
(tmp_path, monkeypatch, allowed_run)
agent/tests/test_file_tool_sandbox_security.py:237
Function
test_relative_path_not_in_manifest_refused
(run_dir: Path)
agent/tests/test_run_artifact_tool.py:260
Method
test_relative_path_resolves_under_workdir
(self, tmp_path: Path)
agent/tests/test_path_safety.py:17
Function
test_relative_poll_url_is_rerooted_on_configured_base
(tap_env, monkeypatch)
agent/tests/test_tap_forward.py:223
Function
test_relative_run_dir_resolves_under_the_workspace
The regression: a relative path the agent created must reach the tool.
agent/tests/test_swarm_tool_run_dir.py:76
Method
test_relevance_ranking
(self, index: SessionSearchIndex)
agent/tests/test_session_search.py:75
Function
test_reload_bounds_a_wedged_stop
( monkeypatch: pytest.MonkeyPatch, caplog: pytest.LogCaptureFixture, )
agent/tests/test_channel_manager_reload.py:241
Function
test_reload_build_failure_records_error_and_leaves_manager_functional
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_channel_manager_reload.py:263
Function
test_reload_disabled_section_removes_only_that_channel
( monkeypatch: pytest.MonkeyPatch, section: dict[str, Any] | None, )
agent/tests/test_channel_manager_reload.py:187
Function
test_reload_does_not_await_a_blocking_start
Fails on a revert to inline start(): the reload would park on the hanging ``start()`` and ``wait_for`` would time out.
agent/tests/test_channel_manager_reload.py:370
Function
test_reload_enabled_section_builds_but_does_not_start_when_stopped
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_channel_manager_reload.py:128
Function
test_reload_is_contained_when_replacement_start_fails
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_channel_manager_reload.py:297
Function
test_reload_on_running_manager_stops_old_before_starting_new
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_channel_manager_reload.py:152
Function
test_reload_proceeds_when_old_stop_raises_timeout
( monkeypatch: pytest.MonkeyPatch, caplog: pytest.LogCaptureFixture, )
agent/tests/test_channel_manager_reload.py:219
Function
test_reload_stop_failure_records_reload_stop_and_reload_completes
( monkeypatch: pytest.MonkeyPatch, old_extra: dict[str, Any], )
agent/tests/test_channel_manager_health.py:140
Function
test_remember_rejects_memory_type_path_traversal
memory_type must not be able to escape the memory directory.
agent/tests/test_remember_tool_security.py:12
Function
test_remember_tool_forgets_by_filename_stem
(tmp_path)
agent/tests/test_ux_batch_regressions.py:71
Function
test_remote_arguments_never_invents_a_portfolio
()
agent/tests/test_scalable_connector.py:250
Function
test_remote_call_requires_cached_oauth
Generic remote reads must not trigger OAuth from tool/API/MCP paths.
agent/tests/test_trading_connections.py:37
Function
test_remote_call_requires_enabled_tool
Generic remote reads must respect the operator MCP allowlist.
agent/tests/test_trading_connections.py:21
Function
test_remote_capability_inventory_requires_api_key_when_key_unset
()
agent/tests/test_security_auth_api.py:78
Function
test_remote_cross_origin_browser_upload_with_api_key_is_rejected
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_upload_api.py:112
Function
test_remote_error_is_bounded_and_scanned
(monkeypatch, adapter, _offline_sources)
agent/tests/test_parallel_search.py:179
Function
test_remote_goal_endpoints_require_api_key_when_key_unset
()
agent/tests/test_security_auth_api.py:50
Method
test_remote_live_status_fails_when_not_authorized
( self, tmp_path: Path, capsys: pytest.CaptureFixture[str] )
agent/tests/test_cli_runtime.py:373
Method
test_remote_live_status_fails_when_not_configured
( self, capsys: pytest.CaptureFixture[str] )
agent/tests/test_cli_runtime.py:358
Function
test_remote_mcp_authorization_failure_is_the_only_reconnectable_failure
( tmp_path, monkeypatch )
agent/tests/test_portfolio_service.py:551
Function
test_remote_mcp_sources_are_read_without_an_interactive_oauth_prompt
A dashboard refresh must never be able to pop a browser, for any connector.
agent/tests/test_portfolio_service.py:496
Function
test_remote_query_requires_api_key_when_key_unset
Keyless dev mode must not expose the agent registry to the network.
agent/tests/test_openbb_bridge/test_routes.py:100
Function
test_remote_same_origin_browser_upload_with_api_key_is_allowed
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_upload_api.py:82
Function
test_remote_sse_tool_appears_in_registry
(tmp_path: Path)
agent/tests/test_mcp_sse_integration.py:44
Function
test_remote_sse_tool_is_callable_and_returns_expected_result
(tmp_path: Path)
agent/tests/test_mcp_sse_integration.py:62
Function
test_remote_streamable_http_tool_appears_in_registry
(tmp_path: Path)
agent/tests/test_mcp_streamable_http_integration.py:48
Function
test_remote_streamable_http_tool_is_callable_and_returns_expected_result
(tmp_path: Path)
agent/tests/test_mcp_streamable_http_integration.py:66
Function
test_remote_tool_add_returns_correct_sum
The remote add tool computes the correct sum.
agent/tests/test_mcp_stdio_integration.py:147
Function
test_remote_tool_execute_does_not_retry_timeout_and_strips_run_dir
()
agent/tests/test_mcp_client_adapter.py:230
Function
test_remote_tool_execute_forwards_arguments_for_composed_schema
()
agent/tests/test_mcp_client_adapter.py:264
Function
test_remote_tool_execute_returns_normalized_error_payload_without_retry
()
agent/tests/test_mcp_client_adapter.py:646
Function
test_remote_tool_is_callable_and_returns_expected_result
The remote echo tool can be called and returns the correct result.
agent/tests/test_mcp_stdio_integration.py:110
Function
test_remote_tool_is_serial_only
Every MCP-injected tool must have is_readonly=False (serial-only). v1 design: MCP tools never enter the parallel readonly path.
agent/tests/test_mcp_stdio_integration.py:163
Function
test_remote_tool_malformed_properties_still_yields_valid_schema
A remote tool whose schema has a non-dict top-level ``properties`` used to end up with no ``properties`` key at all on ``tool.parameters`` — the
agent/tests/test_mcp_client_adapter.py:302
Function
test_remote_tool_transport_failure_does_not_crash_worker
Per S-07 / R-07, a transport-level failure on a remote MCP call must surface as an error envelope to the LLM (so the LLM can decide whether to
agent/tests/test_swarm_m4_e2e.py:516
Function
test_remote_tools_appear_in_registry_after_local_tools
Remote tools injected by MCP config appear in the registry. Verifies: - Registry contains at least the two fake server tools. - Tool name
agent/tests/test_mcp_stdio_integration.py:80
Function
test_remote_untrusted_host_still_uses_bearer_auth
The Host gate only narrows loopback trust; remote clients still use API_AUTH_KEY.
agent/tests/test_security_auth_api.py:442
Function
test_remote_write_requires_api_key_when_key_unset
()
agent/tests/test_security_auth_api.py:43
Method
test_remove_by_filename_stem
remove() should resolve a filename stem the same way find() does, not just an exact title match.
agent/tests/test_persistent_memory.py:475
Method
test_remove_cleans_relations_sidecar
With VT_MEMORY_LINKS=true, remove() deletes .relations.json.
agent/tests/memory/test_tier2_integration.py:548
Method
test_remove_entry
Removed entry no longer in search results.
agent/tests/memory/test_search_index.py:82
Method
test_remove_existing
(self, tmp_path: Path)
agent/tests/test_persistent_memory.py:454
Method
test_remove_failure_returns_run_failed
(self, tmp_path: Path, capsys: pytest.CaptureFixture[str])
agent/tests/test_cli_memory.py:208
Method
test_remove_file
(self, setup)
agent/tests/test_skill_writer_tools.py:251
Method
test_remove_invalid_subdir
(self, setup)
agent/tests/test_skill_writer_tools.py:261
Method
test_remove_names_the_type_when_a_title_is_shared
(self, tmp_path: Path)
agent/tests/test_persistent_memory.py:219
Method
test_remove_nonexistent
(self, tmp_path: Path)
agent/tests/test_persistent_memory.py:464
Method
test_remove_nonexistent_file
(self, setup)
agent/tests/test_skill_writer_tools.py:277
Method
test_remove_relations
Deletes the .relations.json file.
agent/tests/memory/test_semantic_links.py:123
Method
test_remove_relations_missing_file_no_error
remove_relations gracefully handles missing file.
agent/tests/memory/test_semantic_links.py:137
Method
test_remove_skill_md_blocked
(self, setup)
agent/tests/test_skill_writer_tools.py:270
Method
test_remove_then_find
(self, tmp_path: Path)
agent/tests/test_persistent_memory.py:468
Function
test_removed_features_have_no_routes
(client, path)
agent/tests/test_shannon_routes.py:105
Function
test_removed_password_refuses_proposal_commit
(tmp_path, monkeypatch, email_target)
agent/tests/test_pdf_protection_surfaces.py:94
Method
test_removes_orphan_result
(self)
agent/tests/test_loop_helpers.py:312
Method
test_removes_with_yes_flag
(self, tmp_path: Path, capsys: pytest.CaptureFixture[str])
agent/tests/test_cli_memory.py:171
Method
test_renames_sorts_and_selects_ohlcv
(self)
agent/tests/test_pykrx_loader.py:57
Function
test_render_config_shape
(profitable_journal: Path)
agent/tests/test_shadow_account.py:297
Method
test_render_env_content_gemini
(self)
agent/tests/test_cli_init.py:41
Method
test_render_env_content_openrouter
(self)
agent/tests/test_cli_init.py:19
Function
test_render_shadow_report_emits_html
(profitable_journal: Path, tmp_path: Path)
agent/tests/test_shadow_account.py:903
Function
test_render_shadow_report_handles_empty_equity
( profitable_journal: Path, tmp_path: Path, )
agent/tests/test_shadow_account.py:934
Function
test_render_shadow_report_includes_today_signals
( profitable_journal: Path, tmp_path: Path, )
agent/tests/test_shadow_account.py:919
Function
test_render_signal_engine_escapes_python_literals_for_dynamic_values
LLM/user strings must stay data, never executable generated code.
agent/tests/test_shadow_codegen_security.py:58
Function
test_render_signal_engine_produces_valid_python
(profitable_journal: Path)
agent/tests/test_shadow_account.py:238
Function
test_render_signal_engine_with_price_conditions
()
agent/tests/test_shadow_account.py:1903
Function
test_render_signal_engine_without_price_conditions_still_valid
()
agent/tests/test_shadow_account.py:1944
Function
test_render_table_box_keeps_leading_empty_header_with_row_labels
()
agent/tests/test_telegram_table_edge_columns.py:68
Function
test_render_table_box_keeps_trailing_empty_column
()
agent/tests/test_telegram_table_edge_columns.py:55
← previous
next →
23,201–23,300 of 26,887, ranked by callers