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_trend_line_slope_window_two_is_finite
()
agent/tests/test_pattern_tool.py:298
Function
test_triangle_flat_series_all_zero
()
agent/tests/test_pattern_tool.py:197
Function
test_trigger_is_frozen
()
agent/tests/test_runtime_triggers.py:317
Function
test_triggers_include_the_paths_that_can_break_the_image
Without these paths the validation job never runs on the real changes.
agent/tests/test_docker_workflow_publish_guard.py:108
Function
test_trip_is_idempotent_latest_wins
(live_runtime: Path)
agent/tests/test_halt.py:101
Method
test_triple_swap_wednesday
Wednesday gets 3x swap (covers weekend).
agent/tests/test_forex_engine.py:252
Method
test_true_and_false_flags_are_read_but_a_missing_one_stays_unknown
(self)
agent/tests/test_institutional_holdings_tool.py:773
Method
test_true_for_currency_pairs
(self, token: str)
agent/tests/test_mt5_connector.py:317
Function
test_true_max_iterations_still_returns_max_iteration_reason
A provider that ignores the forced text-only last turn is still max-iter.
agent/tests/test_agent_loop_terminal_state.py:400
Method
test_true_on_win32
(self)
agent/tests/test_cli_setup_dev.py:20
Function
test_true_requests_executions
(seen: list[bool], flag: Any)
agent/tests/test_trading_orders_tool_flags.py:38
Function
test_true_values
(value)
agent/tests/test_tool_boolean_arguments.py:17
Method
test_true_when_connection_succeeds
(self, monkeypatch)
agent/tests/test_futu_loader.py:197
Function
test_truncated_block_is_redacted_to_the_end
()
agent/tests/test_redaction_private_key_blocks.py:34
Method
test_truncated_raises_incomplete
Contract 4: a truncated walk is an error, not a short series.
agent/tests/test_tickerall_loader.py:272
Function
test_truncating_history_never_changes_earlier_signals
(skill)
agent/tests/test_skill_swing_engine_causality.py:53
Function
test_truncation
(tmp_path: Path)
agent/tests/test_doc_reader.py:179
Method
test_truncation
(self)
agent/tests/test_skill_writer_tools.py:32
Method
test_truncation_preserves_right
(self)
agent/tests/test_cli_interactive.py:563
Method
test_truthy
(self, value: str)
agent/tests/test_env_schema.py:492
Method
test_truthy_strings
(self, value: str)
agent/tests/test_env_schema.py:523
Function
test_ts_argmax_ties_use_most_recent_bar
(backend)
agent/tests/factors/test_ts_argext_tie_backend.py:28
Function
test_ts_argmin_ties_use_most_recent_bar
(backend)
agent/tests/factors/test_ts_argext_tie_backend.py:35
Function
test_ts_code_routes_beijing_920_codes_to_bj
()
agent/tests/test_tushare_fallbacks.py:126
Function
test_ts_corr_constant_window_is_nan
()
agent/tests/factors/test_base.py:83
Function
test_ts_cov_warmup
()
agent/tests/factors/test_base.py:113
Function
test_ts_max_min_argmax_argmin
()
agent/tests/factors/test_base.py:104
Function
test_ts_mean_warmup_is_nan
()
agent/tests/factors/test_base.py:75
Function
test_ts_rank_pct_within_window
()
agent/tests/factors/test_base.py:97
Function
test_ts_std_warmup_window
()
agent/tests/factors/test_base.py:90
Method
test_tsx_venture_still_routes_to_canada
(self)
agent/tests/test_vietnam_equity_engine.py:31
Function
test_ttm_flow_fields_use_four_quarter_rolling_sum_on_latest_filed_date
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_fundamentals_pit.py:246
Function
test_tuning_helpers_are_reexported_by_loop
(name: str)
agent/tests/test_tuning_reexport.py:25
Function
test_turn_without_tools_only_allows_final
(fake_cli)
agent/tests/test_claude_cli_provider.py:280
Function
test_turnover_entries_exits_and_top_moves
()
agent/tests/test_rebalance_notes.py:23
Method
test_turnover_keys_present
(self)
agent/tests/test_metrics.py:589
Method
test_turnover_monotone_non_increasing_in_penalty
Realized turnover must not rise as the penalty grows.
agent/tests/test_turnover_aware_optimizer.py:82
Method
test_turnover_recorded
(self)
agent/tests/test_turnover_aware_optimizer.py:186
Function
test_turnover_uses_rounded_fills_instead_of_targets
()
agent/tests/test_realized_turnover.py:35
Function
test_tushare_daily_fetch_uses_opt_in_cache_for_bars_and_fields
( tmp_path, monkeypatch, fake_duckdb, loader_cache_root, )
agent/tests/test_loader_retry_helpers.py:386
Function
test_tushare_failure_falls_back_to_baostock
A tushare API whose daily_basic always fails degrades to baostock.
agent/tests/factors/test_valuation_baostock_fallback.py:117
Function
test_tushare_hk_override_is_raw
Tushare publishes no HK adjustment-factor series, so only its A-share/fund paths are adjusted.
agent/tests/test_price_caliber.py:63
Method
test_tushare_loader_validates_dates
Tushare loader should raise on reversed dates before fetching.
agent/tests/test_engine_robustness.py:555
Function
test_tushare_pct_chg_reconstructs_the_prior_close
pct_chg + close yields the PREVIOUS close, which is historical.
agent/tests/test_price_limit_lookahead.py:138
Method
test_tushare_style_converted
tushare-style format (601398.SH) should be converted to sh.601398.
agent/tests/test_baostock_loader.py:77
Method
test_tushare_style_sh_suffix
600036.SH is the tushare-style format and should be recognized.
agent/tests/test_baostock_loader.py:22
Method
test_tushare_style_sz_suffix
000001.SZ is the tushare-style format and should be recognized.
agent/tests/test_baostock_loader.py:27
Method
test_tushare_suffix_china_futures_classify_as_china_futures
(self)
agent/tests/test_market_detection.py:126
Method
test_tushare_sz_style_converted
tushare-style SZ (000001.SZ) should be converted to sz.000001.
agent/tests/test_baostock_loader.py:94
Function
test_tvpi_is_exactly_dpi_plus_rvpi
(rows)
agent/tests/quantlib/test_fundmath.py:347
Function
test_twelve_company_comparison_keeps_every_filing
(tmp_path, monkeypatch, provider, model)
agent/tests/test_context_budget.py:264
Function
test_two_5m_order_symbols_are_refused_before_any_fetch
()
agent/tests/test_paper_trade_5m_scope.py:138
Function
test_two_agents_with_distinct_servers_only_see_their_own_remote_tools
Per-agent whitelist isolation persists at the LLM-tools layer. When agent A's preset declares ``mcp_alpha_search`` and agent B's declares ``m
agent/tests/test_swarm_m4_e2e.py:319
Method
test_two_backtests_in_one_turn_do_not_mix_artifacts
The active run must describe ONE backtest, not the union of two (#1094). The archive used to be a plain merge, so a file only the first backt
agent/tests/test_loop_helpers.py:459
Function
test_two_blocks_are_redacted_independently
()
agent/tests/test_redaction_private_key_blocks.py:39
Method
test_two_char_words_included
(self)
agent/tests/test_persistent_memory.py:71
Function
test_two_concurrent_clients_do_not_share_a_goal_session
(tmp_path, monkeypatch)
agent/tests/test_mcp_goal_session_isolation.py:27
Function
test_two_different_people_are_not_flagged
(tools)
agent/tests/test_sdm_governance_wiring.py:119
Method
test_two_disjoint_windows_span
(self)
agent/tests/test_strategy_discovery_models.py:196
Method
test_two_distinct_emoji_names_no_collision
(self, tmp_path: Path)
agent/tests/test_persistent_memory.py:586
Method
test_two_dividends_convert_to_multiplicative
(self)
agent/tests/test_additive_conversion.py:46
Method
test_two_flagged_winners_are_not_trusted
A payload claiming two winners is incoherent; fall back, don't guess.
agent/tests/test_prediction_market_tool.py:813
Function
test_two_group_row_matches_hand_computation
Row [1,3 | 10,20] in two groups: every cell is ±1/sqrt(2).
agent/tests/factors/test_zscore_by_group.py:30
Method
test_two_hose_symbols_are_one_currency
(self)
agent/tests/test_composite_currency_guard.py:85
Function
test_two_imports_cannot_double_count_the_same_underlying_portfolios
(tmp_path)
agent/tests/test_extraetf_integration.py:184
Method
test_two_local_processes_can_share_the_directory
One process's records stay readable after another writes beside them.
agent/tests/test_background_store_recovery.py:155
Function
test_two_observations_keep_the_measured_sample_std
()
agent/tests/test_bench_single_ic_observation.py:65
Function
test_two_observations_keep_the_measured_sample_std
()
agent/tests/quantlib/test_combination_single_ic_std.py:77
Function
test_two_passes_are_idempotent_with_zero_rewrite
(tmp_path: Path)
agent/tests/scheduling/test_system_jobs.py:246
Method
test_two_phase_panel_ends_fused_with_open_episode
(self, monkeypatch)
agent/tests/test_regime.py:197
Function
test_two_point_no_flow_twr_is_exactly_the_price_relative
A single interval must not introduce any compounding error at all.
agent/tests/quantlib/test_performance.py:156
Function
test_two_sessions_have_different_engine_fingerprints
()
agent/tests/test_paper_trade_5m_golden.py:104
Function
test_twr_and_mwr_provably_differ_when_money_arrives_before_a_drawdown
A contribution timed into the loss hurts the client, not the manager.
agent/tests/quantlib/test_performance.py:112
Function
test_twr_equals_the_simple_return_when_nothing_moves
With no external flow the chain-link collapses to end over start.
agent/tests/quantlib/test_performance.py:136
Function
test_twr_is_invariant_to_the_size_and_date_of_a_contribution
Same return path, three different flow schedules, one TWR.
agent/tests/quantlib/test_performance.py:89
Method
test_type_filter
(self, tmp_path: Path, capsys: pytest.CaptureFixture[str])
agent/tests/test_cli_memory.py:71
Method
test_type_filter_with_no_matches
(self, tmp_path: Path, capsys: pytest.CaptureFixture[str])
agent/tests/test_cli_memory.py:80
Method
test_typeahead_surfaces_it
(self)
agent/tests/test_playbooks_surface.py:582
Method
test_typing_optional_float_environment_coercion
(self, monkeypatch, raw, expected)
agent/tests/test_env_schema.py:276
Method
test_tz_aware_generated_at_is_accepted_and_preserved
(self)
agent/tests/quantlib/valuation/test_artifact.py:438
Function
test_tz_aware_next_due_defaults_match_legacy_signature
()
agent/tests/test_scheduled_research_executor.py:595
Method
test_tz_aware_range_passed_to_terminal
(self, fake_mod: _FakeMT5Module)
agent/tests/test_mt5_loader.py:189
Function
test_tz_cron_fall_back_ambiguous_time_runs_once_at_first_occurrence_new_york
()
agent/tests/test_scheduled_research_executor.py:574
Function
test_tz_cron_half_hour_offset_adelaide
()
agent/tests/test_scheduled_research_executor.py:551
Function
test_tz_cron_is_strictly_after_in_local_zone
()
agent/tests/test_scheduled_research_executor.py:613
Function
test_tz_cron_spring_forward_gap_skips_occurrence_new_york
()
agent/tests/test_scheduled_research_executor.py:566
Function
test_tz_cron_weekday_is_evaluated_in_authoring_zone
()
agent/tests/test_scheduled_research_executor.py:541
Function
test_tz_cron_weekday_survives_fall_back_auckland
()
agent/tests/test_scheduled_research_executor.py:534
Function
test_tz_cron_weekday_survives_spring_forward_auckland
()
agent/tests/test_scheduled_research_executor.py:521
Function
test_tz_none_keeps_utc_semantics_for_extended_grammar
()
agent/tests/test_scheduled_research_executor.py:588
Method
test_uk_chain_is_a_member_of_global_routing
(self)
agent/tests/test_uk_equity_support.py:82
Method
test_uk_chain_prefers_yahoo
(self)
agent/tests/test_uk_equity_support.py:79
Method
test_uk_chain_uses_only_compatible_sources
(self)
agent/tests/test_registry.py:229
Method
test_uk_il_suffix_routes_to_yahoo
(self)
agent/tests/test_financial_statements_tool.py:443
Method
test_uk_income_annual_uses_annual_module
(self)
agent/tests/test_financial_statements_tool.py:388
Method
test_uk_income_quarter_uses_quarterly_module
(self)
agent/tests/test_financial_statements_tool.py:409
Method
test_uk_indicators_flatten_nested_blocks
(self)
agent/tests/test_financial_statements_tool.py:453
Method
test_uk_market_cost_is_separate_from_cad
(self)
agent/tests/test_uk_equity_support.py:71
Function
test_uk_orders_are_whole_shares
LSE has no native fractional-share orders.
agent/tests/test_uk_backtest_smoke.py:85
Function
test_uk_routes_to_global_equity_engine
()
agent/tests/test_uk_backtest_smoke.py:71
← previous
next →
25,601–25,700 of 26,887, ranked by callers