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_default_frontend_port_is_5899
Hardcoded wrong-port regression: this is the value users see in the banner. Vite config sets 5899; we must not print 5173.
agent/tests/test_cli_setup_dev.py:146
Function
test_default_history_response_stays_parseable_after_agent_truncation
The default request must survive the agent loop's hard result cut.
agent/tests/test_taiwan_stock_data_tool.py:632
Method
test_default_interval_normalizes_to_midnight
(self)
agent/tests/test_yahoo_loader.py:174
Method
test_default_interval_respects_upstream_guidance
(self)
agent/tests/test_pykrx_loader.py:168
Method
test_default_is_us
(self)
agent/tests/test_global_equity_engine.py:212
Function
test_default_iv_is_configurable
()
agent/tests/test_options_hv_warmup.py:32
Function
test_default_iv_must_be_positive_and_finite
NaN/zero/negative config would silently break pricing or crash on dump.
agent/tests/test_options_hv_warmup.py:51
Function
test_default_job_store_migrates_only_its_own_legacy_jobs
(tmp_path, monkeypatch)
agent/tests/test_runtime_runner.py:577
Function
test_default_job_stores_keep_each_brokers_cadence_separate
(tmp_path, monkeypatch)
agent/tests/test_runtime_runner.py:558
Function
test_default_legacy_root_matches_pre_904_agent_dir
The default legacy root must equal the old AGENT_DIR expression.
agent/tests/test_state_migration.py:202
Function
test_default_lexicon_scorer_bounds
()
agent/tests/test_rsshub_events_provider.py:143
Method
test_default_lookback_applied_when_absent
(self)
agent/tests/test_northbound_tool.py:70
Function
test_default_market_data_type_is_free_delayed
Default tier must not be 1 (live), which requires a paid subscription.
agent/tests/test_ibkr_local.py:374
Function
test_default_max_recheck_is_unchanged
()
agent/tests/test_runtime_scheduler_kernel.py:181
Method
test_default_modes_expand_only_the_full_disclosure_periods
(self)
agent/tests/test_etf_holdings_tool.py:796
Function
test_default_now_fn_is_wall_clock_ms
()
agent/tests/scheduling/test_kernel.py:113
Function
test_default_off_seeds_nothing
QA (a): default flag off → no row, store file never created.
agent/tests/scheduling/test_memory_consolidation_job.py:184
Method
test_default_openai_provider_with_glm_model_infers_zhipu
Default provider='openai' + model='glm-4.6' → zhipu (backward compat).
agent/tests/test_llm.py:112
Function
test_default_page_survives_actual_agent_delivery_cap
(run_dir)
agent/tests/test_run_artifact_tool.py:569
Function
test_default_path_uses_env_override
(storage_path: Path)
agent/tests/test_hypothesis_registry.py:27
Function
test_default_probability_and_spread_rise_with_leverage
()
agent/tests/quantlib/test_credit.py:254
Function
test_default_probability_and_spread_rise_with_volatility
()
agent/tests/quantlib/test_credit.py:261
Function
test_default_probability_is_the_normal_tail_at_minus_d2
()
agent/tests/quantlib/test_credit.py:268
Method
test_default_resolution_uses_shared_singleton
( self, tmp_path, monkeypatch )
agent/tests/test_strategy_discovery_facade.py:642
Method
test_default_returns_all_sections
(self)
agent/tests/test_stock_profile_tool.py:95
Function
test_default_routes_to_legacy_runner
(capsys, monkeypatch, _reg, _no_report)
agent/tests/test_alpha_bench_strict_cli.py:166
Function
test_default_run_roots_uses_single_source
()
agent/tests/test_swarm_runs_root_and_shell_tools.py:34
Method
test_default_sell_tax_is_the_2026_rate
(self)
agent/tests/test_korea_equity_engine.py:243
Function
test_default_snapshot_never_aliased
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_source_order_overrides.py:202
Function
test_default_still_rejects_negative_open
()
agent/tests/test_nonpositive_prices.py:166
Function
test_default_window_is_the_trailing_two_years
()
agent/tests/test_research_reports_tool.py:175
Function
test_default_write_live_action_now_fsyncs
The durability fix: even the CLASSIC (chain=False) path must fsync now, closing the gap with src.agent.trace.TraceWriter noted in the audit.py
agent/tests/test_governance.py:576
Function
test_default_write_live_action_shape_is_unchanged
Backward compat under the 2026-08-06 default flip. The chain is now written on every call, but the classic ledger line and the RETURN VALUE m
agent/tests/test_governance.py:539
Method
test_defaults
(self)
agent/tests/test_skills.py:97
Method
test_defaults_and_frozen
(self)
agent/tests/test_strategy_discovery_models.py:68
Method
test_defaults_and_frozen
(self)
agent/tests/test_strategy_discovery_models.py:170
Function
test_defaults_are_wired_to_the_module_constants
Each default argument really is its constant, not a re-typed literal.
agent/tests/quantlib/test_impact.py:43
Method
test_defaults_markets_when_absent
(self, tmp_path: Path)
agent/tests/test_research_playbooks.py:194
Method
test_defaults_to_the_suggested_cadence
(self)
agent/tests/test_research_playbooks.py:339
Function
test_deferred_prompt_retains_grounding_and_every_skill_name
()
agent/tests/test_deferred_tool_loading.py:98
Function
test_deflated_rejects_a_bad_confidence
()
agent/tests/quantlib/test_multipletesting.py:195
Function
test_deflated_result_carries_the_inputs_it_was_judged_on
()
agent/tests/quantlib/test_multipletesting.py:186
Function
test_deflation_bar_is_exactly_the_expected_maximum
()
agent/tests/quantlib/test_multipletesting.py:168
Function
test_degenerate_flat_regressors_raise_instead_of_leaking_an_index_error
()
agent/tests/quantlib/test_timeseries.py:280
Method
test_degenerate_inputs_return_intrinsic
(self, T, sigma, S, K)
agent/tests/quantlib/test_options.py:292
Method
test_degraded_and_reason_propagate
(self)
agent/tests/test_run_outcome_module.py:213
Function
test_degraded_reset_publishes_one_notice_to_last_chat
Planbook test 1: reload failure → reset + reason + exactly one notice. The notice is exempt from duplicate suppression: it carries no inbound
agent/tests/test_channel_reset_notice.py:199
Function
test_degraded_reset_without_prior_outbound_publishes_no_notice
Planbook test 2: no recorded last chat → the reset still happens, silently.
agent/tests/test_channel_reset_notice.py:224
Method
test_degraded_user_index_raises_instead_of_empty
(self)
agent/tests/test_stock_news_tool.py:255
Function
test_del_and_c1_characters_are_refused_in_text_and_identity_fields
Control characters are corruption, not content — DEL and C1 included.
agent/tests/test_extraetf_reader.py:871
Function
test_delay_escalates_across_consecutive_iterations
Consecutive failing iterations escalate 1.0 → 2.0 → 4.0 despite retries. A successful retry must NOT reset the streak; only a clean first-attempt
agent/tests/test_stream_retry_escalation.py:190
Function
test_delayed_execution_default_is_t_plus_one
The default lag is one bar, matching the China A-share T+1 rule.
agent/tests/quantlib/test_impact.py:219
Function
test_delayed_execution_preserves_the_index
The index must survive so the signal still aligns with its price frame.
agent/tests/quantlib/test_impact.py:231
Function
test_delayed_execution_rejects_a_non_series
A DataFrame or list would shift with different semantics, so reject it.
agent/tests/quantlib/test_impact.py:244
Function
test_delayed_execution_shifts_the_signal_forward
A one-bar delay moves each value to the next bar and blanks the first.
agent/tests/quantlib/test_impact.py:211
Function
test_delegated_suffix_is_not_ownership_without_dmarc
()
agent/tests/test_email_authentication_results.py:227
Function
test_delete_connection_keeps_registry_when_vault_is_locked
(tmp_path, error_type)
agent/tests/test_local_connections_hardening.py:146
Function
test_delete_connection_removes_only_its_own_credentials
(tmp_path)
agent/tests/test_local_connections_hardening.py:158
Function
test_delete_connection_without_a_keyring_backend
(tmp_path, monkeypatch)
agent/tests/test_local_connections_hardening.py:122
Function
test_delete_connection_without_keyring_installed
(tmp_path, monkeypatch, profile_id)
agent/tests/test_local_connections_hardening.py:102
Method
test_delete_empty_name
(self, setup)
agent/tests/test_skill_writer_tools.py:196
Method
test_delete_existing
(self, setup)
agent/tests/test_skill_writer_tools.py:181
Function
test_delete_keeps_the_session_for_retry_when_search_is_unavailable
A failed purge must not claim that the private text was deleted.
agent/tests/test_session_delete_clears_search_index.py:101
Function
test_delete_leaves_an_unrelated_session_fully_indexed
(owned_delete_index)
agent/tests/test_session_delete_clears_search_index.py:85
Method
test_delete_missing_returns_false
(self, tmp_path: Path)
agent/tests/test_scheduled_research_store.py:205
Method
test_delete_nonexistent
(self, setup)
agent/tests/test_skill_writer_tools.py:191
Function
test_delete_normal_job_returns_truly_empty_204
( client: TestClient, store: ScheduledResearchJobStore )
agent/tests/scheduling/test_system_job_protection.py:275
Function
test_delete_rejects_portfolio_references_until_settings_are_saved
(deletion_client, enabled)
agent/tests/test_connection_routes.py:45
Function
test_delete_rejects_unsafe_job_id
( client: TestClient, store: ScheduledResearchJobStore )
agent/tests/test_scheduled_routes.py:347
Method
test_delete_removes_job
(self, tmp_path: Path)
agent/tests/test_scheduled_research_store.py:197
Function
test_delete_removes_job_and_returns_204
( client: TestClient, store: ScheduledResearchJobStore )
agent/tests/test_scheduled_routes.py:326
Function
test_delete_returns_vault_failure_without_deleting_connection
(deletion_client, monkeypatch, error_type)
agent/tests/test_connection_routes.py:64
Function
test_delete_session_goals_removes_ledger
(tmp_path: Path)
agent/tests/test_goal_store.py:455
Function
test_delete_system_job_returns_400_and_store_unchanged
( client: TestClient, store: ScheduledResearchJobStore )
agent/tests/scheduling/test_system_job_protection.py:224
Function
test_delete_unknown_id_still_returns_404_not_403
( client: TestClient, store: ScheduledResearchJobStore )
agent/tests/scheduling/test_system_job_protection.py:257
Function
test_delete_unknown_job_returns_404
( client: TestClient, store: ScheduledResearchJobStore )
agent/tests/test_scheduled_routes.py:339
Function
test_deleted_local_source_does_not_replay_previous_bars
( tmp_path, monkeypatch, kind )
agent/tests/test_local_loader_source_revision.py:85
Function
test_deleted_session_text_is_no_longer_searchable
(owned_delete_index)
agent/tests/test_session_delete_clears_search_index.py:73
Function
test_deleting_a_whole_sealed_segment_is_detected
(tmp_path)
agent/tests/test_governance.py:775
Function
test_delivery_gives_up_once_the_attempt_threshold_is_reached
Retrying forever would be its own failure mode.
agent/tests/test_scheduled_delivery_outbox.py:194
Method
test_delta_and_gamma
(self, S, K, T, r, sigma, q, kind)
agent/tests/quantlib/test_options.py:122
Function
test_delta_d_zero_raises
()
agent/tests/factors/test_base.py:124
Function
test_delta_negative_raises
()
agent/tests/factors/test_base.py:130
Function
test_delta_nwc_increase_is_a_cash_outflow
()
agent/tests/quantlib/valuation/test_dcf.py:878
Function
test_delta_positive_shift
()
agent/tests/factors/test_base.py:136
Function
test_demo_and_real_paths_separated
()
agent/tests/test_etoro_connector.py:94
Function
test_denied_cancel_is_blocked
(monkeypatch)
agent/tests/test_alpaca_tap_routing.py:348
Function
test_denied_order_is_blocked
(monkeypatch)
agent/tests/test_alpaca_tap_routing.py:82
Function
test_denies_over_budget
()
agent/tests/test_rate_limiter_memory.py:26
Function
test_deprecated_token_threshold_is_ignored_with_a_warning
(monkeypatch, caplog)
agent/tests/test_context_budget.py:84
Method
test_depth_returns_touch_first_ladder
(self, monkeypatch)
agent/tests/test_prediction_market_tool.py:709
Function
test_derivatives_view_follows_the_prompt
()
agent/tests/test_swarm_tool_variables.py:59
Function
test_derived_channel_regex_masking_unchanged
()
agent/tests/test_channel_config_meta.py:707
Function
test_derived_covers_only_the_value_it_declares
§4: the exemption is the declaration, and a declaration names one value.
agent/tests/test_grounding_figures_contract.py:489
Function
test_derived_cumulative_return_english_is_allowed
#1338 review: the identical declaration under English prose.
agent/tests/test_agent_grounding.py:3158
Function
test_derived_currency_must_match_evidence
(tmp_path: Path)
agent/tests/test_grounding_figures_contract.py:466
Function
test_derived_formulas_are_numerically_correct
()
agent/tests/test_fundamental_schema.py:71
Method
test_derived_from_survives_sqlite_roundtrip
(self)
agent/tests/test_strategy_store_adaptation.py:188
Function
test_derived_interval_return_from_observed_endpoints_is_allowed
#1338 review: a return derived from observed endpoints stays legal. The exemption used to be inferred from the sentence — a growth frame, then
agent/tests/test_agent_grounding.py:3133
Function
test_derived_multi_call_refs_ground_both_operands
(tmp_path)
agent/tests/test_grounding_multi_derived_refs.py:38
← previous
next →
17,001–17,100 of 26,887, ranked by callers