MCPcopy Create free account

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

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

Methodtest_resume_clears_halt
(self, live_root: Path)
agent/tests/test_cli_live.py:189
Methodtest_resume_needs_exactly_two_args
Too few or too many args should fall through to the legacy dispatcher.
agent/tests/test_cli_runtime.py:539
Methodtest_resume_prompt_explicit_new_answers_start_new_session
( self, monkeypatch: pytest.MonkeyPatch, answer: str )
agent/tests/test_cli_interactive.py:243
Methodtest_resume_prompt_treats_plain_text_as_first_turn
Typing a chat message at the resume prompt must not discard it.
agent/tests/test_cli_interactive.py:227
Methodtest_resume_routes
(self)
agent/tests/test_cli_live.py:142
Methodtest_resume_unknown_id_exits_nonzero
(self)
agent/tests/test_cli_runtime.py:533
Methodtest_resume_when_not_halted_is_clean
( self, live_root: Path, capsys: pytest.CaptureFixture[str] )
agent/tests/test_cli_runtime.py:479
Methodtest_resume_when_not_halted_is_success
(self, live_root: Path)
agent/tests/test_cli_live.py:197
Methodtest_resume_without_profile_uses_selected_connector
( self, live_root: Path, monkeypatch: pytest.MonkeyPatch )
agent/tests/test_cli_live.py:234
Functiontest_resumption_row_is_not_a_suspension
()
agent/tests/test_paper_trade_limits_cn_a.py:165
Functiontest_retained_allocation_after_missing_history_updates_prior_holdings
()
agent/tests/test_turnover_direction_changes.py:95
Functiontest_retired_mootdx_is_excluded_with_reason_not_canaried
mootdx left the canary set when the TDX servers stopped answering the mootdx/tdxpy protocol (#1729, mootdx/mootdx#157). It must stay visible as
agent/tests/test_loader_health.py:42
Functiontest_retried_answer_still_passes_grounding
(tmp_path: Path)
agent/tests/test_agent_loop_dsml_tool_calls.py:378
Functiontest_retries_share_one_deadline
(fake_cli, monkeypatch)
agent/tests/test_claude_cli_provider.py:412
Functiontest_retries_transient_failure_then_succeeds
A transient exception is retried (with backoff) and a later attempt wins.
agent/tests/test_web_search_tool.py:84
Functiontest_retry_after_clamped_to_max
A Retry-After larger than the configured cap is clamped to the cap.
agent/tests/test_stream_retry_escalation.py:240
Functiontest_retry_after_honored
A 429 with Retry-After: 7 sleeps exactly 7 seconds.
agent/tests/test_stream_retry_escalation.py:230
Functiontest_retry_after_s_extraction
retry_after_s is the parsed non-negative float, or None when unusable.
agent/tests/test_stream_retry_escalation.py:287
Functiontest_retry_after_s_none_for_connection_reset
A header-less transport error (connection reset) yields retry_after_s=None.
agent/tests/test_stream_retry_escalation.py:265
Functiontest_retry_backoff_is_exponential_and_capped
(tmp_path: Path)
agent/tests/test_scheduled_research_executor.py:369
Functiontest_retry_billing_does_not_inflate_context_meter
(tmp_path, monkeypatch)
agent/tests/test_llm_cost_accounting.py:379
Functiontest_retry_cancel_before_retry_preserves_cache_and_source
model_copy site 1 (the trap): cancelling during the retry wait rewrites the failed result — cache/token_source must be in the update dict, or the
agent/tests/test_swarm_cache_source.py:496
Functiontest_retry_delay_backoff_sequence_is_clamped
()
agent/tests/scheduling/test_kernel.py:332
Functiontest_retry_delay_knob_defaults
Both new max-delay knobs default to 30.0 seconds.
agent/tests/test_stream_retry_escalation.py:447
Functiontest_retry_delay_zero_base_disables_backoff
()
agent/tests/scheduling/test_kernel.py:343
Functiontest_retry_details_reach_persisted_usage
(fake_cli, monkeypatch, tmp_path, streaming)
agent/tests/test_claude_cli_provider.py:559
Functiontest_retry_exhausted_accumulates_cache_and_source
model_copy site 3: the exhausted rewrite carries cumulative cache.
agent/tests/test_swarm_cache_source.py:542
Functiontest_retry_run_default_resume_passes_no_resume_from
Default retry stays a full re-run: no resume_from handed to the runtime.
agent/tests/test_swarm_retry.py:98
Functiontest_retry_run_missing_returns_error
(tmp_path, monkeypatch)
agent/tests/test_swarm_retry.py:35
Functiontest_retry_run_refuses_running_run
(tmp_path, monkeypatch)
agent/tests/test_swarm_retry.py:55
Functiontest_retry_run_rejects_path_shaped_run_id
(tmp_path, monkeypatch)
agent/tests/test_swarm_retry.py:45
Functiontest_retry_run_relaunches_failed_run_with_same_preset
(tmp_path, monkeypatch)
agent/tests/test_swarm_retry.py:67
Functiontest_retry_run_resume_rejects_completed_run
resume=True is refused for a completed run (failed/cancelled only).
agent/tests/test_swarm_retry.py:145
Functiontest_retry_run_resume_true_passes_reconciled_run
resume=True replays: the reconciled original run is handed to the runtime.
agent/tests/test_swarm_retry.py:120
Methodtest_retry_state_round_trips_and_legacy_jobs_get_defaults
(self, tmp_path: Path)
agent/tests/test_scheduled_research_store.py:344
Functiontest_retry_success_accumulates_cache_and_source
model_copy site 2: the success rewrite carries cumulative cache.
agent/tests/test_swarm_cache_source.py:512
Functiontest_retry_success_keeps_estimated_label_sticky
One estimated attempt contaminates the cumulative total — the merged label must stay 'estimated' even when the final attempt was provider.
agent/tests/test_swarm_cache_source.py:528
Functiontest_retrying_one_task_does_not_touch_a_concurrent_sibling_tasks_output
Two tasks assigned to the same agent, dispatched concurrently (e.g. two branches of the DAG with no dependency between them): retrying one mus
agent/tests/test_swarm_retry_artifact_isolation.py:370
Functiontest_returned_display_and_ref_can_be_cited_without_extra_calculation
(vendor, tmp_path)
agent/tests/test_gildata_fin_query.py:186
Methodtest_returns_board_row_name_with_spt_1
(self)
agent/tests/api/test_positions_sectors.py:568
Methodtest_returns_close_price
(self)
agent/tests/test_base_engine.py:959
Methodtest_returns_default_for_missing_value
( self, monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_env_schema.py:587
Methodtest_returns_empty_without_key
(self, monkeypatch)
agent/tests/test_finnhub_loader.py:100
Methodtest_returns_first_available
(self)
agent/tests/test_registry.py:396
Methodtest_returns_first_child_failure_and_stops_sibling
( self, tmp_path: Path, backend_code: int | None, frontend_code: int | None,
agent/tests/test_cli_setup_dev.py:202
Functiontest_returns_gap_stays_nan
(alpha_id, gap_panel)
agent/tests/factors/test_pct_change_gap_preserves_nan.py:108
Methodtest_returns_merged_history_and_latest
(self)
agent/tests/test_southbound_tool.py:43
Methodtest_returns_normalized_dataframe
(self, loader, mock_ctx)
agent/tests/test_futu_loader.py:240
Methodtest_returns_realtime_and_history
(self)
agent/tests/test_northbound_tool.py:43
Methodtest_returns_requested_if_available
(self)
agent/tests/test_registry.py:443
Methodtest_returns_result_dict
(self)
agent/tests/test_bench_parallel.py:28
Functiontest_returns_results_and_passes_backend_list
Happy path: results mapped to title/url/snippet and the backend list is forwarded.
agent/tests/test_web_search_tool.py:51
Methodtest_returns_rows_with_auth_header
(self, monkeypatch: pytest.MonkeyPatch)
agent/tests/test_iwencai_tool.py:85
Methodtest_returns_run_failed_when_step_fails
(self, tmp_path: Path)
agent/tests/test_cli_setup_dev.py:124
Methodtest_returns_shaped_dataframe
(self, monkeypatch)
agent/tests/test_alphavantage_loader.py:66
Methodtest_returns_skip_on_exception
(self)
agent/tests/test_bench_parallel.py:57
Functiontest_reused_calendar_mapping_preserves_own_bar_lag_after_column_drop
Shared and irregular calendars retain exact dates, marks and signal lag.
agent/tests/test_signal_alignment_perf.py:840
Methodtest_reuses_moonshot_wire_behaviour
(self)
agent/tests/test_llm.py:932
Functiontest_revenue_concept_priority_keeps_new_standard_first
()
agent/tests/test_fundamental_schema.py:44
Functiontest_revenue_growth_uses_annual_period_over_period_semantics
()
agent/tests/test_fundamental_schema.py:128
Functiontest_reversal_penalty_can_reallocate_to_unchanged_direction
Once reversing is correctly priced, holding the unflipped asset is cheaper.
agent/tests/test_turnover_direction_changes.py:39
Functiontest_reversal_rebate_is_allocated_once
(short_first)
agent/tests/test_trade_journal_reversal_fees.py:76
Methodtest_reversed_dates_raise
(self)
agent/tests/test_engine_robustness.py:515
Methodtest_reversed_dates_rejected
(self)
agent/tests/test_engine_robustness.py:384
Functiontest_reversed_range_is_invalid_request
()
agent/tests/test_paper_trade_tool.py:237
Functiontest_reversed_window_is_rejected_not_reported_as_missing_coverage
()
agent/tests/test_research_reports_tool.py:215
Functiontest_revision_idempotency_cannot_return_another_series
(tmp_path)
agent/tests/test_research_artifact_store.py:158
Functiontest_revision_payload_replaced_during_read_is_a_miss
(tmp_path, monkeypatch)
agent/tests/test_local_loader_source_revision.py:196
Functiontest_revision_requires_existing_series_and_preserves_subject
(tmp_path)
agent/tests/test_research_artifact_store.py:130
Methodtest_revoke_deletes_token_and_mandate
(self, live_root: Path)
agent/tests/test_cli_live.py:320
Methodtest_revoke_nothing_to_remove
(self, live_root: Path)
agent/tests/test_cli_live.py:337
Methodtest_revoke_routes
(self)
agent/tests/test_cli_live.py:147
Functiontest_revolver_plug_is_explicit_and_balance_sheet_still_balances
The revolver draw and the resulting balance are visible result fields.
agent/tests/quantlib/valuation/test_threestatement.py:497
Functiontest_rewritten_local_source_invalidates_persisted_bars
(tmp_path, monkeypatch, kind)
agent/tests/test_local_loader_source_revision.py:56
Methodtest_rho_is_per_percentage_point
(self, S, K, T, r, sigma, q, kind)
agent/tests/quantlib/test_options.py:156
Functiontest_rich_email_renderer_preserves_markdown_and_sanitizes_html
()
agent/tests/test_email_rich_delivery.py:41
Methodtest_rich_markup_in_title_is_escaped
(self, tmp_path: Path, capsys: pytest.CaptureFixture[str])
agent/tests/test_cli_memory.py:119
Methodtest_rich_messages_disabled_falls_back_to_a_fresh_send
(self)
agent/tests/test_telegram_stream_end_no_preview.py:114
Methodtest_rich_send_failure_falls_back_to_a_fresh_send
(self)
agent/tests/test_telegram_stream_end_no_preview.py:125
Methodtest_rich_send_success_does_not_try_to_delete_a_nonexistent_preview
(self)
agent/tests/test_telegram_stream_end_no_preview.py:136
Functiontest_rich_success_payload_validates
()
agent/tests/test_paper_trade_schema.py:136
Functiontest_right_leg_uses_high_vwap_blend_against_raw_volume
()
agent/tests/factors/test_gtja191_alpha101_formula.py:30
Functiontest_risk_free_rate_none_falls_back_to_schema_default
risk_free_rate is optional: explicit null means "use the 0.05 default".
agent/tests/test_options_pricing_degenerate.py:113
Functiontest_risk_increasing_action_executes_and_counts_inside_daily_lock
( monkeypatch, )
agent/tests/test_etoro_live_actions.py:148
Functiontest_risk_increasing_edit_requires_mandate_when_halted
(monkeypatch)
agent/tests/test_etoro_live_actions.py:124
Functiontest_risk_models_liquidate_at_exact_maintenance_threshold
(account: AccountState, frames: dict[str, Marke
agent/tests/test_perpetual_risk.py:348
Functiontest_risk_models_reject_unsynchronized_position_frames
(margin_mode: str)
agent/tests/test_perpetual_risk.py:516
Functiontest_risk_models_reject_wrong_modes_and_margin_assignments
( evaluate: object, account: AccountState, match: str, )
agent/tests/test_perpetual_risk.py:426
Functiontest_risk_outputs_are_frozen
()
agent/tests/test_perpetual_risk.py:276
Functiontest_risk_reducing_close_allowed_when_halted
(monkeypatch)
agent/tests/test_etoro_live_actions.py:107
Methodtest_risk_xray
(self)
agent/tests/test_cross_market_annualization.py:63
Functiontest_risk_xray_arguments_are_empty_when_nothing_priced_can_be_routed
An unroutable or unpriced book yields no arguments instead of a guess.
agent/tests/test_portfolio_service.py:668
Functiontest_risk_xray_refuses_prices_with_no_adjacent_shared_returns
()
agent/tests/test_risk_xray_return_gaps_regressions.py:22
Functiontest_risk_xray_returns_do_not_bridge_missing_prices
()
agent/tests/test_risk_xray_return_gaps_regressions.py:7
Functiontest_rlimit_as_bytes_falls_back_on_invalid_env
(monkeypatch)
agent/tests/test_runner_env.py:386
Functiontest_rlimit_as_bytes_respects_env_override
(monkeypatch)
agent/tests/test_runner_env.py:381
Functiontest_rlimit_bootstrap_argv_shape_on_posix
()
agent/tests/test_runner_env.py:278
Functiontest_rlimit_bootstrap_is_valid_python
()
agent/tests/test_runner_env.py:293
Functiontest_roa_sign_direction
Positive factor: higher ROA scores higher (no inversion).
agent/tests/factors/test_fundamental_expansion_samples.py:182
Functiontest_robinhood_dataclass_dates_are_json_safe_end_to_end
A real FastMCP dataclass round trip must stay JSON-safe (#922).
agent/tests/test_mcp_client_adapter.py:386
← previousnext →23,501–23,600 of 26,887, ranked by callers