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_direct_deepseek_suggests_current_flash_name
()
agent/tests/test_llm_provider_defaults.py:200
Function
test_direct_openai_preserves_ambient_headers
Header isolation must not change explicit direct-OpenAI behavior.
agent/tests/test_provider_header_isolation.py:92
Function
test_direct_registry_execution_cannot_bypass_policy
(shared_policy)
agent/tests/test_provider_agnostic_tool_policy.py:260
Function
test_direct_sdk_position_shapes_are_priced_not_fail_closed
Connector-shaped rows that only carry current_price/ltp/market_val must price correctly instead of tripping the fail-closed exposure denial every
agent/tests/test_mandate_enforcement.py:249
Function
test_directory_created_on_first_write
(live_runtime: Path)
agent/tests/test_audit_redact.py:122
Function
test_directory_rejected
(tmp_path: Path)
agent/tests/test_doc_reader.py:164
Function
test_dirty_position_qty_is_recorded_and_sweep_continues
( live_runtime: Path, dirty_qty: Any )
agent/tests/test_runtime_flatten.py:562
Method
test_disable_env_var
VIBE_TRADING_DISABLE_BOTTLENECK=1 should disable bottleneck.
agent/tests/test_factor_operators.py:343
Function
test_disabled_executor_start_stop_are_noops
(tmp_path: Path)
agent/tests/test_scheduled_research_executor.py:488
Function
test_disabled_flag_halts_existing_row_and_reenable_revives_it
(tmp_path: Path)
agent/tests/scheduling/test_system_jobs.py:411
Function
test_disabled_flag_leaves_terminal_rows_untouched
(tmp_path: Path)
agent/tests/scheduling/test_system_jobs.py:438
Function
test_disabled_flag_still_corrects_tampered_fields
A disabled row tampered to executor_kind='prompt' must not stay a prompt-dispatchable row even while the feature flag is off.
agent/tests/scheduling/test_system_jobs.py:485
Function
test_disabled_kernel_start_and_stop_are_noops
()
agent/tests/scheduling/test_kernel.py:97
Method
test_disabled_sdm_artifact_excluded
(self, tmp_path)
agent/tests/test_strategy_discovery_facade.py:894
Function
test_disabled_spec_writes_nothing
QA (a): flag false → NO system job written — strongest sense: the store file is never even created.
agent/tests/scheduling/test_system_jobs.py:218
Method
test_disallowed_host_url_returns_fallback
(self, fsp, monkeypatch)
agent/tests/test_fetch_sina_penalties.py:273
Method
test_disclosure_is_case_and_space_insensitive
(self, value)
agent/tests/test_etf_holdings_tool.py:1107
Function
test_discontinuity_bands_allow_real_crashes_but_not_unadjusted_splits
()
agent/tests/test_argentina_equity_engine.py:412
Function
test_discord_field_hints_contract
Discord hints: declaration order, secrets, required set, help_key prefix.
agent/tests/test_channel_config_meta.py:559
Function
test_discord_group_policy_choices_match_the_adapter_literal
Drift pin: discord's choices mirror the adapter's Literal declaration. ``DiscordConfig`` declares ``group_policy: Literal["mention", "open"]``
agent/tests/test_channel_authoring_contract.py:109
Function
test_discord_group_policy_choices_pin
group_policy carries the enum the adapter declares. Drift pin for the choices contract: the literals mirror the ``group_policy: Literal["ment
agent/tests/test_channel_config_meta.py:583
Function
test_discord_hint_keys_exist_in_default_config
Every discord hint key is a real DiscordConfig field (authoring contract).
agent/tests/test_channel_config_meta.py:601
Function
test_discord_refresh_applies_noop_keys_without_touching_transport
()
agent/tests/test_channel_noop_refresh.py:348
Function
test_discord_secrets_are_masked_and_behavior_values_stay_visible
All three Discord credential fields mask; behavior fields stay in values. Discord carries no audited ``secret=False`` subtraction: every secr
agent/tests/test_channel_config_meta.py:610
Function
test_discord_webhook_secret_is_redacted
()
agent/tests/test_redaction_channel_and_provider_tokens.py:33
Function
test_discount_fcff_refuses_non_finite_wacc_rate
()
agent/tests/quantlib/valuation/test_dcf.py:1130
Function
test_discount_fcff_requires_a_recognised_convention
()
agent/tests/quantlib/valuation/test_dcf.py:562
Function
test_discover_enabled_logs_the_skip_reason_without_crashing
(monkeypatch, caplog)
agent/tests/test_channel_registry_logging.py:43
Method
test_discover_links_empty_tokens
Empty tokens returns empty list.
agent/tests/memory/test_semantic_links.py:87
Method
test_discover_links_finds_similar
Entries with overlapping content get linked.
agent/tests/memory/test_semantic_links.py:47
Method
test_discover_links_keeps_short_financial_identifiers
Two-character tickers and ratios can establish a memory link.
agent/tests/memory/test_semantic_links.py:33
Method
test_discover_links_max_cap
Hard cap at 10 outgoing links.
agent/tests/memory/test_semantic_links.py:74
Method
test_discover_links_threshold
Low-similarity entries excluded (score < 0.3).
agent/tests/memory/test_semantic_links.py:61
Function
test_discover_plugins_logs_the_failure_reason_without_crashing
(monkeypatch, caplog)
agent/tests/test_channel_registry_logging.py:26
Function
test_discovered_adapter_surface_is_locked
The sweep below covers the frozen set of 16 built-in adapters.
agent/tests/test_channel_config_meta.py:975
Function
test_discovered_alongside_iwencai
(monkeypatch)
agent/tests/test_gildata_stock_selection.py:109
Function
test_discovery_cache_is_keyed_on_the_plugin_root
A test or operator that repoints the runtime root must see its own plugins.
agent/tests/test_local_connections_hardening.py:257
Function
test_discovery_isolates_invalid_local_plugins
(tmp_path)
agent/tests/test_local_connections.py:103
Function
test_discovery_names_each_failed_module_at_warning
Discovery must name the module that dropped out, not just count it (#1124). The aggregate line in ``build_registry`` reports *how many* sources f
agent/tests/test_tool_registry_diagnostics.py:45
Function
test_discovery_of_a_new_plugin_invalidates_the_cached_result
Installing a connector changes the manifest set, so discovery refreshes.
agent/tests/test_local_connections_hardening.py:278
Function
test_discovery_only_profile_cannot_back_a_portfolio_connection
A tool-discovery profile cannot serve account or position reads.
agent/tests/test_local_connections_hardening.py:297
Method
test_discovery_reraises_the_same_type_with_the_body
(self, monkeypatch)
agent/tests/test_mcp_client_adapter.py:866
Function
test_discovery_reuses_parsed_manifests_until_one_changes
Profile lookups re-run discovery, so unchanged manifests must not re-parse.
agent/tests/test_local_connections_hardening.py:231
Function
test_discovery_sees_inline_runtime_root_children
Guard the guard for the inline-join scan.
agent/tests/test_gitignore_runtime_files.py:126
Function
test_discovery_sees_the_broker_config_files
Guard the guard: an empty scan would pass the coverage test vacuously.
agent/tests/test_gitignore_runtime_files.py:102
Function
test_discrimination_total_vs_available_position
()
agent/tests/test_paper_trade_rejections.py:234
Method
test_disk_cache_survives_memo_clear
(self)
agent/tests/test_gildata_codes.py:80
Method
test_disk_entry_with_wrong_kind_is_ignored
(self)
agent/tests/test_gildata_codes.py:91
Function
test_dispatch_connector_loads_dotenv_before_running_the_subcommand
The dotenv load must happen before the subcommand reads any config.
agent/tests/test_cli_connector_env.py:28
Function
test_dispatch_connector_never_overrides_a_real_environment_variable
``override=False``: an exported variable outranks the ``.env`` file.
agent/tests/test_cli_connector_env.py:87
Function
test_dispatch_defaults_to_show_and_routes_subcommands
(monkeypatch)
agent/tests/test_cli_portfolio.py:169
Function
test_dispatch_failure_stays_retryable_and_tick_continues
(tmp_path: Path)
agent/tests/test_scheduled_research_executor.py:126
Method
test_dispatch_slash_queues_the_prompt
(self)
agent/tests/test_institutional_commands.py:302
Method
test_dispatch_slash_resolves_an_alias
(self)
agent/tests/test_institutional_commands.py:310
Method
test_dispatch_without_subcommand_returns_one
( self, tmp_path: Path, capsys: pytest.CaptureFixture[str] )
agent/tests/test_cli_hypothesis.py:82
Function
test_display_config_path_relativizes_home
()
agent/tests/test_channels_config_api.py:450
Function
test_display_currency_without_production_rate_is_rejected_on_save
(tmp_path)
agent/tests/test_portfolio_service.py:385
Function
test_display_keeps_units_and_sign_and_uses_existing_evidence
(vendor, tables, tmp_path, unit, amount, display)
agent/tests/test_gildata_fin_query.py:203
Function
test_disposition_effect_flags_holding_losers_longer
()
agent/tests/test_trade_journal.py:547
Function
test_disposition_effect_insufficient_data
()
agent/tests/test_trade_journal.py:559
Function
test_distance_to_default_falls_monotonically_as_leverage_rises
()
agent/tests/quantlib/test_credit.py:238
Function
test_distance_to_default_falls_monotonically_as_volatility_rises
()
agent/tests/quantlib/test_credit.py:246
Function
test_distance_to_default_matches_its_closed_form
()
agent/tests/quantlib/test_credit.py:295
Function
test_distance_to_default_rejects_non_positive_inputs
()
agent/tests/quantlib/test_credit.py:301
Function
test_distinct_blocks_are_never_deduplicated
()
agent/tests/test_mcp_result_dedup.py:176
Function
test_distinct_event_dates_are_not_flagged
()
agent/tests/quantlib/test_eventstudy.py:450
Function
test_divergent_circularity_raises_convergence_error
A loop gain above 1 makes the fixed point explode; the model must refuse to answer. With dividend_payout_ratio=0 and tax_rate=0, the fixed-point
agent/tests/quantlib/valuation/test_threestatement.py:466
Function
test_diversification_uses_original_weight_scale
()
agent/tests/test_risk_xray_long_short.py:84
Function
test_dividend_analysis_skill_contains_required_frameworks
Skill includes the decision frameworks needed for agent answers.
agent/tests/test_dividend_analysis_skill.py:25
Function
test_dividend_analysis_skill_loads_with_bundled_skills
Bundled loader exposes the new skill in the analysis category.
agent/tests/test_dividend_analysis_skill.py:43
Function
test_dividend_analysis_skill_metadata
Dividend analysis skill ships with valid frontmatter.
agent/tests/test_dividend_analysis_skill.py:14
Method
test_dividend_at_or_above_price_fails_closed
(self)
agent/tests/test_additive_conversion.py:142
Function
test_dividend_cash_read_from_a_cash_movement_column
A 红利入账 row books its payout even when 成交金额 is not where it sits. A dividend row has no quantity and no price, so the usual ``成交金额 or qty * pr
agent/tests/test_trade_journal.py:911
Method
test_dividend_on_the_last_bar_refuses_the_window
(self)
agent/tests/test_additive_conversion.py:116
Method
test_dividend_on_the_second_bar_refuses_the_window
(self)
agent/tests/test_additive_conversion.py:125
Function
test_dividend_only_journal_never_adds_currencies
()
agent/tests/test_trade_journal_currency_pools.py:146
Function
test_dividend_only_journal_yields_no_roundtrips
()
agent/tests/test_trade_journal_fifo.py:144
Function
test_dividend_row_does_not_cover_an_open_short
()
agent/tests/test_trade_journal_fifo.py:132
Function
test_dividend_rows_do_not_open_or_close_positions
A dividend cash row between the legs leaves the roundtrip untouched.
agent/tests/test_trade_journal_fifo.py:119
Function
test_dividend_yield_sign_direction
High dv_ttm scores high within the industry group (no inversion).
agent/tests/factors/test_fundamental_ind_neutral_samples.py:162
Function
test_dividend_yield_sign_direction
High dv_ttm scores high (no inversion).
agent/tests/factors/test_fundamental_valuation_samples.py:164
Function
test_dividends_join_their_own_currency_pool
()
agent/tests/test_trade_journal_currency_pools.py:85
Function
test_dm_message_is_flagged_as_dm
()
agent/tests/test_dingtalk_message_flow.py:35
Function
test_dmarc_must_bind_the_visible_from_domain
()
agent/tests/test_email_authentication_results.py:218
Function
test_dmarc_pass_substitutes_for_domain_alignment
An explicit dmarc=pass in the trusted header already performed its own alignment check -- spf=pass is honoured on its strength alone even thou
agent/tests/test_email_authentication_results.py:150
Function
test_dns_rebound_loopback_cannot_write_llm_settings_without_bearer
Configured API keys must gate credential-routing settings writes.
agent/tests/test_security_auth_api.py:237
Function
test_dns_rebound_session_message_does_not_enable_shell_tools_by_default
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_security_auth_api.py:627
Function
test_dns_rebound_swarm_run_does_not_enable_shell_tools_by_default
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_security_auth_api.py:588
Function
test_docker_gateway_dev_write_allowed_only_with_compose_trust_flag
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_security_auth_api.py:85
Function
test_docker_image_label_matches_pyproject
The OCI version label is what `docker inspect` reports to a user.
agent/tests/test_release_version_consistency.py:47
Function
test_docker_network_peer_is_not_local_even_with_compose_trust_flag
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_security_auth_api.py:124
Function
test_docs_csp_allows_bundle_host_but_app_pages_do_not
The Swagger/ReDoc CDN exception must not leak into the SPA's policy.
agent/tests/test_sse_ticket_and_headers.py:174
Function
test_docs_pages_reference_no_host_outside_their_csp
Every remote asset the docs pages load must be covered by the policy. Guards against a FastAPI bump reintroducing an asset host the exception
agent/tests/test_sse_ticket_and_headers.py:187
Function
test_document_grouped_integer_cannot_launder_generated_artifacts
( tmp_path: Path, inside_run: bool, )
agent/tests/test_grounding_document_figures.py:327
Function
test_document_grouped_integer_grounds_a_quoted_table_cell
( tmp_path: Path, text: str, )
agent/tests/test_grounding_document_figures.py:266
Function
test_document_grouped_integer_keeps_the_referenced_source
(tmp_path: Path)
agent/tests/test_grounding_document_figures.py:306
Function
test_document_integer_claims_still_need_matching_observed_evidence
( tmp_path: Path, value: str, )
agent/tests/test_grounding_document_figures.py:284
Function
test_document_percentage_point_derivation_still_needs_both_operands
(tmp_path: Path)
agent/tests/test_grounding_document_figures.py:240
Function
test_document_percentage_points_can_be_declared_as_written
(tmp_path: Path, formula: str)
agent/tests/test_grounding_document_figures.py:231
Function
test_document_table_amount_can_be_restated_with_a_unit
( tmp_path: Path, ref: str, value: str, written: str, )
agent/tests/test_grounding_document_figures.py:197
← previous
next →
17,201–17,300 of 26,887, ranked by callers