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_absent_new_fields_take_the_v11_defaults
()
agent/tests/test_paper_trade_v12_schema.py:145
Function
test_absent_or_zero_length_is_accepted
An absent or zero body is valid; the handler substitutes ``{}``.
agent/tests/test_msteams_inbound_body_limit.py:14
Function
test_absent_read_only_hint_is_not_read
readOnlyHint=None (hint absent) must NOT be treated as read → UNKNOWN.
agent/tests/test_classification.py:24
Method
test_absent_reasoning_content_yields_none
Non-thinking providers leave reasoning_content unset.
agent/tests/test_kimi_reasoning_content.py:37
Function
test_absolute_path_filename_stays_inside_download_dir
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
agent/tests/test_dingtalk_file_download.py:63
Method
test_absolute_path_outside_workdir_rejected
(self, tmp_path: Path)
agent/tests/test_path_safety.py:29
Function
test_absolute_run_dir_inside_the_workspace_is_honoured
(workspace: Path)
agent/tests/test_swarm_tool_run_dir.py:86
Function
test_absurd_declared_length_is_rejected
()
agent/tests/test_msteams_inbound_body_limit.py:45
Function
test_ac2_invalid_quantity_cannot_be_ignored
(tmp_path, monkeypatch, bad, side)
agent/tests/test_trade_journal_invalid_quantity.py:46
Function
test_ac2_missing_quantity_column
(tmp_path, monkeypatch)
agent/tests/test_trade_journal_invalid_quantity.py:51
Function
test_ac3_all_modes_check_quantity
(tmp_path, monkeypatch, mode)
agent/tests/test_trade_journal_invalid_quantity.py:58
Function
test_ac3_filter_cannot_hide_bad_quantity
(tmp_path, monkeypatch, expr)
agent/tests/test_trade_journal_invalid_quantity.py:67
Function
test_ac4_quantity_aliases_and_fractional_fills
(tmp_path, monkeypatch, alias)
agent/tests/test_trade_journal_invalid_quantity.py:108
Function
test_ac4_valid_fifo_and_fee_controls
(tmp_path, monkeypatch, fills, expected)
agent/tests/test_trade_journal_invalid_quantity.py:128
Function
test_ac5_broker_quantities_checked
(tmp_path, monkeypatch, fmt)
agent/tests/test_trade_journal_invalid_quantity.py:82
Function
test_ac5_dividend_zero_quantity_and_missing_fee
( tmp_path, monkeypatch, dividend_only )
agent/tests/test_trade_journal_invalid_quantity.py:139
Function
test_ac5_excel_invalid_quantity
(tmp_path, monkeypatch)
agent/tests/test_trade_journal_invalid_quantity.py:75
Function
test_ac5_skipped_nontrade_row_does_not_require_quantity
(tmp_path, monkeypatch)
agent/tests/test_trade_journal_invalid_quantity.py:154
Function
test_academic_factor_matches_golden
(alpha_id: str)
agent/tests/factors/test_academic_samples.py:59
Function
test_accepted_and_empty_answers_are_not_rejections
(payload)
agent/tests/test_eastmoney_datacenter_rejection.py:37
Method
test_accepted_forms
(self, raw: str, expected: str)
agent/tests/test_institutional_holdings_tool.py:301
Method
test_accepted_forms
(self, tokens: List[str], expected: dict)
agent/tests/test_playbooks_surface.py:707
Function
test_accepted_mixed_pdf_retains_short_native_text
( tmp_path, texts, pages, expected, skipped )
agent/tests/test_doc_reader_native_fallback.py:59
Method
test_accepts_boundary_values
(self)
agent/tests/test_scheduled_research_store.py:100
Method
test_accepts_canada
(self)
agent/tests/test_yahoo_loader.py:74
Method
test_accepts_cron_string
(self)
agent/tests/test_scheduled_research_store.py:54
Method
test_accepts_cron_with_plain_numbers
(self)
agent/tests/test_scheduled_research_store.py:57
Function
test_accepts_existing_directory
()
agent/tests/test_validation_cli.py:41
Method
test_accepts_hk
(self)
agent/tests/test_yahoo_loader.py:65
Method
test_accepts_iana_keys
(self)
agent/tests/test_scheduled_research_store.py:145
Method
test_accepts_india
(self)
agent/tests/test_yahoo_loader.py:69
Method
test_accepts_interval_ms
(self)
agent/tests/test_scheduled_research_store.py:51
Method
test_accepts_list_and_mixed_range
(self)
agent/tests/test_scheduled_research_store.py:111
Method
test_accepts_none
(self)
agent/tests/test_scheduled_research_store.py:142
Function
test_accepts_other_providers
Field accepts any string — provider list is not enumerated at runtime.
agent/tests/test_swarm_run_metadata.py:338
Method
test_accepts_us
(self)
agent/tests/test_yahoo_loader.py:61
Method
test_accepts_weekday_range
(self)
agent/tests/test_scheduled_research_store.py:103
Method
test_access_bonus_capped_at_0_3
Access bonus should not exceed 0.3.
agent/tests/test_memory_lifecycle.py:203
Function
test_access_log_filter_redacts_record_args
()
agent/tests/test_sse_ticket_and_headers.py:234
Function
test_account_cannot_skip_over_an_unverified_split
(service)
agent/tests/test_paper_accounts.py:276
Function
test_account_choices_keep_only_what_a_picker_shows
()
agent/tests/test_robinhood_mcp_mapping.py:157
Function
test_account_choices_refuse_an_account_without_a_number
()
agent/tests/test_robinhood_mcp_mapping.py:193
Function
test_account_id_is_echoed_verbatim
()
agent/tests/test_paper_trade_schema.py:174
Function
test_account_number_and_pii_redacted_but_provenance_kept
H1: account numbers / SSN inside broker payloads are scrubbed, while the opaque ``account_ref`` provenance (mandate→consent chain, SPEC §5) surviv
agent/tests/test_audit_redact.py:135
Function
test_account_scoped_operations_send_account_number_and_accounts_sends_nothing
()
agent/tests/test_robinhood_mcp_mapping.py:225
Method
test_account_snapshot_fields
(self, fake_mt5: FakeMT5)
agent/tests/test_mt5_connector.py:527
Function
test_account_snapshot_reads_summary
(fake_ib_async)
agent/tests/test_ibkr_local.py:117
Function
test_account_total_converts_a_valid_iso_currency_when_rated
()
agent/tests/test_portfolio_fx.py:67
Function
test_account_usage_is_serialized_across_connections
(tmp_path: Path)
agent/tests/test_goal_store.py:620
Function
test_account_usage_marks_goal_budget_limited
(tmp_path: Path)
agent/tests/test_goal_store.py:587
Function
test_account_validates_margin_mode_terminal_status_and_unique_symbols
()
agent/tests/test_perpetual_risk.py:172
Function
test_accounting_magnitude_guard_and_strict_json
(number, table)
agent/tests/test_report_audit_accounting_parens.py:151
Function
test_accounting_variants_keep_the_sign_and_unit
(cell, unit, table)
agent/tests/test_report_audit_accounting_parens.py:103
Function
test_accounts_are_unsupported_off_remote_mcp
()
agent/tests/test_robinhood_mcp_mapping.py:485
Function
test_accounts_route_lists_the_login_accounts
(tmp_path, monkeypatch, broker: _Broker)
agent/tests/test_robinhood_portfolio_source.py:307
Function
test_accounts_route_reports_an_unavailable_broker_as_503
(tmp_path, monkeypatch, broker: _Broker)
agent/tests/test_robinhood_portfolio_source.py:361
Function
test_accruals_sign_direction
Sloan 1996: higher (NI-CFO)/TA must score LOWER on every date.
agent/tests/factors/test_fundamental_expansion_samples.py:163
Function
test_accrued_interest_full_at_next_coupon_despite_30_360_day_of_month_clipping
()
agent/tests/quantlib/test_fixedincome.py:324
Function
test_accrued_interest_is_linear_in_elapsed_time_under_30_360
()
agent/tests/quantlib/test_fixedincome.py:317
Function
test_accrued_interest_is_zero_on_a_coupon_date_and_full_at_the_next
()
agent/tests/quantlib/test_fixedincome.py:311
Function
test_accrued_interest_rejects_an_unknown_day_count_at_every_settlement
(settlement)
agent/tests/quantlib/test_fixedincome.py:341
Function
test_accrued_interest_rejects_non_finite_inputs
The on-coupon-date shortcuts return constants, so admission must run before them or a NaN face laundered into a clean 0.0.
agent/tests/quantlib/test_fixedincome.py:605
Function
test_accrued_interest_rejects_settlement_outside_the_period
()
agent/tests/quantlib/test_fixedincome.py:334
Function
test_accrued_interest_rejects_unordered_coupon_dates
()
agent/tests/quantlib/test_fixedincome.py:349
Function
test_acknowledged_submit_count_failure_retains_recovery_marker
(monkeypatch)
agent/tests/test_sdk_order_gate.py:657
Function
test_aclose_awaits_owned_clients
()
agent/tests/test_chat_llm_lifecycle.py:80
Function
test_act_365f_and_act_360_use_their_stated_bases
()
agent/tests/quantlib/test_fixedincome.py:269
Function
test_act_act_uses_a_366_day_basis_inside_a_leap_year
()
agent/tests/quantlib/test_fixedincome.py:292
Function
test_action_exception_propagates
(live_runtime: Path)
agent/tests/test_halt.py:153
Function
test_action_id_accounting_rejects_malformed_evidence
( tmp_path, monkeypatch, counter_date, action_ids )
agent/tests/test_daily_count.py:105
Function
test_action_id_accounting_wraps_directory_failure
(tmp_path, monkeypatch)
agent/tests/test_daily_count.py:121
Function
test_action_id_deduplicates_after_utc_rollover
(tmp_path, monkeypatch)
agent/tests/test_daily_count.py:78
Function
test_action_id_increment_is_durable_and_deduplicated
(tmp_path, monkeypatch)
agent/tests/test_daily_count.py:66
Function
test_activate_constructs_a_model_with_one_vault_profile
( client, custom_store, tmp_path, monkeypatch )
agent/tests/test_custom_provider_routes.py:180
Function
test_activation_requires_explicit_confirmation
( client: TestClient, custom_store: CustomProviderStore, monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_custom_provider_routes.py:157
Function
test_active_crypto_and_shared_settings_are_not_reported_unused
()
agent/tests/test_backtest_engine_unused_config.py:45
Function
test_active_exposure_subtracts_the_benchmark
()
agent/tests/quantlib/test_factormodel.py:323
Function
test_active_replay_reannounces_attempt_start_from_the_persisted_attempt
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
agent/tests/test_session_events_replay_start.py:67
Function
test_active_replay_without_a_running_attempt_adds_nothing
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
agent/tests/test_session_events_replay_start.py:101
Function
test_active_run_cannot_recreate_deleted_content
(owned_delete_index)
agent/tests/test_session_delete_clears_search_index.py:142
Function
test_active_run_first_connect_can_replay_entire_buffer
()
agent/tests/test_session_events.py:19
Method
test_active_sdm_artifact_not_excluded
(self, tmp_path)
agent/tests/test_strategy_discovery_facade.py:900
Function
test_actual_chat_stream_requires_terminal_metadata
Replay a clean EOF through the real SDK; truncated JSON is not a call.
agent/tests/test_chat_llm_streaming.py:416
Function
test_actual_mcp_result_cycle_returns_sanitized_error
()
agent/tests/test_mcp_client_adapter.py:544
Function
test_actual_requests_keep_broker_books_and_fund_limits_separate
(monkeypatch)
agent/tests/test_mstock_connector.py:48
Method
test_actual_sharpe_respects_bars_per_year
(self)
agent/tests/test_validation.py:124
Function
test_actual_tool_returns_distinct_sessions_after_long_conversation
( tmp_path: Path, monkeypatch )
agent/tests/test_session_search_distinct_limit.py:17
Function
test_adapter_call_tool_keeps_every_surface_for_programmatic_callers
()
agent/tests/test_mcp_result_dedup.py:73
Function
test_adapter_delegate_passes_the_real_availability_guard
Unlike slack's constant True, the delegate reads DISCORD_AVAILABLE at call time, so the envelope reports the SDK state honestly.
agent/tests/test_discord_connection_test.py:249
Function
test_adapter_imap_ssl_context_follows_verify_tls
The adapter's polling connection uses the same helper as the probe.
agent/tests/test_email_connection_test.py:606
Function
test_adapter_imports_without_the_sdk_and_declares_support
discord.py guards the SDK behind DISCORD_AVAILABLE, so the adapter and its probe delegate import in an SDK-less environment (CI, this test env).
agent/tests/test_discord_connection_test.py:300
Function
test_adapter_ok_envelope_bare_list_data_unwrapped
(live_runtime: Path)
agent/tests/test_runtime_flatten.py:309
Function
test_adapter_ok_envelope_missing_pinned_key_rejected
(live_runtime: Path)
agent/tests/test_runtime_flatten.py:320
Function
test_adapter_ok_envelope_open_orders_unwrapped
(live_runtime: Path)
agent/tests/test_runtime_flatten.py:279
Function
test_adapter_ok_envelope_positions_unwrapped
(live_runtime: Path)
agent/tests/test_runtime_flatten.py:295
Function
test_adapter_smtp_ssl_context_follows_verify_tls
( monkeypatch: pytest.MonkeyPatch, verify_tls: bool )
agent/tests/test_email_connection_test.py:623
Function
test_adapter_smtp_starttls_follows_verify_tls
The send path's STARTTLS takes the same context as implicit SSL.
agent/tests/test_email_connection_test.py:852
Function
test_adapter_sql_names_tables_and_columns_explicitly
()
agent/tests/test_paper_trade_limits_cn_a.py:221
Function
test_adapter_upgrades_plain_imap_before_login
The polling connection follows the probe: STARTTLS, then LOGIN.
agent/tests/test_email_connection_test.py:839
Method
test_add_after_window_expires
Same content can be written again after dedup window expires.
agent/tests/memory/test_memory_dedup.py:153
← previous
next →
14,501–14,600 of 26,887, ranked by callers