MCPcopy Create free account

hub / github.com/HKUDS/Vibe-Trading / functions

Functions26,887 in github.com/HKUDS/Vibe-Trading

Functiontest_provider_stream_error_returns_structured_failure
Provider stream failures should stay diagnosable at the session boundary.
agent/tests/test_agent_loop_terminal_state.py:387
Functiontest_provider_then_estimated_total_stays_estimated
(tmp_path)
agent/tests/test_swarm_cache_source.py:431
Functiontest_provider_then_provider_total_stays_provider
(tmp_path)
agent/tests/test_swarm_cache_source.py:421
Functiontest_provider_usage_gap_makes_token_budget_not_evaluable
( harness_case: HarnessCase, artifact_dir: Path, )
agent/tests/harness_eval/test_runner.py:234
Functiontest_provider_waiting_reaches_loop_without_answer_or_reasoning
(tmp_path)
agent/tests/test_reasoning_delta_throttle.py:104
Functiontest_proxy_applies_follows_the_process_proxy_settings
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_provider_endpoint_guard.py:102
Functiontest_proxy_config_from_env
(monkeypatch)
agent/tests/test_okx_loader_bounded.py:195
Functiontest_proxy_url_userinfo_is_stripped_from_values
URL userinfo is stripped from non-secret values; other strings stay put.
agent/tests/test_channel_config_meta.py:859
Methodtest_prune_search_scope_keyword_overlap
Categories with keyword overlap are prioritized.
agent/tests/memory/test_hierarchy.py:132
Methodtest_prune_search_scope_with_category_filter
With category_filter, only scans that category.
agent/tests/memory/test_hierarchy.py:121
Methodtest_prunes_above_threshold
(self)
agent/tests/test_loop_helpers.py:139
Methodtest_pseudo_observations
(self)
agent/tests/quantlib/test_copula.py:23
Functiontest_pseudo_observations_give_ties_equal_rank
()
agent/tests/quantlib/test_copula_pseudo_observations_ties.py:7
Functiontest_pseudo_observations_preserve_missing_values_per_column
()
agent/tests/quantlib/test_copula_pseudo_observations_ties.py:13
Functiontest_psr_matches_the_closed_form_under_gaussian_moments
()
agent/tests/quantlib/test_multipletesting.py:59
Functiontest_psr_rejects_a_sample_too_short_for_its_own_moments
()
agent/tests/quantlib/test_multipletesting.py:88
Functiontest_psr_rejects_mutually_inconsistent_moments
()
agent/tests/quantlib/test_multipletesting.py:93
Functiontest_psr_rejects_non_finite_summary_inputs
A NaN benchmark returned NaN as 'confidence'; an infinite one returned a clean 0.0 or 1.0. Undefined inputs are named, not reported.
agent/tests/quantlib/test_multipletesting.py:350
Functiontest_psr_rises_with_sample_length
()
agent/tests/quantlib/test_multipletesting.py:65
Methodtest_public_config_redacts_secrets
(self)
agent/tests/test_mt5_connector.py:396
Functiontest_public_docs_and_ignored_local_notes_pass
(repo: Path)
tools/test_ci_private_files_gate.py:53
Functiontest_public_material_is_left_alone
()
agent/tests/test_redaction_private_key_blocks.py:45
Functiontest_public_tool_annualizes_calendar_bars
( interval: str, frequency: str, annual_bars: int )
agent/tests/test_portfolio_risk_calendar_bars.py:25
Functiontest_publish_after_clear_does_not_enqueue
After clear, publish must not enqueue to any subscriber queue.
agent/tests/test_eventbus_clear_subscribers.py:69
Methodtest_published_worked_example
(self)
agent/tests/test_vietnam_equity_engine.py:55
Functiontest_publishing_job_is_workflow_dispatch_only
A commit touching the Dockerfile must not be able to publish an image.
agent/tests/test_docker_workflow_publish_guard.py:43
Functiontest_pull_thread_keeps_session_context
()
agent/tests/test_chat_stream_interruption.py:196
Methodtest_punctuation_only
(self)
agent/tests/test_sentiment_tool.py:17
Methodtest_punctuation_only_name_gets_hash
(self, tmp_path: Path)
agent/tests/test_persistent_memory.py:603
Methodtest_punctuation_only_uses_stable_digest
(self)
agent/tests/test_skill_writer_tools.py:46
Functiontest_pure_noise_alphas_do_not_survive_deflation
(monkeypatch)
agent/tests/test_bench_multiple_testing.py:83
Functiontest_pure_noise_strategies_give_a_pbo_around_one_half
()
agent/tests/quantlib/test_multipletesting.py:267
Functiontest_purge_counts_are_reported_not_hidden
()
agent/tests/quantlib/test_crossvalidation.py:341
Functiontest_purge_transaction_rolls_back_and_a_retry_succeeds
(owned_delete_index)
agent/tests/test_session_delete_clears_search_index.py:117
Functiontest_purging_removes_exactly_the_overlapping_observations
()
agent/tests/quantlib/test_crossvalidation.py:62
Functiontest_put_accepts_manager_override_keys
(tmp_path: Path, monkeypatch)
agent/tests/test_channels_config_api.py:870
Functiontest_put_and_test_404_unknown_and_helper_modules
( tmp_path: Path, monkeypatch, name: str )
agent/tests/test_channels_config_api.py:1210
Methodtest_put_below_undiscounted_intrinsic_is_accepted
(self)
agent/tests/quantlib/test_options.py:247
Methodtest_put_call_parity
(self)
agent/tests/quantlib/test_volatility.py:59
Functiontest_put_clear_flag_removes_stored_secret
(tmp_path: Path, monkeypatch)
agent/tests/test_channels_config_api.py:834
Functiontest_put_discord_enable_with_bad_credentials_is_blocked_before_write
Discord answers a bad bot token with HTTP 401 on ``users/@me``; the enable-transition probe must block the write with 422.
agent/tests/test_channels_config_api.py:721
Functiontest_put_email_enable_probe_failure_blocks_write
( tmp_path: Path, monkeypatch )
agent/tests/test_channels_config_api.py:1429
Functiontest_put_email_enable_skip_verify_bypasses_probe
( tmp_path: Path, monkeypatch )
agent/tests/test_channels_config_api.py:1457
Functiontest_put_empty_secret_string_keeps_stored_value
(tmp_path: Path, monkeypatch)
agent/tests/test_channels_config_api.py:489
Functiontest_put_enable_probe_exception_becomes_422_network
(tmp_path: Path, monkeypatch)
agent/tests/test_channels_config_api.py:775
Functiontest_put_enable_rejection_carries_scrubbed_message
(tmp_path: Path, monkeypatch)
agent/tests/test_channels_config_api.py:752
Functiontest_put_enable_skip_verify_writes_without_probe
(tmp_path: Path, monkeypatch)
agent/tests/test_channels_config_api.py:795
Functiontest_put_enable_with_bad_credentials_is_blocked_before_write
( tmp_path: Path, monkeypatch )
agent/tests/test_channels_config_api.py:504
Functiontest_put_feishu_enable_with_bad_credentials_is_blocked_before_write
Feishu rejects bad credentials with HTTP 200 + an error body; the enable-transition probe must still block the write with 422.
agent/tests/test_channels_config_api.py:693
Functiontest_put_feishu_merge_patch_writes_section
(tmp_path: Path, monkeypatch)
agent/tests/test_channels_config_api.py:530
Functiontest_put_rejects_unknown_config_keys
(tmp_path: Path, monkeypatch)
agent/tests/test_channels_config_api.py:852
Functiontest_put_reload_failure_falls_back_to_reset_and_restart
( tmp_path: Path, monkeypatch )
agent/tests/test_channels_config_api.py:935
Functiontest_put_reload_failure_survives_a_wedged_stop
(tmp_path: Path, monkeypatch)
agent/tests/test_channels_config_api.py:966
Functiontest_put_validation_error_blocks_write
(tmp_path: Path, monkeypatch)
agent/tests/test_channels_config_api.py:816
Functiontest_put_websocket_clears_non_secret_token_issue_path
A cleared non-secret text field persists as "" (no longer dropped).
agent/tests/test_channels_config_api.py:1557
Functiontest_put_websocket_form_patch_preserves_requires_token
The exact security-flip regression: a form save must not write False. Before hint-authoritative secret resolution, ``websocket_requires_token``
agent/tests/test_channels_config_api.py:1513
Functiontest_put_websocket_minimal_section_is_not_a_type_error
Regression: the ephemeral websocket build needs the gateway kwarg. ``WebSocketChannel.__init__`` requires a keyword-only ``gateway``, which `
agent/tests/test_channels_config_api.py:1260
Functiontest_put_with_stopped_runtime_resets_singleton
(tmp_path: Path, monkeypatch)
agent/tests/test_channels_config_api.py:902
Functiontest_put_without_runtime_defers
(tmp_path: Path, monkeypatch)
agent/tests/test_channels_config_api.py:920
Functiontest_put_writes_file_and_hot_swaps_running_runtime
(tmp_path: Path, monkeypatch)
agent/tests/test_channels_config_api.py:462
Functiontest_put_yaml_config_returns_config_not_writable
(tmp_path: Path, monkeypatch)
agent/tests/test_channels_config_api.py:884
Methodtest_puts_and_calls_stay_separate_from_the_common_stock
(self)
agent/tests/test_institutional_holdings_tool.py:430
Functiontest_pykrx_live_canary
Opt-in: real pykrx call, so upstream endpoint/login drift is detectable.
agent/tests/test_pykrx_loader.py:248
Functiontest_pypi_fetch_failure_no_pip
Network/HTTP failure on the version check: clear error, install untouched.
agent/tests/test_cli_update.py:277
Functiontest_pyproject_fallback_matches_declared_version
()
agent/tests/test_cli_version.py:23
Functiontest_python_only_policy_allows
(command)
agent/tests/test_claude_cli_tool_policy.py:96
Functiontest_python_only_policy_blocks
(command)
agent/tests/test_claude_cli_tool_policy.py:126
Functiontest_python_screening_is_idempotent_across_adapter_and_registry
()
agent/tests/test_provider_agnostic_tool_policy.py:269
Functiontest_qq_field_hints_exact_snapshot
QQ hints match the frozen contract, with ``enabled`` excluded.
agent/tests/test_channel_config_meta.py:116
Functiontest_qq_outbound_media_allows_2xx_and_does_not_follow_redirects
()
agent/tests/test_url_target_security.py:136
Functiontest_qq_outbound_media_rejects_error_status
(status: int)
agent/tests/test_url_target_security.py:146
Functiontest_qq_outbound_media_rejects_redirects
(status: int)
agent/tests/test_url_target_security.py:125
Methodtest_qty_must_be_positive
(self)
agent/tests/test_paper_order_lifecycle.py:44
Functiontest_qualify_a_share
(code: str, expected: str)
agent/tests/test_trade_journal.py:85
Functiontest_qualify_a_share_normalizes_float_stringified_codes
Excel/CSV float forms must not be treated as exchange-qualified.
agent/tests/test_trade_journal.py:858
Functiontest_qualify_a_share_rejects_empty
()
agent/tests/test_trade_journal.py:759
Functiontest_qualify_a_share_rejects_nan
()
agent/tests/test_trade_journal.py:781
Methodtest_quality_checklist_present
(self)
agent/tests/test_vnpy_export.py:72
Methodtest_quality_classification_applied
(self, tmp_path)
agent/tests/test_strategy_discovery_harness.py:517
Methodtest_quality_floors_via_quality_order
(self, tmp_path)
agent/tests/test_strategy_discovery_facade.py:326
Methodtest_quality_ladder_constants_and_order
(self)
agent/tests/test_strategy_discovery_models.py:49
Functiontest_quant_strategy_desk_ends_with_report_aggregator
quant_strategy_desk must deliver a final report, not stop at the risk audit. Regression for #1029: the preset's last task is task-report run by
agent/tests/test_swarm_presets_packaging.py:72
Functiontest_quant_strategy_desk_report_prompt_covers_four_sections
The aggregator prompt must require every deliverable a user expects.
agent/tests/test_swarm_presets_packaging.py:99
Functiontest_quantity_falls_back_to_data_loader
When the broker quote tool errors, the gate derives price from the data loaders (stubbed — no network).
agent/tests/test_enforcement_l6.py:276
Functiontest_quantity_no_quote_anywhere_denies_fail_closed
Quantity order + broker quote errors + loader returns nothing → DENY, never waved through.
agent/tests/test_enforcement_l6.py:291
Functiontest_quantity_only_in_mandate_forwards
(live_runtime: Path)
agent/tests/test_enforcement_l6.py:265
Functiontest_quantity_only_uses_broker_quote_and_enforces_notional
(live_runtime: Path)
agent/tests/test_enforcement_l6.py:251
Functiontest_quantity_submit_requires_unambiguous_pre_position
(monkeypatch)
agent/tests/test_sdk_order_gate.py:531
Functiontest_quantized_three_two_ratio_just_inside_the_band_is_still_a_candidate
( before: float, after: float, vol_before: float, vol_after: float, mult: Fraction)
agent/tests/test_paper_trade_corporate_actions.py:199
Functiontest_quantlib_badge_states_both_the_function_and_module_counts
The Quant Library badge carries two numbers; both must be the real ones.
agent/tests/test_readme_counts.py:368
Functiontest_quantlib_call_keeps_completed_bucket_count_for_fractional_volume
()
agent/tests/quantlib/test_vpin_volume_scale.py:33
Functiontest_quantlib_tool_lists_calls_and_serializes_both_transforms
()
agent/tests/quantlib/test_neutralization.py:380
Functiontest_quantlib_tool_prices_final_coupon_stub
()
agent/tests/test_cds_final_stub_regressions.py:20
Functiontest_quantlib_tool_refuses_insufficient_adjacent_ou_pairs
()
agent/tests/test_ou_missing_lag_pairs_regressions.py:22
Functiontest_quantlib_tool_rejects_zero_integration_domain
()
agent/tests/test_heston_finite_inputs_regressions.py:57
Functiontest_quantlib_tool_reports_invalid_attribution_as_error
( function: str, kwargs: dict )
agent/tests/quantlib/test_attribution_nonfinite.py:72
Functiontest_quantlib_tool_reports_unmeasured_style_weight
()
agent/tests/test_style_missing_exposures_regressions.py:27
Methodtest_quarter_frame_never_overwrites_the_full_year
(self)
agent/tests/test_sec_period_frames.py:126
Methodtest_quarter_returns_full_series
(self)
agent/tests/test_financial_statements_tool.py:313
Functiontest_query_accepts_valid_bearer_when_key_configured
( monkeypatch: pytest.MonkeyPatch, fake_adapter: None )
agent/tests/test_openbb_bridge/test_routes.py:124
← previousnext →22,601–22,700 of 26,887, ranked by callers