MCPcopy Create free account

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

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

Functiontest_catalog_shutdown_does_not_hide_success
(fake_mt5)
agent/tests/test_mt5_connector.py:1034
Functiontest_catalogue_size_matches_the_loader
The REST catalogue is the loader's output, not a hand-maintained list.
agent/tests/test_playbooks_surface.py:766
Methodtest_catch_all_is_lowest_priority
(self)
agent/tests/test_market_detection.py:222
Functiontest_categorical_reference_uses_fitted_assets_not_masked_or_missing_assets
()
agent/tests/quantlib/test_neutralization.py:125
Functiontest_categorise_confirmed_alive_full_sample_only
()
agent/tests/factors/test_bench_strict.py:145
Functiontest_categorise_confirmed_alive_when_oos_also_passes
()
agent/tests/factors/test_bench_strict.py:156
Functiontest_categorise_noise_when_alpha_t_in_corridor
()
agent/tests/factors/test_bench_strict.py:136
Functiontest_categorise_oos_decay_to_noise_band_is_train_only
Companion to the sign-flip test: an OOS that decays to the noise band (between -thr and +thr) is still train_only.
agent/tests/factors/test_bench_strict.py:420
Functiontest_categorise_oos_sign_flip_is_reversed_strict_not_train_only
Regression for A5: OOS sign-flip with strong negative test t-stat should be reversed_strict, not train_only.
agent/tests/factors/test_bench_strict.py:413
Functiontest_categorise_rejects_oos_confirmation_when_training_fails
()
agent/tests/factors/test_bench_strict.py:161
Functiontest_categorise_rejects_underpowered_oos_split
()
agent/tests/factors/test_bench_strict.py:166
Functiontest_categorise_respects_custom_threshold
()
agent/tests/factors/test_bench_strict.py:183
Functiontest_categorise_reversed_when_alpha_t_strongly_negative
()
agent/tests/factors/test_bench_strict.py:141
Functiontest_categorise_short_ic_count_is_noise
()
agent/tests/factors/test_bench_strict.py:177
Functiontest_categorise_train_only_when_oos_fails
()
agent/tests/factors/test_bench_strict.py:151
Methodtest_category_assignment
(self, skills_dir: Path, empty_user_dir: Path)
agent/tests/test_skills.py:149
Methodtest_category_field
(self)
agent/tests/test_skills.py:25
Methodtest_causality_tail_corruption_never_changes_past
(self)
agent/tests/test_regime.py:100
Functiontest_ccxt_interval_map_keeps_lowercase_hour_and_week
()
agent/tests/test_ccxt_interval_map.py:15
Functiontest_ccxt_interval_map_keeps_week_and_month
()
agent/tests/test_ccxt_interval_map.py:8
Methodtest_ccxt_loader_validates_dates
CCXT loader should raise on reversed dates before fetching.
agent/tests/test_engine_robustness.py:539
Methodtest_ccxt_uppercase
(self)
agent/tests/test_market_detection.py:322
Functiontest_cds_price_buyer_mtm_positive_when_spread_above_coupon
()
agent/tests/quantlib/test_credit.py:560
Functiontest_cds_price_fair_par_spread_zero_upfront
()
agent/tests/quantlib/test_credit.py:536
Functiontest_cds_price_input_validation
()
agent/tests/quantlib/test_credit.py:574
Functiontest_cds_regular_coupon_dates_and_final_stub
(tenor)
agent/tests/test_cds_final_stub_regressions.py:7
Methodtest_cfd_allowed_skips_asset_class_bucket
(self)
agent/tests/test_mandate_forex.py:253
Methodtest_cfd_requires_explicit_instrument_allowance
(self)
agent/tests/test_mandate_forex.py:243
Functiontest_ch_unreachable_degrades_to_network_only_and_still_ready
()
agent/tests/test_paper_trade_readiness.py:176
Functiontest_chain_false_writes_only_the_classic_ledger
The opt-out still exists and still means what it says.
agent/tests/test_governance.py:566
Functiontest_chain_hash_equals_prior_end_state_under_the_frozen_coverage
()
agent/tests/test_paper_trade_multiday.py:123
Functiontest_chain_missing_ticker_is_400
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_options_routes.py:238
Functiontest_chain_success_returns_tool_envelope
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_options_routes.py:208
Functiontest_chain_tool_failure_maps_to_502
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_options_routes.py:226
Functiontest_chain_true_fans_the_same_augmented_record_to_all_sinks
(live_runtime: Path)
agent/tests/test_governance.py:622
Functiontest_chain_true_refuses_to_extend_a_tampered_chain_ledger
(live_runtime: Path)
agent/tests/test_governance.py:659
Functiontest_chain_true_writes_to_dedicated_chain_ledger
(live_runtime: Path)
agent/tests/test_governance.py:597
Methodtest_chains_are_non_empty
(self)
agent/tests/test_registry.py:232
Methodtest_chains_ordered_by_ip_ban_risk
Equity chains lead with throttle-tolerant public sources and trail with key-gated REST fallbacks, in the exact reviewed order.
agent/tests/test_registry.py:252
Methodtest_challenge_latch_stops_concurrent_loader_instances
(self, monkeypatch)
agent/tests/test_stooq_loader.py:260
Methodtest_challenge_latch_stops_probing_later_symbols
Once challenged, later symbols must not pay another request. The warning says the source is "unavailable for the rest of this process
agent/tests/test_stooq_loader.py:228
Methodtest_challenge_page_does_not_reach_csv_parser
(self, monkeypatch)
agent/tests/test_stooq_loader.py:314
Methodtest_challenge_page_yields_no_data_and_warns_once
(self, monkeypatch, caplog)
agent/tests/test_stooq_loader.py:211
Methodtest_change_pct_screen_parses_rows
(self)
agent/tests/test_market_screener_tool.py:46
Functiontest_changed_data_as_of_and_evidence_create_linked_revisions
(tmp_path)
agent/tests/test_research_artifact_store.py:61
Functiontest_changed_revision_does_not_inherit_verification
(tmp_path)
agent/tests/test_research_artifact_store.py:144
Functiontest_changed_url_and_clear_flag_still_beat_the_echo_guard
The echo guard must not block a real edit, nor removal of the setting.
agent/tests/test_channels_config_api.py:591
Methodtest_changes_are_ordered_by_dollar_impact
(self)
agent/tests/test_institutional_holdings_tool.py:465
Methodtest_changes_report_their_own_absence
(self)
agent/tests/test_institutional_holdings_tool.py:595
Functiontest_channel_confirmation_displays_email_format
(tmp_path, monkeypatch, fmt, label)
agent/tests/test_channels_runtime.py:992
Functiontest_channel_core_websocket_dependency_is_declared_for_baseline_installs
The built-in WebSocket gateway imports websockets at module import time.
agent/tests/test_packaging_dependencies.py:72
Functiontest_channel_manager_can_construct_websocket_with_default_gateway
()
agent/tests/test_channels_runtime.py:75
Functiontest_channel_manager_skips_enabled_adapter_when_lazy_sdk_missing
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_channels_runtime.py:273
Functiontest_channel_manager_status_includes_every_configured_adapter
()
agent/tests/test_channels_runtime.py:231
Functiontest_channel_optional_extras_cover_all_sdk_backed_adapters
Keep install hints and packaging extras in sync for IM adapters.
agent/tests/test_packaging_dependencies.py:90
Functiontest_channel_runtime_channel_operator_cannot_act_cross_channel
A per-channel (non-global) operator cannot approve codes on other channels.
agent/tests/test_channels_runtime.py:528
Functiontest_channel_runtime_handles_pairing_commands_without_agent
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
agent/tests/test_channels_runtime.py:389
Functiontest_channel_runtime_new_command_resets_session_and_creates_fresh_one
(tmp_path: Path)
agent/tests/test_channels_runtime.py:696
Functiontest_channel_runtime_new_command_with_no_existing_session
(tmp_path: Path)
agent/tests/test_channels_runtime.py:738
Functiontest_channel_runtime_non_operator_list_does_not_leak_codes
A non-operator's rejected /pairing list must not disclose codes or sender ids.
agent/tests/test_channels_runtime.py:650
Functiontest_channel_runtime_operator_can_pair
A configured operator can approve a pending pairing code end to end.
agent/tests/test_channels_runtime.py:483
Functiontest_channel_runtime_pairing_fail_closed_when_no_operators_configured
With no operators configured, ALL in-chat /pairing is rejected (fail-closed).
agent/tests/test_channels_runtime.py:603
Functiontest_channel_runtime_preserves_message_id_for_failure_replies
( tmp_path: Path, failure: Exception, flag: str, )
agent/tests/test_channels_runtime.py:783
Functiontest_channel_runtime_rebuilds_from_current_config_after_reset
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_channel_runtime_reset.py:79
Functiontest_channel_runtime_regular_messages_not_intercepted_as_new_session
(tmp_path: Path)
agent/tests/test_channels_runtime.py:871
Functiontest_channel_runtime_rejects_pairing_from_non_operator
A non-operator /pairing command is refused without touching the store (GHSA-fwpw).
agent/tests/test_channels_runtime.py:431
Functiontest_channel_runtime_reset_and_newsession_aliases_work
(tmp_path: Path)
agent/tests/test_channels_runtime.py:828
Functiontest_channel_runtime_routes_inbound_to_session_and_outbound
(tmp_path: Path)
agent/tests/test_channels_runtime.py:340
Functiontest_channel_runtime_session_map_persisted_after_reset
(tmp_path: Path)
agent/tests/test_channels_runtime.py:902
Functiontest_channels_api_call_sends_configured_bearer_token
(monkeypatch)
agent/tests/test_cli_channels.py:59
Functiontest_channels_config_accepts_snake_case_reply_timeout
()
agent/tests/test_agent_config.py:119
Functiontest_channels_config_rejects_non_positive_reply_timeout
()
agent/tests/test_agent_config.py:125
Functiontest_channels_pairing_command_runs_against_local_store
(tmp_path: Path, monkeypatch)
agent/tests/test_cli_channels.py:39
Functiontest_channels_pairing_command_uses_shared_store
(tmp_path: Path, monkeypatch)
agent/tests/test_channels_api.py:95
Functiontest_channels_parser_accepts_status_start_stop_login_and_pairing
()
agent/tests/test_cli_channels.py:12
Functiontest_channels_runtime_uses_configured_reply_timeout
(tmp_path: Path, monkeypatch)
agent/tests/test_channels_api.py:71
Functiontest_channels_start_stop_are_controlled_runtime_actions
(tmp_path: Path, monkeypatch)
agent/tests/test_channels_api.py:81
Functiontest_channels_start_stop_return_failure_in_every_output_mode
( command, json_mode, monkeypatch )
agent/tests/test_cli_channels.py:88
Functiontest_channels_start_stop_return_success_in_every_output_mode
( command, json_mode, monkeypatch )
agent/tests/test_cli_channels.py:104
Functiontest_channels_status_can_render_local_json
(monkeypatch)
agent/tests/test_cli_channels.py:47
Functiontest_channels_status_reports_all_configured_adapters
(tmp_path: Path, monkeypatch)
agent/tests/test_channels_api.py:49
Methodtest_characteristic_function_at_zero
(self)
agent/tests/quantlib/test_volatility.py:25
Methodtest_chart_error_raises
(self, monkeypatch)
agent/tests/test_yahoo_client.py:225
Functiontest_chart_payload_variant_is_rendered_in_threadpool
( tmp_path: Path, monkeypatch, offloaded: list )
agent/tests/api/test_run_detail_offload.py:66
Functiontest_chat_and_stream_chat_send_the_marked_request
The seam: both send paths must apply the gate, not just the pure helper.
agent/tests/test_anthropic_prompt_cache.py:150
Functiontest_chat_filters_denied_tools_before_any_provider_binds
(shared_policy)
agent/tests/test_provider_agnostic_tool_policy.py:80
Methodtest_chat_help_routes_to_legacy
``chat --help`` / ``-h`` must reach legacy argparse for the help screen.
agent/tests/test_cli_interactive.py:154
Methodtest_chat_is_interactive
(self, monkeypatch: pytest.MonkeyPatch)
agent/tests/test_cli_interactive.py:115
Methodtest_chat_transport_sends_reasoning_effort_to_chat_completions
(self)
agent/tests/test_llm_reasoning_effort.py:778
Functiontest_chat_turn_preview_reads_no_csv
(client: TestClient, monkeypatch)
agent/tests/api/test_run_preview.py:121
Methodtest_chat_with_bad_max_iter_routes_to_legacy
A non-integer ``--max-iter`` must reach argparse so it can complain.
agent/tests/test_cli_interactive.py:163
Methodtest_chat_with_extra_positional_routes_to_legacy
Extra positionals on ``chat`` are user errors — let argparse say so.
agent/tests/test_cli_interactive.py:172
Methodtest_chat_with_supported_max_iter
``chat`` with a parseable --max-iter belongs to the REPL.
agent/tests/test_cli_interactive.py:145
Functiontest_chatllm_close_is_best_effort_noop_without_client
ChatLLM.close() must not raise when the provider adapter has no closeable client (e.g. scripted/native adapters without root_client).
agent/tests/test_swarm_output_contract.py:517
Functiontest_chatml_and_llama_tokens_are_defanged
()
agent/tests/test_special_token_neutralization.py:20
Functiontest_check_available_uses_configured_path
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_taiwan_stock_data_tool.py:459
Functiontest_check_balance_sheet_does_not_raise_when_balanced
The same construction, with the correct retained earnings, must not raise.
agent/tests/quantlib/valuation/test_threestatement.py:302
Functiontest_check_balance_sheet_raises_on_broken_retained_earnings
A balance sheet whose retained-earnings rollforward was hand-broken must raise. Assets = 1,000 + 200 + 3,000 = 4,200. Liabilities + equity =
agent/tests/quantlib/valuation/test_threestatement.py:279
Functiontest_check_balance_sheet_raises_on_infinite_equity
An infinite equity value must not pass the balance check.
agent/tests/quantlib/valuation/test_threestatement.py:331
Functiontest_check_balance_sheet_raises_on_non_finite_assets
A NaN asset makes the residual non-finite, which must not pass the check.
agent/tests/quantlib/valuation/test_threestatement.py:316
← previousnext →15,901–16,000 of 26,887, ranked by callers