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_widget_list_is_truncated
()
agent/tests/test_openbb_bridge/test_context_injector.py:136
Function
test_widget_names_and_params_are_injected
()
agent/tests/test_openbb_bridge/test_context_injector.py:91
Function
test_wildcard_is_rejected_for_scalable
()
agent/tests/test_scalable_connector.py:200
Method
test_window_check_reads_cached_decision
(self)
agent/tests/test_cli_interactive.py:441
Function
test_window_comes_from_the_catalog_for_the_reported_models
()
agent/tests/test_context_budget.py:50
Method
test_window_fields
(self)
agent/tests/test_validation.py:228
Method
test_window_parameter_is_respected
(self)
agent/tests/test_correlation.py:231
Function
test_window_resolution_normalizes_underscore_labels
()
agent/tests/test_context_budget.py:57
Method
test_window_trims_out_of_range_bars
(self)
agent/tests/test_tickerall_loader.py:410
Method
test_windows_cover_full_range
(self)
agent/tests/test_validation.py:249
Method
test_windows_pins_typescript_and_vite_packages
(self)
agent/tests/test_cli_setup_dev.py:37
Function
test_windows_process_tree_kill_uses_pid_never_image_name
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_background_tools.py:184
Function
test_windows_python_paths_use_cmd_quoting
(monkeypatch)
agent/tests/test_provider_agnostic_tool_policy.py:277
Function
test_winners_only_journal_has_null_profit_loss_ratio
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
agent/tests/test_trade_journal_strict_json.py:25
Function
test_winsorising_stops_one_outlier_compressing_the_cross_section
()
agent/tests/quantlib/test_factormodel.py:73
Function
test_wire_bytes_match_the_frozen_golden
(market: str)
agent/tests/test_paper_trade_determinism.py:224
Function
test_wiring_the_block_in_did_not_change_any_existing_key
(monkeypatch)
agent/tests/test_bench_multiple_testing.py:114
Function
test_with_all_pages_drops_every_page_when_a_follow_up_fails
()
agent/tests/test_robinhood_mcp_mapping.py:390
Function
test_with_all_pages_follows_the_cursor_and_merges_every_page
()
agent/tests/test_robinhood_mcp_mapping.py:349
Function
test_with_all_pages_leaves_a_complete_reply_and_error_envelopes_untouched
()
agent/tests/test_robinhood_mcp_mapping.py:377
Function
test_with_all_pages_refuses_a_cursor_that_never_ends
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_robinhood_mcp_mapping.py:403
Method
test_with_code_adds_seats
(self)
agent/tests/test_dragon_tiger_tool.py:130
Method
test_with_optimizer
Optimizer callable gets applied.
agent/tests/test_base_engine.py:844
Method
test_with_optimizer
Both paths produce identical results when optimizer is applied.
agent/tests/test_signal_alignment_perf.py:256
Function
test_with_security_warnings_leaves_clean_fields_byte_identical
()
agent/tests/test_special_token_neutralization.py:160
Function
test_with_security_warnings_neutralizes_content_field_in_place
()
agent/tests/test_special_token_neutralization.py:128
Function
test_with_security_warnings_neutralizes_nested_list_fields
()
agent/tests/test_special_token_neutralization.py:141
Function
test_with_security_warnings_scans_nested_fields
()
agent/tests/test_security_scanner.py:43
Method
test_with_sh_suffix
(self, fsp)
agent/tests/test_fetch_sina_penalties.py:43
Method
test_with_sz_suffix
(self, fsp)
agent/tests/test_fetch_sina_penalties.py:46
Method
test_with_unrealized_gain
(self)
agent/tests/test_base_engine.py:942
Method
test_within_band_allows_both_sides
(self)
agent/tests/test_korea_equity_engine.py:162
Method
test_within_limit_allowed
(self)
agent/tests/test_china_a_engine.py:153
Function
test_without_a_symbol_the_market_default_applies
()
agent/tests/test_price_caliber.py:211
Function
test_without_a_table_default_lots_are_still_disclosed
( caplog: pytest.LogCaptureFixture, )
agent/tests/test_global_equity_hk_lot_sizes.py:83
Function
test_without_a_write_the_lost_result_is_restored
The other side of the write rule: nothing written, so no re-run.
agent/tests/test_readonly_replay_after_microcompact.py:540
Function
test_wls_matches_reference_and_standardization_preserves_weighted_orthogonality
()
agent/tests/quantlib/test_neutralization.py:54
Method
test_wobble_bar_folds_into_its_level
(self)
agent/tests/test_additive_conversion.py:94
Function
test_words_in_a_price_column_cell_do_not_unbind_it
The header bound the column to a close; "300 est" under it is still a close.
agent/tests/test_grounding_figures_contract.py:913
Function
test_worked_example_current_basis_matches_target_basis
700/300 market values resolve to the same 0.7/0.3 weights as target.
agent/tests/quantlib/valuation/test_dcf.py:182
Function
test_worker_emits_task_heartbeat_during_tool_call
A long-running tool call must emit task_heartbeat swarm events so the reaper has a precise liveness signal. Drives the same HeartbeatTimer wi
agent/tests/test_swarm_status_hydration.py:521
Function
test_worker_marks_error_envelope
(monkeypatch)
agent/tests/test_alpha_compare_api.py:134
Function
test_worker_model_can_recover_complete_result
(tmp_path, monkeypatch)
agent/tests/test_result_artifacts.py:131
Function
test_worker_model_request_and_persisted_conversation_are_scrubbed
(tmp_path, monkeypatch)
agent/tests/test_model_tool_result_redaction.py:50
Function
test_worker_passes_a_relative_run_dir_through_to_the_tool
The call site, not only the helper: this is where the value was discarded.
agent/tests/test_swarm_tool_run_dir.py:172
Function
test_worker_prompt_always_includes_data_citation_discipline
Universal anti-fabrication rule: must appear regardless of whether grounding_block or upstream_summaries were provided. Issue #106 reported s
agent/tests/test_swarm_grounding.py:261
Function
test_worker_prompt_data_citation_discipline_precedes_execution_rules
The discipline must be in scope before Phase 1/2/3 execution rules so the worker sees it while planning the first tool call.
agent/tests/test_swarm_grounding.py:278
Function
test_worker_prompt_data_citation_rule_targets_aggregator_roles
The rule must explicitly address synthesis / aggregator agents that lack data tools, since those were the worst-case path in #106 (equity_rese
agent/tests/test_swarm_grounding.py:285
Function
test_worker_prompt_includes_grounding_block_when_provided
()
agent/tests/test_swarm_grounding.py:244
Function
test_worker_prompt_omits_grounding_section_when_block_empty
()
agent/tests/test_swarm_grounding.py:253
Function
test_worker_prompt_prioritizes_get_market_data_for_ohlcv
()
agent/tests/test_market_data_tool.py:292
Function
test_worker_refuses_an_escaping_run_dir_without_calling_the_tool
An escape must surface as a tool error, so the agent can correct it.
agent/tests/test_swarm_tool_run_dir.py:185
Function
test_worker_refuses_over_budget_request_without_discarding_fresh_results
(tmp_path, monkeypatch)
agent/tests/test_swarm_context.py:143
Function
test_worker_retry_delay_is_exponential_and_capped
(monkeypatch)
agent/tests/test_swarm_worker_retry_backoff.py:52
Function
test_worker_retry_delay_rejects_invalid_retry_number
()
agent/tests/test_swarm_worker_retry_backoff.py:74
Function
test_worker_retry_delay_uses_equal_jitter
(monkeypatch)
agent/tests/test_swarm_worker_retry_backoff.py:63
Function
test_worker_sanitises_unexpected_exception
(monkeypatch)
agent/tests/test_alpha_compare_api.py:145
Function
test_worker_source_wires_heartbeat_around_llm_streaming
LLM call must also be wrapped — slow first-token / reasoning-mode / pure-tool-call responses can go 30s+ without text chunks. Earlier versions
agent/tests/test_swarm_status_hydration.py:777
Function
test_worker_source_wires_heartbeat_around_tool_execute
Belt-and-braces: assert worker.py wraps registry.execute in HeartbeatTimer. A pure-source check (no LLM/tool needed) guards against accidental
agent/tests/test_swarm_status_hydration.py:810
Function
test_worker_starts_while_host_stdin_is_blocked_and_prints_do_not_corrupt_ipc
()
agent/tests/test_paper_trade_process_transport.py:9
Function
test_worker_stores_ok_envelope
(monkeypatch)
agent/tests/test_alpha_compare_api.py:124
Function
test_workspace_escape_does_not_leak_root
(tmp_path)
agent/tests/test_error_path_redaction.py:39
Function
test_worst_drawdown_order_is_never_better_than_a_permutation
(initial_loss_result)
agent/tests/test_validation_initial_capital.py:50
Method
test_worst_signal_wins
(self)
agent/tests/test_strategy_store.py:319
Method
test_wrapped_capped_payload_is_rejected
A discontinuous capped payload must never produce indicators.
agent/tests/test_technical_indicator_tool.py:501
Function
test_wrapped_primitive_result_is_deduplicated_without_losing_value
()
agent/tests/test_mcp_result_dedup.py:220
Function
test_wrapped_string_tool_result_is_carried_once
()
agent/tests/test_mcp_result_dedup.py:93
Method
test_wrapper_delegates_to_registry_execute_with_own_name
( self, monkeypatch, tool_name, args )
agent/tests/test_strategy_discovery_mcp.py:104
Function
test_wrapper_forwards_registered_contract
The wrapper must forward exactly the registered tool's argument keys.
agent/tests/test_mcp_factor_analysis_contract.py:38
Function
test_wrapper_signature_matches_registered_tool
Drift guard: wrapper params must equal FactorAnalysisTool.parameters.
agent/tests/test_mcp_factor_analysis_contract.py:58
Function
test_wrapper_signatures_match_registered_contracts
()
agent/tests/test_mcp_alpha_zoo_contract.py:36
Function
test_wrapping_keeps_logical_paragraph_order_and_column_width
()
agent/tests/test_pdf_report_arabic.py:55
Function
test_write_calls_fsync_for_crash_safety
``write`` flushes AND fsyncs so the last record survives a hard crash. Regression for the historical "crash-safe" docstring claim that only f
agent/tests/test_trace_writer.py:145
Function
test_write_env_values_creates_private_parent_directory
(tmp_path)
agent/tests/test_api_infrastructure.py:239
Function
test_write_env_values_skips_commented_keys
A commented `# KEY=` must not steal an upsert from a later active KEY (#738).
agent/tests/test_api_infrastructure.py:271
Function
test_write_env_values_updates_export_prefixed_key
Upsert must rewrite ``export KEY=`` in place, not append a duplicate KEY=.
agent/tests/test_api_infrastructure.py:328
Function
test_write_env_values_updates_last_duplicate_active_key
Duplicate active KEY= lines: read is last-wins; upsert must update last.
agent/tests/test_api_infrastructure.py:259
Method
test_write_file
(self, setup)
agent/tests/test_skill_writer_tools.py:227
Function
test_write_file_accepts_model_argument_aliases
(tmp_path: Path, monkeypatch)
agent/tests/test_file_tool_sandbox_security.py:21
Function
test_write_file_content_argument_never_lands_in_the_trace
``write_file(content=…)`` is the arguments-sink leak the policy closes.
agent/tests/test_redaction_shared.py:478
Function
test_write_file_rejects_unconfigured_absolute_run_dir
(tmp_path: Path, monkeypatch)
agent/tests/test_file_tool_sandbox_security.py:46
Function
test_write_file_returns_recoverable_errors_for_missing_arguments
()
agent/tests/test_file_tool_sandbox_security.py:36
Method
test_write_invalid_subdir
(self, setup)
agent/tests/test_skill_writer_tools.py:236
Function
test_write_is_atomic_no_temp_left
(live_runtime: Path)
agent/tests/test_runtime_liveness.py:45
Function
test_write_json_calls_fsync
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
agent/tests/test_state_fsync.py:20
Function
test_write_json_roundtrips_unicode
(tmp_path: Path)
agent/tests/test_state_fsync.py:37
Method
test_write_missing_path
(self, setup)
agent/tests/test_skill_writer_tools.py:244
Function
test_write_rejection_inside_run_dir_fallback_also_names_env
(tmp_path: Path, monkeypatch)
agent/tests/test_file_tool_sandbox_security.py:209
Function
test_write_rejection_names_the_write_roots_env
(tmp_path: Path, monkeypatch)
agent/tests/test_file_tool_sandbox_security.py:196
Function
test_write_risk_xray_strict_json_and_markdown
(tmp_path)
agent/tests/test_risk_xray.py:317
Function
test_write_run_dir_materializes_files
( profitable_journal: Path, tmp_path: Path, )
agent/tests/test_shadow_account.py:312
Function
test_write_strict_json_and_markdown
(tmp_path)
agent/tests/test_rebalance_notes.py:98
Function
test_write_then_read_roundtrips
(live_runtime: Path)
agent/tests/test_runtime_liveness.py:35
Function
test_write_tool_timeout_warns_but_does_not_return_before_completion
Write tools must not report failure while their side effect continues.
agent/tests/test_tool_timeout.py:74
Function
test_writer_appends_jsonl_and_replaces_latest_summary
(tmp_path)
agent/tests/test_binance_shadow_evidence.py:357
Function
test_writer_rejects_missing_or_contradictory_evidence
(tmp_path)
agent/tests/test_binance_shadow_evidence.py:437
Function
test_writer_rejects_non_finite_evidence_without_partial_artifact
(tmp_path)
agent/tests/test_binance_shadow_evidence.py:390
Function
test_writer_rejects_tampered_scope_or_validation_claim
( tmp_path, field: str, value: str, )
agent/tests/test_binance_shadow_evidence.py:416
Function
test_writer_waits_for_native_search_cursor
(tmp_path: Path)
agent/tests/test_session_search_concurrent_consumers.py:59
Function
test_written_market_words_still_constrain
(message: str, expected: set[str])
agent/tests/test_grounding_resolution_context.py:335
← previous
next →
26,501–26,600 of 26,887, ranked by callers