MCPcopy Create free account

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

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

Functiontest_metadata_validation_reaches_swarm_argument_previews
()
agent/tests/test_redaction_shared.py:601
Functiontest_metadata_validation_reaches_trace_events_and_result_previews
(tmp_path: Path)
agent/tests/test_redaction_shared.py:615
Methodtest_metadata_weighted_higher
(self, tmp_path: Path)
agent/tests/test_persistent_memory.py:431
Functiontest_metadata_without_source_is_explicitly_unknown
()
agent/tests/test_data_availability.py:121
Methodtest_metal_cfd
(self, fake_mt5: FakeMT5)
agent/tests/test_mt5_connector.py:504
Methodtest_metal_prefix_never_splits
(self)
agent/tests/test_mt5_connector.py:309
Functiontest_metal_usd_pair_is_not_split_on_the_tusd_suffix
()
agent/tests/test_agent_grounding.py:643
Functiontest_meter_anchors_on_reported_tokens_and_tracks_growth_and_shrinkage
()
agent/tests/test_context_budget.py:131
Functiontest_meter_ignores_missing_or_bogus_usage
()
agent/tests/test_context_budget.py:142
Functiontest_metric_named_without_a_number_keeps_the_claim_but_not_a_value
()
agent/tests/test_research_papers_tool.py:441
Functiontest_metric_series_picks_richest_unit_and_caps_limit
()
agent/tests/test_sec_filings_tool.py:99
Functiontest_metrics_are_the_full_run_card_object
(summary_run_dir)
agent/tests/test_backtest_summary.py:209
Functiontest_metrics_from_successful_numeric_tool_are_allowed
A successful generic analysis result grounds its returned metrics. The real tool returns fractions (annualized_vol 0.182, max_drawdown -0.094
agent/tests/test_agent_grounding.py:2883
Functiontest_metrics_of_a_prior_backtest_ground_only_its_own_values
( reuse, ref: str )
agent/tests/test_grounding_prior_run_reuse.py:67
Functiontest_metrics_reach_the_attempt_and_the_reply
Loaded metrics were dropped on the floor before reaching the reply.
agent/tests/test_session_service_lifecycle.py:187
Functiontest_metrics_symlink_cannot_supply_another_runs_evidence
(tmp_path: Path)
agent/tests/test_grounding_backtest_outputs.py:460
Functiontest_metrics_without_required_fields_stay_empty
(tmp_path: Path)
agent/tests/api/test_run_preview.py:179
Functiontest_metrics_without_trade_count_are_skipped
( run_dir: Path, store: Any, artifact_id: str )
agent/tests/test_backtest_records_bench.py:314
Methodtest_micro_commission_via_active_symbol
(self)
agent/tests/test_global_futures_engine.py:199
Functiontest_microcompact_reopens_only_lost_argument_variant
(harness)
agent/tests/test_compaction_call_identity.py:95
Methodtest_mid_compute_crash_leaves_prior_rows_intact
( self, tmp_path, monkeypatch )
agent/tests/test_strategy_discovery_hard_gates.py:372
Functiontest_mid_order_ambiguous_forces_halt
An unconfirmed (pending, no broker id) recorded order absent from the broker is the dangerous crash case: classified ambiguous -> halt, never rese
agent/tests/test_runtime_reconcile.py:201
Functiontest_mid_range_zero_bars_are_market_closed_inferred_not_a_failure
()
agent/tests/test_paper_trade_readiness.py:226
Functiontest_mid_sweep_retrip_does_not_release_new_episode_claim
( live_root: Path, )
agent/tests/test_sweep_latch.py:369
Functiontest_mid_sweep_retrip_records_only_swept_episode
(live_root: Path)
agent/tests/test_sweep_latch.py:456
Functiontest_mid_year_discounting_is_higher_by_exactly_sqrt_1_plus_wacc
()
agent/tests/quantlib/valuation/test_dcf.py:529
Methodtest_midnight_aligned_daily_bars_are_unchanged
(self)
agent/tests/test_effective_bars_per_year_span.py:52
Functiontest_midwalk_empty_page_is_rerequested_before_truncating
A glitched empty mid-walk must not end the walk: one re-request decides.
agent/tests/test_tencent_loader.py:301
Functiontest_midwalk_empty_page_that_persists_ends_the_walk
A genuine data start (e.g. a pre-IPO window) stays empty on re-request.
agent/tests/test_tencent_loader.py:326
Methodtest_migrate_flat_entry
Moves file from root to category subdir.
agent/tests/memory/test_hierarchy.py:155
Methodtest_migrate_skips_already_in_subdir
Does not migrate files already in a subdirectory.
agent/tests/memory/test_hierarchy.py:168
Methodtest_migrate_unknown_category
Cannot migrate to unknown category.
agent/tests/memory/test_hierarchy.py:176
Functiontest_migrated_check_fires_identically_through_the_gate
Golden pass for the first migrated check: same issue through both paths.
agent/tests/test_grounding_registry.py:65
Functiontest_migrated_check_is_silent_with_nothing_locked
(tmp_path: Path)
agent/tests/test_grounding_registry.py:80
Methodtest_migration_idempotent_across_fresh_reopen
Re-opening an already-migrated DB with a fresh store instance is safe.
agent/tests/test_strategy_store.py:1384
Methodtest_migration_is_idempotent
Running the column-migration twice does not error or duplicate columns.
agent/tests/test_strategy_store.py:1357
Methodtest_min_sharpe_drops_none_sharpe_and_low_sharpe
(self, tmp_path)
agent/tests/test_strategy_discovery_facade.py:425
Methodtest_min_trades_filter
(self, tmp_path)
agent/tests/test_strategy_discovery_facade.py:348
Functiontest_mini_zoo_copy_fallback_when_symlink_privileges_missing
The copy fallback keeps the suite alive on symlink-less hosts. Windows without symlink privilege refuses the alias's symlink with OSError 131
agent/tests/factors/test_registry.py:128
Methodtest_minimal_result_payload_validates
(self)
agent/tests/test_paper_trade_jcs.py:283
Methodtest_minimax_base_url_in_openai_base_url
(self)
agent/tests/test_llm.py:334
Methodtest_minimax_positive_temperature_preserved
When an explicit positive temperature is set, it should be preserved.
agent/tests/test_llm.py:719
Methodtest_minimax_provider
(self)
agent/tests/test_llm.py:323
Functiontest_minimax_provider_lists_regional_endpoints
()
agent/tests/test_llm_provider_defaults.py:58
Methodtest_minimax_temperature_clamped_from_zero
When LANGCHAIN_TEMPERATURE=0.0 and provider=minimax, temperature must be clamped to 0.01.
agent/tests/test_llm.py:693
Methodtest_minimum_commission
Small trades hit the ¥5 minimum.
agent/tests/test_china_a_engine.py:207
Functiontest_minority_interest_increases_enterprise_value
Consolidated subsidiaries carry 100% of EBITDA into the parent's figures -- the minority holders' claim on that 100% must be in EV too.
agent/tests/quantlib/valuation/test_comps.py:135
Functiontest_minority_interest_reduces_equity_value
()
agent/tests/quantlib/valuation/test_dcf.py:745
Functiontest_minted_ticket_is_unguessable_and_urlsafe
()
agent/tests/test_sse_ticket_and_headers.py:39
Functiontest_minus_sign_page_range_parses
()
agent/tests/test_doc_reader_unicode_page_dashes.py:18
Methodtest_minute_and_hour_are_intraday
(self)
agent/tests/test_yahoo_loader.py:123
Methodtest_minute_and_month_periods_differ
(self, fake_mt5: FakeMT5)
agent/tests/test_mt5_connector.py:596
Functiontest_minute_bar_annualization_does_not_overflow
1m OKX bars_per_year can OverflowError on modest equity growth.
agent/tests/test_options_portfolio_correctness.py:105
Functiontest_minute_empty_response_does_not_substitute_daily_data
()
agent/tests/test_fund_flow_tool.py:249
Methodtest_minute_futu
(self)
agent/tests/test_metrics.py:86
Functiontest_minute_month_case_still_distinct
()
agent/tests/test_okx_bar_map.py:15
Functiontest_minute_month_case_still_distinct
()
agent/tests/test_alpaca_timeframe_map.py:15
Methodtest_minute_mootdx
(self)
agent/tests/test_metrics.py:81
Methodtest_minute_period_uses_minute_url
(self)
agent/tests/test_fund_flow_tool.py:68
Methodtest_minute_tushare
(self)
agent/tests/test_metrics.py:73
Methodtest_minute_volume_is_reported_in_declared_board_lots
(self)
agent/tests/test_tushare_loader.py:289
Functiontest_minute_window_bounded_by_kite_cap
(monkeypatch)
agent/tests/test_zerodha_sdk.py:157
Functiontest_mirror_image_shape_stays_out_of_scope
Member first, field second: the default wins and the member breaks loudly.
agent/tests/test_dataclass_field_name_collisions.py:324
Functiontest_mirrored_call_params_decodes_json_container_strings
( mcp_server, param, sent, expected, )
agent/tests/test_mcp_json_string_args.py:247
Functiontest_mirrored_call_params_filter
The parameter filter keeps declared, non-null arguments only.
agent/tests/test_mcp_new_tools.py:356
Functiontest_mirrored_call_params_still_drops_nulls_and_undeclared
The decode must not cost the filtering the function already did.
agent/tests/test_mcp_json_string_args.py:254
Functiontest_mirrored_call_reaches_the_registry_with_clean_params
An MCP call is forwarded to the agent tool, minus nulls and undeclared keys.
agent/tests/test_mcp_new_tools.py:266
Functiontest_mirrored_tool_names_match_the_agent_side_registry
MCP must expose these tools under their agent-side names, not aliases. A renamed wrapper would make the MCP call route to a tool the local re
agent/tests/test_mcp_new_tools.py:111
Functiontest_mirrored_tool_round_trips_over_a_real_mcp_session
A protocol-level call_tool must reach the tool and wrap the JSON envelope. Uses fastmcp's in-memory client transport, so this exercises the same
agent/tests/test_mcp_new_tools.py:290
Functiontest_mirrored_tools_announce_the_same_result_envelope
Mirrored tools must return the same wrapped-string envelope as the hand-written ones.
agent/tests/test_mcp_new_tools.py:167
Methodtest_misaligned_calendars_fail_closed
(self)
agent/tests/test_additive_conversion.py:132
Methodtest_mismatch_is_logged
(self, caplog)
agent/tests/test_cross_market_annualization.py:436
Functiontest_mismatched_driver_lengths_raise
Driver sequences of different lengths cannot be zipped into periods safely.
agent/tests/quantlib/valuation/test_threestatement.py:558
Functiontest_mismatched_label_length_rejected
()
agent/tests/quantlib/test_crossvalidation.py:320
Functiontest_mismatched_revision_payload_is_refetched
(tmp_path, monkeypatch)
agent/tests/test_local_loader_source_revision.py:169
Functiontest_mismatched_series_labels_are_an_error_not_a_partial_join
()
agent/tests/quantlib/test_var_backtest.py:50
Functiontest_mismatched_weight_sums_are_rejected
Unequal weight totals break the identity, so they must raise rather than mislead.
agent/tests/quantlib/test_attribution.py:165
Functiontest_missing_account_id_is_invalid_request_with_empty_echo
()
agent/tests/test_paper_trade_tool.py:206
Functiontest_missing_actual_date_is_not_invented
(client)
agent/tests/test_shannon_routes.py:83
Methodtest_missing_adjusted_close_does_not_mix_raw_prices
(self, missing)
agent/tests/test_fmp_loader.py:115
Methodtest_missing_args_prints_the_card_and_asks
( self, slug: str, capsys: pytest.CaptureFixture[str] )
agent/tests/test_institutional_commands.py:216
Functiontest_missing_artifact_has_hint
(run_dir: Path)
agent/tests/test_run_artifact_tool.py:516
Functiontest_missing_artifact_still_reports_not_found
The other skip reasons must keep their own wording.
agent/tests/test_attribution_liquidated_last_row.py:106
Functiontest_missing_average_cost_and_unrealized_pl_stay_unavailable
Diluted cost alone cannot establish the unrealized part of P&L.
agent/tests/test_futu_position_cost_bases.py:136
Methodtest_missing_base_price_warns_once
(self, caplog)
agent/tests/test_korea_equity_engine.py:195
Methodtest_missing_board_row_returns_none
(self)
agent/tests/api/test_positions_sectors.py:594
Functiontest_missing_calendar_is_retryable_not_a_closed_day
()
agent/tests/test_paper_trade_production_caliber.py:70
Methodtest_missing_call_does_not_complete_another_active_call
(self, dashboard)
agent/tests/test_cli_rail_dashboard.py:31
Functiontest_missing_characteristic_cells_become_zero_and_are_counted
()
agent/tests/quantlib/test_factormodel.py:155
Functiontest_missing_cli_raises_with_setup_hint
(monkeypatch)
agent/tests/test_claude_cli_provider.py:482
Methodtest_missing_close_column_raises
(self)
agent/tests/test_correlation.py:367
Methodtest_missing_code_for_membership_rejected
(self)
agent/tests/test_sector_tool.py:149
Methodtest_missing_code_rejected
(self)
agent/tests/test_financial_statements_tool.py:335
Functiontest_missing_code_returns_error_envelope
()
agent/tests/test_shareholder_count_tool.py:197
Functiontest_missing_code_returns_error_envelope
()
agent/tests/test_research_reports_tool.py:148
Methodtest_missing_code_returns_error_envelope
(self)
agent/tests/test_block_trades_tool.py:102
Methodtest_missing_code_when_stock_scope
(self)
agent/tests/test_stock_news_tool.py:208
Methodtest_missing_codes_rejected
(self)
agent/tests/test_fund_flow_tool.py:161
Functiontest_missing_codex_token_raises_login_hint
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path, )
agent/tests/test_openai_codex.py:175
Functiontest_missing_column_is_named_in_the_error
( tmp_path: Path, )
agent/tests/test_taiwan_stock_data_tool.py:809
← previousnext →20,801–20,900 of 26,887, ranked by callers