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_non_positive_limit_is_a_usage_error
( argv: list[str], capsys: pytest.CaptureFixture[str] )
agent/tests/test_cli_limit_validation.py:19
Method
test_non_positive_limit_rejected
(self)
agent/tests/test_sector_tool.py:163
Function
test_non_positive_lot_is_treated_as_missing
()
agent/tests/test_global_equity_hk_lot_sizes.py:76
Function
test_non_positive_market_caps_rejected
()
agent/tests/quantlib/test_factormodel.py:299
Function
test_non_positive_price_bars_flag_untradable_days_with_warning
()
agent/tests/test_paper_trade_readiness.py:308
Function
test_non_positive_price_is_rejected
A non-positive reference price is nonsense for every model.
agent/tests/quantlib/test_impact.py:173
Function
test_non_positive_price_reports_null_upside
(price)
agent/tests/test_financial_rigor_three_scenario_undefined_upside.py:21
Function
test_non_positive_prior_close_yields_no_event_not_a_crash
()
agent/tests/test_paper_trade_corporate_actions.py:395
Method
test_non_positive_spot_or_strike_raises
(self)
agent/tests/quantlib/test_options.py:277
Function
test_non_positive_top_is_rejected
(bad)
agent/tests/test_alpha_bench_top_zero.py:11
Method
test_non_positive_top_n_rejected
(self)
agent/tests/test_market_screener_tool.py:155
Function
test_non_price_indicator_values_still_do_not_ground_a_price
RSI and a volume average are not prices; quoting one as a price stays rejected.
agent/tests/test_grounding_release.py:164
Function
test_non_price_symbol_resolution_keeps_other_symbols_evidence_isolated
Recognising the secondary symbol must not let its value ground the primary instrument.
agent/tests/test_grounding_role_hardening.py:456
Method
test_non_product_codes_do_not_become_futures
The other side of the gate. The rule is anchored on the product whitelist rather than a width heuristic precisely so an ordinary symb
agent/tests/test_market_detection.py:477
Function
test_non_representable_fee_values_are_not_computable
(value)
agent/tests/test_paper_trade_schema.py:441
Function
test_non_retryable_4xx_fails_without_retry
A deterministic 4xx ProviderStreamError fails immediately (1 call).
agent/tests/test_agent_loop_stream_retry.py:188
Function
test_non_retryable_4xx_fails_without_retry
A deterministic 4xx ProviderStreamError fails immediately (1 call).
agent/tests/test_swarm_worker_stream_retry.py:187
Function
test_non_retryable_error_no_sleep_no_escalation
A deterministic 4xx fails the worker with no sleep recorded.
agent/tests/test_stream_retry_escalation.py:220
Function
test_non_secret_values_pass_through_verbatim
Non-secret keys (including ``enabled``) are copied unchanged.
agent/tests/test_channel_config_meta.py:851
Method
test_non_settlement_hour_applies_daily_fallback
Daily interval settles 3x per day (span-based count, #1290).
agent/tests/test_crypto_engine.py:275
Function
test_non_sqlite_file_is_refused
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_taiwan_stock_data_tool.py:831
Method
test_non_stock_skips_daily_basic
(self, code: str)
agent/tests/test_tushare_loader.py:372
Function
test_non_stream_error_is_not_retried
A non-ProviderStreamError fails immediately without a retry.
agent/tests/test_swarm_worker_stream_retry.py:163
Method
test_non_string_code_rejected
(self)
agent/tests/test_fund_flow_tool.py:165
Method
test_non_string_internal_callable_rejected
(self)
agent/tests/test_scheduled_research_model_compat.py:182
Method
test_non_string_mode_coerced
Non-string mode should be coerced.
agent/tests/test_sentiment_tool.py:189
Function
test_non_string_names_are_rejected
(clean_registry, name: object)
agent/tests/scheduling/test_registry.py:163
Method
test_non_string_passthrough
Non-string values pass through for Pydantic's built-in coercion.
agent/tests/test_env_schema.py:533
Method
test_non_string_text_coerced
Non-string text should be coerced to string, not crash.
agent/tests/test_sentiment_tool.py:182
Method
test_non_string_timezone_degrades_that_job_to_utc
(self, tmp_path: Path)
agent/tests/test_scheduled_research_store.py:381
Function
test_non_trading_date_fallback_is_explicit_but_future_data_rejected
(client)
agent/tests/test_shannon_routes.py:74
Function
test_non_trading_day_skips_the_day_and_rejects_its_orders
()
agent/tests/test_paper_trade_rejections.py:136
Function
test_non_trading_event_date_anchors_to_previous_session
()
agent/tests/quantlib/test_eventstudy.py:372
Function
test_non_transient_error_reraises_immediately
(tmp_path, monkeypatch)
agent/tests/test_swarm_store_atomic_write.py:68
Function
test_non_transient_propagates_unchanged
()
agent/tests/test_loader_retry_helpers.py:100
Method
test_non_us_codes_skip
(self)
agent/tests/test_tushare_loader.py:102
Method
test_non_us_hk_india_symbol_skipped
(self)
agent/tests/test_yahoo_loader.py:288
Function
test_non_user_roles_never_claim_the_session
System/assistant messages create no attempt, so they must not block sends.
agent/tests/test_session_service_lifecycle.py:136
Method
test_non_utf8_declaration_is_honoured
Filers do emit windows-1252 declarations; parsing bytes is what makes that work.
agent/tests/test_institutional_holdings_tool.py:392
Function
test_non_utf8_env_file_is_skipped
(tmp_path, monkeypatch)
agent/tests/test_tap_forward.py:237
Function
test_non_whitelisted_artifacts_rejected
(run_dir: Path, artifact: str)
agent/tests/test_run_artifact_tool.py:201
Function
test_none_and_empty_and_nonstr_safe
()
agent/tests/test_redaction.py:37
Method
test_none_and_empty_input
(self)
agent/tests/test_pykrx_loader.py:67
Function
test_none_and_nan_labels_are_nan_with_no_global_fallback
()
agent/tests/factors/test_zscore_by_group.py:108
Function
test_none_canonical_key_never_creates_lock
(harness, monkeypatch)
agent/tests/test_compaction_call_identity.py:210
Method
test_none_context_does_not_raise
(self, capsys: pytest.CaptureFixture[str])
agent/tests/test_institutional_commands.py:283
Method
test_none_disables_ocr
(self, monkeypatch)
agent/tests/test_ocr_engine.py:35
Method
test_none_for_nonpositive_size_and_non_finite_inputs
(self)
agent/tests/test_strategy_discovery_models.py:275
Method
test_none_for_unusable_return_or_trade_count
(self)
agent/tests/test_strategy_discovery_models.py:269
Method
test_none_is_a_valid_reasoning_effort
(self)
agent/tests/test_llm_reasoning_effort.py:822
Method
test_none_is_refused
(self)
agent/tests/test_alpha_bench_qfq.py:110
Method
test_none_persists_through_the_settings_endpoint
( self, settings_client: TestClient, settings_env_path: Path )
agent/tests/test_llm_reasoning_effort.py:829
Method
test_none_provider_with_glm_model_infers_zhipu
(self)
agent/tests/test_llm.py:1017
Method
test_none_returns_false
(self)
agent/tests/test_env_schema.py:507
Method
test_none_uses_default
(self)
agent/tests/test_persistent_memory.py:24
Method
test_none_when_no_date
(self)
agent/tests/test_china_a_engine.py:295
Function
test_nonempty_ddgs_does_not_invoke_fallbacks
(monkeypatch)
agent/tests/test_web_search_tool.py:169
Method
test_nonexistent_dir
(self, tmp_path: Path, empty_user_dir: Path)
agent/tests/test_skills.py:213
Method
test_nonexistent_skill
(self, setup)
agent/tests/test_skill_writer_tools.py:284
Function
test_nonfinite_evidence_is_rejected_before_persistence
(tmp_path)
agent/tests/test_research_artifact_store.py:219
Function
test_nonfinite_impact_inputs_are_rejected
(bad)
agent/tests/quantlib/test_impact.py:251
Function
test_nonfinite_observations_do_not_satisfy_minimum_history
(field, invalid)
agent/tests/test_sdm_finite_metrics.py:23
Function
test_nonfinite_observations_match_missing_observations
(field)
agent/tests/test_sdm_finite_metrics.py:30
Function
test_nonfinite_price_rejects_order_and_keeps_finite_valuation
(column, value)
agent/tests/test_paper_trade_nonfinite_prices.py:13
Function
test_nonfinite_sector_returns_are_rejected
(bad: float, side: str)
agent/tests/quantlib/test_attribution_nonfinite.py:19
Function
test_noninteractive_adapter_refuses_to_open_a_browser
(tmp_path, monkeypatch)
agent/tests/test_mcp_oauth_noninteractive.py:133
Function
test_noninteractive_ibkr_adapter_refuses_to_open_a_browser
(tmp_path)
agent/tests/test_mcp_oauth_noninteractive.py:146
Function
test_nonlocal_default_cache_contract_is_unchanged
(tmp_path, monkeypatch)
agent/tests/test_local_loader_source_revision.py:145
Function
test_nonmonthly_default_range_keeps_one_year
(interval: str)
agent/tests/test_portfolio_risk_calendar_bars.py:112
Function
test_nonoverlapping_external_prices_cannot_grade_the_run
(tmp_path, monkeypatch)
agent/tests/test_offline_benchmark.py:154
Function
test_nonpositive_initial_cash_leaves_the_first_return_unseeded
()
agent/tests/test_period_returns.py:61
Function
test_nonpositive_multiples_are_not_ranked_as_cheap
Mirrors the raw siblings' upstream guard: PB/PS <= 0 is excluded, never 'cheapest'.
agent/tests/factors/test_fundamental_ind_neutral_samples.py:244
Function
test_nonpositive_multiples_are_not_ranked_as_cheap
(stem, column)
agent/tests/factors/test_fundamental_valuation_samples.py:359
Function
test_nonpositive_prior_is_still_undefined
The original fix is untouched: a gap must not resurrect a bad divisor.
agent/tests/test_returns_gaps_and_infinities.py:129
Method
test_nonzero_cost
(self)
agent/tests/test_india_equity_engine.py:136
Function
test_nonzero_exit_is_reported_as_error
()
agent/tests/test_background_tools.py:34
Method
test_noop_same_name_and_universe_refused
(self)
agent/tests/test_strategy_store_adaptation.py:138
Function
test_noop_when_legacy_dirs_missing_or_empty
(tmp_path: Path)
agent/tests/test_state_migration.py:38
Method
test_noop_when_under_cap
(self)
agent/tests/test_constraints.py:45
Method
test_noqa_does_not_affect_other_lines
(self)
tools/test_ci_env_var_gate.py:260
Method
test_noqa_suppresses_environ_get
(self)
tools/test_ci_env_var_gate.py:250
Method
test_noqa_suppresses_getenv
(self)
tools/test_ci_env_var_gate.py:245
Method
test_noqa_suppresses_subscript_read
(self)
tools/test_ci_env_var_gate.py:255
Function
test_normal_content_returned_byte_identical_same_object
()
agent/tests/test_special_token_neutralization.py:89
Function
test_normal_day_fills_exactly_at_the_recomputed_reference
(path_model: str, expected: float)
agent/tests/test_paper_trade_5m_tool.py:60
Function
test_normal_day_has_48_continuous_bars_and_no_events
()
agent/tests/test_paper_trade_5m_session.py:151
Function
test_normal_history_is_untouched
Messages inside the budget are passed through unchanged.
agent/tests/test_session_service_lifecycle.py:265
Function
test_normal_month_filter_keeps_rows
()
agent/tests/test_journal_inverted_date_filter.py:25
Function
test_normal_page_range_ok
()
agent/tests/test_doc_reader_inverted_pages.py:15
Function
test_normal_path_unchanged_status_ok
ATM call 30d, r=0.05, σ=0.25 — authoritative BS reference values. Guards against any regression in the happy path.
agent/tests/test_options_pricing_degenerate.py:24
Method
test_normal_path_with_provider_env
When provider-specific env vars are set, they take priority.
agent/tests/test_ocr_engine.py:237
Function
test_normal_positive_equity_metrics_remain_finite
()
agent/tests/test_options_portfolio_correctness.py:75
Function
test_normal_settlement_does_not_forbid_reselling_acquired_shares
(day, lag)
agent/tests/test_argentina_equity_engine.py:179
Method
test_normal_sized_first_delta_is_sent_as_one_message
(self)
agent/tests/test_discord_stream_initial_chunking.py:62
Method
test_normal_warning
(self, fsp)
agent/tests/test_fetch_sina_penalties.py:99
Function
test_normalization_preserves_a_none_asset_class
The Robinhood extractor never sets one; None must stay None, not crash.
agent/tests/test_enforcement_l6.py:348
Function
test_normalization_preserves_asset_class
``_normalize_intent_notional`` rebuilds the intent; asset_class must survive. ``check_mandate`` prefers an explicit ``intent.asset_class`` over t
agent/tests/test_enforcement_l6.py:322
Method
test_normalize
(self, raw: str, expected: str)
agent/tests/test_forex_engine.py:67
Function
test_normalize_candles_flattens_nested_instrument_buckets
()
agent/tests/test_etoro_connector.py:885
Function
test_normalize_frame_converts_intraday_timestamps_to_naive_utc
()
agent/tests/test_longbridge_loader.py:37
← previous
next →
21,501–21,600 of 26,887, ranked by callers