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_robinhood_generic_reads_use_current_agentic_mcp_tool_names
Regression for #381: generic reads must not call stale Robinhood tool names.
agent/tests/test_trading_connections.py:180
Function
test_robinhood_safe_seed_loads_and_discovers_enabled_tools_without_warnings
( caplog: pytest.LogCaptureFixture, )
agent/tests/test_agent_config.py:364
Function
test_robinhood_seed_is_readonly_and_oauth
()
agent/tests/test_mcp_oauth_schema.py:121
Function
test_robinhood_wildcard_validation_names_safe_seed_and_config_path
()
agent/tests/test_agent_config.py:383
Function
test_roc_is_delayed_close_over_latest_close
(window: int)
agent/tests/factors/test_qlib158_regression.py:75
Method
test_role_comes_from_both_signals
(self, form: str, cover: bytes, expected: str)
agent/tests/test_institutional_holdings_tool.py:742
Method
test_roll_effective_spread
(self)
agent/tests/quantlib/test_microstructure.py:19
Function
test_roll_spread_rejects_nonfinite_prices
(bad)
agent/tests/quantlib/test_microstructure_nonfinite.py:8
Function
test_rolling_correlation_unnamed_datetime_index
OHLCV frames with an unnamed DatetimeIndex must not KeyError on trade_date.
agent/tests/test_correlation.py:373
Function
test_rolling_output_matches_independent_timestamp_oracle
(compute, which, backend)
agent/tests/factors/test_gtja191_highday_lowday_recency.py:117
Function
test_root_is_redacted_at_every_real_boundary
Regression: a root followed by a separator is NOT the only leak. An exact root (a bare cwd/home path), a root at end of string, and a root fo
agent/tests/test_redaction.py:98
Method
test_root_itself_is_within_root
(self, tmp_path: Path)
agent/tests/test_channel_utils_is_path_within.py:22
Function
test_rotation_does_not_delete_anything
(tmp_path)
agent/tests/test_governance.py:714
Function
test_rotation_is_a_no_op_below_the_threshold
(tmp_path)
agent/tests/test_governance.py:845
Function
test_rotation_is_independent_of_close_open_symbol_order
()
agent/tests/test_execution_causality.py:74
Function
test_rotation_refuses_corruption_in_sealed_history
(tmp_path)
agent/tests/test_governance_rotation_boundaries.py:34
Function
test_rotation_refuses_to_seal_a_corrupt_ledger
(tmp_path)
agent/tests/test_governance.py:829
Function
test_rotation_rejects_a_non_positive_threshold
(tmp_path)
agent/tests/test_governance.py:854
Function
test_rotation_seals_a_segment_and_keeps_the_active_file_small
(tmp_path)
agent/tests/test_governance.py:700
Method
test_rough_accuracy
(self)
agent/tests/test_loop_helpers.py:49
Method
test_round_down_and_up
(self)
agent/tests/test_vietnam_equity_engine.py:45
Method
test_round_down_and_up
(self)
agent/tests/test_korea_equity_engine.py:81
Function
test_round_size_follows_the_board_grid
( symbol: str, raw: float, expected: int )
agent/tests/test_china_a_board_order_grid.py:37
Method
test_round_size_reflects_current_symbol_not_last_synced_one
(self)
agent/tests/test_composite_engine_fallback.py:67
Function
test_round_size_uses_the_symbols_own_lot
( symbol: str, raw: float, expected: float )
agent/tests/test_global_equity_hk_lot_sizes.py:46
Method
test_round_trip
(self, S, K, T, r, sigma, q, kind)
agent/tests/quantlib/test_options.py:182
Method
test_round_trip_and_layout_is_stable_per_owner
(self, tmp_path)
agent/tests/test_background_store_recovery.py:86
Function
test_round_trip_preserves_entry_window
( tmp_path: Path, direction: int, same_day: bool )
agent/tests/test_validation_entry_times.py:15
Method
test_round_up_never_returns_zero
(self)
agent/tests/test_korea_equity_engine.py:91
Function
test_rounded_prose_is_linked_to_its_precise_observation
( tmp_path: Path, payload: dict, prose: str, declared: str )
agent/tests/test_grounding_numeric_locale_rounding.py:262
Function
test_rounding_does_not_widen_the_existing_evidence_policy
(tmp_path: Path, written, accepted)
agent/tests/test_grounding_september28_safety.py:19
Function
test_rounding_noise_is_still_clipped
()
agent/tests/quantlib/test_factormodel_negative_specific_variance.py:24
Method
test_rounds_down
(self)
agent/tests/test_china_a_engine.py:186
Method
test_rounds_down_to_integer
(self)
agent/tests/test_china_futures_engine.py:164
Method
test_rounds_to_micro_lot
(self)
agent/tests/test_forex_engine.py:115
Function
test_roundtrips_carry_settlement_currency
()
agent/tests/test_trade_journal_currency_pools.py:38
Method
test_route_entry_creates_subdir
Routing to known categories creates subdirectory.
agent/tests/memory/test_hierarchy.py:34
Method
test_route_entry_unknown_type_falls_back
Unknown memory_type routes to base directory.
agent/tests/memory/test_hierarchy.py:43
Function
test_route_falls_back_to_hot_apply
A non-noop key, the enabled transition, or a rejected refresh hot-swaps.
agent/tests/test_channel_noop_refresh.py:268
Function
test_route_noop_only_edit_applies_refreshed_without_reload
A noop-key-only PUT refreshes in place; the stop+start path never runs.
agent/tests/test_channel_noop_refresh.py:237
Function
test_route_registration_order_keeps_static_paths_before_job_id
()
agent/tests/scheduling/test_system_job_protection.py:189
Function
test_router_does_not_hardcode_tool_names
The router routes between lenses by markdown link, not by tool name.
agent/tests/test_investor_lenses_skill.py:267
Function
test_router_frontmatter_is_parseable
Router frontmatter parses and names the skill after its directory.
agent/tests/test_investor_lenses_skill.py:128
Function
test_router_index_and_disk_agree_both_ways
Every indexed lens exists, and every lens on disk is indexed.
agent/tests/test_investor_lenses_skill.py:170
Function
test_router_links_are_relative_to_the_router
Links are written relative to SKILL.md, which is what GitHub follows.
agent/tests/test_investor_lenses_skill.py:179
Function
test_router_links_resolve_through_read_file
Each router link is reachable via the read_file tool's skills root.
agent/tests/test_investor_lenses_skill.py:188
Function
test_router_loads_through_skills_loader
SkillsLoader picks the skill up with a usable name/description/category.
agent/tests/test_investor_lenses_skill.py:110
Function
test_routes_keep_authentication
()
agent/tests/test_shannon_routes.py:113
Method
test_routing_block_names_the_refresh_tool
(self)
agent/tests/test_strategy_discovery_guard.py:165
Method
test_row_cap_bounds_a_huge_table
(self)
agent/tests/test_institutional_holdings_tool.py:406
Method
test_row_count_still_counts_physical_rows
(self, tmp_path)
agent/tests/test_strategy_discovery_store.py:259
Function
test_row_order_does_not_change_the_winner
()
agent/tests/test_industry_loader.py:153
Function
test_row_with_only_non_numeric_fields_returns_none
(tmp_path: Path)
agent/tests/test_session_load_metrics.py:45
Method
test_row_without_date_dropped
(self)
agent/tests/test_fred_macro_tool.py:180
Method
test_rowless_payload_yields_empty_data
(self)
agent/tests/test_market_screener_tool.py:121
Function
test_rows_are_structured_arrays_not_raw_csv
(run_dir: Path)
agent/tests/test_run_artifact_tool.py:344
Method
test_rows_carry_decay_fields
(self, tmp_path)
agent/tests/test_strategy_discovery_facade.py:1011
Method
test_rows_carry_every_reported_field
(self)
agent/tests/test_institutional_holdings_tool.py:369
Method
test_rows_carry_stage_provenance_and_regime_definition
(self, tmp_path)
agent/tests/test_strategy_discovery_harness.py:618
Function
test_rows_read_from_a_prior_table_ground_only_what_was_shown
(reuse)
agent/tests/test_grounding_prior_run_reuse.py:95
Function
test_rows_to_frame_drops_rows_missing_ohlc
()
agent/tests/test_tiingo_loader.py:115
Function
test_rows_to_frame_empty_returns_none
()
agent/tests/test_tiingo_loader.py:110
Function
test_rows_to_frame_shape_and_dtypes
()
agent/tests/test_tiingo_loader.py:97
Function
test_rows_with_a_blank_label_are_dropped_not_defaulted
()
agent/tests/test_industry_loader.py:177
Function
test_rows_with_incomplete_adjusted_ohlc_do_not_mix_price_bases
()
agent/tests/test_tiingo_loader.py:122
Method
test_rows_with_incomplete_ohlc_dropped
(self)
agent/tests/test_gildata_loader.py:177
Method
test_rows_with_incomplete_ohlc_dropped
(self)
agent/tests/test_fmp_loader.py:108
Method
test_rows_with_nan_ohlc_dropped
(self)
agent/tests/test_stooq_loader.py:181
Method
test_rows_without_a_ticker_are_dropped
(self)
agent/tests/test_etf_holdings_tool.py:526
Method
test_rsi_downtrend
All losses, no gains → RSI should approach 0.
agent/tests/test_technical_indicator_tool.py:59
Method
test_rsi_flat
Zero change → avg_loss = 0 → RSI = 100 (no downward pressure).
agent/tests/test_technical_indicator_tool.py:53
Method
test_rsi_insufficient_bars
(self)
agent/tests/test_technical_indicator_tool.py:66
Method
test_rsi_matches_sibling_wilder_implementations
Regression: must agree with the Wilder-EWM RSI already used elsewhere in this codebase (shadow_account/extractor.py, shadow_account/sc
agent/tests/test_technical_indicator_tool.py:102
Method
test_rsi_uptrend
All gains, no losses → RSI should approach 100.
agent/tests/test_technical_indicator_tool.py:46
Method
test_rsi_uses_wilder_ewm_not_rolling_mean
Regression (sibling divergence): the docstring promises Wilder smoothing, which is Wilder's exponential method, not a plain rolling me
agent/tests/test_technical_indicator_tool.py:70
Function
test_rule_fields_are_in_the_tool_schema
A field the schema does not expose cannot be written by an agent.
agent/tests/test_sdm_register_strategy_fields.py:90
Function
test_rule_fields_are_stored_as_text
( tool: SdmRegisterTool, given: object, stored: str | None )
agent/tests/test_sdm_register_strategy_fields.py:52
Function
test_rule_to_context_with_price_conditions
()
agent/tests/test_shadow_account.py:1857
Function
test_rule_to_context_without_price_conditions
()
agent/tests/test_shadow_account.py:1881
Function
test_rules_passed_as_lists_like_the_old_skill_example_register
The strategy-dev-manager example used to pass extracted rules as lists.
agent/tests/test_sdm_register_strategy_fields.py:67
Method
test_run_accepts_unquoted_multi_word_variables
(self)
agent/tests/test_playbooks_surface.py:620
Function
test_run_alpha_bench_rejects_invalid_horizon_before_touching_the_engine
(bad: object)
agent/tests/test_alpha_bench_horizon.py:183
Function
test_run_backtest_emits_risk_xray_artifacts
(tmp_path, bbb_signal)
agent/tests/test_risk_xray.py:335
Method
test_run_backtest_rereads_the_interval
(self)
agent/tests/test_composite_currency_guard.py:138
Function
test_run_backtest_with_bars_per_year_none_does_not_crash
(tmp_path)
agent/tests/test_risk_xray.py:462
Function
test_run_bench_all_excluded_errors_before_loading_the_panel
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_bench_universe_selection.py:102
Function
test_run_bench_default_meta_says_daily
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_alpha_bench_horizon.py:65
Function
test_run_bench_excludes_with_disclosure_and_benches_the_rest
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_bench_universe_selection.py:78
Function
test_run_bench_horizon_meta_says_non_overlapping
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_alpha_bench_horizon.py:77
Function
test_run_bench_invalid_horizon_errors_without_crashing
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_alpha_bench_horizon.py:89
Function
test_run_bench_only_none_benches_everything
(monkeypatch: pytest.MonkeyPatch)
agent/tests/factors/test_alpha_compare.py:95
Function
test_run_bench_only_restricts_to_subset
(monkeypatch: pytest.MonkeyPatch)
agent/tests/factors/test_alpha_compare.py:83
Function
test_run_bench_only_unknown_ids_errors
(monkeypatch: pytest.MonkeyPatch)
agent/tests/factors/test_alpha_compare.py:104
Function
test_run_bench_rejects_out_of_range_horizon_before_panel_load
( monkeypatch: pytest.MonkeyPatch, bad: object )
agent/tests/test_alpha_bench_horizon.py:470
Function
test_run_bench_sp500_selection_is_untouched
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_bench_universe_selection.py:119
Function
test_run_bench_strict_accepts_horizon_and_carries_meta
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_alpha_bench_horizon.py:149
Function
test_run_bench_strict_catches_planted_alive_signal
Regression for the original code-review finding 'integration test cheats': here we plant a genuine momentum signal and assert that the strict
agent/tests/factors/test_bench_strict.py:603
Function
test_run_bench_strict_catches_planted_reversed_signal
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/factors/test_bench_strict.py:644
Function
test_run_bench_strict_default_meta_says_daily
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_alpha_bench_horizon.py:164
Function
test_run_bench_strict_emits_legacy_alive_dead_reversed_keys
Regression for C1: wire schema must keep legacy bucket keys so existing dashboards keep rendering.
agent/tests/factors/test_bench_strict.py:427
← previous
next →
23,601–23,700 of 26,887, ranked by callers