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
Method
test_graded_effort_is_forwarded
(self)
agent/tests/test_llm_reasoning_effort.py:153
Function
test_granger_detects_a_lagged_driver
()
agent/tests/quantlib/test_timeseries.py:295
Function
test_granger_finds_nothing_between_independent_noise
()
agent/tests/quantlib/test_timeseries.py:309
Function
test_granger_rejects_a_missing_column
()
agent/tests/quantlib/test_timeseries.py:330
Function
test_granger_stays_silent_on_stdout
(capsys)
agent/tests/quantlib/test_timeseries.py:319
Method
test_greeks_are_reported_at_the_smile_vol
(self, tmp_path)
agent/tests/test_options_smile_consistency.py:141
Method
test_groq_provider
(self)
agent/tests/test_llm.py:238
Function
test_gross_profit_direct_concept_excludes_annual_span_from_quarterly
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_fundamentals_gross_profit_fallback.py:200
Function
test_gross_profit_direct_concept_is_ttm_summed
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_fundamentals_gross_profit_fallback.py:166
Function
test_gross_profit_falls_back_to_revenue_minus_cogs
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_fundamentals_gross_profit_fallback.py:68
Function
test_gross_profit_prefers_direct_concept_over_fallback
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_fundamentals_gross_profit_fallback.py:104
Function
test_gross_profit_stays_null_without_either_source
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_fundamentals_gross_profit_fallback.py:135
Method
test_grounded_answer_offers_no_recovery
(self, tmp_path: Path)
agent/tests/test_grounding_recovery.py:116
Function
test_grounding_numeric_leaves_are_still_observable_under_data
()
agent/tests/test_mcp_result_dedup.py:84
Function
test_grounding_revision_blocks_unoffered_tool_calls
A provider cannot escape correction-only mode by emitting a tool call anyway.
agent/tests/test_grounding_release.py:756
Function
test_grounding_revision_turn_is_text_only
A rejected numeric draft is revised without opening another research loop.
agent/tests/test_grounding_release.py:729
Function
test_grounding_still_records_each_unavailable_symbol
The failed envelope keeps per-symbol unavailable evidence.
agent/tests/test_get_market_data_unresolved.py:129
Method
test_group_by_source
(self)
agent/tests/test_market_detection.py:303
Method
test_group_caps_must_reference_mapped_groups
(self)
agent/tests/test_constraints.py:124
Function
test_group_embargo_starts_after_the_test_label_horizon
()
agent/tests/test_ux_batch_regressions.py:41
Function
test_group_message_is_not_dm_and_uses_group_chat_id
()
agent/tests/test_dingtalk_message_flow.py:48
Function
test_group_purged_kfold_splits_input_validation
()
agent/tests/quantlib/test_crossvalidation.py:381
Function
test_group_purged_kfold_splits_leaks_a_forward_looking_label_without_purging
Groups adjacent to the test block are embargoed, but a group further back whose own label reaches forward into the test window was never check
agent/tests/quantlib/test_crossvalidation.py:390
Function
test_group_purged_kfold_splits_prevents_cross_sectional_leakage
()
agent/tests/quantlib/test_crossvalidation.py:353
Function
test_group_purged_kfold_splits_purges_a_forward_looking_label
()
agent/tests/quantlib/test_crossvalidation.py:414
Function
test_group_purged_kfold_splits_reports_purged_count
()
agent/tests/quantlib/test_crossvalidation.py:433
Function
test_group_purged_kfold_splits_without_label_end_times_is_unchanged
The default (no label_end_times) path must behave exactly as before: no backward purging, purged always 0.
agent/tests/quantlib/test_crossvalidation.py:448
Function
test_group_selection_by_currency_default_markets
( profitable_journal: Path, )
agent/tests/test_shadow_account.py:550
Function
test_group_selection_by_currency_names_vnd
A HOSE pool groups under VND, not an ``UNKNOWN:`` marker. The group key is not merely a label: it names the pool's run directory (``base_dir
agent/tests/test_shadow_account.py:573
Function
test_group_selection_by_currency_us_crypto_single_group
()
agent/tests/test_shadow_account.py:563
Function
test_group_split_accepts_a_label_horizon_past_the_last_sample
()
agent/tests/test_ux_batch_regressions.py:33
Function
test_group_split_preserves_legacy_positional_arguments
()
agent/tests/test_ux_batch_regressions.py:15
Function
test_group_split_purges_future_groups_inside_the_test_label_horizon
()
agent/tests/test_ux_batch_regressions.py:24
Function
test_group_stats_use_only_that_group
A three-member group's mean/std come from its own cells, not the row.
agent/tests/factors/test_zscore_by_group.py:48
Function
test_groups_align_positionally_not_by_label
A groups frame with different index/column labels gives the same result.
agent/tests/factors/test_zscore_by_group.py:151
Function
test_growth_exceeds_gdp_ceiling_is_a_flag_not_an_error
()
agent/tests/quantlib/valuation/test_dcf.py:491
Function
test_growth_factors_zscore_declared_field
(module, field: str)
agent/tests/factors/test_fundamental_expansion_price_samples.py:139
Function
test_growth_fields_read_a_year_ahead_on_a_daily_densified_panel
()
agent/tests/test_fundamental_schema.py:164
Function
test_growth_fields_zero_or_missing_lag_is_nan
()
agent/tests/test_fundamental_schema.py:148
Function
test_gtja191_sample_matches_golden
Recompute the sampled alpha and check it matches the committed golden CSV.
agent/tests/factors/test_gtja191_part1_samples.py:56
Function
test_gtja191_sample_matches_golden
Each sample alpha must reproduce its pinned CSV golden bit-equivalently.
agent/tests/factors/test_gtja191_part2_samples.py:101
Function
test_guard_accepts_legacy_and_api_key_connect
Keep SDK 0.9.3/0.9.4 routing and deadlines through the same guard.
agent/tests/test_baostock_socket_deadline.py:139
Function
test_guard_blocks_opening_short_above_gross_exposure_cap
A sell from zero opens short exposure; it does not reduce risk.
agent/tests/test_mandate_enforcement.py:392
Function
test_guard_blocks_over_notional_with_breach
(live_runtime: Path)
agent/tests/test_mandate_enforcement.py:380
Function
test_guard_contention_is_bounded_and_does_not_change_active_session
()
agent/tests/test_baostock_socket_deadline.py:299
Function
test_guard_expired_mandate_denies_with_reauth
(live_runtime: Path)
agent/tests/test_mandate_enforcement.py:484
Function
test_guard_forwards_in_mandate_order
(live_runtime: Path)
agent/tests/test_mandate_enforcement.py:305
Function
test_guard_is_installed_on_both_clients
()
agent/tests/test_provider_endpoint_guard.py:92
Function
test_guard_no_mandate_denies
(live_runtime: Path)
agent/tests/test_mandate_enforcement.py:475
Function
test_guard_patches_and_restores
()
agent/tests/test_baostock_socket_deadline.py:127
Function
test_guard_repeatable_is_false
()
agent/tests/test_mandate_enforcement.py:504
Function
test_guard_restores_after_failed_session
()
agent/tests/test_baostock_socket_deadline.py:373
Function
test_guard_serializes_sessions_and_restores_socket_and_patch
()
agent/tests/test_baostock_socket_deadline.py:237
Function
test_guard_structural_breach_denies_no_reauth
(live_runtime: Path)
agent/tests/test_mandate_enforcement.py:463
Function
test_guard_unparseable_intent_denies
(live_runtime: Path)
agent/tests/test_mandate_enforcement.py:494
Function
test_guarded_backends_connect_to_the_address_they_checked
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_provider_endpoint_guard.py:78
Function
test_guarded_client_refuses_a_name_that_resolves_to_a_private_address
( monkeypatch: pytest.MonkeyPatch, resolved: tuple[str, ...] )
agent/tests/test_provider_endpoint_guard.py:65
Function
test_guarded_ledgers_are_outside_the_sandbox
The guard must watch the user's root, not the sandbox it created. Closes the mutation "resolve the guarded paths after the redirect": that gu
agent/tests/test_config_root_sandbox.py:103
Function
test_guess_cannot_move_the_bracketed_answer
()
agent/tests/quantlib/test_fundmath.py:117
Function
test_guide_referenced_paths_exist
Every required in-repo path referenced by the contributor guide must exist.
agent/tests/test_agent_guide_paths.py:35
Method
test_gumbel_copula_is_stable_for_large_theta
(self)
agent/tests/quantlib/test_copula.py:87
Method
test_gumbel_copula_properties
(self)
agent/tests/quantlib/test_copula.py:41
Method
test_half_position_size_doubles_breakeven
(self)
agent/tests/test_strategy_discovery_models.py:261
Method
test_half_spread_applied_to_gold
(self)
agent/tests/test_forex_engine.py:341
Method
test_half_written_file_is_reported_not_invented
(self, tmp_path)
agent/tests/test_background_store_recovery.py:126
Function
test_halt_aborts_before_anything_else
()
agent/tests/test_runtime_runner.py:243
Function
test_halt_blocks_order_no_remote_call
(live_runtime: Path)
agent/tests/test_killswitch_blocks_orders.py:104
Method
test_halt_broker_scoped
(self, live_root: Path)
agent/tests/test_cli_live.py:180
Function
test_halt_omits_order_tools_at_registration
(live_runtime: Path)
agent/tests/test_readonly_default.py:265
Method
test_halt_routes
(self)
agent/tests/test_cli_live.py:137
Method
test_halt_trips_global_sentinel
(self, live_root: Path)
agent/tests/test_cli_live.py:172
Method
test_halt_turn_bypasses_one_turn_runner
A bare halt turn trips the switch via the input path, never the agent. Mirrors the ``_interactive_loop`` guard: a halt turn is consumed befor
agent/tests/test_cli_live.py:872
Method
test_halt_with_explicit_non_live_profile_fails
(self, live_root: Path)
agent/tests/test_cli_live.py:248
Method
test_halt_without_profile_rejects_default_paper_profile
( self, live_root: Path, monkeypatch: pytest.MonkeyPatch )
agent/tests/test_cli_live.py:204
Method
test_halt_without_profile_uses_selected_connector
( self, live_root: Path, monkeypatch: pytest.MonkeyPatch, capsys: pytest.CaptureFixture[str] )
agent/tests/test_cli_live.py:215
Method
test_halt_words
(self, text: str)
agent/tests/test_cli_live.py:465
Function
test_halted_position_marks_at_last_close_past_ffill_limit
()
agent/tests/test_base_engine.py:980
Function
test_halted_session_carries_the_marks_forward_untouched
()
agent/tests/test_paper_trade_5m_golden.py:194
Function
test_halted_session_fills_nothing_and_reports_only_halted
()
agent/tests/test_paper_trade_5m_tool.py:96
Function
test_halted_symbol_emits_only_halted_and_leaves_the_ledger_alone
()
agent/tests/test_paper_trade_5m_session.py:213
Function
test_halted_symbol_rejects_suspended_and_its_position_is_untouched
()
agent/tests/test_paper_trade_5m_engine.py:345
Method
test_han_query_routes_to_a_share
(self)
agent/tests/test_etf_holdings_tool.py:351
Function
test_hand_added_future_end_at_is_cleared_while_pending
Same tamper class as (α): specs define no end boundary, so a manually added end_at that would expire the job mid-life is removed.
agent/tests/scheduling/test_system_jobs.py:380
Function
test_hand_touched_halt_binds_via_mtime
(live_root: Path)
agent/tests/test_sweep_latch.py:93
Method
test_handler_module_uses_cli_package
(self)
agent/tests/test_cli_interactive.py:66
Method
test_handler_modules_import_and_expose_run
(self)
agent/tests/test_institutional_commands.py:186
Method
test_handlers_are_single_command_modules
``cli.main`` only passes the keyword to modules it lists as multi-command. These are not listed, so ``run`` must take ``(ctx, *args)`` — if t
agent/tests/test_institutional_commands.py:196
Method
test_handles_empty_messages
(self)
agent/tests/test_loop_helpers.py:353
Method
test_handles_jsonp_wrapped_search_body
(self)
agent/tests/test_eastmoney_client.py:65
Method
test_handshake_carries_crumb_and_cookie
(self, monkeypatch)
agent/tests/test_yahoo_client.py:332
Method
test_handshake_then_success
(self, monkeypatch)
agent/tests/test_yahoo_client.py:243
Method
test_happy_path
(self, monkeypatch)
agent/tests/test_fund_nav_tool.py:110
Function
test_happy_path_sends_data_url_and_returns_answer
(tool, png_in_allowed_root)
agent/tests/test_image_vision_tool.py:51
Function
test_happy_path_single_call
(monkeypatch)
agent/tests/test_okx_loader_bounded.py:95
Function
test_happy_path_single_call
()
agent/tests/test_loader_retry_helpers.py:74
Function
test_happy_path_single_call_unchanged
()
agent/tests/test_ccxt_loader_bounded.py:78
Function
test_happy_path_streams_text_and_completes
()
agent/tests/test_openbb_bridge/test_adapter.py:83
Function
test_happy_path_tick_ordering
()
agent/tests/test_runtime_runner.py:230
Method
test_hard_point_cap_applies
(self, monkeypatch)
agent/tests/test_prediction_market_tool.py:938
Method
test_hard_queries_benefit
Verify hard queries see improved P@5 under Treatment mode.
agent/tests/memory/benchmarks/test_benchmark.py:101
← previous
next →
19,001–19,100 of 26,887, ranked by callers