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_check_budget_message_includes_budget_when_provided
()
agent/tests/test_loader_retry_helpers.py:157
Function
test_check_budget_message_omits_budget_when_absent
()
agent/tests/test_loader_retry_helpers.py:162
Function
test_check_budget_passes_before_deadline
()
agent/tests/test_loader_retry_helpers.py:148
Function
test_check_budget_raises_past_deadline
()
agent/tests/test_loader_retry_helpers.py:152
Method
test_check_connection_unconfigured_degrades
(self, fake_mt5: FakeMT5)
agent/tests/test_mt5_connector.py:955
Function
test_check_running_task_reports_timeout_context
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_background_tools.py:68
Function
test_check_status_auth_failure_keeps_configured
(monkeypatch)
agent/tests/test_etoro_connector.py:203
Function
test_check_status_connected
(monkeypatch)
agent/tests/test_etoro_connector.py:181
Method
test_check_status_happy_path
(self, fake_mt5: FakeMT5)
agent/tests/test_mt5_connector.py:437
Function
test_check_status_not_configured
()
agent/tests/test_etoro_connector.py:165
Function
test_check_status_partial_credentials
()
agent/tests/test_etoro_connector.py:174
Function
test_check_status_reports_missing_sdk
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_ibkr_local.py:155
Method
test_check_status_reports_unconfigured
(self, fake_mt5: FakeMT5)
agent/tests/test_mt5_connector.py:430
Function
test_checkout_install_prints_hint_no_pip
(monkeypatch, capsys: pytest.CaptureFixture[str])
agent/tests/test_cli_update.py:267
Function
test_checks_are_derived_only_from_extracted_claims
()
agent/tests/test_research_papers_tool.py:449
Function
test_child_deadline_is_failure
(monkeypatch)
agent/tests/test_loader_health.py:144
Method
test_child_identity_starts_clean
(self)
agent/tests/test_strategy_store_adaptation.py:119
Method
test_child_keeps_parent_signal_fields
(self)
agent/tests/test_strategy_store_adaptation.py:104
Function
test_child_report_handling
(monkeypatch, payload, status)
agent/tests/test_loader_health.py:195
Function
test_child_starts_without_evidence_attestation_or_parent_code
(context)
agent/tests/test_strategy_adaptation_workflow.py:62
Method
test_china_a_single_market_still_blocks_same_day_sell
(self)
agent/tests/test_composite_market_rules.py:86
Function
test_china_market_coverage_is_represented
At least three lenses speak to A-share / HK market structure.
agent/tests/test_investor_lenses_skill.py:154
Function
test_china_scale_gtja191_not_listed_for_india
(registry: Registry)
agent/tests/factors/test_india_universe.py:61
Function
test_china_scale_gtja191_not_listed_for_korea
(registry: Registry)
agent/tests/factors/test_korea_universe.py:62
Method
test_chinext_20pct_limit
ChiNext (300xxx) has ±20% limit.
agent/tests/test_china_a_engine.py:164
Method
test_chinext_within_limit
(self)
agent/tests/test_china_a_engine.py:170
Method
test_ci_contains_observed
The observed Sharpe should usually fall within the CI.
agent/tests/test_validation.py:157
Method
test_circuit_disabled_allows_trade_at_limit
(self)
agent/tests/test_india_equity_engine.py:84
Function
test_circularity_converges_in_more_than_one_iteration
A real cash shortfall forces the interest/revolver fixed point to iterate. The initial guess (no revolver movement) is not the fixed point here -
agent/tests/quantlib/valuation/test_threestatement.py:449
Function
test_citations_require_matching_single_row_and_bind_checksum
(tmp_path)
agent/tests/test_run_card_trust_layer_v1.py:115
Function
test_cited_needs_a_source_and_may_not_pose_as_a_print
(tmp_path: Path)
agent/tests/test_grounding_figures_contract.py:549
Method
test_cjk
(self)
agent/tests/test_session_search.py:193
Method
test_cjk_characters
(self)
agent/tests/test_persistent_memory.py:79
Method
test_cjk_content
Chinese content can be indexed and searched.
agent/tests/memory/test_search_index.py:158
Method
test_cjk_mixed_with_latin_preserves_a_real_space
A real space at a CJK/Latin boundary must survive, not just the artificial one _prepare_cjk adds to separate FTS5 tokens.
agent/tests/memory/test_search_index.py:240
Method
test_cjk_mixed_with_latin_round_trips_without_inserted_spaces
A CJK run directly against a ticker, date, or punctuation mark must come back exactly as written, not with a space the original never
agent/tests/memory/test_search_index.py:220
Method
test_cjk_name_is_findable_after_add
(self, tmp_path: Path)
agent/tests/test_persistent_memory.py:259
Method
test_cjk_name_keeps_distinct_slug
(self)
agent/tests/test_skill_writer_tools.py:39
Method
test_cjk_names_get_distinct_filenames
(self, tmp_path: Path)
agent/tests/test_persistent_memory.py:240
Function
test_cjk_query_does_not_match_unrelated_shared_character
(tmp_path)
agent/tests/test_user_blockers_followups.py:47
Method
test_cjk_search
(self, index: SessionSearchIndex)
agent/tests/test_session_search.py:101
Method
test_cjk_search
(self, tmp_path: Path)
agent/tests/test_persistent_memory.py:399
Method
test_cjk_search_matches_a_phrase_shorter_than_the_whole_message
A CJK query must match without quoting the entire indexed message. FTS5's default tokenizer has no CJK word boundaries, so a run of C
agent/tests/test_session_search.py:107
Method
test_cjk_snippet_has_no_duplicated_characters
A snippet must not repeat characters from the underlying bigram index. The FTS5 content column stores each CJK run as its unigrams followed
agent/tests/memory/test_search_index.py:176
Function
test_claim_is_exclusive_and_releasable
(live_root: Path)
agent/tests/test_sweep_latch.py:261
Function
test_claim_is_released_after_the_run_finishes
A sequential second send succeeds once the first run reaches a terminal state.
agent/tests/test_session_service_lifecycle.py:89
Function
test_claim_is_released_when_pre_run_bookkeeping_fails
A failure before the agent even starts must not brick the session. mark_running/update_attempt/emit used to run outside the try, so a disk er
agent/tests/test_session_service_lifecycle.py:300
Function
test_claim_is_released_when_the_agent_raises
An exception inside the run must not strand the session as busy.
agent/tests/test_session_service_lifecycle.py:110
Function
test_claims_are_labelled_as_the_papers_own
()
agent/tests/test_research_papers_tool.py:474
Function
test_clamp_helpers_survive_non_finite_and_preserve_finite_values
Read-only limit helpers clamp junk instead of raising OverflowError. ``int(float("inf"))`` raises OverflowError — that is the failure mode these
agent/tests/test_tools_type_value_safety.py:61
Method
test_clamp_limit
(self)
agent/tests/test_stock_news_tool.py:81
Method
test_class_attributes
(self)
agent/tests/test_eastmoney_loader.py:52
Method
test_class_attributes
(self)
agent/tests/test_lockup_expiry_tool.py:49
Method
test_class_share_is_hyphenated
(self)
agent/tests/test_stooq_loader.py:79
Function
test_class_shares_map_to_hyphen_form
()
agent/tests/test_yfinance_symbol_map.py:11
Method
test_classification
(self, message, limited)
agent/tests/test_tushare_loader.py:478
Method
test_classification_map_fail_closed
(self)
agent/tests/test_mt5_connector.py:971
Function
test_classification_registered
()
agent/tests/test_etoro_connector.py:343
Function
test_classify_clean_4to1_uses_the_fixture_numbers
()
agent/tests/test_paper_trade_corporate_actions.py:132
Function
test_classify_market_supports_yahoo_ss_suffix
Prove that _classify_market classifies both .SH and Yahoo .SS as 'a_share'.
agent/tests/test_financial_statements_yahoo_ss_suffix.py:10
Function
test_classify_refuses_cn_a_and_candidate_days_are_weekdays_only
()
agent/tests/test_paper_trade_readiness.py:277
Method
test_classify_span_separates_the_four_kinds
(self)
agent/tests/test_sec_period_frames.py:89
Function
test_classvar_shadowing_is_not_flagged
A ``ClassVar`` never becomes a field, so the same name is not a collision.
agent/tests/test_dataclass_field_name_collisions.py:272
Method
test_classvars
(self)
agent/tests/test_alphavantage_loader.py:57
Function
test_claude_cli_effort_is_validated_against_cli_levels
( client: TestClient, monkeypatch: pytest.MonkeyPatch, tmp_path: Path, effort: str, status
agent/tests/test_settings_api.py:879
Function
test_claude_cli_is_registered_in_catalog_and_capabilities
()
agent/tests/test_claude_cli_provider.py:35
Function
test_claude_cli_label_survives_public_run_metadata
()
agent/tests/test_claude_cli_provider.py:48
Function
test_claude_cli_model_list_falls_back_when_cli_is_unavailable
( client: TestClient, monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_settings_api.py:846
Function
test_claude_cli_model_list_skips_base_url_checks_and_reports_effort_levels
( client: TestClient, monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_settings_api.py:812
Function
test_claude_cli_xhigh_effort_is_public_metadata
``xhigh`` is a real claude-cli level, so run records must show it.
agent/tests/test_swarm_run_metadata.py:345
Function
test_clawback_result_rejects_an_inconsistent_tax_flag
()
agent/tests/quantlib/test_fundmath.py:1241
Method
test_clayton_copula_is_stable_for_large_theta
(self)
agent/tests/quantlib/test_copula.py:82
Method
test_clayton_copula_properties
(self)
agent/tests/quantlib/test_copula.py:29
Method
test_clean
(self)
agent/tests/test_run_outcome_module.py:162
Method
test_clean_cjk_merges_a_snippet_with_markers_mid_run
A highlight marker landing inside a run must not block deduplication. This is the raw snippet() output for the case above (quoted ver
agent/tests/memory/test_search_index.py:204
Function
test_clean_dataclass_is_not_flagged
()
agent/tests/test_dataclass_field_name_collisions.py:342
Method
test_clean_evidence_yields_empty_tuple
(self)
agent/tests/test_strategy_discovery_models.py:402
Function
test_clean_journal_reports_no_missing_dividend_cash
The counter must not fire on a journal that parsed correctly.
agent/tests/test_trade_journal.py:962
Function
test_clean_num_handles_wide_comma
()
agent/tests/test_report_audit_tool.py:31
Function
test_clean_price_ratio_cannot_authorize_a_ledger_split
(market: str)
agent/tests/test_paper_trade_corporate_actions.py:225
Function
test_clean_price_ratio_with_wrong_volume_is_unresolved
()
agent/tests/test_paper_trade_corporate_actions.py:154
Function
test_clean_ratio_with_wrong_volume_rejects_instead_of_splitting
()
agent/tests/test_paper_trade_corporate_actions.py:308
Function
test_clean_reconcile_persists_broker_truth_roundtrip
A clean reconcile writes broker truth as the new baseline, round-trippable.
agent/tests/test_runtime_reconcile.py:275
Function
test_clean_series_log_nothing
(caplog)
agent/tests/test_nonpositive_returns.py:168
Function
test_clean_split_run_is_deterministic_and_warning_timestamp_free
()
agent/tests/test_paper_trade_corporate_actions.py:263
Method
test_clean_success
(self)
agent/tests/test_run_outcome_module.py:65
Method
test_clean_values_unchanged
(self)
agent/tests/test_kimi_reasoning_content.py:113
Function
test_clean_zero_chunk_stream_falls_back_to_invoke
A stream that ends cleanly with no chunks (and no cancel) also falls back.
agent/tests/test_chat_llm_streaming.py:315
Function
test_clear_agent_artifacts_is_noop_when_directory_absent
Nothing to clean up before the very first attempt — must not raise.
agent/tests/test_swarm_retry_artifact_isolation.py:126
Function
test_clear_agent_artifacts_removes_nested_files_and_dirs
(tmp_path: Path)
agent/tests/test_swarm_retry_artifact_isolation.py:115
Method
test_clear_empties_store
(self, tmp_path)
agent/tests/test_strategy_discovery_store.py:170
Function
test_clear_nonexistent_session_does_not_crash
()
agent/tests/test_eventbus_clear_subscribers.py:86
Function
test_clear_removes_buffer
()
agent/tests/test_eventbus_clear_subscribers.py:22
Function
test_clear_removes_subscribers
After clear, the subscriber list for the session must be empty.
agent/tests/test_eventbus_clear_subscribers.py:29
Function
test_clear_sends_session_cleared_sentinel
Subscribers must receive a session_cleared event before the generator exits.
agent/tests/test_eventbus_clear_subscribers.py:49
Method
test_cleared_child_is_not_a_four_eyes_violation
A same-person dev/approve pair must not survive the copy either.
agent/tests/test_strategy_store_adaptation.py:256
Function
test_cleared_result_replays_run_scoped_readonly_cache
A non-repeatable readonly result cleared by microcompact is restored from this run's cache instead of repeating the external query. The resul
agent/tests/test_agent_loop_repeatable_tools.py:121
Method
test_cleared_tool_is_returned_for_unblocking
(self)
agent/tests/test_loop_helpers.py:172
Method
test_clears_old_tool_messages
(self)
agent/tests/test_loop_helpers.py:63
Function
test_cli_can_explicitly_label_research_mode
()
agent/tests/test_research_contract_integration.py:150
← previous
next →
16,001–16,100 of 26,887, ranked by callers