Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HKUDS/Vibe-Trading
/ functions
Functions
26,887 in github.com/HKUDS/Vibe-Trading
⨍
Functions
26,887
◇
Types & classes
2,943
↳
Endpoints
204
Function
test_metadata_validation_reaches_swarm_argument_previews
()
agent/tests/test_redaction_shared.py:601
Function
test_metadata_validation_reaches_trace_events_and_result_previews
(tmp_path: Path)
agent/tests/test_redaction_shared.py:615
Method
test_metadata_weighted_higher
(self, tmp_path: Path)
agent/tests/test_persistent_memory.py:431
Function
test_metadata_without_source_is_explicitly_unknown
()
agent/tests/test_data_availability.py:121
Method
test_metal_cfd
(self, fake_mt5: FakeMT5)
agent/tests/test_mt5_connector.py:504
Method
test_metal_prefix_never_splits
(self)
agent/tests/test_mt5_connector.py:309
Function
test_metal_usd_pair_is_not_split_on_the_tusd_suffix
()
agent/tests/test_agent_grounding.py:643
Function
test_meter_anchors_on_reported_tokens_and_tracks_growth_and_shrinkage
()
agent/tests/test_context_budget.py:131
Function
test_meter_ignores_missing_or_bogus_usage
()
agent/tests/test_context_budget.py:142
Function
test_metric_named_without_a_number_keeps_the_claim_but_not_a_value
()
agent/tests/test_research_papers_tool.py:441
Function
test_metric_series_picks_richest_unit_and_caps_limit
()
agent/tests/test_sec_filings_tool.py:99
Function
test_metrics_are_the_full_run_card_object
(summary_run_dir)
agent/tests/test_backtest_summary.py:209
Function
test_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
Function
test_metrics_of_a_prior_backtest_ground_only_its_own_values
( reuse, ref: str )
agent/tests/test_grounding_prior_run_reuse.py:67
Function
test_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
Function
test_metrics_symlink_cannot_supply_another_runs_evidence
(tmp_path: Path)
agent/tests/test_grounding_backtest_outputs.py:460
Function
test_metrics_without_required_fields_stay_empty
(tmp_path: Path)
agent/tests/api/test_run_preview.py:179
Function
test_metrics_without_trade_count_are_skipped
( run_dir: Path, store: Any, artifact_id: str )
agent/tests/test_backtest_records_bench.py:314
Method
test_micro_commission_via_active_symbol
(self)
agent/tests/test_global_futures_engine.py:199
Function
test_microcompact_reopens_only_lost_argument_variant
(harness)
agent/tests/test_compaction_call_identity.py:95
Method
test_mid_compute_crash_leaves_prior_rows_intact
( self, tmp_path, monkeypatch )
agent/tests/test_strategy_discovery_hard_gates.py:372
Function
test_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
Function
test_mid_range_zero_bars_are_market_closed_inferred_not_a_failure
()
agent/tests/test_paper_trade_readiness.py:226
Function
test_mid_sweep_retrip_does_not_release_new_episode_claim
( live_root: Path, )
agent/tests/test_sweep_latch.py:369
Function
test_mid_sweep_retrip_records_only_swept_episode
(live_root: Path)
agent/tests/test_sweep_latch.py:456
Function
test_mid_year_discounting_is_higher_by_exactly_sqrt_1_plus_wacc
()
agent/tests/quantlib/valuation/test_dcf.py:529
Method
test_midnight_aligned_daily_bars_are_unchanged
(self)
agent/tests/test_effective_bars_per_year_span.py:52
Function
test_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
Function
test_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
Method
test_migrate_flat_entry
Moves file from root to category subdir.
agent/tests/memory/test_hierarchy.py:155
Method
test_migrate_skips_already_in_subdir
Does not migrate files already in a subdirectory.
agent/tests/memory/test_hierarchy.py:168
Method
test_migrate_unknown_category
Cannot migrate to unknown category.
agent/tests/memory/test_hierarchy.py:176
Function
test_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
Function
test_migrated_check_is_silent_with_nothing_locked
(tmp_path: Path)
agent/tests/test_grounding_registry.py:80
Method
test_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
Method
test_migration_is_idempotent
Running the column-migration twice does not error or duplicate columns.
agent/tests/test_strategy_store.py:1357
Method
test_min_sharpe_drops_none_sharpe_and_low_sharpe
(self, tmp_path)
agent/tests/test_strategy_discovery_facade.py:425
Method
test_min_trades_filter
(self, tmp_path)
agent/tests/test_strategy_discovery_facade.py:348
Function
test_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
Method
test_minimal_result_payload_validates
(self)
agent/tests/test_paper_trade_jcs.py:283
Method
test_minimax_base_url_in_openai_base_url
(self)
agent/tests/test_llm.py:334
Method
test_minimax_positive_temperature_preserved
When an explicit positive temperature is set, it should be preserved.
agent/tests/test_llm.py:719
Method
test_minimax_provider
(self)
agent/tests/test_llm.py:323
Function
test_minimax_provider_lists_regional_endpoints
()
agent/tests/test_llm_provider_defaults.py:58
Method
test_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
Method
test_minimum_commission
Small trades hit the ¥5 minimum.
agent/tests/test_china_a_engine.py:207
Function
test_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
Function
test_minority_interest_reduces_equity_value
()
agent/tests/quantlib/valuation/test_dcf.py:745
Function
test_minted_ticket_is_unguessable_and_urlsafe
()
agent/tests/test_sse_ticket_and_headers.py:39
Function
test_minus_sign_page_range_parses
()
agent/tests/test_doc_reader_unicode_page_dashes.py:18
Method
test_minute_and_hour_are_intraday
(self)
agent/tests/test_yahoo_loader.py:123
Method
test_minute_and_month_periods_differ
(self, fake_mt5: FakeMT5)
agent/tests/test_mt5_connector.py:596
Function
test_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
Function
test_minute_empty_response_does_not_substitute_daily_data
()
agent/tests/test_fund_flow_tool.py:249
Method
test_minute_futu
(self)
agent/tests/test_metrics.py:86
Function
test_minute_month_case_still_distinct
()
agent/tests/test_okx_bar_map.py:15
Function
test_minute_month_case_still_distinct
()
agent/tests/test_alpaca_timeframe_map.py:15
Method
test_minute_mootdx
(self)
agent/tests/test_metrics.py:81
Method
test_minute_period_uses_minute_url
(self)
agent/tests/test_fund_flow_tool.py:68
Method
test_minute_tushare
(self)
agent/tests/test_metrics.py:73
Method
test_minute_volume_is_reported_in_declared_board_lots
(self)
agent/tests/test_tushare_loader.py:289
Function
test_minute_window_bounded_by_kite_cap
(monkeypatch)
agent/tests/test_zerodha_sdk.py:157
Function
test_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
Function
test_mirrored_call_params_decodes_json_container_strings
( mcp_server, param, sent, expected, )
agent/tests/test_mcp_json_string_args.py:247
Function
test_mirrored_call_params_filter
The parameter filter keeps declared, non-null arguments only.
agent/tests/test_mcp_new_tools.py:356
Function
test_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
Function
test_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
Function
test_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
Function
test_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
Function
test_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
Method
test_misaligned_calendars_fail_closed
(self)
agent/tests/test_additive_conversion.py:132
Method
test_mismatch_is_logged
(self, caplog)
agent/tests/test_cross_market_annualization.py:436
Function
test_mismatched_driver_lengths_raise
Driver sequences of different lengths cannot be zipped into periods safely.
agent/tests/quantlib/valuation/test_threestatement.py:558
Function
test_mismatched_label_length_rejected
()
agent/tests/quantlib/test_crossvalidation.py:320
Function
test_mismatched_revision_payload_is_refetched
(tmp_path, monkeypatch)
agent/tests/test_local_loader_source_revision.py:169
Function
test_mismatched_series_labels_are_an_error_not_a_partial_join
()
agent/tests/quantlib/test_var_backtest.py:50
Function
test_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
Function
test_missing_account_id_is_invalid_request_with_empty_echo
()
agent/tests/test_paper_trade_tool.py:206
Function
test_missing_actual_date_is_not_invented
(client)
agent/tests/test_shannon_routes.py:83
Method
test_missing_adjusted_close_does_not_mix_raw_prices
(self, missing)
agent/tests/test_fmp_loader.py:115
Method
test_missing_args_prints_the_card_and_asks
( self, slug: str, capsys: pytest.CaptureFixture[str] )
agent/tests/test_institutional_commands.py:216
Function
test_missing_artifact_has_hint
(run_dir: Path)
agent/tests/test_run_artifact_tool.py:516
Function
test_missing_artifact_still_reports_not_found
The other skip reasons must keep their own wording.
agent/tests/test_attribution_liquidated_last_row.py:106
Function
test_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
Method
test_missing_base_price_warns_once
(self, caplog)
agent/tests/test_korea_equity_engine.py:195
Method
test_missing_board_row_returns_none
(self)
agent/tests/api/test_positions_sectors.py:594
Function
test_missing_calendar_is_retryable_not_a_closed_day
()
agent/tests/test_paper_trade_production_caliber.py:70
Method
test_missing_call_does_not_complete_another_active_call
(self, dashboard)
agent/tests/test_cli_rail_dashboard.py:31
Function
test_missing_characteristic_cells_become_zero_and_are_counted
()
agent/tests/quantlib/test_factormodel.py:155
Function
test_missing_cli_raises_with_setup_hint
(monkeypatch)
agent/tests/test_claude_cli_provider.py:482
Method
test_missing_close_column_raises
(self)
agent/tests/test_correlation.py:367
Method
test_missing_code_for_membership_rejected
(self)
agent/tests/test_sector_tool.py:149
Method
test_missing_code_rejected
(self)
agent/tests/test_financial_statements_tool.py:335
Function
test_missing_code_returns_error_envelope
()
agent/tests/test_shareholder_count_tool.py:197
Function
test_missing_code_returns_error_envelope
()
agent/tests/test_research_reports_tool.py:148
Method
test_missing_code_returns_error_envelope
(self)
agent/tests/test_block_trades_tool.py:102
Method
test_missing_code_when_stock_scope
(self)
agent/tests/test_stock_news_tool.py:208
Method
test_missing_codes_rejected
(self)
agent/tests/test_fund_flow_tool.py:161
Function
test_missing_codex_token_raises_login_hint
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path, )
agent/tests/test_openai_codex.py:175
Function
test_missing_column_is_named_in_the_error
( tmp_path: Path, )
agent/tests/test_taiwan_stock_data_tool.py:809
← previous
next →
20,801–20,900 of 26,887, ranked by callers