MCPcopy Create free account

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

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

Functiontest_engine_and_quantlib_are_the_same_object
The engine must not carry a second copy of this math.
agent/tests/quantlib/test_options.py:397
Functiontest_engine_counts_are_internally_consistent
()
agent/tests/test_distribution_skill_manifest.py:74
Functiontest_engine_failure_envelope_has_no_summary_and_no_ohlcv
(summary_run_dir)
agent/tests/test_backtest_summary.py:308
Functiontest_engine_family_execution_is_code_order_independent
( name: str, codes: list[str] )
agent/tests/test_execution_causality.py:188
Functiontest_engine_fingerprint_defaults_are_the_pt_v11_parameters
()
agent/tests/test_paper_trade_v12_schema.py:285
Functiontest_engine_fingerprint_is_deterministic_and_input_sensitive
()
agent/tests/test_paper_trade_v12_schema.py:274
Functiontest_engine_fingerprint_matches_the_frozen_formula
()
agent/tests/test_paper_trade_v12_schema.py:249
Functiontest_engine_keys_and_runner_internals_are_not_flagged
()
agent/tests/test_backtest_unrecognized_config_keys.py:37
Functiontest_engine_runs_and_settles
(tmp_path: Path, name: str)
agent/tests/test_options_strategy_engines.py:42
Functiontest_engine_scalar_metrics_stdout_is_strict_json
Explosive equity sets annual_return=inf; stdout must not emit Infinity.
agent/tests/test_engine_metrics_json.py:13
Functiontest_engine_warnings_are_not_mistaken_for_the_card_warnings
Sharing a name is not sharing a value. The card's top-level `warnings` comes from `config["content_filter_warnings"]`, but the options engine
agent/tests/test_run_card_structured_metrics.py:112
Functiontest_engine_zero_bar_close_counts_in_average
()
agent/tests/test_metrics_holding_period.py:52
Functiontest_engle_granger_example_uses_quantlib_not_a_local_fit
The unnamed-series KeyError lived in a hand-rolled OLS fit inside the skill; the tested implementation is ``src.quantlib.timeseries``.
agent/tests/test_correlation_analysis_skill.py:44
Functiontest_engle_granger_handles_series_name
(name)
agent/tests/test_correlation_analysis_skill.py:32
Functiontest_enrich_price_frames_with_fundamentals_respects_point_in_time_dates
()
agent/tests/test_tushare_fundamentals_provider.py:150
Functiontest_ensure_consumes_system_job_specs_by_default
T8/T9 edit surface: appending to _SYSTEM_JOB_SPECS is enough — the default ensure path (no specs kwarg, as T12 will call it) picks it up.
agent/tests/scheduling/test_system_jobs.py:139
Functiontest_ensure_registered_rechecks_env
The refresh hook sits before the ``_registered`` early return.
agent/tests/test_source_order_overrides.py:215
Functiontest_ensure_session_id_honours_an_explicit_id
(sessions_dir)
agent/tests/test_cli_session_id.py:101
Functiontest_ensure_session_id_is_idempotent_for_a_known_id
Re-registering an existing session returns the id rather than raising.
agent/tests/test_cli_session_id.py:105
Functiontest_ensure_session_id_persists_a_session_record
(sessions_dir)
agent/tests/test_cli_session_id.py:83
Functiontest_ensure_session_id_survives_an_unwritable_store
Persistence is best effort — a store failure must not restore the bug.
agent/tests/test_cli_session_id.py:89
Functiontest_ensure_system_jobs_runs_before_executor_start
Ordering spy on the real production call path (flag on, spec on).
agent/tests/test_scheduling_lifespan_owner.py:326
Functiontest_enterprise_value_finite_bridge_is_unchanged
()
agent/tests/quantlib/valuation/test_comps.py:823
Functiontest_enterprise_value_missing_required_input_raises
()
agent/tests/quantlib/valuation/test_comps.py:217
Functiontest_enterprise_value_refuses_negative_bridge_magnitudes
()
agent/tests/quantlib/valuation/test_comps.py:828
Functiontest_enterprise_value_refuses_non_finite_inputs
()
agent/tests/quantlib/valuation/test_comps.py:807
Functiontest_enterprise_value_round_trips_through_equity_value_and_back
`equity_value_from_enterprise_value` is the exact inverse bridge.
agent/tests/quantlib/valuation/test_comps.py:192
Methodtest_enters_and_exits_across_thresholds
(self)
agent/tests/test_regime.py:86
Functiontest_entire_batch_reaches_the_next_model_request
(tmp_path, monkeypatch)
agent/tests/test_swarm_context.py:25
Functiontest_entity_cannot_be_its_own_parent
()
agent/tests/test_entities_spine.py:631
Functiontest_entity_constructs_and_is_immutable
()
agent/tests/test_entities_spine.py:617
Functiontest_entity_panel_is_immutable_and_ordered
(tmp_path)
agent/tests/test_entities_spine.py:1061
Functiontest_entity_rejects_blank_id_and_unknown_type
()
agent/tests/test_entities_spine.py:624
Functiontest_entry_commission_matches_options_engine_cash_semantics
Long and short entry fees both increase signed strategy entry cost.
agent/tests/test_options_payoff.py:127
Methodtest_entry_rows_are_excluded_from_trade_counts
(self, tmp_path)
agent/tests/test_strategy_discovery_harness.py:479
Functiontest_enum_text_strips_sdk_enum_reprs_but_keeps_symbols_and_numbers
()
agent/tests/test_cli_connector_renderers.py:249
Functiontest_enumerated_mcp_list_header_states_the_real_count
The "(N)" heading on the tool list must be the real tool count.
agent/tests/test_readme_counts.py:266
Functiontest_enumerated_mcp_tool_list_matches_the_server
The spelled-out tool list must be the server's list, in its order.
agent/tests/test_readme_counts.py:253
Methodtest_env_directory_is_searched_first
(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
agent/tests/test_research_playbooks.py:257
Functiontest_env_example_default_matches_provider_registry
()
agent/tests/test_llm_provider_defaults.py:190
Methodtest_env_mapping_to_openai_vars
(self)
agent/tests/test_llm.py:943
Methodtest_env_override_and_reset
( self, monkeypatch: pytest.MonkeyPatch )
agent/tests/test_env_schema.py:338
Functiontest_env_override_extends_allow_list
()
agent/tests/test_mcp_host_origin_guard.py:160
Functiontest_env_overrides_backends
VIBE_TRADING_SEARCH_BACKENDS overrides the default engine list.
agent/tests/test_web_search_tool.py:68
Functiontest_envelope_bookkeeping_is_not_observed_evidence
( tmp_path: Path, tool: str, field: str )
agent/tests/test_grounding_code_tool_envelope.py:29
Methodtest_envelope_carries_lag_coverage_and_full_portfolio_count
(self)
agent/tests/test_etf_holdings_tool.py:433
Functiontest_envelope_includes_universe_meta_when_present
(capsys, monkeypatch, _reg, _captured_html_context)
agent/tests/test_alpha_bench_meta_survivorship.py:121
Functiontest_envelope_reports_all_three_measures_and_their_workings
The success envelope is well formed, serializable, and self-auditing.
agent/tests/test_cashflow_analytics_tool.py:53
Functiontest_envelope_shape
Every ok response must include the unified envelope keys.
agent/tests/test_doc_reader.py:170
Functiontest_envelope_summary_matches_direct_build
(summary_run_dir)
agent/tests/test_backtest_summary.py:285
Methodtest_environ_get_basic
(self)
tools/test_ci_env_var_gate.py:70
Methodtest_environ_get_with_default
(self)
tools/test_ci_env_var_gate.py:75
Methodtest_eof_in_non_interactive_context
(self, tmp_path: Path, capsys: pytest.CaptureFixture[str])
agent/tests/test_cli_memory.py:200
Functiontest_episode_starts_at_last_high_water_mark_before_worst_trough
( values, peak, trough, recovery )
agent/tests/quantlib/test_drawdown_revisited_peak.py:25
Functiontest_epsilon_skips_noop_dates
()
agent/tests/test_rebalance_notes.py:49
Functiontest_equal_complete_sources_are_allowed
(monkeypatch, tmp_path)
agent/tests/test_longbridge_credentials.py:75
Functiontest_equal_fallback_rows_sum_to_one_like_method_equal
A fallback row is the same weight vector ``method='equal'`` would use.
agent/tests/quantlib/test_combination_equal_fallback_weights.py:26
Functiontest_equal_values_cannot_cross_instrument_reference
(tmp_path)
agent/tests/test_grounding_keyed_metric_paths.py:90
Methodtest_equal_vol_gives_equal_weight
Assets with identical volatility → equal weights.
agent/tests/test_risk_parity.py:15
Functiontest_equal_weight_beta_is_one_against_equal_weight_proxy
()
agent/tests/test_risk_xray.py:160
Functiontest_equal_weighted_scaling_is_not_cap_weighted
()
agent/tests/quantlib/test_factormodel.py:62
Functiontest_equal_weights_reproduce_the_mean_of_standardized_factors
()
agent/tests/quantlib/test_combination.py:30
Methodtest_equity_and_cn_futures_currencies
(self, code, currency)
agent/tests/test_composite_currency_guard.py:35
Functiontest_equity_bridge_refuses_negative_magnitudes
()
agent/tests/quantlib/valuation/test_dcf.py:765
Functiontest_equity_bridge_refuses_non_finite_enterprise_value
()
agent/tests/quantlib/valuation/test_dcf.py:1121
Functiontest_equity_bridge_requires_positive_diluted_shares
()
agent/tests/quantlib/valuation/test_dcf.py:777
Methodtest_equity_codes
(self)
agent/tests/test_signal_alignment_perf.py:600
Functiontest_equity_commission_is_read_by_the_selected_engine
()
agent/tests/test_backtest_engine_unused_config.py:59
Functiontest_equity_csv_drawdown_counts_a_loss_on_the_first_bar
(tmp_path: Path)
agent/tests/test_equity_artifact_drawdown.py:49
Functiontest_equity_csv_ret_column_is_seeded_with_initial_cash
(tmp_path: Path)
agent/tests/test_equity_artifact_drawdown.py:79
Methodtest_equity_has_non_finite_false_for_healthy_curve
(self, tmp_path)
agent/tests/test_strategy_discovery_hard_gates.py:136
Methodtest_equity_has_non_finite_none_when_unverifiable
(self, tmp_path)
agent/tests/test_strategy_discovery_hard_gates.py:145
Methodtest_equity_has_non_finite_true_for_nan_mid_curve
(self, tmp_path)
agent/tests/test_strategy_discovery_hard_gates.py:140
Functiontest_equity_just_over_limit_samples_down
(summary_run_dir)
agent/tests/test_backtest_summary.py:453
Functiontest_equity_names_are_not_crypto_quote_suffixes
(symbol)
agent/tests/test_equity_crypto_suffix_regressions.py:9
Functiontest_equity_open_inside_band_allows_the_buy_even_if_close_locks
A close at the limit says nothing about whether the open was tradeable.
agent/tests/test_price_limit_lookahead.py:73
Functiontest_equity_open_locked_at_lower_band_refuses_the_sell
(engine, symbol, band)
agent/tests/test_price_limit_lookahead.py:91
Functiontest_equity_open_locked_at_upper_band_refuses_the_buy
Opening AT the upper band means no buy, whatever the close later did.
agent/tests/test_price_limit_lookahead.py:55
Functiontest_equity_value_from_enterprise_value_refuses_non_finite_enterprise_value
()
agent/tests/quantlib/valuation/test_comps.py:816
Functiontest_equity_within_limit_returns_all_rows
(summary_run_dir, count)
agent/tests/test_backtest_summary.py:444
Methodtest_equivalence_clean
Fast path matches pandas reference on clean data.
agent/tests/test_factor_operators.py:113
Methodtest_equivalence_clean
(self, random_df, n)
agent/tests/test_factor_operators.py:172
Methodtest_equivalence_clean
(self, random_df, n)
agent/tests/test_factor_operators.py:208
Methodtest_equivalence_clean
(self, random_df, n)
agent/tests/test_factor_operators.py:237
Methodtest_equivalence_with_nan
Fast path matches pandas reference with NaN values.
agent/tests/test_factor_operators.py:121
Methodtest_equivalence_with_nan
(self, random_df_with_nan, n)
agent/tests/test_factor_operators.py:244
Methodtest_error_body_skips_symbol
(self, monkeypatch)
agent/tests/test_wallex_loader.py:130
Functiontest_error_captured_in_run_json
Capture path must keep working (guards against a future regression).
agent/tests/test_swarm_error_surfacing.py:64
Functiontest_error_envelope_bytes_are_deterministic_and_schema_valid
()
agent/tests/test_paper_trade_determinism.py:354
Functiontest_error_envelope_cancel_is_not_a_success
(live_runtime: Path)
agent/tests/test_runtime_flatten.py:382
Functiontest_error_envelope_field_set_is_exactly_the_frozen_am5_set
()
agent/tests/test_paper_trade_schema.py:318
Functiontest_error_envelope_flatten_is_not_a_success
(live_runtime: Path)
agent/tests/test_runtime_flatten.py:413
Functiontest_error_envelope_read_open_orders_recorded_not_raised
( live_runtime: Path, )
agent/tests/test_runtime_flatten.py:211
Functiontest_error_envelope_read_positions_recorded_not_raised
( live_runtime: Path, )
agent/tests/test_runtime_flatten.py:231
Methodtest_error_envelope_validates
(self)
agent/tests/test_paper_trade_jcs.py:308
Functiontest_error_envelope_validates_with_and_without_the_state_hash
()
agent/tests/test_paper_trade_schema.py:306
Functiontest_error_envelope_yields_no_data
(monkeypatch)
agent/tests/test_india_broker_loader.py:76
Functiontest_error_is_a_key_error_with_readable_str
(clean_registry)
agent/tests/scheduling/test_registry.py:89
Methodtest_error_message_skips_symbol
(self, monkeypatch)
agent/tests/test_alphavantage_loader.py:137
Functiontest_error_path_hash_is_omitted_for_malformed_v12_fields
(field: str, value)
agent/tests/test_paper_trade_v12_schema.py:350
← previousnext →17,601–17,700 of 26,887, ranked by callers