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_legacy_mandate_still_parses
(self)
agent/tests/test_mandate_forex.py:167
Function
test_legacy_opencode_spellings_keep_openai_env
Upstream contract: the older names ride the OPENAI_* variables.
agent/tests/test_opencode_provider.py:70
Method
test_legacy_path_unchanged_without_hook
(self)
agent/tests/test_mandate_forex.py:332
Method
test_legacy_reader_counts_every_row_without_concurrency
(self, tmp_path)
agent/tests/test_strategy_discovery_harness.py:733
Method
test_legacy_record_without_timezone_loads_as_none
(self, tmp_path: Path)
agent/tests/test_scheduled_research_store.py:300
Function
test_legacy_report_has_no_strict_section
Non-strict reports are untouched by the strict section.
agent/tests/test_alpha_bench_strict_cli.py:268
Function
test_legacy_run_json_without_provider_model_still_parses
Existing run.json files predate provider/model and must still load. SwarmStore.get_run / list_runs reads on-disk JSON via ``SwarmRun.model_va
agent/tests/test_swarm_run_metadata.py:306
Function
test_legacy_success_envelope_fields_byte_identical
(summary_run_dir)
agent/tests/test_backtest_summary.py:238
Function
test_legacy_swarm_runs_kept_in_run_root_allowlist
Un-migrated legacy swarm runs must stay reachable, like legacy runs/uploads.
agent/tests/test_user_state_paths.py:55
Function
test_legacy_valuation_snapshots_do_not_mix_with_current_history
(tmp_path)
agent/tests/test_futu_portfolio_currency.py:125
Function
test_legacy_values_remain_the_fallback
(monkeypatch)
agent/tests/test_provider_agnostic_tool_policy.py:211
Function
test_length_capped_no_catastrophic_backtracking
()
agent/tests/test_special_token_neutralization.py:121
Method
test_length_is_12_hex_chars
Hash output is a 12-character hex digest prefix.
agent/tests/memory/test_memory_dedup.py:26
Function
test_length_mismatch_rejected
()
agent/tests/quantlib/test_var_backtest.py:59
Function
test_lens_carries_disclaimer
Each lens states it is a framework and not investment advice.
agent/tests/test_investor_lenses_skill.py:209
Function
test_lens_count_within_declared_range
The skill ships a meaningful but bounded number of lenses.
agent/tests/test_investor_lenses_skill.py:105
Function
test_lens_does_not_hardcode_tool_names
Lenses describe reasoning only; naming a tool would couple them to the data layer.
agent/tests/test_investor_lenses_skill.py:260
Function
test_lens_frontmatter_is_complete
Every lens declares the full metadata key set, and name matches filename.
agent/tests/test_investor_lenses_skill.py:138
Function
test_lens_has_required_sections
Each lens keeps the sections that make it an operable procedure.
agent/tests/test_investor_lenses_skill.py:201
Function
test_lens_is_not_a_stub
Guard against placeholder lens files sneaking into the index.
agent/tests/test_investor_lenses_skill.py:234
Function
test_lens_requires_framework_conditional_verdict
The output contract of each lens demands a framework-conditional verdict. Checked inside the ``## Output contract`` section rather than the whole
agent/tests/test_investor_lenses_skill.py:215
Function
test_lens_styles_cover_distinct_schools
Lenses span multiple styles rather than restating one school.
agent/tests/test_investor_lenses_skill.py:148
Method
test_less_than_micro_is_zero
(self)
agent/tests/test_forex_engine.py:123
Method
test_less_than_one_becomes_zero
(self)
agent/tests/test_china_futures_engine.py:172
Function
test_level_selects_the_name_column
()
agent/tests/test_industry_loader.py:195
Function
test_levels_at_the_cap_is_accepted
50 is the documented maximum and must not be rejected.
agent/tests/test_orderbook_depth_tool.py:336
Function
test_levels_out_of_bounds_is_rejected
N over the cap (or below 1) must be an explicit error, never a silent clamp.
agent/tests/test_orderbook_depth_tool.py:327
Function
test_leverage_adjustment_of_an_invalid_type_is_still_refused
Normalizing the sentinel must not re-open the H19 type hole.
agent/tests/test_consent_commit.py:747
Function
test_leverage_ceiling_table
(profile_leverage, ceiling_leverage, fits)
agent/tests/test_consent_commit.py:771
Method
test_leverage_custom
(self)
agent/tests/test_models.py:39
Method
test_leverage_default
(self)
agent/tests/test_models.py:35
Method
test_leverage_derived_at_construction_is_also_reported
__init__ prices leverage off codes[0] before any bar is seen.
agent/tests/test_china_futures_pricing_assumptions.py:112
Method
test_leverage_forced_one
A-share engine forces leverage=1.
agent/tests/test_china_a_engine.py:235
Function
test_leverage_narrowing_still_commits
(rendered, adjusted)
agent/tests/test_consent_commit.py:724
Function
test_leverage_sign_direction
Low leverage scores high: sign inverted versus the raw ratio.
agent/tests/factors/test_fundamental_expansion_samples.py:173
Function
test_leverage_widening_from_cash_only_is_still_refused
The floor sorts below every number in BOTH directions.
agent/tests/test_consent_commit.py:735
Method
test_lexicons_are_disjoint
(self)
agent/tests/test_sentiment_tool.py:79
Function
test_lifecycle_writes_survive_a_schedule_the_grammar_now_rejects
(tmp_path: Path)
agent/tests/test_scheduled_research_executor.py:728
Method
test_lift_funded_by_largest
(self)
agent/tests/test_constraints.py:52
Method
test_limit
(self, tmp_path: Path, capsys: pytest.CaptureFixture[str])
agent/tests/test_cli_hypothesis.py:142
Method
test_limit_above_the_ceiling_reports_the_ceiling
(self, monkeypatch)
agent/tests/test_fred_macro_tool.py:255
Function
test_limit_boundary_is_inclusive
()
agent/tests/test_msteams_inbound_body_limit.py:29
Function
test_limit_caps_returned_reports
()
agent/tests/test_research_reports_tool.py:108
Method
test_limit_caps_rows
(self, monkeypatch)
agent/tests/test_gildata_research_tools.py:88
Method
test_limit_clamped_and_applied
(self)
agent/tests/test_symbol_search_tool.py:159
Method
test_limit_clamped_to_max
(self, monkeypatch)
agent/tests/test_gildata_research_tools.py:97
Method
test_limit_clamps_result_count
(self, monkeypatch: pytest.MonkeyPatch)
agent/tests/test_iwencai_tool.py:107
Method
test_limit_disabled_allows_trade_at_band
(self)
agent/tests/test_korea_equity_engine.py:168
Method
test_limit_down_blocks_long_close
At limit-down, can't sell (close long position).
agent/tests/test_china_futures_engine.py:148
Method
test_limit_down_blocks_sell
(self)
agent/tests/test_korea_equity_engine.py:150
Function
test_limit_down_rejects_a_sell_at_the_lower_band
()
agent/tests/test_paper_trade_rejections.py:193
Method
test_limit_down_sell_blocked
Mainboard -10% limit-down: can't sell.
agent/tests/test_china_a_engine.py:144
Function
test_limit_down_sell_rejects_with_a_price_limit_event
()
agent/tests/test_paper_trade_5m_engine.py:332
Function
test_limit_down_wins_over_limit_not_marketable
()
agent/tests/test_paper_trade_limits.py:150
Method
test_limit_is_clamped_not_rejected
(self, monkeypatch)
agent/tests/test_prediction_market_tool.py:257
Method
test_limit_keeps_most_recent
(self, monkeypatch)
agent/tests/test_fred_macro_tool.py:99
Method
test_limit_keeps_most_recent_rows
(self, monkeypatch)
agent/tests/test_fund_nav_tool.py:170
Function
test_limit_list_absent_leaves_flag_none
()
agent/tests/test_paper_trade_limits_cn_a.py:189
Function
test_limit_list_flag_passes_through
()
agent/tests/test_paper_trade_limits_cn_a.py:182
Function
test_limit_not_marketable_rejects_a_buy_above_the_limit
()
agent/tests/test_paper_trade_rejections.py:202
Method
test_limit_order_is_pending_with_tif
(self, fake_mt5: FakeMT5)
agent/tests/test_mt5_connector.py:666
Method
test_limit_order_requires_a_price
(self)
agent/tests/test_paper_order_lifecycle.py:48
Function
test_limit_place_order_sets_trigger_rate
(monkeypatch)
agent/tests/test_etoro_connector.py:277
Method
test_limit_prices_match_krx_worked_examples
( self, base: float, upper: float, lower: float )
agent/tests/test_korea_equity_engine.py:102
Method
test_limit_prices_stay_inside_the_band
Truncation must never widen the band beyond ±30%.
agent/tests/test_korea_equity_engine.py:107
Method
test_limit_respected
(self, tmp_path: Path)
agent/tests/test_cli_memory.py:160
Method
test_limit_up_blocks_buy
(self)
agent/tests/test_korea_equity_engine.py:145
Method
test_limit_up_buy_blocked
Mainboard +10% limit-up: can't buy.
agent/tests/test_china_a_engine.py:138
Function
test_limit_up_buy_rejects_with_a_price_limit_event
()
agent/tests/test_paper_trade_5m_engine.py:320
Method
test_limit_up_open_is_not_fillable
(self)
agent/tests/test_composite_market_rules.py:71
Function
test_limit_up_rejects_a_buy_at_the_upper_band
()
agent/tests/test_paper_trade_rejections.py:185
Function
test_limit_up_wins_over_limit_not_marketable
()
agent/tests/test_paper_trade_limits.py:143
Function
test_limit_without_limit_price_errors_before_sending
(monkeypatch)
agent/tests/test_etoro_connector.py:301
Function
test_line_offsets_are_a_monotone_scan
A line that also occurs inside an earlier line must not borrow its offset. ``content.find(line)`` without the cursor anchors line 2 inside line 1
agent/tests/test_grounding_release.py:1982
Function
test_linear_impact_matches_its_definition
10% participation at coeff 0.1 is a 1% price move.
agent/tests/quantlib/test_impact.py:86
Function
test_link_absent_metrics_degrades_with_warning
(isolated_env: Path)
agent/tests/test_autopilot_phase3.py:297
Function
test_link_autopilot_backtest_surfaces_validation_section
(isolated_env: Path)
agent/tests/test_autopilot_backtest_validation_evidence.py:66
Function
test_link_backtest_run_card
(storage_path: Path)
agent/tests/test_hypothesis_registry.py:112
Function
test_link_backtest_tool_forwards_validation_evidence
The validation evidence an agent attaches via the tool must reach the persisted run card, not be silently dropped on the way to the registry.
agent/tests/test_hypothesis_registry.py:131
Function
test_link_corrupt_run_card
(isolated_env: Path)
agent/tests/test_autopilot_phase3.py:249
Function
test_link_extracts_metrics_and_links
(isolated_env: Path)
agent/tests/test_autopilot_phase3.py:274
Function
test_link_missing_run_card
(isolated_env: Path)
agent/tests/test_autopilot_phase3.py:237
Function
test_link_reports_one_scaling_factor_per_period
Scaling factors are exposed so a report can be audited.
agent/tests/quantlib/test_attribution.py:335
Function
test_link_requires_run_dir
(isolated_env: Path)
agent/tests/test_autopilot_phase3.py:228
Function
test_link_unknown_hypothesis
(isolated_env: Path)
agent/tests/test_autopilot_phase3.py:262
Function
test_linked_effects_sum_to_multi_period_active_return
The headline requirement: linked effects tie out to the compounded active return.
agent/tests/quantlib/test_attribution.py:292
Function
test_linked_returns_compound
Linked totals are the compounded, not summed, period returns.
agent/tests/quantlib/test_attribution.py:281
Function
test_linked_sector_totals_tie_out
Summing the linked per-sector totals also reproduces the compounded active return.
agent/tests/quantlib/test_attribution.py:299
Function
test_linking_identical_portfolio_and_benchmark_yields_zero
Zero active return in every period links to zero overall.
agent/tests/quantlib/test_attribution.py:325
Method
test_links_add_generates_relations_json
With VT_MEMORY_LINKS=true, adding overlapping entries creates sidecar.
agent/tests/memory/test_tier2_integration.py:140
Method
test_links_no_regression
Expanded P@5 should be >= 75% of direct P@5. Link expansion replaces 2 of the top-5 with link-expanded results. This naturally trades
agent/tests/memory/benchmarks/test_tier2_benchmark.py:192
Method
test_links_provide_additional_hits
Link expansion should find at least some extra ground-truth items.
agent/tests/memory/benchmarks/test_tier2_benchmark.py:206
Function
test_liquidation_and_reentry_are_both_recorded
(direction: float)
agent/tests/test_turnover_direction_changes.py:67
Method
test_liquidation_on_large_loss
Position wiped when equity drops below maintenance margin.
agent/tests/test_crypto_engine.py:405
Function
test_list_a_module_returns_functions_with_summaries
(tool)
agent/tests/test_quantlib_tool.py:108
Method
test_list_artifacts_empty
(self)
agent/tests/test_strategy_store.py:190
Method
test_list_artifacts_filter_status
(self)
agent/tests/test_strategy_store.py:202
Method
test_list_artifacts_filter_type
(self)
agent/tests/test_strategy_store.py:194
Method
test_list_artifacts_filter_universe
(self)
agent/tests/test_strategy_store.py:211
Method
test_list_artifacts_limit
List respects the limit parameter.
agent/tests/test_strategy_store.py:716
← previous
next →
20,001–20,100 of 26,887, ranked by callers