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
Function
test_scheduler_on_fire_exception_does_not_kill_loop
()
agent/tests/test_runtime_scheduler.py:149
Function
test_scheduler_owns_a_kernel_with_the_live_task_name
()
agent/tests/test_runtime_scheduler_kernel.py:41
Function
test_scheduler_recurring_job_stays_and_advances
()
agent/tests/test_runtime_scheduler.py:126
Function
test_scheduler_remove_job_and_idempotent_add
()
agent/tests/test_runtime_scheduler.py:172
Method
test_scheduler_retry_int_coercion
(self, monkeypatch: pytest.MonkeyPatch)
agent/tests/test_env_schema.py:298
Function
test_scheduler_status_resolves_both_attribute_paths
Both documented resolution paths report the same correct ``running``. ``service.scheduler_status()`` first reads ``_scheduled_research_executor``
agent/tests/test_scheduling_lifespan_owner.py:250
Function
test_scheduler_stop_is_idempotent_when_not_started
()
agent/tests/test_runtime_scheduler.py:189
Function
test_schema_accepts_sse_transport
()
agent/tests/test_agent_config.py:149
Function
test_schema_accepts_streamable_http_transport
()
agent/tests/test_agent_config.py:166
Function
test_schema_accepts_supported_mask_combinations
( mask: str | list[str] | None, position_adjustment: str, )
agent/tests/test_rebalance_mask.py:201
Method
test_schema_and_flags
(self)
agent/tests/test_institutional_holdings_tool.py:1654
Method
test_schema_declares_all_modes
(self)
agent/tests/test_prediction_market_tool.py:188
Function
test_schema_is_isolated_from_the_class_attribute
The registered schema must be a snapshot, so MCP cannot mutate tool state.
agent/tests/test_mcp_new_tools.py:158
Function
test_schema_is_the_tool_class_schema
The advertised MCP schema must BE the tool's own schema, not a copy that drifts.
agent/tests/test_mcp_new_tools.py:134
Function
test_schema_rejects_ambiguous_or_invalid_mask
(overrides: dict[str, object])
agent/tests/test_rebalance_mask.py:226
Function
test_schema_rejects_http_transport_with_stdio_fields
()
agent/tests/test_agent_config.py:195
Function
test_schema_rejects_stdio_with_http_fields
()
agent/tests/test_agent_config.py:210
Function
test_schema_rejects_url_only_http_transport_without_type
()
agent/tests/test_agent_config.py:182
Function
test_schema_rejects_wrong_version_missing_field_and_extra_field
()
agent/tests/test_paper_trade_schema.py:233
Function
test_schema_version_and_tool_are_the_frozen_literals
()
agent/tests/test_paper_trade_schema.py:168
Method
test_schema_version_unchanged
(self)
agent/tests/test_mandate_forex.py:141
Method
test_scope_is_absent_from_the_model_visible_tool_schema
(self)
agent/tests/test_background_scope_isolation.py:198
Method
test_scope_rejects_an_empty_owner
(self)
agent/tests/test_background_scope_isolation.py:288
Function
test_scoped_refresh_retains_parent_and_reports_childs_own_quality
(context)
agent/tests/test_strategy_adaptation_workflow.py:94
Function
test_screening_run_reaches_a_final_answer_through_the_agent_loop
End-to-end: screen, load a workflow skill, narrow, quote, and answer (#955).
agent/tests/test_agent_grounding.py:1704
Function
test_screening_shortlist_does_not_block_workflow_selection
A many-candidate screening result is an answer, not a stalled resolution (#955).
agent/tests/test_agent_grounding.py:1471
Function
test_sdk_adapter_maps_tool_calls
(monkeypatch)
agent/tests/test_copilot_provider.py:288
Function
test_sdk_adapter_streams_text
(monkeypatch)
agent/tests/test_copilot_provider.py:328
Function
test_sdk_aliases_still_refuse_nonfinite_or_malformed_positions
(field, invalid)
agent/tests/test_user_blockers_followups.py:120
Function
test_sdk_client_options_keep_stored_cli_credentials_enabled
( no_ambient_credentials, monkeypatch )
agent/tests/test_copilot_provider.py:137
Function
test_sdk_enum_side_is_normalized_and_signed
()
agent/tests/test_alpaca_position_sign.py:59
Function
test_sdk_profiles_are_readonly_broker_sdk
Layer A profiles are broker_sdk transport and strictly read-only.
agent/tests/test_sdk_connectors.py:104
Function
test_sdk_profiles_registered
All broker connectors register paper and read-only live profiles.
agent/tests/test_sdk_connectors.py:48
Function
test_sdk_stream_close_cancels_background_session
(monkeypatch)
agent/tests/test_copilot_provider.py:346
Method
test_sdm_lifecycle_note_for_decayed_artifact
(self, tmp_path)
agent/tests/test_strategy_discovery_facade.py:1046
Method
test_sdm_lookup_failure_degrades_to_no_gate
(self, tmp_path)
agent/tests/test_strategy_discovery_facade.py:906
Method
test_sdm_lookup_failure_omits_note_without_crash
(self, tmp_path)
agent/tests/test_strategy_discovery_facade.py:1069
Function
test_seam_misuse_and_bad_timeout_raise_transport_class
()
agent/tests/test_paper_trade_strategy_path.py:493
Function
test_search_by_text_and_status
(storage_path: Path)
agent/tests/test_hypothesis_registry.py:156
Function
test_search_defaults_to_latest_revision_and_supports_link_filters
(tmp_path)
agent/tests/test_research_artifact_store.py:98
Method
test_search_failure_returns_none_without_raising
(self)
agent/tests/test_eastmoney_client.py:88
Function
test_search_limit_zero_returns_no_results
(storage_path: Path)
agent/tests/test_hypothesis_registry.py:179
Method
test_search_match_to_dict
(self, index: SessionSearchIndex)
agent/tests/test_session_search.py:160
Method
test_search_news_filters_to_dict_items
(self, monkeypatch)
agent/tests/test_stock_news_tool.py:95
Method
test_search_no_results
Query with no matches returns empty.
agent/tests/memory/test_search_index.py:37
Method
test_search_ranking
More relevant entry ranked higher.
agent/tests/memory/test_search_index.py:54
Method
test_search_results_carry_resolution_without_expanding_markets
Search stays condensed but must not lose the settlement judgement.
agent/tests/test_prediction_market_tool.py:514
Method
test_search_status_filter_is_named_for_trading_not_settlement
The catalogue filter cannot select on settlement, so it says so.
agent/tests/test_prediction_market_tool.py:194
Method
test_search_title_with_mixed_cjk_and_ticker
End-to-end: a title mixing CJK and a ticker reads back unchanged.
agent/tests/memory/test_search_index.py:247
Function
test_search_without_any_clause_is_an_error
()
agent/tests/test_research_papers_tool.py:229
Function
test_sec_currency_units_and_scaled_claims
(tmp_path, unit, claim, valid)
agent/tests/test_grounding_currency_boundaries.py:32
Method
test_sec_lookup_failure_recorded_not_fatal
(self)
agent/tests/test_symbol_search_tool.py:464
Function
test_sec_revenue_fixture_shapes_cover_new_and_old_standard
()
agent/tests/test_fundamental_schema.py:53
Method
test_sec_xbrl_currency_must_match_evidence
SEC financial claims must preserve the source currency.
agent/tests/test_agent_output_discipline.py:518
Method
test_sec_xbrl_rejects_invalid_monetary_claims
Incorrect values and nonmonetary units cannot support USD claims.
agent/tests/test_agent_output_discipline.py:460
Method
test_sec_xbrl_rejects_wrong_source_reference
A real SEC figure cannot be attributed to a different call.
agent/tests/test_agent_output_discipline.py:568
Method
test_sec_xbrl_usd_debt_is_grounded_by_exact_reference
A genuine SEC USD metric should support a referenced dollar claim.
agent/tests/test_agent_output_discipline.py:406
Function
test_second_attempt_recovers_without_fallback
(monkeypatch)
agent/tests/test_loader_health.py:207
Method
test_second_call_within_window_is_duplicate
Repeated call within 30s window is flagged as duplicate.
agent/tests/memory/test_memory_dedup.py:65
Function
test_second_executor_on_the_same_store_double_dispatches
The failure the single-writer invariant exists to prevent. DECISION (T12, option b): two executor instances sharing one store path are docume
agent/tests/test_scheduling_lifespan_owner.py:189
Function
test_second_order_expansion_beats_duration_alone_on_a_large_shock
()
agent/tests/quantlib/test_fixedincome.py:226
Method
test_second_pass_reports_no_new_unreadable_tools
(self)
agent/tests/test_loop_helpers.py:892
Method
test_second_pass_reports_nothing_new
(self)
agent/tests/test_loop_helpers.py:208
Method
test_second_press_after_window_returns_false
(self)
agent/tests/test_cli_interactive.py:431
Method
test_second_press_within_window_returns_true
(self)
agent/tests/test_cli_interactive.py:423
Method
test_second_resolve_hits_memo
(self)
agent/tests/test_gildata_codes.py:74
Function
test_second_run_is_a_noop
(tmp_path: Path)
agent/tests/test_state_migration.py:190
Function
test_second_send_is_refused_while_the_first_run_is_in_flight
The claim is taken synchronously, so no second attempt is ever created.
agent/tests/test_session_service_lifecycle.py:59
Method
test_second_session_cannot_cancel_the_first_ones_task
(self)
agent/tests/test_background_scope_isolation.py:70
Method
test_second_session_cannot_drain_the_first_ones_notification
(self)
agent/tests/test_background_scope_isolation.py:51
Method
test_second_session_cannot_list_the_first_ones_tasks
(self)
agent/tests/test_background_scope_isolation.py:62
Method
test_second_session_cannot_read_the_first_ones_result
(self)
agent/tests/test_background_scope_isolation.py:92
Method
test_second_spawn_failure_cleans_up_backend
(self, tmp_path: Path)
agent/tests/test_cli_setup_dev.py:227
Method
test_second_venue_is_consulted_when_the_first_is_down
(self, monkeypatch)
agent/tests/test_symbol_search_tool.py:748
Function
test_secret_key_regex_is_case_insensitive
Credential-shaped keys match case-insensitively; identifiers do not.
agent/tests/test_channel_config_meta.py:926
Method
test_section_lookup_ignores_case_and_hash_markers
(self, tool: LoadSkillTool)
agent/tests/test_agent_output_discipline.py:849
Method
test_section_spans_cover_their_subtree_exactly
(self)
agent/tests/test_agent_output_discipline.py:928
Method
test_section_subset_only_requests_those_modules
(self)
agent/tests/test_stock_profile_tool.py:144
Function
test_sector_attaches_with_pit_labels_and_meta_disclosure
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_alpha_bench_csi300_sector.py:122
Function
test_sector_frame_matches_the_close_frame
``_ind_neutralize`` indexes sector positionally against the value frame.
agent/tests/test_alpha_bench_sector_tag.py:47
Function
test_sector_totals_tie_out_exactly
Summing the per-sector totals also reproduces the active return.
agent/tests/quantlib/test_attribution.py:90
Function
test_security_carries_venue_details
()
agent/tests/test_entities_spine.py:648
Function
test_security_headers_present_on_error_response
Headers must wrap error responses from inner middleware too.
agent/tests/test_sse_ticket_and_headers.py:203
Function
test_security_headers_present_on_response
()
agent/tests/test_sse_ticket_and_headers.py:138
Function
test_security_reexports
()
agent/tests/test_api_infrastructure.py:17
Method
test_security_trade_list_mention_is_not_countable
(self, fsp)
agent/tests/test_fetch_sina_penalties.py:314
Function
test_seed_allowlist_is_exactly_the_curated_read_names
()
agent/tests/test_scalable_connector.py:170
Function
test_seed_enabled_tools_are_exactly_curated_read_names
()
agent/tests/test_readonly_default.py:137
Function
test_seed_is_a_live_broker_channel_with_no_wildcard
()
agent/tests/test_scalable_connector.py:187
Function
test_seed_never_enables_an_order_path_tool
()
agent/tests/test_scalable_connector.py:181
Function
test_seed_never_uses_wildcard
()
agent/tests/test_readonly_default.py:151
Function
test_seeded_cron_with_timezone_waits_for_next_slot
(tmp_path: Path)
agent/tests/scheduling/test_system_jobs.py:208
Function
test_seeded_read_tools_are_plain_readonly_and_ungated
()
agent/tests/test_scalable_connector.py:296
Function
test_seeded_returns_compound_back_to_total_return
()
agent/tests/test_period_returns.py:37
Function
test_seeded_returns_stay_finite_after_equity_touches_zero
()
agent/tests/test_period_returns.py:99
Function
test_seeded_system_job_runs_registry_callable_once_via_internal_branch
QA happy: enabled → seeded → due → the registry fake callable is invoked exactly once through the T5 supervisor path; the prompt dispatch call
agent/tests/scheduling/test_system_jobs.py:505
Function
test_select_connection_tool_returns_canonical_profile_id
Selecting a profile should persist and return the canonical id.
agent/tests/test_trading_connections.py:104
Function
test_select_multi_market_codes_covers_all_markets
(profitable_journal: Path)
agent/tests/test_shadow_account.py:332
Method
test_selected_binance_profile_resolves_exact_pair_without_yahoo_collision
Issue #1234: an exchange pair must not resolve to a similarly named asset.
agent/tests/test_symbol_search_tool.py:341
Function
test_selected_date_does_not_require_catalog
(client, diagnosis)
agent/tests/test_shannon_routes.py:50
← previous
next →
24,001–24,100 of 26,887, ranked by callers