MCPcopy Create free account

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

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

Functiontest_host_guard_still_rejects_untrusted
()
agent/tests/test_mcp_host_origin_guard.py:202
Functiontest_host_guard_wildcard_semantics_unchanged
()
agent/tests/test_mcp_host_origin_guard.py:211
Functiontest_host_matching_is_case_insensitive
()
agent/tests/test_mcp_host_origin_guard.py:196
Functiontest_host_without_port_empty
()
agent/tests/test_api_infrastructure.py:144
Functiontest_host_without_port_ipv6
()
agent/tests/test_api_infrastructure.py:136
Functiontest_host_without_port_ipv6_no_port
()
agent/tests/test_api_infrastructure.py:140
Functiontest_host_without_port_plain
()
agent/tests/test_api_infrastructure.py:132
Functiontest_host_without_port_trailing_dot
()
agent/tests/test_api_infrastructure.py:148
Functiontest_hostile_run_ids_in_metadata_never_reach_the_prompt
(run_id)
agent/tests/test_session_service_lifecycle.py:295
Functiontest_hostile_xml_is_neutralised
()
agent/tests/test_rsshub_events_provider.py:126
Functiontest_hour_interval_still_rejected
(monkeypatch)
agent/tests/test_fmp_daily_aliases.py:30
Functiontest_hour_interval_still_uses_minutes
()
agent/tests/test_tushare_daily_alias_1d.py:45
Functiontest_hour_token_still_absent_from_daily_map
()
agent/tests/test_akshare_daily_aliases.py:13
Methodtest_hourly
(self)
agent/tests/test_yahoo_loader.py:91
Methodtest_hourly_bars_declared_30m_switch_to_the_hourly_count
Neighbouring intervals differ by 2x, above the 1.5 gate.
agent/tests/test_cross_market_annualization.py:353
Methodtest_hourly_bars_over_three_days_use_the_fractional_span
(self)
agent/tests/test_effective_bars_per_year_span.py:33
Methodtest_hourly_okx
(self)
agent/tests/test_metrics.py:77
Functiontest_hrp_aligns_covariance_rows_to_its_columns
Swapping two rows of a labelled cov moved weights silently (0.0351/0.0403 → 0.0375/0.0375).
agent/tests/quantlib/test_portfolio.py:93
Functiontest_hrp_aligns_dataframe_correlation_to_covariance_labels
()
agent/tests/quantlib/test_portfolio.py:70
Methodtest_hrp_invalid_inputs
(self)
agent/tests/quantlib/test_portfolio.py:63
Functiontest_hrp_rejects_correlation_with_different_labels
()
agent/tests/quantlib/test_portfolio.py:86
Functiontest_hrp_rejects_covariance_rows_labelled_differently_from_columns
()
agent/tests/quantlib/test_portfolio.py:113
Methodtest_hrp_single_asset_case
(self)
agent/tests/quantlib/test_portfolio.py:57
Methodtest_hrp_weights_dataframe_and_sum
(self)
agent/tests/quantlib/test_portfolio.py:43
Functiontest_html_context_includes_universe_meta_when_present
(capsys, monkeypatch, _reg, _captured_html_context)
agent/tests/test_alpha_bench_meta_survivorship.py:128
Functiontest_http_200_error_body_reports_invalid_credentials
QQ answers bad credentials with HTTP 200 and an error body.
agent/tests/test_qq_connection_test.py:173
Functiontest_http_200_error_body_reports_invalid_credentials
Feishu answers bad credentials with HTTP 200 and an error body.
agent/tests/test_feishu_connection_test.py:203
Functiontest_http_200_non_object_json_body_reports_invalid_credentials
A 200 with valid non-object JSON must classify, never raise. Middleboxes and proxied error pages produce exactly such bodies; without the isi
agent/tests/test_qq_connection_test.py:196
Functiontest_http_200_non_object_json_body_reports_invalid_credentials
A 200 with valid non-object JSON must classify, never raise.
agent/tests/test_feishu_connection_test.py:222
Functiontest_http_401_reports_invalid_credentials
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_discord_connection_test.py:161
Functiontest_http_client_error_reports_invalid_credentials
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, status: int, )
agent/tests/test_qq_connection_test.py:153
Functiontest_http_client_error_reports_invalid_credentials
( monkeypatch: pytest.MonkeyPatch, status: int, )
agent/tests/test_feishu_connection_test.py:184
Functiontest_http_client_error_reports_invalid_credentials
( monkeypatch: pytest.MonkeyPatch, status: int, )
agent/tests/test_dingtalk_connection_test.py:193
Functiontest_http_delete_reports_conflict_for_an_active_run
(owned_delete_index, monkeypatch)
agent/tests/test_session_delete_clears_search_index.py:155
Methodtest_http_error_propagates
(self)
agent/tests/test_eastmoney_client.py:154
Methodtest_http_error_propagates
(self)
agent/tests/test_sec_edgar_client.py:172
Methodtest_http_error_skips_symbol
(self, monkeypatch)
agent/tests/test_stooq_loader.py:159
Functiontest_http_error_surfaces_status_and_body
(captured)
agent/tests/test_web_reader_privacy.py:43
Methodtest_http_failure_membership_error_envelope
(self)
agent/tests/test_sector_tool.py:178
Methodtest_http_failure_on_one_symbol_is_captured
(self)
agent/tests/test_fund_flow_tool.py:103
Methodtest_http_failure_ranking_error_envelope
(self)
agent/tests/test_sector_tool.py:188
Methodtest_http_failure_returns_error_envelope
(self)
agent/tests/test_dragon_tiger_tool.py:225
Methodtest_http_failure_returns_error_envelope
(self)
agent/tests/test_northbound_tool.py:92
Methodtest_http_failure_returns_error_envelope
(self, monkeypatch: pytest.MonkeyPatch)
agent/tests/test_iwencai_tool.py:128
Methodtest_http_failure_returns_fallback
(self, fsp, monkeypatch)
agent/tests/test_fetch_sina_penalties.py:241
Methodtest_http_failure_surfaces_as_error_envelope
(self)
agent/tests/test_market_screener_tool.py:165
Methodtest_http_failure_uses_tushare_fallback_when_available
(self)
agent/tests/test_dragon_tiger_tool.py:243
Methodtest_http_failure_uses_tushare_fallback_when_available
(self)
agent/tests/test_northbound_tool.py:103
Methodtest_http_failure_uses_tushare_fallback_when_available
(self)
agent/tests/test_fund_flow_tool.py:118
Methodtest_http_failure_yields_top_level_ok_false
(self)
agent/tests/test_financial_statements_tool.py:219
Methodtest_http_get_gbk_rejects_disallowed_host
(self, fsp)
agent/tests/test_fetch_sina_penalties.py:264
Methodtest_http_get_gbk_rejects_disallowed_scheme
(self, fsp)
agent/tests/test_fetch_sina_penalties.py:269
Functiontest_http_import_settings_refresh_and_rebalance_use_same_store
(tmp_path, monkeypatch)
agent/tests/test_extraetf_integration.py:159
Functiontest_http_retry_route_resume_query_plumbs_resume_from
POST /swarm/runs/{id}/retry?resume=true hands the reconciled run to start_run as resume_from; without the query it stays a full re-run.
agent/tests/test_swarm_retry.py:197
Functiontest_http_retry_route_resume_rejects_completed_run
POST /swarm/runs/{id}/retry?resume=true on a completed run -> 409.
agent/tests/test_swarm_retry.py:172
Methodtest_hull_15_6_call_and_put_prices
(self)
agent/tests/quantlib/test_options.py:40
Methodtest_hull_19_1_greeks
(self, greek: str, published: float, scale: float)
agent/tests/quantlib/test_options.py:63
Methodtest_hull_19_1_price
(self)
agent/tests/quantlib/test_options.py:45
Functiontest_hv_annualises_on_the_supplied_cadence
A 365-bar venue must scale by sqrt(365), not the equity-market 252.
agent/tests/test_options_hv_bars_per_year.py:38
Functiontest_hv_defaults_to_252_so_daily_equity_runs_are_unchanged
The default keeps every existing caller and the pinned warm-up test.
agent/tests/test_options_hv_bars_per_year.py:49
Functiontest_hv_none_resolves_daily_return_cadence_causally
Daily return intervals annualise to calendar days, without future bars.
agent/tests/test_options_hv_bars_per_year.py:63
Functiontest_hydrate_run_is_noop_without_task_dir
(tmp_path)
agent/tests/test_swarm_status_hydration.py:94
Functiontest_hydrate_run_merges_live_task_files
(tmp_path)
agent/tests/test_swarm_status_hydration.py:75
Functiontest_hydration_fallback_result_is_reduced_to_one_copy
()
agent/tests/test_mcp_result_dedup.py:293
Functiontest_ibkr_account_summary_normalizes_for_portfolio_totals
()
agent/tests/test_ibkr_mcp_mapping.py:23
Functiontest_ibkr_alias_url_resolves_to_live_broker_and_wraps_writes
()
agent/tests/test_ibkr_mcp_seed.py:74
Functiontest_ibkr_endpoint_accepts_hosts_and_port_boundaries
(ibkr_endpoint_client, host, port)
agent/tests/test_connection_routes.py:215
Functiontest_ibkr_endpoint_persists_per_connection_and_is_used_for_reads
(ibkr_endpoint_client)
agent/tests/test_connection_routes.py:175
Functiontest_ibkr_endpoint_preserves_legacy_configuration_until_overridden
(ibkr_endpoint_client, tmp_path)
agent/tests/test_connection_routes.py:237
Functiontest_ibkr_endpoint_rejects_invalid_host
(ibkr_endpoint_client, host)
agent/tests/test_connection_routes.py:200
Functiontest_ibkr_endpoint_rejects_invalid_port
(ibkr_endpoint_client, port)
agent/tests/test_connection_routes.py:208
Functiontest_ibkr_endpoint_rejects_remote_profiles_and_extra_settings
(ibkr_endpoint_client)
agent/tests/test_connection_routes.py:221
Functiontest_ibkr_endpoint_requires_settings_write_auth
(ibkr_endpoint_client, monkeypatch)
agent/tests/test_connection_routes.py:228
Functiontest_ibkr_lookalike_host_is_not_live_broker
()
agent/tests/test_ibkr_mcp_seed.py:90
Functiontest_ibkr_oauth_accepts_authorization_redirect
(tmp_path)
agent/tests/test_mcp_oauth_schema.py:362
Functiontest_ibkr_oauth_discards_registration_for_old_callback
(tmp_path)
agent/tests/test_mcp_oauth_schema.py:428
Functiontest_ibkr_oauth_refresh_uses_real_token_endpoint
(tmp_path)
agent/tests/test_mcp_oauth_schema.py:396
Functiontest_ibkr_oauth_registration_uses_browser_headers
(tmp_path)
agent/tests/test_mcp_oauth_schema.py:268
Functiontest_ibkr_official_profile_advertises_verified_portfolio_reads
The real-account-verified IBKR tools back the shared read interface.
agent/tests/test_trading_connections.py:53
Functiontest_ibkr_positions_normalize_for_shared_position_reader
()
agent/tests/test_ibkr_mcp_mapping.py:42
Functiontest_ibkr_rejects_wildcard_when_write_scope_is_requested
()
agent/tests/test_mcp_oauth_schema.py:188
Functiontest_ibkr_rejects_wildcard_without_read_scope
()
agent/tests/test_mcp_oauth_schema.py:204
Functiontest_ibkr_remote_tools_map_only_verified_reads
()
agent/tests/test_ibkr_mcp_mapping.py:16
Functiontest_ibkr_seed_is_official_readonly_oauth_probe
()
agent/tests/test_mcp_oauth_schema.py:133
Functiontest_ibkr_seed_validates_as_readonly_probe
()
agent/tests/test_ibkr_mcp_seed.py:64
Functiontest_ibkr_sparse_map_pins_known_order_names_write
IBKR read names are annotation-discovered, but order names stay WRITE.
agent/tests/test_classification.py:68
Functiontest_ic_ir_and_t_stat_are_read_off_the_text
()
agent/tests/test_research_papers_tool.py:514
Functiontest_ic_method_requires_returns
()
agent/tests/quantlib/test_combination.py:171
Functiontest_ic_ratio_computed_once_windows_stop_overlapping
()
agent/tests/test_sdm_finite_metrics.py:88
Functiontest_ic_ratio_is_none_for_a_negative_baseline
Dividing two negative IC means gives a positive ratio, so a rolling IC that got MUCH more negative than an already-negative baseline (real dec
agent/tests/test_sdm_finite_metrics.py:50
Functiontest_ic_ratio_is_none_when_baseline_and_rolling_windows_overlap
With fewer than 10 entries, the oldest-5 and newest-5 windows share observations. At 3-5 entries they are identical; at 6-9 the overlap dilute
agent/tests/test_sdm_finite_metrics.py:73
Functiontest_ic_ratio_still_computed_for_a_positive_baseline
()
agent/tests/test_sdm_finite_metrics.py:64
Functiontest_ic_weights_favour_the_predictive_factor
()
agent/tests/quantlib/test_combination.py:60
Methodtest_id_generated_when_missing
Missing id field should auto-generate 6-char hex.
agent/tests/test_memory_lifecycle.py:165
Functiontest_idempotent
()
agent/tests/test_redaction.py:58
Methodtest_idempotent
(self)
agent/tests/test_constraints.py:180
Methodtest_idempotent_upsert_replaces_not_duplicates
(self, tmp_path: Path)
agent/tests/test_scheduled_research_store.py:209
Functiontest_identical_arguments_are_still_blocked
The negative control: the gate must keep doing its job. Relaxing the key must not turn into 'never dedup'.
agent/tests/test_agent_loop_dedup_arguments.py:145
Functiontest_identical_content_and_provenance_are_idempotent
(tmp_path)
agent/tests/test_research_artifact_store.py:51
Functiontest_identical_deterministic_call_is_served_from_cache
The same expression twice must execute once and answer twice.
agent/tests/test_agent_loop_deterministic_cache.py:99
← previousnext →19,301–19,400 of 26,887, ranked by callers