MCPcopy Create free account

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

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

Functiontest_add_and_remove_job_request_a_wake
add_job / remove_job must cut a long adaptive sleep short — pinned via a recording stand-in over the kernel's request_wake.
agent/tests/test_runtime_scheduler_kernel.py:155
Functiontest_add_goal_evidence_defaults_source_provider_and_type
(fresh_goal_store)
agent/tests/test_mcp_goal_tool_optional_goal_id.py:57
Functiontest_add_goal_evidence_falls_back_to_the_current_goal
(fresh_goal_store)
agent/tests/test_mcp_goal_tool_optional_goal_id.py:44
Functiontest_add_goal_evidence_without_a_current_goal_reports_not_found
(fresh_goal_store)
agent/tests/test_mcp_goal_tool_optional_goal_id.py:67
Methodtest_add_strips_control_bytes_in_body
(self, tmp_path: Path)
agent/tests/test_persistent_memory.py:615
Methodtest_add_truncates_long_body_with_marker
(self, tmp_path: Path)
agent/tests/test_persistent_memory.py:624
Functiontest_added_account_state_key_changes_the_hash
()
agent/tests/test_paper_trade_tool.py:271
Functiontest_additive_warning_fires_on_a_single_source
The blind spot the caliber alone could not cover: a run with no mix at all still computes its returns off additive levels, and with tencent he
agent/tests/test_price_caliber.py:141
Functiontest_additive_warning_stays_silent_on_multiplicative_and_raw
Tencent's HK path rides in the same basket and must not trip it: that series is stamped raw by the market override, not additive.
agent/tests/test_price_caliber.py:151
Functiontest_additive_warning_truncates_a_long_served_list
()
agent/tests/test_price_caliber.py:167
Functiontest_address_in_use_by_live_listener_reports_ok
The core hot-config scenario: Test clicked while the channel runs.
agent/tests/test_websocket_connection_test.py:140
Functiontest_address_in_use_without_listener_reports_network
()
agent/tests/test_websocket_connection_test.py:154
Methodtest_adequate_when_both_thresholds_met
(self)
agent/tests/test_strategy_discovery_models.py:237
Functiontest_adf_fails_to_reject_on_random_walk
(seed)
agent/tests/quantlib/test_timeseries.py:95
Functiontest_adf_rejects_too_short_a_series
()
agent/tests/quantlib/test_timeseries.py:120
Functiontest_adf_rejects_unit_root_on_stationary_series
()
agent/tests/quantlib/test_timeseries.py:85
Functiontest_adf_return_shape
()
agent/tests/quantlib/test_timeseries.py:111
Functiontest_adf_significance_level_is_configurable
()
agent/tests/quantlib/test_timeseries.py:103
Methodtest_adjclose_scales_ohlc_and_keeps_volume
(self, monkeypatch)
agent/tests/test_yahoo_client.py:136
Functiontest_adjust_bool_numeric_limit_rejected
H19: bool is an int subclass, but is never a valid numeric limit value.
agent/tests/test_consent_commit.py:377
Functiontest_adjust_instruments_narrowing_subset_commits
H19: a true subset of the rendered whitelist commits as narrowing.
agent/tests/test_consent_commit.py:405
Functiontest_adjust_instruments_widening_rejected
H19: adding an instrument to the rendered whitelist must re-propose.
agent/tests/test_consent_commit.py:391
Functiontest_adjust_narrowing_round_trip
Adjust narrows a limit; the narrowed value is what gets committed.
agent/tests/test_consent_commit.py:246
Methodtest_adjust_or_invalid_not_a_pick
(self, text: str)
agent/tests/test_cli_live.py:482
Methodtest_adjust_reply_is_not_intercepted
(self)
agent/tests/test_cli_live.py:535
Functiontest_adjust_string_numeric_narrowing_rejected
H19 policy: even string numeric narrowing is rejected as an invalid type.
agent/tests/test_consent_commit.py:363
Functiontest_adjust_string_numeric_widening_rejected
H19: a string "10" cannot widen numeric leverage 2 by type confusion.
agent/tests/test_consent_commit.py:349
Functiontest_adjust_widening_rejected
An adjustment that widens a rendered limit is rejected (must re-propose).
agent/tests/test_consent_commit.py:263
Methodtest_adjusted_prices_show_no_return_on_the_ex_date
(self)
agent/tests/test_alpha_bench_qfq.py:61
Functiontest_adjustment_gap_never_fabricates_a_doubling_return
(parser, caplog)
agent/tests/test_user_blockers_followups.py:100
Functiontest_advance_after_fire_matches_the_shared_next_run_math
()
agent/tests/test_runtime_scheduler_kernel.py:95
Functiontest_advance_after_fire_once_is_removed
()
agent/tests/test_runtime_scheduler.py:93
Functiontest_advance_after_fire_recurring_reschedules_past_now
()
agent/tests/test_runtime_scheduler.py:84
Functiontest_advance_stays_v1_1_and_cannot_ask_for_an_interval
(service)
agent/tests/test_paper_accounts.py:128
Functiontest_adverse_close_without_extremum_still_triggers_short
A short marked at a catastrophic close liquidates even on close-only bars.
agent/tests/test_market_hooks_liquidation.py:80
Methodtest_adverse_correlations_stay_on_long_only_simplex
(self)
agent/tests/test_risk_parity.py:42
Functiontest_advisory_context_frozen
()
agent/tests/test_advisory.py:186
Functiontest_advisory_result_auto_timestamp
()
agent/tests/test_advisory.py:197
Functiontest_after_close_filing_does_not_leak_into_the_ic
Known-answer: a factor equal to next-day returns must not produce IC. This is the reproduce step from the issue, planted offline: the loader
agent/tests/test_alpha_bench_pit_lag.py:107
Functiontest_after_close_publication_rolls_to_next_day
()
agent/tests/test_rsshub_events_provider.py:98
Methodtest_age_is_days_since_window_end
(self)
agent/tests/test_strategy_discovery_decay.py:86
Methodtest_aged_warning_carries_prefix_and_day_count
(self)
agent/tests/test_strategy_discovery_decay.py:195
Functiontest_agent_artifact_dir_matches_run_worker_construction
The shared helper must resolve to the exact path run_worker() writes to, or the retry loop would clear the wrong directory entirely.
agent/tests/test_swarm_retry_artifact_isolation.py:78
Functiontest_agent_artifact_dir_rejects_canonical_symlink_escape
(tmp_path: Path)
agent/tests/test_swarm_retry_artifact_isolation.py:103
Functiontest_agent_artifact_dir_rejects_path_shaped_agent_ids
( tmp_path: Path, agent_id: str )
agent/tests/test_swarm_retry_artifact_isolation.py:88
Functiontest_agent_artifact_dir_rejects_path_shaped_task_ids
( tmp_path: Path, task_id: str )
agent/tests/test_swarm_retry_artifact_isolation.py:96
Functiontest_agent_invocation_error_is_audited
()
agent/tests/test_runtime_runner.py:315
Functiontest_agent_loop_accepts_a_shared_cancel_event
AgentLoop must reuse the caller's flag, otherwise cancel() cannot reach the tools that were built before the loop existed.
agent/tests/test_swarm_cancel_cascade.py:248
Functiontest_agent_loop_accounts_goal_token_and_turn_usage
(tmp_path: Path, monkeypatch)
agent/tests/test_agent_goal_context.py:89
Functiontest_agent_loop_constants_derive_from_runtime_root
()
agent/tests/test_user_state_paths.py:111
Functiontest_agent_loop_continues_active_covered_goal_to_force_audit
Covered criteria still need a terminal status audit before the loop stops.
agent/tests/test_agent_goal_context.py:137
Functiontest_agent_loop_continues_active_incomplete_goal
(tmp_path: Path, monkeypatch)
agent/tests/test_agent_goal_context.py:113
Methodtest_agent_loop_drains_the_same_handle_the_tools_write_to
(self)
agent/tests/test_background_scope_isolation.py:242
Functiontest_agent_loop_executes_dsml_textual_tool_call
A pure DSML response must execute as a tool call instead of final text.
agent/tests/test_agent_loop_dsml_tool_calls.py:70
Functiontest_agent_loop_injects_active_goal_context
(tmp_path: Path, monkeypatch)
agent/tests/test_agent_goal_context.py:64
Functiontest_agent_loop_keeps_clean_figures_and_revalidates_the_repair
Exercise keep feedback through the actual AgentLoop without a paid model.
agent/tests/test_grounding_unknown_call_id_refs.py:317
Functiontest_agent_loop_never_releases_tool_call_syntax_as_a_final_answer
Forced-text final answers containing tool-call DSL are not released raw. On the last iteration tools are withheld to guarantee a plain-text answe
agent/tests/test_agent_loop_dsml_tool_calls.py:134
Functiontest_agent_loop_rejects_then_corrects_ungrounded_final_answer
Rejected numeric drafts never become the returned or streamed answer.
agent/tests/test_agent_grounding.py:1352
Functiontest_agent_loop_sends_replay_before_consuming_its_visibility_lease
( monkeypatch, tmp_path )
agent/tests/test_readonly_replay_after_microcompact.py:219
Functiontest_agent_loop_sends_the_hint_and_releases_the_corrected_answer
Replay the provider response locally through the actual tool and release path.
agent/tests/test_grounding_unknown_call_id_refs.py:262
Functiontest_agent_reachable_modules_never_open_mandate_for_write
No agent-importable live module opens the mandate file in a write mode.
agent/tests/test_no_set_mandate_tool.py:67
Functiontest_agent_registry_discovers_research_artifact_tools
()
agent/tests/test_research_artifact_tool.py:77
Functiontest_agent_run_messages_never_end_with_assistant
A simple run() should never send a trailing assistant message to the LLM.
agent/tests/test_agent_loop_no_assistant_prefill.py:92
Functiontest_agent_schema_exposes_pdf_protection_choice
()
agent/tests/test_pdf_protection_surfaces.py:51
Functiontest_agent_stop_reaps_tasks_it_started_or_carried
()
agent/tests/test_background_host_lifecycle.py:211
Functiontest_agent_terminal_status_only_cancels_background_on_failure
(monkeypatch, status)
agent/tests/test_background_host_lifecycle.py:263
Functiontest_agent_tool_reads_the_store
(store, monkeypatch)
agent/tests/test_br_data.py:194
Functiontest_agent_tool_reports_validation_and_missing_records
(tmp_path, monkeypatch)
agent/tests/test_research_artifact_tool.py:63
Functiontest_agent_tools_save_search_revise_and_read_history
(tmp_path, monkeypatch)
agent/tests/test_research_artifact_tool.py:28
Methodtest_agent_tuning_defaults
(self)
agent/tests/test_env_schema.py:184
Functiontest_agents_json_advertises_an_absolute_query_url
Workspace stores endpoints.query verbatim, so it must be absolute.
agent/tests/test_openbb_bridge/test_routes.py:66
Functiontest_agents_json_returns_manifest
(client: TestClient)
agent/tests/test_openbb_bridge/test_routes.py:55
Functiontest_aggregate_effects_match_hand_computation
The three aggregate effects equal the independently summed values.
agent/tests/quantlib/test_attribution.py:71
Functiontest_aggregate_reports_exposes_coverage
( harness_case: HarnessCase, artifact_dir: Path, )
agent/tests/harness_eval/test_runner.py:256
Methodtest_aging_rows_flagged_but_not_excluded
(self, tmp_path)
agent/tests/test_strategy_discovery_facade.py:769
Functiontest_airbnb_fetch_uses_equity_chain
(monkeypatch)
agent/tests/test_equity_crypto_suffix_regressions.py:21
Methodtest_akshare_120_cons_namespace
( self, monkeypatch: pytest.MonkeyPatch )
agent/tests/test_akshare_loader.py:81
Functiontest_akshare_a_share_keeps_supported_monthly
(monkeypatch)
agent/tests/test_akshare_interval_reject.py:20
Functiontest_akshare_a_share_rejects_minute_interval
()
agent/tests/test_akshare_interval_reject.py:12
Functiontest_akshare_check_skips_when_missing
(monkeypatch)
agent/tests/test_preflight.py:127
Functiontest_akshare_check_uses_spec_without_import
AKShare's package import is heavy; preflight should only check discovery.
agent/tests/test_preflight.py:115
Methodtest_akshare_converts_and_stamps
(self, monkeypatch)
agent/tests/test_additive_conversion.py:197
Methodtest_akshare_loader_validates_dates
AKShare loader should raise on reversed dates before fetching.
agent/tests/test_engine_robustness.py:547
Methodtest_akshare_raw_failure_serves_additive
(self, monkeypatch)
agent/tests/test_additive_conversion.py:283
Methodtest_akshare_skips_etf_codes
(self, monkeypatch)
agent/tests/test_additive_conversion.py:206
Functiontest_alias_finer_than_aligned_bar_spacing_is_rejected
(alias: str)
agent/tests/test_rebalance_mask.py:169
Functiontest_alias_finer_than_aligned_bar_spacing_is_rejected_at_any_index_resolution
( unit: str, )
agent/tests/test_rebalance_mask.py:178
Functiontest_alias_for_a_field_no_call_returned_lists_nothing
(tmp_path: Path)
agent/tests/test_grounding_unknown_call_id_refs.py:86
Methodtest_alias_missing_is_not_countable_when_stock_name_provided
(self, fsp)
agent/tests/test_fetch_sina_penalties.py:329
Functiontest_alias_stays_rejected_and_lists_the_real_ref
(tmp_path: Path)
agent/tests/test_grounding_unknown_call_id_refs.py:41
Methodtest_alias_targets_all_exist
(self)
agent/tests/test_institutional_commands.py:120
Functiontest_alias_with_a_shortened_path_lists_the_full_path
(tmp_path: Path)
agent/tests/test_grounding_unknown_call_id_refs.py:57
Functiontest_alias_with_an_explicit_index_never_offers_a_sibling
( tmp_path: Path, path: str )
agent/tests/test_grounding_unknown_call_id_refs.py:193
Functiontest_aliased_key_with_robinhood_url_is_gated
A Robinhood agentic URL parked under key 'rh' is gated + broker-resolved.
agent/tests/test_readonly_default.py:232
Functiontest_aliased_key_with_scalable_url_is_still_a_live_broker
()
agent/tests/test_scalable_connector.py:216
Functiontest_aliases_price_identically_to_the_canonical_spelling
()
agent/tests/quantlib/test_options.py:490
Functiontest_aliases_work_with_corrupt_run_card
(run_dir: Path)
agent/tests/test_run_artifact_tool.py:321
Functiontest_aliases_work_without_run_card
(run_dir: Path)
agent/tests/test_run_artifact_tool.py:314
Methodtest_align_equivalence_with_and_without_fund_columns
_align() output is identical whether fund:* columns are present or not.
agent/tests/test_signal_alignment_perf.py:684
Functiontest_align_is_the_same_at_any_index_resolution
_align works on int64 epochs; a duckdb local source arrives as datetime64[us]. Read as nanoseconds, a microsecond index put the whole run in 1970
agent/tests/test_base_engine.py:1088
← previousnext →14,601–14,700 of 26,887, ranked by callers