MCPcopy Create free account

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

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

Methodtest_empty_history_is_not_an_error
(self, monkeypatch)
agent/tests/test_prediction_market_tool.py:955
Functiontest_empty_holdings_export_is_valid_and_not_an_error
An empty portfolio and an unreadable file are different states.
agent/tests/test_extraetf_reader.py:477
Functiontest_empty_holdings_rejected
()
agent/tests/quantlib/test_factormodel.py:348
Methodtest_empty_html
(self, fsp)
agent/tests/test_fetch_sina_penalties.py:186
Methodtest_empty_index_falls_back_to_default
(self)
agent/tests/test_cross_market_annualization.py:44
Methodtest_empty_input
(self)
agent/tests/test_futu_loader.py:156
Functiontest_empty_input_is_rejected
(fn)
agent/tests/quantlib/test_risk.py:221
Functiontest_empty_input_is_rejected
An attribution over no sectors is meaningless.
agent/tests/quantlib/test_attribution.py:224
Functiontest_empty_iqs_falls_through_to_parallel
(monkeypatch, adapter)
agent/tests/test_parallel_search.py:131
Methodtest_empty_klines_omitted
(self)
agent/tests/test_eastmoney_loader.py:151
Methodtest_empty_list
Empty list payload → clean error, not AttributeError.
agent/tests/test_technical_indicator_tool.py:562
Methodtest_empty_list
(self)
agent/tests/test_skills.py:41
Functiontest_empty_mcp_servers_produces_no_mcp_tools
An AgentConfig with no mcp_servers must behave like no config at all.
agent/tests/test_registry_mcp_integration.py:56
Methodtest_empty_message_with_rejection_code_is_not_reported_as_empty
(self)
agent/tests/test_lockup_expiry_tool.py:166
Methodtest_empty_metrics_file_is_metrics_missing
(self, tmp_path)
agent/tests/test_strategy_discovery_hard_gates.py:192
Methodtest_empty_metrics_has_turnover_keys
(self)
agent/tests/test_metrics.py:617
Functiontest_empty_model_answer_is_an_error
(tool, png_in_allowed_root)
agent/tests/test_image_vision_tool.py:70
Methodtest_empty_model_response
(self)
agent/tests/test_run_outcome_module.py:137
Functiontest_empty_model_response_returns_specific_reason
Two consecutive empty no-tool outputs fail with the specific reason. The first empty completion is retried with a nudge; the run fails on the
agent/tests/test_agent_loop_terminal_state.py:158
Methodtest_empty_observations_becomes_error_envelope
(self, monkeypatch)
agent/tests/test_fred_macro_tool.py:155
Methodtest_empty_or_missing_inputs_fail_closed
(self)
agent/tests/test_additive_conversion.py:148
Functiontest_empty_or_unreadable_csv_returns_none
(tmp_path: Path, contents: bytes)
agent/tests/test_session_load_metrics.py:60
Functiontest_empty_panel_rejected
()
agent/tests/test_risk_xray.py:58
Methodtest_empty_passthrough
(self)
agent/tests/test_persistent_memory.py:528
Methodtest_empty_payload_is_an_error_not_an_empty_portfolio
(self)
agent/tests/test_etf_holdings_tool.py:961
Methodtest_empty_payload_returns_empty
(self, monkeypatch)
agent/tests/test_yahoo_client.py:452
Functiontest_empty_peer_list_raises_missing_input_error
()
agent/tests/quantlib/valuation/test_comps.py:407
Functiontest_empty_period_list_is_rejected
Linking nothing is an error, not an empty result.
agent/tests/quantlib/test_attribution.py:343
Methodtest_empty_portfolio
(self)
agent/tests/test_risk_parity.py:83
Methodtest_empty_positions
No positions → equity = capital.
agent/tests/test_equity_regression.py:39
Functiontest_empty_positions_canonical_form
()
agent/tests/test_paper_trade_jcs.py:122
Functiontest_empty_positions_csv_returns_note
(tmp_path: Path, monkeypatch)
agent/tests/api/test_positions_sectors.py:255
Methodtest_empty_positions_zero_turnover
(self)
agent/tests/test_metrics.py:612
Functiontest_empty_primary_falls_through_only_for_missing_symbols
()
agent/tests/test_analysis_reliability.py:23
Methodtest_empty_primary_falls_to_fallback
(self, monkeypatch: pytest.MonkeyPatch)
agent/tests/test_env_schema.py:569
Methodtest_empty_prompt_internal_job_persists_via_store
(self, tmp_path: Path)
agent/tests/test_scheduled_research_model_compat.py:153
Methodtest_empty_prompt_internal_job_roundtrips_to_dict
(self)
agent/tests/test_scheduled_research_model_compat.py:145
Functiontest_empty_prompt_keeps_normal_validation
(client)
agent/tests/test_interactive_message_limit.py:38
Methodtest_empty_provider_result_remains_successful_empty_schedule
(self)
agent/tests/test_lockup_expiry_tool.py:153
Methodtest_empty_provider_with_deepseek_model_infers_deepseek
(self)
agent/tests/test_llm.py:1007
Methodtest_empty_query
(self)
agent/tests/test_session_search.py:189
Methodtest_empty_query
(self, tmp_path: Path)
agent/tests/test_persistent_memory.py:441
Methodtest_empty_raises
(self, fsp)
agent/tests/test_fetch_sina_penalties.py:55
Methodtest_empty_raises
(self, tmp_path: Path)
agent/tests/test_persistent_memory.py:566
Methodtest_empty_registry
( self, tmp_path: Path, capsys: pytest.CaptureFixture[str] )
agent/tests/test_cli_hypothesis.py:90
Methodtest_empty_report_remains_empty
(self)
agent/tests/test_dragon_tiger_tool.py:294
Functiontest_empty_result_message_is_reported_as_no_disclosure
The datacenter's no-rows answer is not a rejection of the request. An empty match arrives with the same ``success: false`` flags as a schema
agent/tests/test_shareholder_count_tool.py:233
Methodtest_empty_result_symbol_omitted
(self, monkeypatch)
agent/tests/test_gildata_loader.py:244
Methodtest_empty_result_symbol_omitted
(self, monkeypatch)
agent/tests/test_fmp_loader.py:296
Methodtest_empty_result_warns
(self)
agent/tests/test_tushare_loader.py:251
Methodtest_empty_returns_empty
(self)
agent/tests/test_kimi_reasoning_content.py:126
Methodtest_empty_rows
(self)
agent/tests/test_yahoo_loader.py:193
Methodtest_empty_rows_block
(self)
agent/tests/test_strategy_discovery_adaptation.py:70
Methodtest_empty_rows_returns_none
(self)
agent/tests/test_gildata_loader.py:174
Methodtest_empty_rows_still_ok
(self, monkeypatch)
agent/tests/test_gildata_research_tools.py:122
Methodtest_empty_rule_engines_raises
If somehow _rule_engines is empty, should raise ValueError.
agent/tests/test_composite_engine_fallback.py:48
Functiontest_empty_secret_is_unset_and_unmasked
An unset secret reports ``set: false`` and an empty mask.
agent/tests/test_channel_config_meta.py:844
Functiontest_empty_series_is_sane
()
agent/tests/test_entities_spine.py:309
Functiontest_empty_series_mean_style_arithmetic_does_not_divide_by_zero
Guard the obvious downstream footgun: total over an empty series.
agent/tests/test_entities_spine.py:324
Methodtest_empty_series_omits_symbol
(self, monkeypatch)
agent/tests/test_alphavantage_loader.py:178
Methodtest_empty_series_with_note_skips_symbol
An empty series alongside a note still surfaces as an error skip.
agent/tests/test_alphavantage_loader.py:171
Methodtest_empty_slug_result_is_reported_not_raised
(self, monkeypatch)
agent/tests/test_prediction_market_tool.py:619
Functiontest_empty_snapshot_degrades_to_an_all_none_frame
()
agent/tests/test_industry_loader.py:304
Functiontest_empty_src_raises
(src: str)
agent/tests/test_industry_loader.py:215
Methodtest_empty_state_leaves_user_message_untouched
(self)
agent/tests/test_system_prompt_cache_stability.py:87
Methodtest_empty_store_returns_empty_list
(self, tmp_path: Path)
agent/tests/test_scheduled_research_store.py:167
Methodtest_empty_store_returns_honest_note
(self, tmp_path)
agent/tests/test_strategy_discovery_facade.py:448
Functiontest_empty_stream_value_error_falls_back_to_invoke
LangChain's 'No generation chunks were returned' → non-streaming invoke.
agent/tests/test_chat_llm_streaming.py:307
Methodtest_empty_string_code_rejected
(self)
agent/tests/test_engine_robustness.py:378
Functiontest_empty_string_resets_to_default
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_source_order_overrides.py:186
Methodtest_empty_success_is_not_returned_or_cached
( self, loader, mock_ctx, monkeypatch )
agent/tests/test_futu_loader.py:318
Functiontest_empty_successful_answer_says_so
An empty answer must not be dressed up as a finished strategy run.
agent/tests/test_session_service_lifecycle.py:238
Functiontest_empty_swarm_shell_is_removed_after_migration
(tmp_path: Path)
agent/tests/test_state_migration.py:166
Methodtest_empty_symbol
(self)
agent/tests/test_technical_indicator_tool.py:211
Methodtest_empty_text
(self)
agent/tests/test_sentiment_tool.py:70
Functiontest_empty_text_delta_is_swallowed
()
agent/tests/test_openbb_bridge/test_event_mapper.py:20
Methodtest_empty_text_with_no_preview_sends_nothing
(self)
agent/tests/test_matrix_stream_end_no_preview.py:70
Methodtest_empty_ticker_returns_none_without_fetch
(self)
agent/tests/test_sec_edgar_client.py:46
Methodtest_empty_trades
(self)
agent/tests/test_metrics.py:268
Functiontest_empty_tushare_fund_flow_is_unavailable
()
agent/tests/test_tushare_fallbacks.py:150
Functiontest_empty_universe_is_vacuously_ready
()
agent/tests/test_paper_trade_readiness.py:382
Methodtest_empty_window_is_ok_with_zero_records
(self)
agent/tests/test_block_trades_tool.py:83
Methodtest_empty_window_reports_error
(self, monkeypatch)
agent/tests/test_fund_nav_tool.py:219
Functiontest_en_dash_page_range_parses
()
agent/tests/test_doc_reader_unicode_page_dashes.py:10
Functiontest_enable_probe_uses_the_stored_url_not_the_echoed_stripped_one
The enable transition must probe the URL on disk, credential included. The form echoes the stripped GET value back, so without the echo guard the
agent/tests/test_channels_config_api.py:618
Functiontest_enabled_parallel_precedes_ddgs
(monkeypatch, adapter, _offline_sources)
agent/tests/test_parallel_search.py:92
Functiontest_enabled_spec_resets_failed_row_and_clears_retry_budget
Retry-budget reset: FAILED is reachable at runtime through the executor's own retry exhaustion, and no API surface may resurrect a system row
agent/tests/scheduling/test_system_jobs.py:450
Functiontest_enabled_spec_seeds_system_job
(tmp_path: Path)
agent/tests/scheduling/test_system_jobs.py:189
Functiontest_enabled_tools_filter_limits_remote_sse_tools
(tmp_path: Path)
agent/tests/test_mcp_sse_integration.py:84
Functiontest_enabled_tools_filter_limits_remote_streamable_http_tools
(tmp_path: Path)
agent/tests/test_mcp_streamable_http_integration.py:88
Functiontest_enabled_tools_filter_limits_remote_tools
enabledTools allowlist restricts which remote tools appear in the registry.
agent/tests/test_mcp_stdio_integration.py:184
Functiontest_encoded_control_name_collisions_are_rejected
()
agent/tests/quantlib/test_neutralization.py:152
Functiontest_encrypted_pem_headers_are_part_of_the_block
()
agent/tests/test_redaction_private_key_blocks.py:25
Functiontest_end_day_includes_subsecond_bars_but_not_next_midnight
Exercise real CSV parsing, range filtering, and OHLCV aggregation.
agent/tests/test_local_loader_end_day.py:12
Functiontest_end_of_backtest_flat_row_is_skipped
The held row before the liquidation is the one that describes the book.
agent/tests/test_attribution_liquidated_last_row.py:28
Methodtest_end_only
(self, fsp)
agent/tests/test_fetch_sina_penalties.py:221
Methodtest_end_pushes_to_end_of_day
(self)
agent/tests/test_finnhub_loader.py:64
Functiontest_end_timing_refuses_a_flow_on_the_opening_valuation
It would already be inside V0, so counting it again double-counts.
agent/tests/quantlib/test_performance.py:280
Methodtest_end_to_end_equity_curve
End-to-end backtest equity curve matches between old and new path.
agent/tests/test_signal_alignment_perf.py:278
Methodtest_enddate_key_accepted
(self)
agent/tests/test_gildata_loader.py:149
← previousnext →17,501–17,600 of 26,887, ranked by callers