MCPcopy Create free account

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

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

Functiontest_fit_yield_curve_rejects_nonfinite_observations
(bad)
agent/tests/quantlib/test_fixedincome.py:551
Methodtest_five_daily_bars_keep_the_declared_count
Five bars is a quick check, not a granularity change.
agent/tests/test_cross_market_annualization.py:175
Methodtest_five_daily_bars_starting_monday_keep_the_declared_count
Calendar alignment must not change the verdict: a Monday-start week spans four calendar days and a Tuesday-start week spans six, so a
agent/tests/test_cross_market_annualization.py:182
Functiontest_five_day_orders_catchup_under_budget
()
agent/tests/test_paper_trade_perf.py:132
Functiontest_five_day_strategy_path_single_call_under_budget
()
agent/tests/test_paper_trade_perf.py:180
Methodtest_fixed_commission_via_active_symbol
au uses fixed per-lot commission.
agent/tests/test_china_futures_engine.py:196
Functiontest_fixed_slippage_charges_regardless_of_size
Unlike the sized models, the fixed model has no zero-impact limit. The module docstring used to claim every price model returns the untouched
agent/tests/quantlib/test_impact.py:69
Functiontest_fixed_slippage_matches_its_definition
5bp on a price of 100 is exactly 0.05.
agent/tests/quantlib/test_impact.py:37
Functiontest_fixed_slippage_zero_bps_is_free
Zero basis points leaves the price untouched.
agent/tests/quantlib/test_impact.py:80
Methodtest_fixture_ages_are_exact
(self)
agent/tests/test_strategy_discovery_facade.py:1129
Functiontest_fixture_file_exists
(name: str)
agent/tests/test_paper_trade_fixtures.py:122
Functiontest_fixture_is_genuinely_old_format
()
agent/tests/test_scheduled_research_model_compat.py:65
Functiontest_fixture_is_the_array_the_hand_computations_assume
()
agent/tests/quantlib/test_risk.py:32
Functiontest_fixture_loader_serves_both_legs_and_the_step_issues_one_5m_call
()
agent/tests/test_paper_trade_5m_tool.py:163
Functiontest_fixture_parses_with_documented_keys
(name: str)
agent/tests/test_paper_trade_fixtures.py:127
Functiontest_flag_absent_from_preset_maps
Mechanical proof the preset machinery can never touch this field.
agent/tests/scheduling/test_memory_consolidation_job.py:128
Functiontest_flag_off_crud_works_and_status_reports_all_false
Without the flag the API still creates/lists/deletes; nothing executes.
agent/tests/test_scheduling_lifespan_owner.py:297
Functiontest_flag_off_start_early_returns_without_seeding_or_starting
( store: ScheduledResearchJobStore, monkeypatch: pytest.MonkeyPatch, env_flags: Callable[..., None] )
agent/tests/test_scheduling_lifespan_owner.py:281
Functiontest_flag_on_lifespan_seeds_system_jobs_before_first_tick
QA happy path, through the REAL lifespan: one start, seeded, running. The probe executor records whether the enabled system job was already in
agent/tests/test_scheduling_lifespan_owner.py:350
Functiontest_flag_on_seeds_br_sync_row_with_spec_fields
(monkeypatch, tmp_path)
agent/tests/test_br_data.py:432
Functiontest_flag_on_seeds_row_with_spec_fields
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
agent/tests/scheduling/test_memory_consolidation_job.py:197
Methodtest_flags_default_off
All flags should default to disabled (0).
agent/tests/test_memory_lifecycle.py:315
Methodtest_flags_enabled_when_set
Flags should be enabled when env var = '1'.
agent/tests/test_memory_lifecycle.py:324
Methodtest_flags_off_no_behavior_change
With all flags off, no subdir, .relations.json, or FTS db created.
agent/tests/memory/test_tier2_integration.py:601
Functiontest_flash_does_not_send_unsupported_effort
(requests, monkeypatch, effort)
agent/tests/test_minimax_flash.py:150
Functiontest_flash_real_sdk_request
(requests, monkeypatch, endpoint, effort)
agent/tests/test_minimax_flash.py:124
Functiontest_flat_book_recheck_audits_once_not_once_per_tick
(live_root: Path)
agent/tests/test_sweep_latch.py:426
Methodtest_flat_equity_zero_return
(self)
agent/tests/test_metrics.py:377
Methodtest_flat_is_neutral
flat' was removed from negative terms — financial neutral.
agent/tests/test_sentiment_tool.py:48
Functiontest_flat_reversal_pnl_matches_net_cash
(short_first, fee, shape)
agent/tests/test_trade_journal_reversal_fees.py:63
Functiontest_flatten_on_halt_absent_defaults_false
An OLD mandate.json lacking flatten_on_halt loads as False (cancel-only). Backward compatibility: the field is optional with a safe default, so a
agent/tests/test_mandate_model.py:121
Functiontest_flatten_on_halt_round_trips
A mandate written with flatten_on_halt=True loads back True (M3).
agent/tests/test_mandate_model.py:111
Methodtest_float_coercion
(self, monkeypatch: pytest.MonkeyPatch)
agent/tests/test_env_schema.py:230
Methodtest_float_swarm_heartbeat
(self, monkeypatch: pytest.MonkeyPatch)
agent/tests/test_env_schema.py:293
Functiontest_flows_can_be_loaded_from_a_file_and_internal_kinds_are_ignored
A dividend row sits inside the valuations and must not be netted out.
agent/tests/test_cashflow_analytics_tool.py:88
Functiontest_flows_on_a_single_date_raise
()
agent/tests/quantlib/test_fundmath.py:212
Functiontest_fmp_loader_serves_the_caliber_the_table_claims
()
agent/tests/test_price_caliber.py:508
Functiontest_fmt_suffixes
()
agent/tests/test_financial_rigor_tool.py:42
Functiontest_folds_come_back_in_chronological_order
()
agent/tests/quantlib/test_crossvalidation.py:297
Functiontest_forbidden_correction_call_uses_safe_fallback_without_price_evidence
Exhausted identity recovery still ends safely when the correction calls a tool.
agent/tests/test_grounding_release.py:847
Functiontest_forbidden_correction_calls_release_at_budget_or_final_iteration
Repeated tool requests cannot exhaust the run or replace the held draft.
agent/tests/test_grounding_release.py:806
Functiontest_forbidden_successful_tool_and_blocked_bypass_fail
( harness_case: HarnessCase, artifact_dir: Path, )
agent/tests/harness_eval/test_runner.py:179
Functiontest_force_added_internal_documents_fail
(repo: Path, name: str, capsys)
tools/test_ci_private_files_gate.py:41
Functiontest_force_ipv4_binds_transport_to_ipv4
DingTalk's send API enforces the app egress-IP whitelist; force_ipv4 pins it.
agent/tests/test_dingtalk_message_flow.py:98
Functiontest_force_refresh_ignores_clock_fresh_expiry
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path, )
agent/tests/test_openai_codex.py:231
Functiontest_force_refresh_reuses_token_rotated_by_another_process
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path, )
agent/tests/test_openai_codex.py:272
Functiontest_force_text_only_on_last_iteration
When the LLM keeps calling tools, the last iteration forces text-only output by passing tools=None, producing a final answer instead of failure.
agent/tests/test_agent_loop_terminal_state.py:413
Functiontest_forecast_probability_is_declared_not_phrased
A forecast is a role the model declares, not a word it writes. "预计" used to buy a clause-wide exemption for free, so any measured metric writ
agent/tests/test_agent_grounding.py:2948
Functiontest_forecast_table_cell_does_not_exempt_measured_cell
A forecast column must not hide an unsupported historical metric cell.
agent/tests/test_agent_grounding.py:3067
Functiontest_foreign_dividend_flips_profile_to_its_currency_pool
A dividend in a currency with no round-trip still joins its own pool. The cash is real — pooling it with HKD round-trips (the legacy sum) would
agent/tests/test_trade_journal_currency_pools.py:114
Methodtest_foreign_gateway_behind_the_openai_label_is_not_sent_the_field
A base-URL override means the OpenAI label is no longer OpenAI. Ollama, LiteLLM and corporate proxies speak the OpenAI wire format wi
agent/tests/test_llm_reasoning_effort.py:166
Methodtest_forex_allowed_when_mandate_permits
(self)
agent/tests/test_mandate_forex.py:190
Methodtest_forex_codes
(self)
agent/tests/test_signal_alignment_perf.py:608
Methodtest_forex_denied_by_equity_only_mandate
(self)
agent/tests/test_mandate_forex.py:197
Methodtest_forex_denied_when_asset_class_not_permitted
(self)
agent/tests/test_mandate_forex.py:207
Methodtest_forex_market_cap_floor_fails_closed
(self)
agent/tests/test_mandate_forex.py:218
Methodtest_forex_multiplier_is_one
(self)
agent/tests/test_forex_engine.py:305
Functiontest_forex_pair_x_classifies_as_forex_not_a_share
=X pairs must stop falling through to the a_share default (latent misroute).
agent/tests/test_market_data.py:105
Methodtest_forex_pairs
(self, symbol: str)
agent/tests/test_mt5_connector.py:327
Methodtest_forex_resolves_to_the_quote_currency
(self)
agent/tests/test_composite_currency_guard.py:47
Methodtest_forex_routes_to_forex_hist_em
(self, fake_akshare: SimpleNamespace)
agent/tests/test_akshare_loader.py:237
Methodtest_forex_strips_fx_suffix
(self, fake_akshare: SimpleNamespace)
agent/tests/test_akshare_loader.py:250
Methodtest_forex_swap_uses_metal_lot_size_not_standard_lot
CompositeEngine.on_bar must size swap lots the way ForexEngine does — metal-aware — not with the raw 100,000-unit standard lot.
agent/tests/test_composite_engine_fallback.py:97
Functiontest_forged_header_with_unmatched_authserv_id_is_not_trusted
A header whose authserv-id does not match the configured one is not the deployment's own provider's stamp -- it is never even inspected.
agent/tests/test_email_authentication_results.py:50
Methodtest_forget_existing
(self, tool: RememberTool)
agent/tests/test_remember_tool.py:92
Methodtest_forget_missing_title
(self, tool: RememberTool)
agent/tests/test_remember_tool.py:105
Methodtest_forget_nonexistent
(self, tool: RememberTool)
agent/tests/test_remember_tool.py:101
Functiontest_form_filter_keeps_only_matching_forms
()
agent/tests/test_sec_filings_tool.py:88
Methodtest_format_assistant_tool_calls_omits_reasoning_when_absent
(self)
agent/tests/test_kimi_reasoning_content.py:148
Methodtest_format_assistant_tool_calls_preserves_reasoning_content
(self)
agent/tests/test_kimi_reasoning_content.py:137
Functiontest_format_code_for_route
(code: str, style: str, expected: str)
agent/tests/test_rsshub_events_provider.py:175
Functiontest_format_code_for_route_rejects_unknown_style
()
agent/tests/test_rsshub_events_provider.py:179
Functiontest_format_duration_unit_boundary
(ms: float, expected: str)
agent/tests/test_cli_format_unit_boundaries.py:33
Functiontest_format_mcp_server_name_collision_warning_is_operator_facing
()
agent/tests/test_mcp_client_adapter.py:95
Functiontest_format_renders_table_and_range
()
agent/tests/test_swarm_grounding.py:212
Functiontest_format_returns_empty_for_empty_grounding
()
agent/tests/test_swarm_grounding.py:207
Functiontest_format_tokens_unit_boundary
(count: int, expected: str)
agent/tests/test_cli_format_unit_boundaries.py:15
Functiontest_format_with_all_nan_closes_skips_symbol
When all closes are NaN, the symbol is skipped entirely.
agent/tests/test_grounding_nan_volume.py:75
Functiontest_format_with_empty_grounding
()
agent/tests/test_grounding_nan_volume.py:103
Functiontest_format_with_empty_rows
()
agent/tests/test_grounding_nan_volume.py:107
Functiontest_format_with_inf_volume_does_not_crash
inf volume must render as a dash, not crash.
agent/tests/test_grounding_nan_volume.py:88
Functiontest_format_with_nan_close_does_not_crash
NaN close must render as a dash, not produce 'nan' in the table.
agent/tests/test_grounding_nan_volume.py:59
Functiontest_format_with_nan_volume_does_not_crash
NaN volume must render as a dash, not crash with ValueError.
agent/tests/test_grounding_nan_volume.py:44
Functiontest_format_with_normal_data
Normal data renders without error.
agent/tests/test_grounding_nan_volume.py:28
Methodtest_formula_exact
(self)
agent/tests/test_strategy_discovery_models.py:251
Functiontest_formula_labels_preserve_magnitude
(note)
agent/tests/test_grounding_operand_evidence.py:171
Functiontest_formula_quantity_units
(formula, expected)
agent/tests/test_grounding_operand_evidence.py:152
Methodtest_forward_chunking_merges_windows
(self, monkeypatch)
agent/tests/test_wallex_loader.py:155
Functiontest_forward_progress_clears_the_pending_warning
A warned-but-recovered run must warn afresh, never fail on the stale flag. Guards the ``warned = False`` reset: without it, one warning plus any
agent/tests/test_agent_loop_stall_watchdog.py:84
Functiontest_forward_returns_preserve_missing_close_boundaries
()
agent/tests/test_alpha_bench_forward_returns.py:13
Functiontest_forwarded_with_upstream_error_is_not_ok
(tap_env, monkeypatch)
agent/tests/test_tap_forward.py:146
Methodtest_forwards_page_key_and_normalizes_all_pages_once
( self, loader, mock_ctx, monkeypatch )
agent/tests/test_futu_loader.py:275
Methodtest_found_with_rows_and_regime_filter
(self, tmp_path)
agent/tests/test_strategy_discovery_facade.py:593
Methodtest_four_eyes_detectable_after_round_trip
A same-person dev/approve record is registerable (not force-rejected) but is_four_eyes_violation must flag it after reading it back.
agent/tests/test_strategy_store.py:1137
Methodtest_four_eyes_does_not_raise
Four-eyes detection is advisory only — it must never raise.
agent/tests/test_strategy_store.py:958
Methodtest_four_eyes_no_violation_different_people
(self)
agent/tests/test_strategy_store.py:943
Methodtest_four_eyes_not_flagged_when_roles_unset
With developer or approver unset there is nothing to compare — not a violation.
agent/tests/test_strategy_store.py:950
Methodtest_four_eyes_violation_case_and_whitespace_insensitive
(self)
agent/tests/test_strategy_store.py:936
Methodtest_four_eyes_violation_same_person
(self)
agent/tests/test_strategy_store.py:931
Methodtest_four_hour_bars_declared_1h_switch_to_the_four_hour_count
A 4x mismatch must switch too: the gate is 1.5, not a larger number.
agent/tests/test_cross_market_annualization.py:360
← previousnext →18,501–18,600 of 26,887, ranked by callers