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_signal_partition_styles_handles_space_separator_with_indented_next_chunk
()
agent/tests/test_split_message_nonpositive.py:41
Function
test_signal_partition_styles_keeps_indent_chunk_aligned
()
agent/tests/test_split_message_nonpositive.py:30
Function
test_signal_policy_put_refreshes_without_counting_computed_fields
(tmp_path, monkeypatch)
agent/tests/test_channel_noop_refresh.py:322
Function
test_signal_refresh_changes_the_real_nested_allowlist
()
agent/tests/test_channel_noop_refresh.py:311
Function
test_signal_safe_handle_logs_and_swallows
``_safe_handle`` promises to swallow; ``.opt()`` made it raise AttributeError.
agent/tests/test_channel_stdlib_logging.py:25
Method
test_signal_shifted_by_one
Signal at bar i should produce position at bar i+1 (next-bar-open).
agent/tests/test_base_engine.py:798
Function
test_signal_units_alone_never_turn_real_residuals_into_zero
(units)
agent/tests/quantlib/test_neutralization.py:473
Function
test_signalling_a_group_that_only_holds_unreaped_children_is_not_an_error
macOS answers EPERM for a group whose members exited but are unreaped.
agent/tests/test_background_tools.py:362
Method
test_signals_clipped
Signals outside [-1, 1] should be clipped.
agent/tests/test_base_engine.py:813
Function
test_signals_fire_on_the_z_score_threshold
()
agent/tests/quantlib/test_credit.py:402
Function
test_signed_power_p_two
()
agent/tests/factors/test_base.py:177
Function
test_signed_power_preserves_sign_no_complex
()
agent/tests/factors/test_base.py:170
Method
test_signs_preserved
(self)
agent/tests/test_constraints.py:140
Function
test_silent_events_produce_nothing
()
agent/tests/test_openbb_bridge/test_event_mapper.py:25
Function
test_silent_server_times_out
()
agent/tests/test_baostock_socket_deadline.py:65
Method
test_silently_degrading_intervals_reject_without_http
(self, monkeypatch)
agent/tests/test_wallex_loader.py:93
Function
test_siliconflow_is_available_in_both_cli_onboarding_surfaces
()
agent/tests/test_llm_provider_defaults.py:124
Method
test_siliconflow_providers
( self, provider: str, key_env: str, base_env: str, base_url: str,
agent/tests/test_llm.py:213
Function
test_simple_preferred_accrues_per_contribution_from_its_own_date
()
agent/tests/quantlib/test_fundmath.py:608
Function
test_sina_window_clip_is_the_only_drop_on_the_us_leg
()
agent/tests/test_paper_trade_fixtures.py:184
Method
test_single_asset
(self)
agent/tests/test_risk_parity.py:77
Function
test_single_asset_correlation_section_is_null
()
agent/tests/test_risk_xray.py:184
Function
test_single_asset_infeasible_caps_fail_closed
A fully invested singleton cannot fit below a sub-unit exposure cap.
agent/tests/test_turnover_single_asset_caps.py:27
Method
test_single_asset_returns_nan_density
(self)
agent/tests/test_regime.py:71
Method
test_single_asset_unchanged
(self)
agent/tests/test_mean_variance_optimizer.py:91
Method
test_single_asset_unchanged
(self)
agent/tests/test_turnover_aware_optimizer.py:193
Method
test_single_asset_unchanged
Optimizer with 1 asset returns input unchanged.
agent/tests/test_risk_parity.py:111
Method
test_single_bar_equity_metrics_finite
(self)
agent/tests/test_metrics.py:420
Function
test_single_call_ref_contract_unchanged
(tmp_path)
agent/tests/test_grounding_multi_derived_refs.py:66
Method
test_single_char_typo_history
(self)
agent/tests/test_cli_interactive.py:462
Method
test_single_char_typo_journal
(self)
agent/tests/test_cli_interactive.py:467
Method
test_single_char_words_excluded
(self)
agent/tests/test_persistent_memory.py:66
Function
test_single_clean_not_found_source_is_not_enough_for_private_routing
A partial resolver outage cannot turn a public entity into private research.
agent/tests/test_agent_grounding.py:739
Function
test_single_cluster_fallback_carries_price_bounds
The degenerate single-rule path must still emit RSI/return bounds. Regression for PR #314 review: ``_heuristic_single_rule`` previously called
agent/tests/test_shadow_account.py:1527
Method
test_single_code_returns_history
(self)
agent/tests/test_lockup_expiry_tool.py:69
Method
test_single_code_through_real_client
(self)
agent/tests/test_lockup_expiry_tool.py:185
Function
test_single_currency_group_keeps_single_run
( profitable_journal: Path, tmp_path: Path, monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_shadow_account.py:683
Function
test_single_currency_journal_keeps_legacy_shape
One currency → plain floats, no split keys: zero behavior change.
agent/tests/test_trade_journal_currency_pools.py:71
Function
test_single_datetime_columns_keep_existing_behavior
(column)
agent/tests/test_generic_split_datetime.py:46
Function
test_single_day_lookup_queries_that_day_only
(cn_a_client: FakeCalendarClient)
agent/tests/test_paper_trade_calendar.py:90
Function
test_single_day_ten_positions_ten_orders_under_budget
()
agent/tests/test_paper_trade_perf.py:106
Function
test_single_empty_response_recovers_with_nudge
One transient empty response is retried with a nudge; the run succeeds.
agent/tests/test_agent_loop_content_filter.py:200
Function
test_single_equity_point_reports_observed_final_value
()
agent/tests/test_options_portfolio_correctness.py:23
Method
test_single_market_india_routes_to_india_engine
(self)
agent/tests/test_india_equity_engine.py:201
Method
test_single_market_korea_routes_to_korea_engine
(self)
agent/tests/test_korea_equity_engine.py:301
Method
test_single_paragraph_quote_still_works
(self)
agent/tests/test_msteams_reply_quote_normalization.py:38
Function
test_single_period_effects_tie_out_exactly
HARD REQUIREMENT: allocation + selection + interaction == active return to 1e-12.
agent/tests/quantlib/test_attribution.py:82
Function
test_single_period_link_is_the_identity
Linking one period must not disturb its effects.
agent/tests/quantlib/test_attribution.py:315
Method
test_single_position
Single long position: equity matches manual calculation.
agent/tests/test_equity_regression.py:46
Method
test_single_position_run_carries_no_concurrency_caveat
(self, tmp_path)
agent/tests/test_strategy_discovery_harness.py:605
Function
test_single_prompt_run_prints_the_hint_without_serving
( tmp_path: Path, monkeypatch )
agent/tests/test_cli_backtest_summary.py:85
Method
test_single_range_is_month_end_anchored
(self)
agent/tests/test_strategy_discovery_decay.py:59
Method
test_single_reason
(self)
agent/tests/test_metrics.py:321
Function
test_single_recency_uses_zero_days_since_today
(compute, age, backend)
agent/tests/factors/test_gtja191_highday_lowday_recency.py:44
Function
test_single_result_object_schema_is_not_mistaken_for_fastmcp_wrapper
()
agent/tests/test_mcp_client_adapter.py:473
Function
test_single_stream_failure_is_retried_and_worker_succeeds
One ProviderStreamError then success → worker completes (2 calls).
agent/tests/test_swarm_worker_stream_retry.py:139
Method
test_single_symbol
(self)
agent/tests/test_metrics.py:297
Function
test_single_symbol_missing_target_bar_is_a_suspended_fact_not_not_ready
()
agent/tests/test_paper_trade_readiness.py:192
Function
test_single_symbol_zero_bar_on_trading_day_is_suspended_set
()
agent/tests/test_paper_trade_readiness.py:268
Method
test_single_token_ascii_empty_result_stays_ok
A bare single token Yahoo cannot match is "not listed", not "skipped". The relabel is shape-specific: only a multi-token ticker+name query is
agent/tests/test_symbol_search_tool.py:655
Method
test_single_token_query_still_reaches_yahoo
A bare single-token ticker ("XOM") is not a ticker+name shape.
agent/tests/test_symbol_search_tool.py:623
Method
test_single_tool
(self)
agent/tests/test_validation.py:302
Function
test_single_turn_final_answer_does_not_trigger_native_retry
(fake_cli)
agent/tests/test_claude_cli_provider.py:222
Method
test_single_year_malformed_entries_and_empty
(self)
agent/tests/test_strategy_discovery_models.py:205
Function
test_singleton_group_is_nan
()
agent/tests/factors/test_zscore_by_group.py:66
Function
test_singleton_hrp_rejects_invalid_variance_before_assigning_weight
( variance: float, )
agent/tests/quantlib/test_covariance_weight_stability.py:14
Function
test_singleton_industry_group_is_nan
(registry: Registry)
agent/tests/factors/test_fundamental_ind_neutral_samples.py:213
Method
test_six_decimal_precision
(self)
agent/tests/test_crypto_engine.py:208
Function
test_skill_directory_structure
Router and references directory both exist.
agent/tests/test_investor_lenses_skill.py:99
Function
test_skill_inventory_matches_the_whole_mcp_surface
The published manifest must list every tool the server serves. This previously compared the manifest against ``registered - mirrored``, which
agent/tests/test_mcp_alpha_zoo_contract.py:103
Function
test_skill_manifest_version_matches_pyproject
`agent/SKILL.md` is the ClawHub manifest and ships outside the wheel.
agent/tests/test_release_version_consistency.py:39
Method
test_skill_md_exists
(self)
agent/tests/test_vnpy_export.py:21
Function
test_skill_names_a_nonempty_source_set
The skill must actually enumerate sources (guards a broken parse / empty doc).
agent/tests/test_data_routing_sources_subset.py:48
Function
test_skill_prefixed_link_still_resolves_through_read_file
The old prefixed form is still readable, so nothing that wrote it breaks. ``read_file`` roots at ``skills/``, so ``<skill>/references/...`` conti
agent/tests/test_skill_reference_links.py:181
Function
test_skill_relative_matches_rejects_traversal
The matcher itself drops climbing and absolute paths.
agent/tests/test_read_file_skill_relative.py:149
Function
test_skill_sources_are_subset_of_valid_sources
Every source named in the skill must be registered in VALID_SOURCES.
agent/tests/test_data_routing_sources_subset.py:58
Function
test_skills_have_reference_links
Sanity: each skill under test exposes references/ links to validate.
agent/tests/test_skill_reference_links.py:104
Function
test_skills_rooted_form_still_resolves
The explicit ``skills/`` namespace keeps working unchanged.
agent/tests/test_read_file_skill_relative.py:75
Method
test_skip_date_literal
(self, fsp)
agent/tests/test_fetch_sina_penalties.py:102
Method
test_skip_label_then_pick_real_type
(self, fsp)
agent/tests/test_fetch_sina_penalties.py:106
Function
test_skipped_analysis_result_does_not_authorize_metrics
A skipped/deduplicated call is not a completed analysis.
agent/tests/test_agent_grounding.py:3031
Method
test_skipped_entries_are_reported
( self, home: Path, run_dir: Path, capsys: pytest.CaptureFixture[str] )
agent/tests/test_cli_strategy_evidence.py:121
Method
test_skips_bars_with_missing_ohlc
(self, monkeypatch)
agent/tests/test_finnhub_loader.py:186
Method
test_skips_cleared_content
(self)
agent/tests/test_loop_helpers.py:259
Function
test_skips_directories_that_are_python_packages
site-packages/runs may be an unrelated installed distribution.
agent/tests/test_state_migration.py:87
Method
test_skips_short_content
(self)
agent/tests/test_loop_helpers.py:249
Method
test_skips_symbol_on_non_ret_ok
(self, loader, mock_ctx)
agent/tests/test_futu_loader.py:260
Function
test_skips_when_legacy_root_equals_runtime_root
(tmp_path: Path)
agent/tests/test_state_migration.py:211
Function
test_slack_field_hints_contract
Slack hints: declaration order, secrets, required set, help_key prefix.
agent/tests/test_channel_config_meta.py:419
Function
test_slack_group_policy_choices_pin
group_policy carries the enum the adapter branches on; nothing else does. Drift pin for the choices contract: the literals mirror ``SlackChan
agent/tests/test_channel_config_meta.py:452
Function
test_slack_hint_keys_exist_in_default_config
Every slack hint key is a real SlackConfig field (authoring contract).
agent/tests/test_channel_config_meta.py:480
Function
test_slack_markdown_dependency_uses_a_published_version_range
Both Slack extras should use the same resolvable dependency range.
agent/tests/test_packaging_dependencies.py:148
Function
test_slack_split_keeps_dm_dict_and_behavior_values_untouched
Regression: F5 unmasks user_token_read_only but must NOT flatten ``dm``. The raw ``dm`` dict still travels in ``values`` unchanged (nested ``dm.*
agent/tests/test_channel_config_meta.py:503
Function
test_slack_transport_knobs_stay_file_configured
``mode``/``webhook_path`` are excluded: socket is the only transport.
agent/tests/test_channel_config_meta.py:444
Function
test_slack_user_token_read_only_is_not_a_secret
The audited subtraction: a behavior bool the regex over-matches.
agent/tests/test_channel_config_meta.py:489
Function
test_slack_webhook_secret_is_redacted
()
agent/tests/test_redaction_channel_and_provider_tokens.py:25
Method
test_slash_form_matches
(self)
agent/tests/test_akshare_loader.py:70
Method
test_slash_pair
(self)
agent/tests/test_tickerall_loader.py:136
Function
test_sleep_hint_fn_is_exposed_read_only
()
agent/tests/scheduling/test_kernel_sleep_hint.py:137
Function
test_sleep_hint_is_compute_sleep_ms_over_the_live_set
()
agent/tests/test_runtime_scheduler_kernel.py:111
← previous
next →
24,401–24,500 of 26,887, ranked by callers