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_connector_positions_renders_longbridge_schema
(capsys)
agent/tests/test_cli_connector_renderers.py:30
Function
test_connector_profile_id_for_broker_prefers_live_remote_mcp
Broker on-ramps should resolve through the centralized profile registry.
agent/tests/test_trading_connections.py:97
Function
test_connector_reports_conflict_without_sdk_call
(monkeypatch, tmp_path)
agent/tests/test_sdk_connectors.py:378
Function
test_connector_setup_parser_exposes_a_safe_local_onboarding_command
()
agent/tests/test_cli_connector_setup.py:22
Function
test_connector_setup_prompts_locally_and_never_writes_secrets_to_registry
( tmp_path, monkeypatch, )
agent/tests/test_cli_connector_setup.py:42
Function
test_connector_setup_saves_the_endpoint_used_by_the_agent_read_path
(tmp_path, monkeypatch)
agent/tests/test_cli_connector_setup.py:73
Method
test_connector_start_bridges_to_start_handler
(self)
agent/tests/test_cli_runtime.py:504
Method
test_connector_start_message_uses_connector_status
( self, capsys: pytest.CaptureFixture[str], spending_preview: list[str] )
agent/tests/test_cli_runtime.py:216
Method
test_connector_start_rejects_readonly_ibkr_mcp
( self, capsys: pytest.CaptureFixture[str] )
agent/tests/test_cli_runtime.py:237
Function
test_connector_status_redacts_credentials
(monkeypatch, tmp_path)
agent/tests/test_sdk_connectors.py:413
Function
test_connector_uses_environment_credentials
(monkeypatch, tmp_path)
agent/tests/test_sdk_connectors.py:330
Method
test_consecutive_losses
(self)
agent/tests/test_metrics.py:273
Method
test_consistency_rate
Equity with positive drift should have high consistency.
agent/tests/test_validation.py:242
Function
test_consolidate_noop_when_gc_off
VT_MEMORY_GC off → log the reason, touch NOTHING (no fake work).
agent/tests/scheduling/test_memory_consolidation_job.py:229
Function
test_consolidate_noop_when_own_flag_off
Defense in depth: flag flipped off between startup and firing.
agent/tests/scheduling/test_memory_consolidation_job.py:245
Function
test_consolidate_really_archives_not_dry_run
dry_run=False is explicit: a qualified entry MOVES into archive/. Archive-only semantics (ENABLE_DELETE=False): the file must exist under arc
agent/tests/scheduling/test_memory_consolidation_job.py:264
Function
test_consolidate_survives_held_memory_lock
Another holder owns <dir>/.lock: best-effort skip, no crash, no residue. The per-action memory_lock times out and yields False; the entry stays i
agent/tests/scheduling/test_memory_consolidation_job.py:290
Function
test_consolidation_flag_defaults_false
(monkeypatch: pytest.MonkeyPatch)
agent/tests/scheduling/test_memory_consolidation_job.py:116
Function
test_consolidation_flag_reads_env
(monkeypatch: pytest.MonkeyPatch)
agent/tests/scheduling/test_memory_consolidation_job.py:122
Function
test_constant_asset_does_not_claim_zero_correlation_density
()
agent/tests/test_regime_undefined_correlation_regressions.py:6
Function
test_constant_exposure_column_is_collinear_with_the_market
()
agent/tests/quantlib/test_factormodel.py:281
Function
test_constant_market_leaves_beta_unidentified
()
agent/tests/quantlib/test_eventstudy.py:69
Method
test_constant_order_flow_is_a_zero_lambda_not_an_error
(self)
agent/tests/quantlib/test_microstructure.py:85
Method
test_constant_prices_are_a_zero_spread_not_an_error
(self)
agent/tests/quantlib/test_microstructure.py:75
Function
test_constant_prices_never_emit_nan
()
agent/tests/test_risk_xray.py:194
Function
test_constant_target_rebalance_runs_execute_many_bars_but_request_one_change
Issue #1275 reproduction: one requested change, many executed fills. A constant 40% target with rising prices makes the held weight drift abo
agent/tests/test_rebalance_execution_evidence.py:87
Method
test_constant_weights_zero_after_entry
(self)
agent/tests/test_metrics.py:554
Method
test_constant_window
All-same values: rank should be (n+1)/(2n) for average rank.
agent/tests/test_factor_operators.py:152
Function
test_constant_window_chooses_today
(compute, expected, backend)
agent/tests/factors/test_gtja191_highday_lowday_recency.py:77
Function
test_constraint_mismatch_stays_fail_closed
(tmp_path: Path)
agent/tests/test_grounding_resolution_context.py:141
Method
test_constraints_not_a_list_rejected
(self)
agent/tests/test_constraints.py:134
Method
test_constraints_without_optimizer_warns_and_passes
(self, capsys)
agent/tests/test_constraints.py:219
Method
test_construct_without_key_does_not_raise
(self, monkeypatch)
agent/tests/test_finnhub_loader.py:77
Method
test_constructing_a_mixed_engine_is_still_allowed
(self)
agent/tests/test_composite_currency_guard.py:121
Function
test_construction_never_creates_the_media_directory
Ephemeral validation instances must not touch the filesystem. The web-config Test/Save routes construct the channel to validate a section bef
agent/tests/test_qq_connection_test.py:291
Function
test_consumer_exception_closes_stream
()
agent/tests/test_chat_stream_interruption.py:228
Function
test_container_hints_stay_inside_the_named_container
(tmp_path: Path)
agent/tests/test_grounding_container_field_refs.py:87
Function
test_container_model_parameters_are_refused
A swept parameter is a container too, and is refused alike.
agent/tests/quantlib/test_impact_scalar_only_inputs.py:48
Function
test_container_ref_lists_the_value_matched_leaf_first
(tmp_path: Path, figure: str, expected: str)
agent/tests/test_grounding_container_field_refs.py:73
Function
test_container_ref_never_authorizes_a_value_by_itself
(tmp_path: Path)
agent/tests/test_grounding_container_field_refs.py:99
Method
test_content_filter_breaker_message
(self)
agent/tests/test_run_outcome_module.py:89
Function
test_content_filter_circuit_breaker
10 consecutive content filters trip the circuit breaker → run fails early.
agent/tests/test_agent_loop_content_filter.py:382
Function
test_content_filter_circuit_breaker
10 consecutive content filters trip the circuit breaker → worker fails early.
agent/tests/test_swarm_worker_content_filter.py:220
Function
test_content_filter_circuit_breaker_persists_the_message_log
A worker failed by the content-filter breaker must leave a log too.
agent/tests/test_swarm_worker_message_log.py:157
Function
test_content_filter_event_emitted
A content_filter_skipped event is emitted with iteration and count.
agent/tests/test_swarm_worker_content_filter.py:114
Function
test_content_filter_injects_system_message
Steering text is a user message with an inline <system> tag, never mid-conversation system.
agent/tests/test_agent_loop_content_filter.py:138
Function
test_content_filter_no_warning_below_threshold
0/10 iterations hit content_filter → no warning key in result.
agent/tests/test_agent_loop_content_filter.py:371
Function
test_content_filter_no_warning_below_threshold
0/10 iterations content-filtered -> WorkerResult.content_filter_warnings is empty.
agent/tests/test_swarm_worker_content_filter.py:210
Function
test_content_filter_skip_and_continue
Content filter on first call, then normal response -> loop continues and succeeds.
agent/tests/test_agent_loop_content_filter.py:111
Function
test_content_filter_skipped_and_worker_continues
Content-filtered response is skipped; worker completes on next iteration.
agent/tests/test_swarm_worker_content_filter.py:99
Function
test_content_filter_system_message_injected
Steering text is injected as a user message with an inline system tag.
agent/tests/test_swarm_worker_content_filter.py:132
Function
test_content_filter_threshold_check
Content Filter Threshold row must appear in preflight output.
agent/tests/test_preflight.py:136
Function
test_content_filter_threshold_default
Default threshold is 5% when env var is unset.
agent/tests/test_preflight.py:148
Function
test_content_filter_trace_entry
Trace contains content_filter_skipped entry when filter is triggered.
agent/tests/test_agent_loop_content_filter.py:124
Function
test_content_filter_triggered_flag
content_filter finish_reason sets content_filter_triggered=True.
agent/tests/test_chat_llm_streaming.py:278
Function
test_content_filter_triggered_flag_false_on_stop
Normal stop reason leaves content_filter_triggered=False.
agent/tests/test_chat_llm_streaming.py:289
Function
test_content_filter_warning_in_result
5/10 iterations hit content_filter (50%) → warning surfaced in result.
agent/tests/test_agent_loop_content_filter.py:356
Function
test_content_filter_warning_in_result
4/10 iterations content-filtered (40%) -> WorkerResult.content_filter_warnings contains warning.
agent/tests/test_swarm_worker_content_filter.py:195
Function
test_content_filter_warnings_surfaced_in_run_card
When config carries content_filter_warnings, run_card.json warnings must contain them.
agent/tests/test_run_card_content_filter.py:13
Function
test_content_is_released_in_the_result_sink_only
``content`` is tool *output* in a result and tool *input* in arguments. In a result envelope (``read_file`` / ``read_document`` / ``read_url`` /
agent/tests/test_redaction_shared.py:56
Method
test_context_always_closed
(self, loader, mock_ctx)
agent/tests/test_futu_loader.py:265
Function
test_context_collapse_keeps_args_when_result_intact_or_pending
#layer-2 negative arm: arguments are NOT stubbed when the result still carries data, nor when the call is pending (no result in the transcript).
agent/tests/test_loop_helpers.py:772
Function
test_context_collapse_stubs_args_for_fix_tool_pairs_stub_result
#adversarial: layer-3's ``_fix_tool_pairs`` stub result marker must also count as 'result data gone' — a call that survived a layer-3 fold gets it
agent/tests/test_loop_helpers.py:803
Function
test_context_collapse_stubs_args_of_cleared_paired_call
#layer-2: a tool_call whose paired result was [cleared] gets its huge arguments folded to a valid JSON '{}' stub (call id/name preserved).
agent/tests/test_loop_helpers.py:744
Function
test_context_file_symlink_cannot_redirect_writes
(tmp_path)
agent/tests/test_swarm_context.py:131
Function
test_context_prompt_references_shadow_account
()
agent/tests/test_shadow_account.py:1206
Function
test_context_restore_does_not_create_external_observation
()
agent/tests/test_tool_progress.py:55
Function
test_context_restore_grants_one_grace_without_resetting_stall_history
()
agent/tests/test_tool_progress.py:42
Method
test_contextual_identity_constraints_can_be_disabled
( self, monkeypatch: pytest.MonkeyPatch )
agent/tests/test_env_schema.py:309
Function
test_continuous_compounding_discounts_harder_than_discrete
()
agent/tests/quantlib/test_fixedincome.py:62
Function
test_continuous_zero_coupon_convexity_is_maturity_squared
()
agent/tests/quantlib/test_fixedincome.py:216
Function
test_contract_distinguishes_verified_assumed_unknown_and_failed
()
agent/tests/test_data_availability.py:34
Function
test_contract_is_json_safe_and_preserves_stage_lineage
()
agent/tests/test_research_contract.py:15
Function
test_contract_propagates_account_currency_and_decouples_iso_from_fx
()
agent/tests/test_portfolio_compatibility.py:130
Function
test_contract_reaches_runner_pricing
(symbol, product, multiplier, commission, local)
agent/tests/test_global_futures_digit_routing.py:30
Function
test_contract_rejects_a_positions_read_without_a_positions_list
()
agent/tests/test_portfolio_compatibility.py:69
Function
test_contract_rejects_non_json_extension_records
()
agent/tests/test_research_contract.py:53
Function
test_contract_rejects_position_rows_without_symbol_or_quantity
()
agent/tests/test_portfolio_compatibility.py:61
Function
test_contract_rejects_unknown_enums
(field: str, value: str)
agent/tests/test_research_contract.py:47
Method
test_contracts_capped
(self)
agent/tests/test_options_chain_tool.py:110
Function
test_contribution_kinds_are_a_parameter_not_a_hardcoded_set
()
agent/tests/quantlib/test_fundmath.py:414
Function
test_contribution_map_keeps_exact_instrument_identity
(tmp_path, key, symbol)
agent/tests/test_grounding_keyed_metric_paths.py:49
Function
test_control_characters_in_text_fields_are_refused
()
agent/tests/test_extraetf_reader.py:586
Method
test_convergence_to_black_scholes_zero_vol_of_vol
(self)
agent/tests/quantlib/test_volatility.py:68
Function
test_convert_table_keeps_leading_empty_header_row_labels
()
agent/tests/test_slack_table_edge_columns.py:20
Function
test_convert_table_keeps_trailing_empty_header_slot
()
agent/tests/test_slack_table_edge_columns.py:31
Function
test_converted_tool_is_explicitly_non_strict_and_keeps_the_schema
()
agent/tests/test_openai_codex_tool_schema.py:57
Function
test_convexity_grows_with_maturity
()
agent/tests/quantlib/test_fixedincome.py:220
Function
test_convexity_is_positive_and_matches_second_difference
( coupon, ytm, n, freq, compounding )
agent/tests/quantlib/test_fixedincome.py:203
Function
test_cookie_and_private_key_field_names_are_sensitive
(name: str, sink: str)
agent/tests/test_redaction_cookie_private_key_fields.py:17
Function
test_cookie_header_value_is_redacted
(header: str)
agent/tests/test_redaction_cookie_headers.py:11
Function
test_copied_runs_cannot_meet_the_decay_floor
(run_root, store, artifact_id)
agent/tests/test_backtest_records_bench.py:235
Method
test_copies_detached_backtest_into_active_run
( self, tmp_path: Path, monkeypatch )
agent/tests/test_loop_helpers.py:432
Function
test_copilot_alias_resolves_to_same_capabilities
()
agent/tests/test_copilot_provider.py:72
Function
test_copilot_has_no_editor_impersonation_headers
()
agent/tests/test_copilot_provider.py:65
Function
test_copilot_is_registered_as_sdk_provider
()
agent/tests/test_copilot_provider.py:57
Function
test_copilot_preflight_uses_sdk_auth_instead_of_openai_base_url
Copilot has no OpenAI base URL because the official SDK owns transport.
agent/tests/test_preflight.py:78
Method
test_copper_8pct
(self)
agent/tests/test_china_futures_engine.py:252
Function
test_copper_prompt_routes_to_commodity_team_with_its_commodity
()
agent/tests/test_swarm_tool_variables.py:33
Method
test_copy
(self)
tools/test_ci_env_var_gate.py:103
← previous
next →
16,501–16,600 of 26,887, ranked by callers