MCPcopy Create free account

hub / github.com/HKUDS/Vibe-Trading / functions

Functions26,887 in github.com/HKUDS/Vibe-Trading

Functiontest_session_endpoints_reject_traversal_session_id
()
agent/tests/test_security_auth_api.py:806
Functiontest_session_event_stream_accepts_single_use_ticket_for_browser_eventsource
VT-003: a header-minted single-use ticket authenticates the EventSource.
agent/tests/test_security_auth_api.py:552
Functiontest_session_event_stream_rejects_long_lived_api_key_query
VT-003: the long-lived key is no longer accepted in the SSE query string.
agent/tests/test_security_auth_api.py:540
Functiontest_session_event_stream_rejects_traversal_session_id
()
agent/tests/test_security_auth_api.py:831
Methodtest_session_id_becomes_the_owner_when_no_scope_is_given
(self)
agent/tests/test_background_scope_isolation.py:236
Functiontest_session_id_is_not_a_required_argument
(name, tool_parameters)
agent/tests/test_mcp_goal_session_contract.py:42
Functiontest_session_is_inert_for_interval_1d_and_cn_a
()
agent/tests/test_paper_trade_v12_schema.py:240
Functiontest_session_iteration_cap_rejects_nonpositive_values
A nonpositive cap must not silently become an unlimited loop.
agent/tests/test_env_schema.py:73
Functiontest_session_iteration_cap_uses_safe_default_for_malformed_env
Unparseable env values follow the shared numeric-default contract.
agent/tests/test_env_schema.py:81
Functiontest_session_label_classification_matrix
(label: str, kind: str)
agent/tests/test_paper_trade_5m_session.py:348
Functiontest_session_models_emit_timezone_aware_iso_timestamps
()
agent/tests/test_session_timestamp_timezone.py:7
Functiontest_session_scope_excludes_other_sessions_and_the_active_run
(runs: Path)
agent/tests/test_backtest_runs_tool.py:104
Functiontest_session_search_absent_max_results_defaults_to_three
An absent max_results still defaults, and the default reaches the index.
agent/tests/test_tools_type_value_safety.py:234
Functiontest_session_search_rejects_malformed_max_results
An explicit junk max_results errors before the session index is opened.
agent/tests/test_tools_type_value_safety.py:220
Functiontest_session_service_renders_meaningful_error_from_result
End-to-end guard for the original UI symptom in #114: with the new `reason` field populated, `result.get('reason', 'unknown')` returns the mea
agent/tests/test_agent_loop_terminal_state.py:269
Functiontest_session_service_writeback_to_host
_get_session_service should write back to api_server for monkeypatch compat.
agent/tests/test_api_infrastructure.py:347
Functiontest_session_shutdown_stops_new_work_and_reaps_tasks
()
agent/tests/test_background_host_lifecycle.py:144
Functiontest_session_terminal_event_still_reaches_request_sweep
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_scheduling_lifespan_owner.py:444
Functiontest_session_to_dict_is_json_serializable
()
agent/tests/test_principal.py:139
Functiontest_session_trace_uses_session_dir_and_round_trips_long_answer
Session runs aggregate trace.jsonl under sessions/<id> without truncation.
agent/tests/test_agent_loop_trace.py:116
Functiontest_sessions_db_and_goal_db_follow_home_override
The FTS index and goal store must live beside the sessions they index.
agent/tests/test_user_state_paths.py:199
Functiontest_set_emitter_is_thread_local
Each thread gets its own emitter slot.
agent/tests/test_progress.py:94
Methodtest_setdefault
(self)
tools/test_ci_env_var_gate.py:121
Methodtest_sets_kimi_user_agent_header
(self)
agent/tests/test_llm.py:993
Functiontest_settings_allow_sdk_managed_credentials
(monkeypatch)
agent/tests/test_copilot_provider.py:396
Functiontest_settings_default_to_user_writable_config_path
Web settings must not target the installed package directory.
agent/tests/test_api_infrastructure.py:231
Functiontest_settings_picker_is_flash_first_without_live_discovery
(endpoint)
agent/tests/test_minimax_flash.py:238
Functiontest_settings_reads_reject_remote_dev_mode_clients
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_settings_api.py:444
Functiontest_settings_reads_require_bearer_on_loopback_when_api_auth_key_configured
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_settings_api.py:475
Functiontest_settings_report_cli_login
(monkeypatch)
agent/tests/test_claude_cli_provider.py:493
Functiontest_settings_report_explicit_copilot_credential
(monkeypatch)
agent/tests/test_copilot_provider.py:381
Functiontest_settings_response_never_exposes_configured_secret_hints
( client: TestClient, tmp_path: Path, )
agent/tests/test_settings_api.py:412
Functiontest_settings_write_migrates_legacy_env_to_canonical_path
( client: TestClient, tmp_path: Path, )
agent/tests/test_settings_api.py:323
Functiontest_settings_write_permission_error_is_actionable
( client: TestClient, monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_settings_api.py:350
Functiontest_settings_write_rejects_cross_site_origin
An Origin that is neither loopback nor the request host is cross-site.
agent/tests/test_security_auth_api.py:335
Functiontest_settings_write_rejects_cross_site_sec_fetch_site
A cross-site browser PUT must not reach the settings-write logic.
agent/tests/test_security_auth_api.py:316
Functiontest_settings_write_remote_same_origin_passes_guard_and_hits_auth_layer
A host-matching Origin passes the guard; the later auth layer still decides.
agent/tests/test_security_auth_api.py:377
Functiontest_settings_write_same_origin_browser_passes_cross_site_guard
A same-origin browser PUT clears the guard and reaches the write path.
agent/tests/test_security_auth_api.py:354
Functiontest_settings_write_without_browser_headers_passes_guard
A non-browser client (CLI/curl) sends no Origin and must pass the guard.
agent/tests/test_security_auth_api.py:408
Functiontest_settings_writes_reject_remote_dev_mode_clients
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_settings_api.py:573
Methodtest_settlement_lag_is_configurable
(self)
agent/tests/test_vietnam_equity_engine.py:116
Functiontest_settlement_lag_switches_to_t1_on_2024_05_27
()
agent/tests/test_argentina_equity_engine.py:173
Methodtest_sh_symbol
(self)
agent/tests/test_futu_loader.py:92
Functiontest_shadow_account_dirs_live_under_runtime_root
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
agent/tests/test_user_state_paths.py:83
Functiontest_shadow_account_skill_shipped
()
agent/tests/test_shadow_account.py:1197
Methodtest_shadow_liquid_baskets_route_to_their_own_market
(self)
agent/tests/test_market_detection.py:233
Functiontest_shadow_pnl_derivation_from_runner_metrics
()
agent/tests/test_shadow_account.py:433
Functiontest_shadow_report_is_served_from_the_configured_runtime_root
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
agent/tests/test_shadow_report_route_runtime_root.py:20
Functiontest_shadow_rsi_keeps_positional_warmup_with_duplicate_index_labels
()
agent/tests/test_ux_batch_regressions.py:79
Functiontest_shadow_scanning_and_extraction_share_seeded_rsi_and_gap_policy
()
agent/tests/test_ux_batch_regressions.py:88
Functiontest_shadow_tools_are_auto_discovered
()
agent/tests/test_shadow_account.py:1125
Methodtest_shadow_us_basket_groups_into_us_equity
(self)
agent/tests/test_market_detection.py:195
Methodtest_shadow_with_path_trains
(self)
agent/tests/test_cli_interactive.py:525
Methodtest_shadow_without_args_opens_dashboard
(self)
agent/tests/test_cli_interactive.py:516
Functiontest_shanghai_lock_depends_on_symbol_canonicalization
Mutation guard: drop canonicalization and Shanghai dead-ends again.
agent/tests/test_agent_grounding.py:2035
Functiontest_shanghai_ticker_resolves_to_one_locked_identity
Eastmoney's .SH and Yahoo's .SS describe one listing, so one lock.
agent/tests/test_agent_grounding.py:2020
Methodtest_shanghai_uses_market_1
(self)
agent/tests/test_eastmoney_client.py:25
Functiontest_shape_and_page_do_not_coerce_unselected_rows
(run_dir, monkeypatch)
agent/tests/test_run_artifact_tool.py:595
Functiontest_shape_index_columns_preserved
()
agent/tests/factors/test_zscore_by_group.py:138
Functiontest_shape_mismatch_raises
()
agent/tests/factors/test_zscore_by_group.py:188
Methodtest_share_class_and_market_suffix_together_resolve
(self)
agent/tests/test_sec_edgar_client.py:95
Methodtest_share_class_separators_are_normalized
The fails-to-deliver feed writes Berkshire class B as BRKB, not BRK.B.
agent/tests/test_institutional_holdings_tool.py:1201
Methodtest_share_class_written_with_a_dot_resolves
(self)
agent/tests/test_sec_edgar_client.py:90
Methodtest_share_counts_and_eps_are_not_derived
(self)
agent/tests/test_sec_period_frames.py:296
Functiontest_share_notional_gate_refuses_options_even_when_permitted
An instrument allowance does not supply an options risk calculation.
agent/tests/test_mandate_enforcement.py:227
Functiontest_shared_credentials_across_paper_and_live_profiles
(monkeypatch, tmp_path)
agent/tests/test_etoro_connector.py:125
Functiontest_shared_engine_recognizes_known_slash_usd_crypto
The engine and correlation consumer must agree on documented USD pairs.
agent/tests/test_equity_crypto_suffix_regressions.py:44
Functiontest_shared_engine_slash_crypto_keeps_fiat_and_equity_controls
(symbol, expected)
agent/tests/test_equity_crypto_suffix_regressions.py:83
Functiontest_shared_event_dates_are_flagged
()
agent/tests/quantlib/test_eventstudy.py:442
Functiontest_shared_execution_fail_closed_for_a_directly_denied_tool
(tmp_path, shared_policy)
agent/tests/test_provider_agnostic_tool_policy.py:172
Functiontest_shared_execution_rejects_bash_without_running_it
(tmp_path, shared_policy)
agent/tests/test_provider_agnostic_tool_policy.py:152
Functiontest_shared_execution_rewrites_allowed_python
(tmp_path, shared_policy)
agent/tests/test_provider_agnostic_tool_policy.py:162
Functiontest_shared_executor_created_once_and_bounded
One process-lifetime executor serves every request; the 200 cap holds. Regression for the per-request ``ThreadPoolExecutor`` replacement: the
agent/tests/api/test_positions_sectors.py:497
Methodtest_shared_handles_keep_one_notification_queue_after_a_drain
(self)
agent/tests/test_background_scope_isolation.py:158
Functiontest_shared_issue_codes_do_not_implicate_other_roles
(tmp_path)
agent/tests/test_grounding_registry.py:255
Functiontest_shared_job_id_rule_cannot_drift_from_host_path_param_rule
()
agent/tests/scheduling/test_system_job_protection.py:180
Functiontest_shared_path_config_is_not_reported_as_ignored
Constraints and provenance have real readers outside engine modules.
agent/tests/test_backtest_unrecognized_config_keys.py:62
Functiontest_shared_surfaces_and_result_preservation
(tmp_path, monkeypatch, capsys)
agent/tests/test_pixel_office.py:15
Functiontest_shared_transport_preserves_results_and_old_flattening
(monkeypatch, tables)
agent/tests/test_gildata_fin_query.py:169
Functiontest_shares_diluted_does_not_alias_basic_shares
()
agent/tests/test_fundamental_schema.py:67
Functiontest_sharpe_ddof_is_exposed_because_the_repo_has_two_conventions
()
agent/tests/quantlib/test_multipletesting.py:41
Functiontest_sharpe_is_nan_without_dispersion
()
agent/tests/quantlib/test_multipletesting.py:47
Functiontest_sharpe_is_per_observation_not_annualised
()
agent/tests/quantlib/test_multipletesting.py:32
Functiontest_sharpe_needs_two_observations
()
agent/tests/quantlib/test_multipletesting.py:51
Methodtest_sharpe_positive_for_growth
(self)
agent/tests/test_metrics.py:382
Methodtest_shell_tool_policy_is_unchanged_by_scoping
(self)
agent/tests/test_background_scope_isolation.py:274
Functiontest_shell_tools_absent_from_default_registry
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_tool_registry_security.py:10
Functiontest_shell_tools_api_request_accepts_explicit_opt_in
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_security_auth_api.py:579
Functiontest_shell_tools_disabled_for_loopback_api_request_by_default
()
agent/tests/test_security_auth_api.py:567
Functiontest_shell_tools_disabled_for_remote_api_request_by_default
()
agent/tests/test_security_auth_api.py:573
Functiontest_shell_tools_require_registry_opt_in
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_tool_registry_security.py:20
Methodtest_shenzhen_uses_market_0
(self)
agent/tests/test_eastmoney_client.py:28
Functiontest_shipping_reader_keeps_document_body_order
(tmp_path, monkeypatch, nodes)
agent/tests/test_doc_reader_docx_order.py:36
Functiontest_shipping_search_context_follows_native_tokens
( tmp_path, monkeypatch, query, content, expected )
agent/tests/test_session_search_native_snippets.py:70
Methodtest_ships_the_expected_five
(self)
agent/tests/test_research_playbooks.py:90
Functiontest_shoonya_invalid_profile_rejected
()
agent/tests/test_sdk_connectors.py:1268
Functiontest_shoonya_place_order_rejects_non_whole_quantity
(quantity)
agent/tests/test_sdk_connectors.py:1208
Functiontest_shoonya_redacts_secrets
()
agent/tests/test_sdk_connectors.py:1252
Functiontest_shoonya_service_unconfigured
(monkeypatch, tmp_path)
agent/tests/test_sdk_connectors.py:1281
Methodtest_short_allowed
China futures allow short selling (unlike A-shares).
agent/tests/test_china_futures_engine.py:94
← previousnext →24,201–24,300 of 26,887, ranked by callers