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_timezone_and_attributes_are_kept
(self)
agent/tests/test_weekly_monthly_bars.py:82
Method
test_timezone_round_trips_through_store
(self, tmp_path: Path)
agent/tests/test_scheduled_research_store.py:290
Function
test_tiny_signal_is_not_mistaken_for_zero_residual
()
agent/tests/quantlib/test_neutralization.py:264
Function
test_title_evidence_is_labelled_as_title
()
agent/tests/test_research_papers_tool.py:530
Function
test_title_joins_codes_with_middle_dot
(summary_run_dir)
agent/tests/test_backtest_summary.py:170
Method
test_to_float
(self, raw, expected)
agent/tests/test_prediction_market_tool.py:1030
Function
test_to_float_handles_empty_string
Empty string — the actual Shoonya sentinel for 'no value' — must not raise.
agent/tests/test_shoonya_empty_string_numeric.py:20
Function
test_to_float_nan_string_returns_default
Prove that _to_float returns default when given 'nan' or non-finite values.
agent/tests/test_trade_journal_parser_to_float_nan.py:11
Function
test_to_float_strips_currency_and_unicode_minus
US/EU/Asia broker cells with currency glyphs must not become 0.0.
agent/tests/test_trade_journal.py:887
Function
test_to_futu_ktype_accepts_lowercase_1h
(monkeypatch)
agent/tests/test_futu_loader_interval_case.py:14
Function
test_to_int_handles_empty_string
()
agent/tests/test_shoonya_empty_string_numeric.py:29
Function
test_to_longport_period_accepts_lowercase_daily_week
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_longbridge_loader_daily_week_aliases.py:18
Function
test_to_sina_symbol
(code: str, expected: bool)
agent/tests/test_sina_loader.py:51
Function
test_to_tiingo_symbol
(code: str, expected)
agent/tests/test_tiingo_loader.py:46
Function
test_to_usd_converts_and_names_a_missing_rate
()
agent/tests/test_portfolio_fx.py:34
Function
test_token_limit_run_persists_the_message_log
A worker stopped by the token limit must leave a message log too.
agent/tests/test_swarm_worker_message_log.py:144
Function
test_token_metadata_exceptions_never_release_unexpected_values
Benign names cannot launder credentials, including unrecognizable ones.
agent/tests/test_redaction_shared.py:545
Function
test_token_metadata_keeps_counts_and_public_ids_in_every_sink
(sink: str)
agent/tests/test_redaction_shared.py:558
Function
test_token_never_in_audit_payload
A token in a broker request/response is redacted in the audit record. The live-action audit ledger scrubs credential keys via ``redact_payloa
agent/tests/test_oauth_token_cache.py:175
Function
test_token_never_logged
(tmp_path: Path, caplog)
agent/tests/test_oauth_token_cache.py:133
Function
test_token_not_accepted_from_tool_args_or_variables
A token injected via tool args is stripped before reaching the broker. ``MCPRemoteTool._filter_arguments`` projects kwargs down to the remote
agent/tests/test_oauth_token_cache.py:204
Function
test_token_persists_across_store_instances
(tmp_path: Path)
agent/tests/test_oauth_token_cache.py:66
Function
test_token_resolved_once_before_pagination
(monkeypatch)
agent/tests/test_zerodha_sdk.py:189
Function
test_token_stop_persists_even_when_record_raises
(tmp_path)
agent/tests/test_live_decision_budget.py:34
Function
test_token_threshold_override_must_target_tuning_module
(monkeypatch)
agent/tests/test_tuning_reexport.py:29
Function
test_token_type_validation_rejects_classic_pat
()
agent/tests/test_copilot_provider.py:80
Function
test_token_value_never_in_args_or_payload
The token lives only on disk — it is never passed via constructor args. ``_build_token_store`` receives only a directory path; the secret token i
agent/tests/test_oauth_token_cache.py:117
Method
test_tokenized_gold_bases_still_resolve_as_crypto
(self)
agent/tests/test_symbol_search_tool.py:1072
Function
test_toman_sources_never_degrade_into_the_crypto_chain
An unavailable IRT/TMN source must fail loudly, not fall back. Nobitex and Wallex are the only sources quoting in Iranian Toman, and they dec
agent/tests/test_nobitex_loader.py:224
Function
test_tonghuashun_corporate_action_rows_are_skipped
Known non-trade corporate-action rows drop out instead of raising.
agent/tests/test_trade_journal.py:138
Function
test_too_few_assets_rejected
()
agent/tests/quantlib/test_factormodel.py:290
Method
test_too_few_bars
(self)
agent/tests/test_validation.py:258
Function
test_too_few_folds_rejected
(n_folds)
agent/tests/quantlib/test_crossvalidation.py:304
Method
test_too_few_observations
(self)
agent/tests/test_validation.py:170
Method
test_too_few_rows_falls_back_to_the_date_alone
(self)
agent/tests/test_institutional_holdings_tool.py:354
Method
test_too_few_trades
(self)
agent/tests/test_validation.py:98
Function
test_too_short_estimation_window_rejected
()
agent/tests/quantlib/test_eventstudy.py:476
Function
test_tool_all_excluded_returns_error_envelope
( monkeypatch: pytest.MonkeyPatch, tmp_path )
agent/tests/test_bench_universe_selection.py:144
Function
test_tool_call_events_carry_mcp_metadata_and_redact_sensitive_arguments
Auditing :file:`events.jsonl` after a run must show *which remote server* a tool call hit (``server``), the original remote tool name (``remot
agent/tests/test_swarm_m4_e2e.py:394
Function
test_tool_call_id_alone_does_not_mark_evidence_verified
(tmp_path: Path)
agent/tests/test_goal_store.py:287
Function
test_tool_call_ids_round_trip_through_the_parser
()
agent/tests/test_openai_codex_replay.py:269
Function
test_tool_call_maps_to_reasoning_step
()
agent/tests/test_openbb_bridge/test_event_mapper.py:32
Method
test_tool_call_thought_signatures_are_preserved_by_id_and_index
(self)
agent/tests/test_kimi_reasoning_content.py:66
Function
test_tool_call_trace_redacts_args_and_structured_results
Persistent trace entries should not store raw credentials/account fields.
agent/tests/test_agent_loop_trace.py:44
Method
test_tool_calls_are_preserved_alongside_reasoning
(self)
agent/tests/test_kimi_reasoning_content.py:51
Function
test_tool_calls_map_to_vibe_tool_call_requests
(fake_cli, monkeypatch)
agent/tests/test_claude_cli_provider.py:77
Function
test_tool_class_contract
(run_dir: Path)
agent/tests/test_run_artifact_tool.py:546
Function
test_tool_contract
(runs: Path)
agent/tests/test_backtest_runs_tool.py:214
Function
test_tool_contract
()
agent/tests/test_research_papers_tool.py:710
Method
test_tool_contract
(self)
agent/tests/test_etf_holdings_tool.py:1125
Function
test_tool_draft_schema_forbids_unknown_keys
()
agent/tests/scheduling/test_system_job_protection.py:211
Function
test_tool_happy_path_equal_weights
()
agent/tests/test_risk_xray.py:229
Method
test_tool_hint_appends_to_the_active_card_instead_of_a_new_one
(self)
agent/tests/test_feishu_tool_hint_stream_key.py:22
Function
test_tool_is_auto_discovered
()
agent/tests/test_alpha_compare_tool.py:53
Function
test_tool_is_auto_discovered
()
agent/tests/test_report_audit_tool.py:309
Function
test_tool_is_auto_discovered
()
agent/tests/test_financial_rigor_tool.py:277
Function
test_tool_is_auto_discovered_by_the_agent_registry
Creating the module is sufficient to expose the read-only Agent tool.
agent/tests/test_options_payoff_tool.py:72
Function
test_tool_is_registered_readonly_and_available
()
agent/tests/test_paper_trade_tool.py:493
Function
test_tool_messages_are_not_replayed_as_turns
()
agent/tests/test_openbb_bridge/test_adapter.py:164
Function
test_tool_metadata
()
agent/tests/test_alpha_compare_tool.py:42
Function
test_tool_metadata
()
agent/tests/test_report_audit_tool.py:300
Function
test_tool_metadata
()
agent/tests/test_financial_rigor_tool.py:266
Method
test_tool_metadata
(self)
agent/tests/test_strategy_discovery_refresh.py:96
Function
test_tool_metadata_is_readonly_and_repeatable
()
agent/tests/test_orderbook_depth_tool.py:407
Function
test_tool_module_exposes_no_trading_connector_or_order_surface
()
agent/tests/test_paper_trade_tool.py:486
Function
test_tool_name_before_field_ref_lists_exact_call_refs
(tmp_path: Path)
agent/tests/test_grounding_role_hardening.py:685
Function
test_tool_parameters_expose_the_four_optional_fields
()
agent/tests/test_paper_trade_v12_schema.py:525
Function
test_tool_rejects_bad_arguments
()
agent/tests/test_risk_xray.py:252
Function
test_tool_reports_an_unsupported_filter_as_an_error
(tmp_path, monkeypatch)
agent/tests/test_journal_unsupported_filter.py:38
Function
test_tool_reports_unresolved_symbols
()
agent/tests/test_risk_xray.py:244
Function
test_tool_result_error_status_still_maps
()
agent/tests/test_openbb_bridge/test_event_mapper.py:39
Function
test_tool_result_event_status_and_evidence_credit_agree
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, result: str, raises: bool, expected_eve
agent/tests/test_swarm_output_contract.py:367
Function
test_tool_result_offload_uses_safe_name_and_resolves_only_on_request
Large tool results should not trust provider-supplied call IDs as paths.
agent/tests/test_trace_writer.py:26
Function
test_tool_result_payloads_are_extracted_not_reprd
()
agent/tests/test_openbb_bridge/test_context_injector.py:190
Function
test_tool_returns_analytic_summary_curve_and_scenarios
The success envelope is bounded, serializable, and engine-cost aware.
agent/tests/test_options_payoff_tool.py:20
Function
test_tool_returns_error_envelopes
Malformed tool arguments are contained in JSON error envelopes.
agent/tests/test_options_payoff_tool.py:132
Function
test_tool_schema_exposes_optional_variables
()
agent/tests/test_swarm_tool_variables.py:139
Function
test_tool_scoped_container_ref_lists_exact_call_leaf
(tmp_path: Path)
agent/tests/test_grounding_container_field_refs.py:81
Function
test_tool_survives_records_without_dates
()
agent/tests/test_risk_xray.py:264
Function
test_tool_timeout_returns_error_and_stops_heartbeats
A hung tool should become a bounded diagnostic instead of heartbeating forever.
agent/tests/test_tool_timeout.py:42
Method
test_tool_with_surviving_result_stays_blocked
(self)
agent/tests/test_loop_helpers.py:182
Function
test_tool_wrappers_use_env_isolated_storage
(storage_path: Path)
agent/tests/test_hypothesis_registry.py:192
Function
test_tools_report_insufficient_data_without_changing_monitoring_state
( tmp_path, monkeypatch, backend, field, invalid )
agent/tests/test_sdm_finite_metrics.py:99
Method
test_top_level_array_body_still_parses
(self)
agent/tests/test_tickerall_loader.py:418
Method
test_top_level_voice_item_is_forwarded
(self)
agent/tests/test_voice_note_attachment_passthrough.py:158
Method
test_top_n_caps_returned_rows
(self)
agent/tests/test_market_screener_tool.py:113
Method
test_top_n_ceiling_clears_a_real_full_portfolio
(self)
agent/tests/test_etf_holdings_tool.py:1067
Method
test_top_n_is_clamped
(self, value, expected)
agent/tests/test_etf_holdings_tool.py:1064
Function
test_toss_account_snapshot_reads_holdings_totals_without_flattening_currency
(monkeypatch)
agent/tests/test_sdk_connectors_toss.py:170
Function
test_toss_cancel_order_always_refused
()
agent/tests/test_sdk_connectors_toss.py:57
Function
test_toss_check_connection_surfaces_a_clean_error_on_a_bad_key
(monkeypatch)
agent/tests/test_sdk_connectors_toss.py:379
Function
test_toss_closed_orders_follow_cursor_across_pages
(monkeypatch)
agent/tests/test_sdk_connectors_toss.py:236
Function
test_toss_closed_orders_has_next_without_cursor_is_an_error
``hasNext`` with no ``nextCursor`` is a broken page, not the last one: stopping there would hand back the same silently truncated history the
agent/tests/test_sdk_connectors_toss.py:271
Function
test_toss_closed_orders_pagination_cap_errors_instead_of_truncating
A history longer than the page cap must be a clear error, not a shorter list that looks complete.
agent/tests/test_sdk_connectors_toss.py:254
Function
test_toss_exposes_no_paper_or_live_trade_profile
Toss documents no verifiable sandbox — every profile is read-only, mirroring the Trading 212 precedent (never even a paper-trade profile).
agent/tests/test_sdk_connectors_toss.py:34
Function
test_toss_get_historical_bars_errors_on_a_bar_with_no_close_price
A missing close is a data problem -- silently dropping it would leave a gap in the series with no signal that anything was wrong.
agent/tests/test_sdk_connectors_toss.py:331
Function
test_toss_get_historical_bars_uses_count_not_limit_and_unwraps_nested_result
(monkeypatch)
agent/tests/test_sdk_connectors_toss.py:309
Function
test_toss_get_quote_errors_on_an_unpriced_result_instead_of_returning_ok_with_nulls
(monkeypatch)
agent/tests/test_sdk_connectors_toss.py:303
Function
test_toss_get_quote_unwraps_result_list
(monkeypatch)
agent/tests/test_sdk_connectors_toss.py:290
Function
test_toss_invalid_profile_rejected
()
agent/tests/test_sdk_connectors_toss.py:73
← previous
next →
25,401–25,500 of 26,887, ranked by callers