MCPcopy Create free account

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

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

Functiontest_vwap_us_typical_price
()
agent/tests/factors/test_base.py:204
Functiontest_wacc_accepts_negative_but_finite_rates
A negative beta or a negative risk-free rate is legitimate; the guard must refuse only non-finite values, not flip the sign semantics.
agent/tests/quantlib/valuation/test_dcf.py:1033
Functiontest_wacc_current_basis_zero_market_value_raises
()
agent/tests/quantlib/valuation/test_dcf.py:789
Functiontest_wacc_optional_premiums_default_to_zero_when_absent
()
agent/tests/quantlib/valuation/test_dcf.py:857
Functiontest_wacc_refuses_non_finite_rates
()
agent/tests/quantlib/valuation/test_dcf.py:1006
Functiontest_wacc_refuses_non_finite_structure_inputs
()
agent/tests/quantlib/valuation/test_dcf.py:1044
Functiontest_wacc_rejects_tax_rate_outside_unit_interval
()
agent/tests/quantlib/valuation/test_dcf.py:843
Functiontest_wacc_rejects_unknown_capital_structure_basis
()
agent/tests/quantlib/valuation/test_dcf.py:831
Methodtest_wacc_sheet_cells_match_result
(self, workbook_path)
agent/tests/quantlib/valuation/test_artifact.py:624
Functiontest_wacc_target_weights_must_be_nonnegative
()
agent/tests/quantlib/valuation/test_dcf.py:817
Functiontest_wacc_target_weights_must_sum_to_one
()
agent/tests/quantlib/valuation/test_dcf.py:803
Functiontest_wait_records_bucket
()
agent/tests/test_host_throttle_memory.py:22
Functiontest_wait_zero_interval_no_op
()
agent/tests/test_host_throttle_memory.py:28
Functiontest_wakeup_still_shortens_a_hinted_sleep
request_wake cuts a long hinted sleep short — the hint does not disarm the wakeup path.
agent/tests/scheduling/test_kernel_sleep_hint.py:160
Functiontest_walk_forward_does_not_silently_drop_an_unmeasurable_window
()
agent/tests/test_validation_missing_equity.py:105
Functiontest_walk_forward_excludes_gap_without_changing_window_boundaries
( n_windows: int, )
agent/tests/test_validation_missing_equity.py:43
Functiontest_walk_forward_expanding_grows_and_rolling_does_not
()
agent/tests/quantlib/test_crossvalidation.py:172
Functiontest_walk_forward_never_trains_on_the_future
()
agent/tests/quantlib/test_crossvalidation.py:154
Functiontest_walk_forward_no_inf_on_zero_equity
walk_forward_analysis must not produce inf when equity hits zero.
agent/tests/test_metrics_inf_zero_equity.py:117
Functiontest_walk_forward_purges_labels_not_observable_at_prediction_time
()
agent/tests/test_ml_strategy_skill.py:61
Functiontest_walk_forward_purges_past_labels_that_reach_into_the_test_block
()
agent/tests/quantlib/test_crossvalidation.py:161
Functiontest_walk_forward_refuses_unmeasurable_window
No boundary value or no observed period cannot become a zero score.
agent/tests/test_validation_missing_equity.py:96
Functiontest_walk_forward_skips_a_single_class_window_with_a_real_classifier
The stub model above accepts any label distribution; scikit-learn's classifiers do not. A training window that happens to hold only one class
agent/tests/test_ml_strategy_skill.py:97
Functiontest_walk_forward_splits_are_leak_free
()
agent/tests/quantlib/test_crossvalidation.py:184
Functiontest_walkforward_can_have_no_usable_folds
()
agent/tests/test_walkforward_empty_training_regressions.py:15
Functiontest_walkforward_skips_fold_whose_training_labels_all_overlap
()
agent/tests/test_walkforward_empty_training_regressions.py:7
Functiontest_wallclock_budget_enforced
(monkeypatch)
agent/tests/test_okx_loader_bounded.py:105
Functiontest_wallclock_budget_enforced
(monkeypatch)
agent/tests/test_ccxt_loader_bounded.py:85
Functiontest_wanted_but_unfillable_plans_are_counted_by_default
A plain engine records the causes without any subclass override.
agent/tests/test_plan_rejected.py:240
Methodtest_warmup_bars
(self)
agent/tests/test_warmup_window.py:73
Functiontest_warmup_bars_use_default_iv_not_the_first_computed_window
()
agent/tests/test_options_hv_warmup.py:21
Functiontest_warmup_edge_does_not_fabricate_from_the_missing_prior_close
The first comparison has no prior close at all. Its window must stay NaN rather than counting a fabricated 0.0: before the fix, row ``window
agent/tests/factors/test_qlib158_cnt_nan_propagation.py:103
Methodtest_warmup_history_still_reaches_the_indicator
The point of loading the extra bars: the strategy starts warmed up. Same evaluation window, twice. Given warm-up history the moving average
agent/tests/test_warmup_window.py:149
Methodtest_warmup_is_nan
First n-1 rows must be NaN.
agent/tests/test_factor_operators.py:128
Methodtest_warmup_is_nan
(self, random_df)
agent/tests/test_factor_operators.py:178
Methodtest_warmup_is_nan
(self, random_df)
agent/tests/test_factor_operators.py:214
Methodtest_warmup_is_nan
(self, random_df)
agent/tests/test_factor_operators.py:250
Methodtest_warmup_is_nan_then_values_start
(self)
agent/tests/test_regime.py:45
Functiontest_warmup_rows_are_nan_then_values_appear
Everything before the 140-bar warmup is NaN; afterwards values exist.
agent/tests/factors/test_corr_rewire.py:90
Functiontest_warn_callback_called_on_server_name_collision
build_registry() must invoke warn_callback when two servers collide after sanitization.
agent/tests/test_registry_mcp_integration.py:225
Functiontest_warn_callback_not_called_when_no_collision
build_registry() must NOT invoke warn_callback when server names are unique after sanitization.
agent/tests/test_registry_mcp_integration.py:252
Functiontest_warn_callback_omitted_still_logs_collision
When warn_callback is absent, logger.warning must still fire for collisions.
agent/tests/test_registry_mcp_integration.py:264
Functiontest_warning_and_log_findings_are_audited_without_blocking
()
agent/tests/test_grounding_registry.py:263
Methodtest_warning_does_not_advise_dropping_a_source
``is_valid_source_order`` rejects a chain with a source removed.
agent/tests/test_stooq_loader.py:375
Functiontest_warning_fires_on_mixed_basket
()
agent/tests/test_price_caliber.py:233
Functiontest_warning_ignores_unknown_and_na
()
agent/tests/test_price_caliber.py:257
Methodtest_warning_names_the_env_var_registry_reads
A substring check would pass on ``VIBE_TRADING_MARKET_DATA_ORDER_*``. That name is not read anywhere, so following the advice is a silent
agent/tests/test_stooq_loader.py:354
Methodtest_warning_signal
(self)
agent/tests/test_strategy_store.py:299
Functiontest_warning_silent_on_single_caliber
()
agent/tests/test_price_caliber.py:245
Functiontest_warnings_come_from_the_run_card
(summary_run_dir)
agent/tests/test_backtest_summary.py:180
Functiontest_watchdog_exits_when_the_run_completes
A finished run must not be touched, however long it was idle.
agent/tests/test_agent_loop_stall_watchdog.py:122
Functiontest_watchdog_fails_a_run_with_no_forward_progress
No LLM completion and no tool result must end the run as failed.
agent/tests/test_agent_loop_stall_watchdog.py:55
Functiontest_watchdog_of_a_finished_run_does_not_fail_the_next_one
A reused AgentLoop must not let run N's watchdog kill run N+1. The thread captures its done-event locally, so replacing ``self._run_done`` fo
agent/tests/test_agent_loop_stall_watchdog.py:141
Functiontest_waterfall_rate_validation
()
agent/tests/quantlib/test_fundmath.py:568
Functiontest_weasyprint_import_is_probed_once_per_process
A weasyprint import that failed must never be retried in the process. The retry is what crashes: the failed import drops weasyprint's cffi ``
agent/tests/test_shadow_account.py:958
Functiontest_weasyprint_probe_is_cached_when_available
A successful probe is reused, and still renders on every call.
agent/tests/test_shadow_account.py:990
Functiontest_web_reader_declares_repeatable_compaction_replay_contract
()
agent/tests/test_readonly_replay_after_microcompact.py:401
Functiontest_web_search_absent_max_results_defaults_to_five
An absent max_results defaults to 5 and is forwarded to the backend.
agent/tests/test_tools_type_value_safety.py:309
Functiontest_web_search_adds_security_warning_to_snippets
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_security_scanner.py:76
Functiontest_web_search_rejects_malformed_max_results
An explicit junk max_results errors instead of searching with 5.
agent/tests/test_tools_type_value_safety.py:297
Functiontest_web_search_rejects_unusable_query
A junk query is refused without any search being attempted.
agent/tests/test_tools_type_value_safety.py:284
Functiontest_web_search_retries_configured_backends_after_transient_failure
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_security_scanner.py:104
Functiontest_web_search_retries_without_backend_when_ddgs_rejects_backend_kw
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_security_scanner.py:141
Functiontest_web_search_treats_no_results_as_empty_success
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_security_scanner.py:177
Functiontest_webhook_host_variants_are_redacted_inside_results
(host)
agent/tests/test_redaction_channel_and_provider_tokens.py:58
Functiontest_websocket_channel_starts_on_a_unix_socket
()
agent/tests/test_websocket_channel_start.py:19
Functiontest_websocket_compatibility_helpers_have_structured_behavior
()
agent/tests/test_channels_runtime.py:296
Functiontest_websocket_field_hints_contract
WebSocket hints: declaration order, secrets, help_key prefix.
agent/tests/test_channel_config_meta.py:376
Functiontest_websocket_token_shaped_non_secrets_land_in_values
The security-flip root cause: requires_token masked → form seeds False.
agent/tests/test_channel_config_meta.py:671
Functiontest_websocket_turn_wall_accepts_optional_chat_id
()
agent/tests/test_channels_runtime.py:288
Functiontest_websockets_server_logger_is_a_logger_not_a_factory
()
agent/tests/test_websocket_channel_start.py:13
Functiontest_week_and_month_tokens_map_like_connector
()
agent/tests/test_mt5_loader_week_month_reject.py:10
Functiontest_week_interval_uses_w1_not_daily
()
agent/tests/test_mt5_loader_week_month_reject.py:27
Functiontest_week_token_maps_to_1wk
()
agent/tests/test_yfinance_interval_map.py:13
Functiontest_weekday_suffixed_claim_dates_match_evidence
Yearless dates with weekday/intraday annotations still match evidence. Reports write a trading day as ``08-10(一)``, ``08-10(周一)盘中`` or ``08-1
agent/tests/test_agent_grounding.py:1133
Methodtest_weekend_bars_do_not_shift_the_return_interval
(self)
agent/tests/test_correlation.py:319
Methodtest_weekend_bars_do_not_shift_the_return_interval
(self)
agent/tests/test_regime.py:152
Functiontest_weekend_row_is_false
(cn_a_client: FakeCalendarClient)
agent/tests/test_paper_trade_calendar.py:58
Methodtest_weekly_monthly_not_intraday
(self)
agent/tests/test_yahoo_loader.py:118
Functiontest_weight_sum_tolerance_is_the_boundary_it_claims_to_be
The tolerance gates on the weight-sum gap, strictly, in both directions.
agent/tests/quantlib/test_attribution.py:171
Functiontest_weights_are_rejected_outside_explicit_mode
()
agent/tests/quantlib/test_combination.py:165
Functiontest_weights_are_renormalized_with_warning
()
agent/tests/test_risk_xray.py:37
Functiontest_weights_never_use_the_return_of_the_row_they_apply_to
()
agent/tests/quantlib/test_combination.py:69
Methodtest_weights_nonnegative
(self)
agent/tests/test_turnover_aware_optimizer.py:36
Methodtest_weights_nonnegative
(self)
agent/tests/test_risk_parity.py:33
Methodtest_weights_sum_to_one
(self)
agent/tests/test_turnover_aware_optimizer.py:27
Methodtest_weights_sum_to_one
(self)
agent/tests/test_risk_parity.py:24
Functiontest_weixin_full_form_preserves_login_state_and_can_clear_allowlist
(tmp_path, monkeypatch, allow_from)
agent/tests/test_channel_noop_refresh.py:424
Functiontest_weixin_refresh_preserves_the_authenticated_endpoint
(tmp_path, monkeypatch)
agent/tests/test_channel_noop_refresh.py:395
Functiontest_welcome_panel_reports_runtime_root_as_workspace
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_user_state_paths.py:240
Functiontest_well_formed_call_runs_end_to_end
The issue scenario: a well-formed MCP call reaches the implementation. Uses the real tool registry against synthetic CSVs. Pre-fix this raised
agent/tests/test_mcp_factor_analysis_contract.py:91
Methodtest_whitespace_normalized
Leading/trailing whitespace is stripped before hashing.
agent/tests/memory/test_memory_dedup.py:38
Methodtest_whitespace_only_raises
(self, tmp_path: Path)
agent/tests/test_persistent_memory.py:571
Methodtest_whitespace_stripped
(self)
agent/tests/test_yfinance_crypto.py:43
Functiontest_whole_universe_zero_bars_is_data_not_ready
()
agent/tests/test_paper_trade_5m_session.py:234
Functiontest_why_loader_drops_exact_zero_inf_downstream
Pins *why* an exact-zero close is dropped at the loader, not kept. A raw ``close.pct_change()`` over a series containing ``0.00`` yields ``in
agent/tests/test_nonpositive_prices.py:63
Methodtest_wick_only_trigger_liquidates
A levered long whose low pierces maintenance is liquidated even when the close recovers; the fill is priced at the adverse mark (bar low).
agent/tests/test_crypto_engine.py:461
Functiontest_wick_through_maintenance_triggers_when_high_low_present
A levered long whose low pierces the maintenance margin is liquidated.
agent/tests/test_market_hooks_liquidation.py:60
Functiontest_wide_date_range_never_truncates_silently
()
agent/tests/test_longbridge_loader.py:18
Functiontest_widget_block_states_that_values_are_not_attached
Guards against the model inventing widget values it never received.
agent/tests/test_openbb_bridge/test_context_injector.py:110
← previousnext →26,401–26,500 of 26,887, ranked by callers