MCPcopy Create free account

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

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

Methodtest_missing_symbol_raises_instead_of_reaching_the_network
( self, monkeypatch: pytest.MonkeyPatch, source: str, )
agent/tests/test_local_source_routing.py:239
Methodtest_missing_tick_fails_closed
(self, fake_mt5: FakeMT5)
agent/tests/test_mt5_connector.py:516
Functiontest_missing_ticker_returns_error_envelope
()
agent/tests/test_sec_filings_tool.py:128
Methodtest_missing_ticker_returns_error_envelope
(self)
agent/tests/test_stock_profile_tool.py:176
Methodtest_missing_ticker_returns_error_envelope
(self)
agent/tests/test_options_chain_tool.py:146
Methodtest_missing_timestamp_array
(self)
agent/tests/test_finnhub_loader.py:211
Methodtest_missing_token_at_fetch_time_skips_symbol
(self, monkeypatch)
agent/tests/test_gildata_loader.py:278
Functiontest_missing_token_degrades_to_nan_frames
No TUSHARE_TOKEN: the run survives on NaN frames instead of crashing.
agent/tests/factors/test_fundamental_valuation_samples.py:338
Methodtest_missing_token_error
(self, monkeypatch)
agent/tests/test_fund_nav_tool.py:104
Functiontest_missing_token_in_ok_response_reports_invalid_credentials
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_dingtalk_connection_test.py:212
Methodtest_missing_token_rejected
(self, monkeypatch)
agent/tests/test_gildata_research_tools.py:117
Functiontest_missing_token_short_circuits_without_network
The ``start()`` guard rejects an empty token, so the probe reports it before any HTTP call happens.
agent/tests/test_discord_connection_test.py:178
Functiontest_missing_tokens_short_circuit_without_network
Socket mode needs both tokens (the ``start()`` guard), so a missing one is reported before any HTTP call happens.
agent/tests/test_slack_connection_test.py:190
Methodtest_missing_tool_call_thought_signature_stays_none
(self)
agent/tests/test_kimi_reasoning_content.py:87
Methodtest_missing_tool_in_registry_surfaces_json_error_not_crash
( self, monkeypatch )
agent/tests/test_strategy_discovery_mcp.py:127
Functiontest_missing_tool_reports_matching_import_failure
()
agent/tests/test_tool_registry_diagnostics.py:9
Methodtest_missing_tools_is_false
(self)
agent/tests/test_strategy_discovery_guard.py:82
Functiontest_missing_usage_and_crash_do_not_reset_budget
(tmp_path)
agent/tests/test_live_decision_budget.py:60
Functiontest_missing_user_dir_changes_nothing
(tmp_path, monkeypatch)
agent/tests/test_swarm_presets_packaging.py:179
Functiontest_missing_vault_profile_never_falls_back_to_an_ambient_key
(custom_store, monkeypatch)
agent/tests/test_custom_provider_routes.py:216
Methodtest_missing_volume_becomes_zero
(self)
agent/tests/test_gildata_loader.py:166
Functiontest_missing_volume_on_a_candidate_day_rejects_fail_closed
()
agent/tests/test_paper_trade_corporate_actions.py:325
Methodtest_missing_volume_stays_missing
(self)
agent/tests/test_weekly_monthly_bars.py:77
Functiontest_misspelled_capital_and_commission_keys_are_flagged
()
agent/tests/test_backtest_unrecognized_config_keys.py:16
Methodtest_mixed
(self)
agent/tests/test_sentiment_tool.py:20
Methodtest_mixed
(self)
agent/tests/test_sentiment_tool.py:53
Methodtest_mixed
(self)
agent/tests/test_metrics.py:235
Methodtest_mixed
(self)
agent/tests/test_persistent_memory.py:85
Methodtest_mixed_batch_returns_all
(self)
agent/tests/test_tushare_loader.py:406
Methodtest_mixed_batch_routes_only_stocks
(self)
agent/tests/test_tushare_loader.py:326
Functiontest_mixed_book_cap_still_bounds_a_share_lookups
(tmp_path: Path, monkeypatch)
agent/tests/api/test_positions_sectors.py:471
Functiontest_mixed_book_resolves_a_shares_after_non_a_share_prefix
The lookup budget counts A-share lookups, not list position. Regression: gating on the symbol's index in the full list pushed every A-share p
agent/tests/api/test_positions_sectors.py:436
Functiontest_mixed_book_uses_gross_not_net_exposure
()
agent/tests/test_mandate_enforcement.py:421
Functiontest_mixed_case_4h_also_resamples
()
agent/tests/test_yfinance_lowercase_4h_resample.py:46
Methodtest_mixed_codes
(self)
agent/tests/test_market_detection.py:285
Functiontest_mixed_currency_journal_pools_pnl_per_currency
The #1808 repro: HKD and USD must never be one headline number.
agent/tests/test_trade_journal_currency_pools.py:47
Methodtest_mixed_currency_run_raises_before_fetching
(self)
agent/tests/test_composite_currency_guard.py:107
Functiontest_mixed_day_commits_exactly_one_nav_row_and_a_consistent_ledger
()
agent/tests/test_paper_trade_rejections.py:314
Functiontest_mixed_eps_basis_across_peers_raises
()
agent/tests/quantlib/valuation/test_comps.py:419
Functiontest_mixed_fields_keep_the_fraction_reading
One percent field and one plain price: the unit is undecidable, so a points-shaped claim is refused exactly as before the fix.
agent/tests/test_grounding_percent_unit_fields.py:116
Functiontest_mixed_journal_excludes_other_currencies_from_real_pnl
()
agent/tests/test_shadow_attribution.py:59
Methodtest_mixed_leverage
Different leverage values produce correct margin calculations.
agent/tests/test_equity_regression.py:92
Methodtest_mixed_reads
(self)
tools/test_ci_env_var_gate.py:207
Functiontest_mixed_script_display_round_trip
(original)
agent/tests/memory/test_search_index.py:306
Functiontest_mixed_sources_are_reported_per_symbol
()
agent/tests/test_fund_flow_tool.py:226
Functiontest_mixed_structured_and_distinct_human_text_keeps_human_text
()
agent/tests/test_mcp_result_dedup.py:137
Functiontest_mock_advisory_configurable_verdict
()
agent/tests/test_advisory.py:224
Functiontest_mock_advisory_default_approve
()
agent/tests/test_advisory.py:209
Functiontest_mock_advisory_raise_on_review
()
agent/tests/test_advisory.py:244
Functiontest_mock_data_is_rejected
()
agent/tests/test_swarm_output_contract.py:72
Functiontest_model_discovery_returns_stable_warning_codes_not_english_prose
( client: TestClient, payload: dict[str, str], expected_code: str, )
agent/tests/test_settings_api.py:84
Functiontest_model_list_dedupes_on_resolved_name_and_keeps_levels
(fake_init_cli)
agent/tests/test_claude_cli_models.py:57
Functiontest_model_list_failure_raises
(fake_init_cli, reply)
agent/tests/test_claude_cli_models.py:100
Functiontest_model_list_is_cached_until_refresh
(fake_init_cli)
agent/tests/test_claude_cli_models.py:87
Functiontest_model_list_skips_lines_that_are_not_json
(fake_init_cli)
agent/tests/test_claude_cli_models.py:78
Functiontest_model_metadata_preserves_model_identifiers
(model: str)
agent/tests/test_swarm_run_metadata.py:259
Functiontest_model_metadata_redacts_credential_shaped_values
(model: str)
agent/tests/test_swarm_run_metadata.py:243
Functiontest_model_metadata_redacts_endpoint_like_values
(model: str)
agent/tests/test_swarm_run_metadata.py:227
Methodtest_model_override_priority
VIBE_TRADING_OCR_LLM_MODEL overrides LANGCHAIN_MODEL_NAME.
agent/tests/test_ocr_engine.py:278
Methodtest_model_tier_enum
(self)
agent/tests/test_strategy_store.py:921
Functiontest_model_written_metrics_are_not_backtest_evidence
(tmp_path: Path)
agent/tests/test_grounding_backtest_outputs.py:321
Functiontest_models_reexports
()
agent/tests/test_api_infrastructure.py:28
Functiontest_models_reexports_are_the_kernel_objects
(name)
agent/tests/scheduling/test_triggers_equivalence.py:187
Methodtest_modelscope_provider
(self)
agent/tests/test_llm.py:229
Methodtest_modern_filing_is_dollars
(self)
agent/tests/test_institutional_holdings_tool.py:327
Functiontest_modified_dietz_is_flow_timing_sensitive_where_twr_is_not
The two measures must not agree once a mid-period flow exists.
agent/tests/quantlib/test_performance.py:207
Functiontest_modified_dietz_matches_the_hand_computed_example
100k grows to 130k with 20k added on 1 Jul 2024; R = 9.088645%. By hand, on a 365-day period (1 Jan 2024 to 31 Dec 2024): D = (1 Jul - 1
agent/tests/quantlib/test_performance.py:166
Functiontest_modified_dietz_weights_run_from_one_to_zero
A flow on the opening day is fully invested; one on the closing day is not.
agent/tests/quantlib/test_performance.py:192
Functiontest_modified_duration_equals_macaulay_under_continuous_compounding
()
agent/tests/quantlib/test_fixedincome.py:143
Functiontest_modified_duration_is_macaulay_over_one_plus_periodic_yield
()
agent/tests/quantlib/test_fixedincome.py:148
Functiontest_modified_duration_matches_central_difference
(coupon, ytm, n, freq, compounding)
agent/tests/quantlib/test_fixedincome.py:130
Methodtest_modify_is_cancel_then_new_id
(self)
agent/tests/test_paper_order_lifecycle.py:227
Methodtest_module_exposes_no_trading_surface
Read-only red line: only GET helpers, no order/trade entry points.
agent/tests/test_prediction_market_tool.py:206
Methodtest_module_wins_over_same_named_data_directory
``playbooks.py`` and ``playbooks/`` coexist; the module must win.
agent/tests/test_research_playbooks.py:83
Functiontest_moic_equals_tvpi_on_paid_in_and_diverges_on_invested_capital
()
agent/tests/quantlib/test_fundmath.py:393
Functiontest_money_can_be_derived_from_explicitly_referenced_document_cells
(tmp_path: Path)
agent/tests/test_grounding_document_figures.py:249
Functiontest_money_weighted_return_ignores_interim_marks
An IRR is determined by cash; revaluing midway cannot change it.
agent/tests/quantlib/test_performance.py:438
Functiontest_money_weighted_return_survives_the_same_long_horizon
The money-weighted path shares the NPV kernel and must not crash either.
agent/tests/quantlib/test_performance.py:377
Functiontest_money_weighted_return_with_no_flows_is_just_annualised_growth
With no client activity the IRR reduces to the account's own growth.
agent/tests/quantlib/test_performance.py:428
Functiontest_monte_carlo_drawdown_includes_loss_from_starting_cash
(initial_loss_result)
agent/tests/test_validation_initial_capital.py:40
Functiontest_monte_carlo_drawdown_still_uses_later_high_water_mark
()
agent/tests/test_validation_initial_capital.py:62
Functiontest_monte_carlo_no_inf_when_trades_blow_up_account
Monte Carlo must not produce inf when trades push equity through zero.
agent/tests/test_metrics_inf_zero_equity.py:133
Functiontest_monte_carlo_preserves_post_trade_path_shape
(initial_loss_result)
agent/tests/test_validation_initial_capital.py:56
Methodtest_monte_carlo_respects_run_validations_bars_per_year
(self)
agent/tests/test_validation.py:310
Functiontest_monte_carlo_sharpe_includes_first_trade_return
(initial_loss_result)
agent/tests/test_validation_initial_capital.py:44
Functiontest_month_token_maps_to_1mo_not_1m
()
agent/tests/test_yfinance_interval_map.py:8
Functiontest_month_vs_minute_case_preserved
()
agent/tests/test_yfinance_lowercase_4h_1w.py:20
Functiontest_month_vs_minute_case_preserved
()
agent/tests/test_eastmoney_daily_week_aliases.py:13
Functiontest_monthly_alias_executes_first_trading_bar_of_each_month
()
agent/tests/test_rebalance_mask.py:122
Methodtest_monthly_bars_are_twelve_a_year
(self)
agent/tests/test_cross_market_annualization.py:283
Functiontest_monthly_default_range_supplies_enough_real_resampled_bars
( local_price_file, end_date: str )
agent/tests/test_portfolio_risk_calendar_bars.py:85
Methodtest_mootdx_and_futu_sources_accepted
mootdx and futu are registered loaders, so config validation must accept them. Regression: ``_VALID_SOURCES`` drifted and rejected both
agent/tests/test_engine_robustness.py:456
Methodtest_mootdx_retired_from_chain_but_still_registered
mootdx left the default a_share chain (#1729: TDX servers stopped answering the mootdx/tdxpy protocol, upstream dormant), but the loader
agent/tests/test_registry.py:236
Functiontest_more_folds_than_samples_rejected
()
agent/tests/quantlib/test_crossvalidation.py:309
Functiontest_more_trials_monotonically_lowers_the_deflated_ratio
()
agent/tests/quantlib/test_multipletesting.py:178
Functiontest_moved_surface_is_complete
()
agent/tests/test_tool_results_module.py:38
Functiontest_moves_all_legacy_dirs_into_runtime_root
(tmp_path: Path)
agent/tests/test_state_migration.py:17
Methodtest_mrr_no_regression
Verify Treatment MRR does not regress vs Baseline.
agent/tests/memory/benchmarks/test_benchmark.py:78
Functiontest_msg_estimate_chars_counts_dict_arguments
#adversarial: dict (non-string) arguments must count toward sizing, consistent with ``estimate_tokens``' full serialization gate.
agent/tests/test_loop_helpers.py:831
Functiontest_msg_estimate_chars_counts_reasoning_content
#adversarial: reasoning_content must count toward sizing too, consistent with ``estimate_tokens``' full serialization gate.
agent/tests/test_loop_helpers.py:846
← previousnext →21,001–21,100 of 26,887, ranked by callers