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
Method
test_annual_falls_back_when_no_december_year_end
(self)
agent/tests/test_financial_statements_tool.py:317
Method
test_annual_keeps_only_fiscal_year_end
(self)
agent/tests/test_financial_statements_tool.py:308
Function
test_annual_return_exponent_uses_elapsed_bars_not_bars_minus_one
annual_return must annualise over len(equity) elapsed bars, matching backtest.metrics.calc_metrics's convention, not len(equity) - 1.
agent/tests/test_options_portfolio_correctness.py:63
Function
test_another_currencys_yuan_does_not_satisfy_a_cny_requirement
A bare 元 counts for CNY only when no other currency's character owns it.
agent/tests/test_agent_grounding.py:2165
Function
test_another_loggers_warning_is_not_evidence
Guards the attach point: only this package's loaders may become evidence. A logger outside the `backtest.loaders` hierarchy bypasses the handler
agent/tests/test_loader_health.py:378
Function
test_another_symbols_field_does_not_make_a_ref_ambiguous
Two instruments' bars both carry ``close``; the figure's own symbol decides before any count of calls (#1444 review, P9).
agent/tests/test_grounding_role_hardening.py:854
Function
test_answer_renderer_strips_standalone_horizontal_rules
`---` HR lines render as ugly full-width terminal lines — drop them.
agent/tests/test_cli_ui_redesign.py:148
Function
test_answer_renderer_upgrades_markdown_pipe_tables
()
agent/tests/test_cli_ui_redesign.py:133
Function
test_answer_retry_blocks_calls_after_grounding_correction
(tmp_path: Path)
agent/tests/test_agent_loop_dsml_tool_calls.py:401
Function
test_answer_retry_obeys_goal_budget_and_accounts_usage
( tmp_path: Path, monkeypatch, token_budget: int, expected_calls: int )
agent/tests/test_agent_loop_dsml_tool_calls.py:309
Function
test_anthropic_content_blocks_stream_with_native_tool_call
()
agent/tests/test_chat_llm_streaming.py:150
Function
test_anthropic_relocated_temperature_preserved_for_supported_model
()
agent/tests/test_llm.py:1186
Function
test_anthropic_temperature_preserved_for_supported_model
()
agent/tests/test_llm.py:432
Function
test_anthropic_temperature_self_heal_drops_and_retries
()
agent/tests/test_llm.py:413
Function
test_anthropic_temperature_self_heal_keeps_other_extra_body_keys
()
agent/tests/test_llm.py:1171
Function
test_anthropic_temperature_self_heal_strips_relocated_extra_body
()
agent/tests/test_llm.py:1147
Method
test_anthropic_uses_native_env_namespace
(self)
agent/tests/test_llm.py:60
Function
test_any_non_default_field_selects_v12
()
agent/tests/test_paper_trade_v12_schema.py:169
Method
test_any_provider_and_model_can_opt_into_responses_reasoning
(self)
agent/tests/test_llm_reasoning_effort.py:668
Function
test_api_and_cli_share_saved_account
(service, monkeypatch, capsys, tmp_path)
agent/tests/test_paper_accounts.py:190
Function
test_api_auth_and_cli_prepare_share_child_contract
(context, tmp_path, capsys)
agent/tests/test_strategy_adaptation_workflow.py:199
Method
test_api_auth_key_only
(self, monkeypatch: pytest.MonkeyPatch)
agent/tests/test_env_schema.py:393
Function
test_api_can_cancel_current_goal
(tmp_path: Path, monkeypatch)
agent/tests/test_goal_api.py:101
Function
test_api_can_complete_goal_with_verified_evidence
(tmp_path: Path, monkeypatch)
agent/tests/test_goal_api.py:52
Function
test_api_can_edit_current_goal_objective
(tmp_path: Path, monkeypatch)
agent/tests/test_goal_api.py:125
Function
test_api_constants_derive_from_runtime_root
()
agent/tests/test_user_state_paths.py:119
Method
test_api_defaults
(self)
agent/tests/test_env_schema.py:159
Function
test_api_goal_uses_full_default_research_checklist
(tmp_path: Path, monkeypatch)
agent/tests/test_goal_api.py:37
Function
test_api_guards_and_invalid_action
(tmp_path, monkeypatch)
agent/tests/test_pixel_office.py:76
Function
test_api_key_monkeypatch
(monkeypatch)
agent/tests/test_api_infrastructure.py:49
Function
test_api_lifespan_preserves_startup_and_shutdown_order
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_state_migration_wiring.py:75
Function
test_api_lifespan_stops_scheduler_when_channel_shutdown_fails
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_state_migration_wiring.py:141
Method
test_api_only_paths_do_not_match
(self, path: str)
agent/tests/test_spa_deep_link.py:47
Function
test_api_refuses_unbounded_evidence_and_ids
(tmp_path, monkeypatch)
agent/tests/test_research_artifact_api.py:77
Function
test_api_reports_missing_and_invalid_research_artifacts
(tmp_path, monkeypatch)
agent/tests/test_research_artifact_api.py:65
Function
test_api_run_response_can_filter_chart_symbol
(tmp_path: Path)
agent/tests/test_run_card.py:212
Function
test_api_run_response_default_chart_payload_is_unchanged
(tmp_path: Path)
agent/tests/test_run_card.py:175
Function
test_api_run_response_includes_llm_usage
(tmp_path: Path)
agent/tests/test_run_card.py:233
Function
test_api_run_response_includes_portfolio_studio_artifacts
(tmp_path: Path)
agent/tests/test_run_card.py:363
Function
test_api_run_response_includes_run_card
(tmp_path: Path)
agent/tests/test_run_card.py:129
Function
test_api_run_response_portfolio_studio_fields_none_when_absent
(tmp_path: Path)
agent/tests/test_run_card.py:387
Function
test_api_run_response_summary_chart_payload_discovers_symbols
(tmp_path: Path)
agent/tests/test_run_card.py:190
Function
test_api_save_search_and_revision_history
(tmp_path, monkeypatch)
agent/tests/test_research_artifact_api.py:30
Function
test_api_server_is_thin_assembler
()
agent/tests/test_api_infrastructure.py:67
Function
test_api_shutdown_stops_live_schedulers_even_when_channel_stop_fails
(tmp_path, monkeypatch)
agent/tests/test_api_live_runtime.py:624
Function
test_api_startup_runs_migration
( monkeypatch: pytest.MonkeyPatch, record_migration: list[int] )
agent/tests/test_state_migration_wiring.py:49
Function
test_api_stop_terminates_the_real_scheduler_task
(tmp_path, monkeypatch)
agent/tests/test_api_live_runtime.py:690
Function
test_api_swarm_runtime_uses_swarm_runs_root
The HTTP API swarm store must share swarm_runs_root() with CLI/MCP.
agent/tests/test_user_state_paths.py:129
Function
test_api_write_auth_cannot_be_bypassed_by_read_auth
(service, monkeypatch)
agent/tests/test_paper_accounts.py:235
Function
test_append_evidence_is_safe_from_parallel_cli_or_api_calls
(tmp_path: Path)
agent/tests/test_goal_store.py:556
Function
test_append_evidence_marks_linked_pending_criterion_covered
(tmp_path: Path)
agent/tests/test_goal_store.py:508
Function
test_append_evidence_rejects_stale_expected_goal_id
(tmp_path: Path)
agent/tests/test_goal_store.py:152
Function
test_append_record_calls_os_fsync
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
agent/tests/test_governance.py:433
Function
test_append_record_chains_sequential_records
(tmp_path: Path)
agent/tests/test_governance.py:268
Function
test_append_record_keeps_unicode_line_separator_in_payload
(tmp_path: Path)
agent/tests/test_governance.py:399
Function
test_append_record_refuses_to_extend_an_already_broken_chain
(tmp_path: Path)
agent/tests/test_governance.py:410
Function
test_append_record_rejects_reserved_payload_keys
(tmp_path: Path)
agent/tests/test_governance.py:283
Function
test_append_record_skips_fsync_when_disabled
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
agent/tests/test_governance.py:452
Method
test_apply_compression_archives_original
Original backed up to archive/ directory.
agent/tests/memory/test_compression.py:177
Method
test_apply_compression_daily_output
apply_compression with daily target returns compressed string.
agent/tests/memory/test_compression.py:192
Function
test_apply_filter_date_range
()
agent/tests/test_trade_journal.py:596
Function
test_apply_filter_empty_expr_is_noop
()
agent/tests/test_trade_journal.py:643
Function
test_apply_filter_month_range_includes_entire_leap_month
()
agent/tests/test_trade_journal.py:602
Function
test_apply_filter_preserves_full_date_and_mixed_precision
()
agent/tests/test_trade_journal.py:617
Function
test_apply_filter_symbol_equals
()
agent/tests/test_trade_journal.py:637
Method
test_approved_to_approved_idempotent
(self)
agent/tests/test_strategy_store.py:1025
Function
test_approved_write_polls_until_forwarded
(tap_env, monkeypatch)
agent/tests/test_tap_forward.py:129
Method
test_arabic_characters
(self)
agent/tests/test_persistent_memory.py:111
Function
test_arabic_paragraph_and_tall_table_cell_paginate
(tmp_path)
agent/tests/test_pdf_report_arabic.py:99
Function
test_arabic_render_failure_retains_old_target_and_cleans_temporary
(tmp_path, monkeypatch, failure)
agent/tests/test_pdf_report_arabic.py:127
Function
test_arabic_shapes_and_preserves_latin_numbers_and_diacritics
()
agent/tests/test_pdf_report_arabic.py:34
Method
test_archimedean_cdfs_converge_to_min_under_perfect_dependence
(self)
agent/tests/quantlib/test_copula.py:92
Method
test_archimedean_cdfs_respect_frechet_bounds
(self)
agent/tests/quantlib/test_copula.py:125
Function
test_archive_identity_includes_full_directory_and_call
(tmp_path: Path, mismatch: str)
agent/tests/test_grounding_backtest_outputs.py:426
Method
test_archive_is_parsed_into_a_ticker_map
(self)
agent/tests/test_institutional_holdings_tool.py:1612
Function
test_archived_copy_at_the_turn_root_is_not_listed_twice
(runs: Path)
agent/tests/test_backtest_runs_tool.py:94
Method
test_archived_label_does_not_hide_a_resolution
(self, monkeypatch)
agent/tests/test_prediction_market_tool.py:384
Method
test_arg_cap_is_env_configurable
(self, monkeypatch: pytest.MonkeyPatch)
agent/tests/test_institutional_commands.py:525
Function
test_argentina_backtest_routes_to_the_byma_engine
()
agent/tests/test_argentina_market_routing.py:35
Method
test_argentina_candidate_keeps_market_identity
(self)
agent/tests/test_symbol_search_tool.py:147
Method
test_argentina_chain_uses_only_compatible_sources
(self)
agent/tests/test_registry.py:223
Function
test_argentina_fallback_chain_is_yahoo_first
()
agent/tests/test_argentina_market_routing.py:31
Function
test_argentina_symbol_is_seeded_with_market_identity
(tmp_path: Path)
agent/tests/test_agent_grounding.py:479
Function
test_argentina_symbols_have_grounding_identity
Buenos Aires symbols retain venue and ARS identity.
agent/tests/test_agent_grounding.py:472
Method
test_args_queue_a_prompt
(self, slug: str)
agent/tests/test_institutional_commands.py:243
Method
test_argument_key_outside_gate_regime
(self)
agent/tests/test_fund_nav_tool.py:282
Function
test_argument_order_does_not_defeat_the_gate
Canonicalisation sorts keys, so dict ordering is not a new identity.
agent/tests/test_agent_loop_dedup_arguments.py:160
Function
test_argument_validation_rejects_before_any_request
(kwargs, fragment)
agent/tests/test_research_papers_tool.py:221
Function
test_arguments_sink_scrubs_credentials_embedded_in_benign_values
Key-based classification cannot see a token inside a shell command.
agent/tests/test_redaction_shared.py:504
Function
test_arithmetic_across_two_runs_anchors_on_a_field_ref_naming_both
For a derivation, a field both runs hold is two observations, not an ambiguity.
agent/tests/test_grounding_backtest_outputs.py:604
Method
test_armed_then_bare_2_is_intercepted_not_sent_to_model
End-to-end: arm via the relay, then a bare '2' commits (model never sees it). Mirrors ``_interactive_loop``'s interception order: halt → prop
agent/tests/test_cli_live.py:785
Method
test_array_manager_used
(self)
agent/tests/test_vnpy_export.py:127
Function
test_array_order_is_semantic
()
agent/tests/test_paper_trade_jcs.py:126
Method
test_artifact_creation
(self)
agent/tests/test_strategy_store.py:86
Function
test_artifact_evidence_requires_allowed_path_and_hash
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_goal_store.py:414
Method
test_artifact_frozen
(self)
agent/tests/test_strategy_store.py:102
Method
test_artifact_governance_defaults
Bare Artifact construction (pre-governance call sites) is unaffected.
agent/tests/test_strategy_store.py:906
Function
test_artifact_listing_includes_expected_existing_files
(tmp_path: Path)
agent/tests/test_run_card.py:60
Function
test_artifact_path_cannot_bypass_current_backtest_source
(tmp_path: Path, detached: bool)
agent/tests/test_grounding_backtest_outputs.py:404
Method
test_artifact_status_enum
(self)
agent/tests/test_strategy_store.py:116
← previous
next →
15,001–15,100 of 26,887, ranked by callers