MCPcopy Create free account

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

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

Functiontest_runner_dollar_budget_requires_explicit_prices
(tmp_path, monkeypatch)
agent/tests/test_api_live_runtime.py:199
Functiontest_runner_injects_declared_val_columns_for_cn_symbols
( fake_tushare: _FakeDailyBasicApi, )
agent/tests/factors/test_fundamental_valuation_samples.py:270
Functiontest_runner_injects_nan_fundamental_frame_when_loader_fails
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_factor_gate_fund_prefix.py:194
Functiontest_runner_injects_requested_fundamental_panel
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_factor_gate_fund_prefix.py:73
Functiontest_runner_leaves_grading_and_factor_metrics_empty
Alive or dead is the evaluation step's verdict, and a strategy has no IC.
agent/tests/test_backtest_records_bench.py:147
Functiontest_runner_positions_carry_qty_for_the_halt_sweep
(tmp_path, monkeypatch)
agent/tests/test_robinhood_live_account_binding.py:269
Functiontest_runner_reads_and_submits_for_the_current_mandate_account
(tmp_path, monkeypatch)
agent/tests/test_robinhood_live_account_binding.py:238
Functiontest_runner_refuses_to_build_for_a_mandate_without_an_account
(tmp_path, monkeypatch)
agent/tests/test_robinhood_live_account_binding.py:233
Functiontest_runner_rejects_val_field_outside_whitelist
()
agent/tests/factors/test_fundamental_valuation_samples.py:320
Functiontest_runner_selected_fund_factor_projects_panel_back_to_data_map
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_factor_gate_fund_prefix.py:153
Methodtest_runner_settings_json_reaches_authenticated_api
(self, tmp_path)
agent/tests/test_cli_live.py:96
Functiontest_runner_settings_roundtrip_and_running_guard
(tmp_path, monkeypatch)
agent/tests/test_api_live_runtime.py:181
Functiontest_runner_skips_when_claim_held_by_other_process
(live_root: Path)
agent/tests/test_sweep_latch.py:285
Functiontest_runner_start_blocked_by_kill_switch
(tmp_path: Path, monkeypatch)
agent/tests/test_api_live_runtime.py:218
Functiontest_runner_start_keeps_task_registered_while_scheduler_runs
The driver task must stay registered for as long as the scheduler ticks. Regression: ``_drive_runner`` returned as soon as ``run_loop`` did, so t
agent/tests/test_api_live_runtime.py:394
Functiontest_runner_start_rejects_readonly_connector_without_runner
( tmp_path: Path, monkeypatch )
agent/tests/test_api_live_runtime.py:205
Functiontest_runner_start_requires_committed_mandate
(tmp_path: Path, monkeypatch)
agent/tests/test_api_live_runtime.py:172
Functiontest_runner_start_returns_503_when_broker_unavailable
(tmp_path, monkeypatch)
agent/tests/test_api_live_runtime.py:994
Functiontest_runner_start_success_then_idempotent
(tmp_path: Path, monkeypatch)
agent/tests/test_api_live_runtime.py:233
Functiontest_runner_start_without_a_scheduler_task_still_returns
``run_loop`` declining to start (no mandate) must not pin the driver forever. ``LiveRunner.run_loop`` returns early when the mandate is missing o
agent/tests/test_api_live_runtime.py:488
Functiontest_runner_stop_actually_stops_the_scheduler
``POST /live/runner/stop`` must stop the scheduler, not just a wrapper task. Regression: the stop endpoint reported ``was_running: false`` becaus
agent/tests/test_api_live_runtime.py:434
Functiontest_runner_stop_cancels_running_task
(tmp_path: Path, monkeypatch)
agent/tests/test_api_live_runtime.py:273
Functiontest_runner_stop_idempotent_when_not_running
(tmp_path: Path, monkeypatch)
agent/tests/test_api_live_runtime.py:264
Functiontest_runner_stop_is_idempotent_after_a_real_stop
A second stop on an already-stopped runner stays a no-op.
agent/tests/test_api_live_runtime.py:462
Functiontest_runner_stops_calling_the_broker_once_the_account_is_gone
(tmp_path, monkeypatch)
agent/tests/test_robinhood_live_account_binding.py:258
Functiontest_runner_val_injection_skips_non_cn_symbols
( fake_tushare: _FakeDailyBasicApi, )
agent/tests/factors/test_fundamental_valuation_samples.py:297
Methodtest_running_becomes_interrupted_without_rerun
(self)
agent/tests/test_background_store_recovery.py:53
Methodtest_running_status
(self)
agent/tests/test_cli_interactive.py:571
Methodtest_runs_all_steps
(self, tmp_path: Path)
agent/tests/test_cli_setup_dev.py:106
Methodtest_runs_must_be_an_array
(self)
agent/tests/test_strategy_discovery_refresh.py:204
Functiontest_runtime_applies_the_channel_progress_settings
(tmp_path)
agent/tests/test_channels_attempt_progress.py:144
Functiontest_runtime_bounds_llm_metadata_before_persistence
( monkeypatch: pytest.MonkeyPatch, tmp_path, )
agent/tests/test_swarm_run_metadata.py:146
Functiontest_runtime_construction_with_unreachable_mcp_server_does_not_raise
A misconfigured MCP server must not break ``SwarmRuntime`` construction. Discovery of remote tools is M2's job and must stay lazy: a typo in an
agent/tests/test_swarm_m1_config_plumbing.py:163
Functiontest_runtime_default_construction_keeps_agent_config_none
Default construction (no kwarg) leaves ``_agent_config`` at None. Existing callers (``api_server.py``, ``cli/_legacy.py``, ``mcp_server.py``,
agent/tests/test_swarm_m1_config_plumbing.py:59
Functiontest_runtime_explicit_none_construction_is_identical
Passing ``agent_config=None`` explicitly is equivalent to omitting it.
agent/tests/test_swarm_m1_config_plumbing.py:70
Functiontest_runtime_fields_preserved_across_reensure
(tmp_path: Path)
agent/tests/scheduling/test_system_jobs.py:261
Functiontest_runtime_layer_boundary_sync_writes_run_json
After a layer finishes, run.json must show the layer's terminal task statuses without needing hydrate.
agent/tests/test_swarm_status_hydration.py:494
Functiontest_runtime_load_drops_mcp_servers_when_mixed_with_unknown_keys
Default path: session overrides with mcpServers + unknown keys must strip mcpServers and still merge cleanly on top of the disk config.
agent/tests/test_agent_config.py:563
Functiontest_runtime_load_preserves_mcp_servers_when_opted_in_with_unknown_keys
Opt-in path: with ALLOW_SESSION_MCP_SERVERS=1, valid mcpServers must survive the merge even when the session payload also carries unknown keys
agent/tests/test_agent_config.py:585
Functiontest_runtime_loads_dotenv_before_capturing_provider_model
( monkeypatch: pytest.MonkeyPatch, tmp_path, )
agent/tests/test_swarm_run_metadata.py:65
Functiontest_runtime_metadata_is_frozen_at_construction_with_model_override
( monkeypatch, tmp_path: Path, )
agent/tests/test_chat_response_metadata.py:34
Functiontest_runtime_overrides_can_replace_server_transport
(tmp_path: Path)
agent/tests/test_agent_config.py:281
Functiontest_runtime_overrides_fall_back_to_base_config_when_merge_is_invalid
(tmp_path: Path)
agent/tests/test_agent_config.py:321
Functiontest_runtime_overrides_take_precedence_and_merge_nested_servers
(tmp_path: Path)
agent/tests/test_agent_config.py:239
Functiontest_runtime_preserves_each_same_agent_tasks_real_files
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, parallel: bool )
agent/tests/test_swarm_task_artifact_isolation.py:19
Functiontest_runtime_records_effective_responses_transport
( monkeypatch: pytest.MonkeyPatch, tmp_path, provider: str, adapter: str | None, native_av
agent/tests/test_swarm_run_metadata.py:276
Functiontest_runtime_redacts_non_public_llm_model_metadata_before_persistence
( monkeypatch: pytest.MonkeyPatch, tmp_path, model: str, )
agent/tests/test_swarm_run_metadata.py:122
Functiontest_runtime_redacts_unsupported_reasoning_effort_before_persistence
( monkeypatch: pytest.MonkeyPatch, tmp_path, )
agent/tests/test_swarm_run_metadata.py:169
Functiontest_runtime_registry_classifies_gold_fx_futures_consistently
The runtime registry must agree with the engine classifier for gold / FX / futures. PR #1280 added the metal/FX/futures patterns to the engine
agent/tests/test_agent_grounding.py:839
Functiontest_runtime_resolves_unset_responses_api_to_false
( monkeypatch: pytest.MonkeyPatch, tmp_path, )
agent/tests/test_swarm_run_metadata.py:92
Functiontest_runtime_root_defaults_to_home
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_user_state_paths.py:16
Functiontest_runtime_root_expands_user_in_env_override
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_user_state_paths.py:30
Functiontest_runtime_root_honors_env_override
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
agent/tests/test_user_state_paths.py:22
Functiontest_runtime_root_resolves_into_a_temp_sandbox
The default root must be a temp sandbox, never the user's own.
agent/tests/test_config_root_sandbox.py:34
Functiontest_runtime_roots_keep_their_records_and_tables_separate
(tmp_path)
agent/tests/test_background_store_recovery.py:276
Functiontest_runtime_style_worker_result_construction_defaults_new_fields
runtime.py builds WorkerResult(status=..., summary="", error=...) at its timeout/exception paths without any token fields; that must stay valid.
agent/tests/test_swarm_cache_source.py:216
Functiontest_runtime_threads_grounding_block_into_layer_workers
Regression: _execute_layer must receive the run-level grounding block.
agent/tests/test_swarm_grounding.py:296
Functiontest_sa_lines_must_be_declared_in_brl
()
agent/tests/test_brazil_market_routing.py:44
Functiontest_sa_symbols_share_one_market_data_contract
(symbol: str)
agent/tests/test_brazil_market_routing.py:24
Functiontest_safe_arith_evaluates
(expr: str, expected: float)
agent/tests/test_financial_rigor_tool.py:59
Functiontest_safe_arith_rejects_disallowed
(evil: str)
agent/tests/test_financial_rigor_tool.py:71
Functiontest_safe_div_propagates_nan
()
agent/tests/factors/test_base.py:193
Functiontest_safe_div_zero_denominator_is_nan
()
agent/tests/factors/test_base.py:186
Functiontest_safe_job_id_regex_rejects_system_ids
()
agent/tests/scheduling/test_system_job_protection.py:169
Methodtest_safe_price_fast_path
Fast path (_arr/_row/_col) returns same result as slow path.
agent/tests/test_signal_alignment_perf.py:522
Functiontest_safe_user_path_rejects_root_home_credentials
()
agent/tests/test_doc_reader_security.py:31
Methodtest_same_asset_correlation_is_one
(self)
agent/tests/test_correlation.py:251
Methodtest_same_config_produces_same_key
Identical server_name and config should yield the same cache key.
agent/tests/test_mcp_specs_cache.py:98
Methodtest_same_date_valid
(self)
agent/tests/test_engine_robustness.py:512
Functiontest_same_day_fill_flag_preserves_legacy_behavior
(tmp_path: Path)
agent/tests/test_options_next_bar_fill.py:114
Methodtest_same_day_sell_allowed
KRX permits same-day round trips — no T+1 interception.
agent/tests/test_korea_equity_engine.py:134
Methodtest_same_day_sell_is_blocked
(self)
agent/tests/test_composite_market_rules.py:54
Functiontest_same_direction_target_change_resizes_actual_position
()
agent/tests/test_base_engine.py:614
Functiontest_same_direction_target_reduction_partially_closes
()
agent/tests/test_base_engine.py:630
Methodtest_same_filename_from_two_messages_does_not_overwrite
( self, channel: WeixinChannel )
agent/tests/test_weixin_media_filename_collision.py:75
Functiontest_same_inputs_produce_identical_outcomes
()
agent/tests/test_paper_trade_golden_cn_a.py:249
Functiontest_same_inputs_produce_identical_results
()
agent/tests/test_paper_trade_readiness.py:409
Functiontest_same_line_overwrite_is_flagged
()
agent/tests/test_dataclass_field_name_collisions.py:313
Methodtest_same_market
(self)
agent/tests/test_market_detection.py:294
Functiontest_same_metrics_on_a_new_window_are_new_evidence
(run_root, store, artifact_id)
agent/tests/test_backtest_records_bench.py:245
Methodtest_same_name_desc_different_body
Same name+desc but different body produces different hash.
agent/tests/memory/test_memory_dedup.py:50
Methodtest_same_name_different_body_not_duplicate
Same name+desc but different body is NOT a duplicate (overwrite).
agent/tests/memory/test_memory_dedup.py:77
Methodtest_same_payload_hashes_identically_twice
(self)
agent/tests/quantlib/valuation/test_artifact.py:263
Functiontest_same_response_dispatches_its_tool_when_nothing_is_cancelled
Control for the test above: the scripted tool-call response really does reach the registry when no cancellation fires, so the empty ``executed``
agent/tests/test_swarm_worker_cancel.py:156
Functiontest_same_returns_isolates_allocation
Holding benchmark returns leaves selection and interaction at zero.
agent/tests/quantlib/test_attribution.py:157
Functiontest_same_sdk_wrapper_resolves_credentials_for_each_request
Exercise the real wrapper/client boundary without a Copilot account.
agent/tests/test_copilot_provider.py:213
Methodtest_same_second_and_hash_collisions_preserve_both_files
( self, channel: WeixinChannel, monkeypatch: pytest.MonkeyPatch, same_url: bool )
agent/tests/test_weixin_media_filename_collision.py:54
Methodtest_same_start_end_allowed
start_date == end_date is valid (single-day backtest).
agent/tests/test_engine_robustness.py:493
Functiontest_same_symbol_sell_then_buy_both_fill_on_the_same_day
()
agent/tests/test_paper_trade_rejections.py:249
Functiontest_same_ticker_different_markets_remain_distinct
Market-qualified identifiers cannot lend evidence to each other.
agent/tests/test_grounding_keyed_metric_paths.py:137
Methodtest_same_title_different_types_keep_separate_index_rows
( self, tmp_path: Path )
agent/tests/test_persistent_memory.py:198
Methodtest_same_universe_same_name_raises_duplicate
(self)
agent/tests/test_strategy_store_adaptation.py:167
Functiontest_same_weights_isolates_selection
Matching the benchmark weights leaves allocation and interaction at zero.
agent/tests/quantlib/test_attribution.py:149
Functiontest_sample_clamps_to_max_thirty
()
agent/tests/test_report_audit_tool.py:90
Functiontest_sample_fails_closed
(build_sample)
agent/tests/test_binance_tolerance_calibration.py:201
Functiontest_sample_is_reproducible_with_seed
()
agent/tests/test_report_audit_tool.py:94
Functiontest_sample_returns_all_when_fewer_than_three
()
agent/tests/test_report_audit_tool.py:86
Functiontest_sandbox_credentials_absent_in_this_environment
()
agent/tests/test_runner_env.py:156
Functiontest_sandbox_home_keeps_child_processes_importable
A subprocess spawned under the sandbox must still import its deps. The suite hands its own environment, home included, to every subprocess it
agent/tests/test_config_root_sandbox.py:113
Functiontest_sandbox_roots_follow_home_override
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
agent/tests/test_user_state_paths.py:182
← previousnext →23,801–23,900 of 26,887, ranked by callers