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_extract
(self, symbol: str, expected: str)
agent/tests/test_china_futures_engine.py:79
Method
test_extract
(self, symbol: str, expected: str)
agent/tests/test_global_futures_engine.py:93
Function
test_extract_assigns_unique_ids
()
agent/tests/test_report_audit_tool.py:70
Function
test_extract_bare_scan_does_not_split_suffixed_symbols
()
agent/tests/test_swarm_grounding.py:97
Function
test_extract_bare_ticker_does_not_duplicate_suffixed_symbol
()
agent/tests/test_swarm_grounding.py:92
Function
test_extract_bare_ticker_skips_common_acronyms
()
agent/tests/test_swarm_grounding.py:85
Function
test_extract_canadian_class_symbol
()
agent/tests/test_swarm_grounding.py:44
Function
test_extract_code_supports_prefix_style_symbols
Prove that _extract_code extracts bare 6-digit codes from both suffix and prefix style A-share symbols.
agent/tests/test_margin_trading_prefix_symbol.py:10
Function
test_extract_data_points_empty_mid_cell_uses_correct_quarter
()
agent/tests/test_report_audit_empty_table_cells.py:21
Function
test_extract_does_not_match_substrings_inside_words
()
agent/tests/test_swarm_grounding.py:115
Function
test_extract_explicit_symbols_rank_before_bare_promotions
()
agent/tests/test_swarm_grounding.py:103
Function
test_extract_finds_table_and_kv_points
()
agent/tests/test_report_audit_tool.py:59
Method
test_extract_folds_to_the_table_spelling
A symbol reaches the tables in their own spelling, either casing in.
agent/tests/test_china_futures_engine.py:268
Function
test_extract_horizon_normalises_common_phrases
()
agent/tests/test_swarm_tool_variables.py:105
Function
test_extract_ignores_lowercase_and_single_letter_tokens
()
agent/tests/test_swarm_grounding.py:110
Method
test_extract_max_iter_default
(self)
agent/tests/test_cli_interactive.py:92
Method
test_extract_max_iter_equals_separated
(self)
agent/tests/test_cli_interactive.py:87
Method
test_extract_max_iter_space_separated
(self)
agent/tests/test_cli_interactive.py:82
Function
test_extract_model_ids_normalizes_openai_compatible_payloads
()
agent/tests/test_settings_api.py:63
Function
test_extract_only_visible_report_facts
(opener, inner, closer)
agent/tests/test_report_audit_code_fences.py:20
Function
test_extract_preserves_financial_value_sign
(value: str, table: bool)
agent/tests/test_report_audit_signed_values.py:26
Function
test_extract_preserves_first_occurrence_order
()
agent/tests/test_swarm_grounding.py:50
Function
test_extract_profile_happy_path
(profitable_journal: Path)
agent/tests/test_shadow_account.py:138
Function
test_extract_profile_rejects_insufficient_sample
(insufficient_journal: Path)
agent/tests/test_shadow_account.py:169
Function
test_extract_profile_rejects_missing_file
(tmp_path: Path)
agent/tests/test_shadow_account.py:181
Function
test_extract_profile_rejects_no_roundtrips
(no_roundtrips_journal: Path)
agent/tests/test_shadow_account.py:175
Function
test_extract_profile_yields_rules
(profitable_journal: Path)
agent/tests/test_shadow_account.py:151
Function
test_extract_promotes_bare_us_ticker
()
agent/tests/test_swarm_grounding.py:75
Function
test_extract_returns_empty_when_no_symbol_present
()
agent/tests/test_swarm_grounding.py:59
Method
test_extract_rows_handles_missing_branches
(self)
agent/tests/test_iwencai_tool.py:58
Function
test_extract_shadow_strategy_rejects_malformed_integers
A malformed rule-mining option errors before the journal is parsed.
agent/tests/test_tools_type_value_safety.py:325
Function
test_extract_shadow_strategy_tool
( profitable_journal: Path, tmp_path: Path, monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_shadow_account.py:1139
Function
test_extract_shadow_strategy_tool_reports_errors
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
agent/tests/test_shadow_account.py:1161
Function
test_extract_skips_non_string_values
()
agent/tests/test_swarm_grounding.py:67
Function
test_extract_to_verdict_does_not_certify_a_sign_error
( reported: int, fetched: int, expected: str )
agent/tests/test_report_audit_signed_values.py:42
Function
test_extract_us_hk_a_share_and_crypto_symbols
()
agent/tests/test_swarm_grounding.py:28
Function
test_extract_with_price_features_promotes_into_clustering
( profitable_journal: Path, with_price_loader, monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_shadow_account.py:1440
Function
test_extracted_rules_carry_price_condition_bounds
When price features are promoted, each rule's entry_condition carries bounds.
agent/tests/test_shadow_account.py:1749
Function
test_extracted_rules_no_price_conditions_when_sparse
With prices offline (autouse), rules carry only behavioral conditions.
agent/tests/test_shadow_account.py:1773
Function
test_extractor_ignores_unknown_extra_keys
()
agent/tests/test_enforcement_l6.py:91
Function
test_extractor_limit_price_absent_is_none
No limit_price kwarg → market-order sizing (intent.limit_price None).
agent/tests/test_enforcement_l6.py:130
Function
test_extractor_maps_limit_price
A buy limit's worst-case fill price must reach the gate, which sizes the notional at the worse of quote and limit.
agent/tests/test_enforcement_l6.py:118
Function
test_extractor_maps_notional_order
()
agent/tests/test_enforcement_l6.py:65
Function
test_extractor_maps_quantity_and_dollar_amount_alias
()
agent/tests/test_enforcement_l6.py:78
Function
test_extractor_rejects_missing_or_ambiguous_fields
()
agent/tests/test_enforcement_l6.py:109
Function
test_extractor_rejects_non_finite_limit_price
A limit price of Infinity (via overflow or 'inf' spellings) has no finite worst case, so it must be DENIED at extraction — never allowed to re
agent/tests/test_enforcement_l6.py:365
Function
test_extractor_rejects_non_order_tool
()
agent/tests/test_enforcement_l6.py:104
Function
test_extractor_rejects_unparseable_limit_price
A present-but-unparseable limit price is forwarded to the broker verbatim and cannot be priced → the whole intent is ambiguous → DENY (fail-closed
agent/tests/test_enforcement_l6.py:140
Function
test_extrema_do_not_depend_on_display_grid_containing_strikes
A butterfly peak at an omitted strike is still included analytically.
agent/tests/test_options_payoff.py:92
Function
test_extreme_and_zero_values_never_produce_inf
Invalid multiples stay NaN; zero dividends remain valid observations.
agent/tests/factors/test_fundamental_valuation_samples.py:199
Method
test_facade_exception_yields_generic_message_without_leak
( self, monkeypatch )
agent/tests/test_strategy_discovery_tools.py:318
Method
test_facade_never_returns_rows_missing_from_store
(self, tmp_path)
agent/tests/test_strategy_discovery_facade.py:487
Function
test_factor_brief_extracts_every_field_with_evidence
()
agent/tests/test_research_papers_tool.py:409
Function
test_factor_combination_without_shell_tools_over_mcp
(monkeypatch)
agent/tests/test_mcp_combination.py:13
Function
test_factor_data_falls_back_and_names_unserved_members
(monkeypatch)
agent/tests/test_analysis_reliability.py:181
Function
test_factor_endpoint_enforces_row_budgets
(tmp_path: Path, monkeypatch)
agent/tests/test_factor_api.py:330
Function
test_factor_endpoint_missing_ic_summary_omits_ic_stats
(tmp_path: Path, monkeypatch)
agent/tests/test_factor_api.py:177
Function
test_factor_endpoint_offloads_scan_to_threadpool
The blocking factor scan must run off the event loop via the threadpool.
agent/tests/test_factor_api.py:156
Function
test_factor_endpoint_rejects_oversized_summary
(tmp_path: Path, monkeypatch)
agent/tests/test_factor_api.py:352
Function
test_factor_endpoint_removes_non_finite_values
NaN and infinities in every supported artifact never reach JSON.
agent/tests/test_factor_api.py:290
Function
test_factor_endpoint_run_without_artifacts
(tmp_path: Path, monkeypatch)
agent/tests/test_factor_api.py:128
Function
test_factor_endpoint_single_factor_happy_path
(tmp_path: Path, monkeypatch)
agent/tests/test_factor_api.py:54
Function
test_factor_endpoint_traversal_run_id_returns_400
(tmp_path: Path, monkeypatch)
agent/tests/test_factor_api.py:147
Function
test_factor_endpoint_two_factors_ic_correlation
(tmp_path: Path, monkeypatch)
agent/tests/test_factor_api.py:103
Function
test_factor_endpoint_unknown_run_returns_404
(tmp_path: Path, monkeypatch)
agent/tests/test_factor_api.py:138
Function
test_factor_ic_analysis_methods_and_validation
()
agent/tests/quantlib/test_factormodel.py:606
Function
test_factor_ic_analysis_positive_predictive_factor
()
agent/tests/quantlib/test_factormodel.py:581
Function
test_factor_is_loadable_from_default_registry
(alpha_id: str)
agent/tests/factors/test_fundamental_expansion_price_samples.py:206
Method
test_factor_parent_refused
(self)
agent/tests/test_strategy_store_adaptation.py:133
Function
test_factor_returns_recover_the_generating_coefficients
()
agent/tests/quantlib/test_factormodel.py:195
Function
test_factor_risk_decomposition_euler_sum_identities
()
agent/tests/quantlib/test_factormodel.py:438
Function
test_factor_risk_decomposition_input_validation
()
agent/tests/quantlib/test_factormodel.py:534
Function
test_factor_risk_decomposition_reports_unmatched_weight
()
agent/tests/quantlib/test_factormodel.py:570
Function
test_factor_risk_decomposition_without_specific_variance
()
agent/tests/quantlib/test_factormodel.py:502
Function
test_factor_risk_decomposition_zero_weights_safe
()
agent/tests/quantlib/test_factormodel.py:520
Function
test_factor_scan_caps_directory_entries
A hostile wide tree cannot force an unbounded recursive traversal.
agent/tests/test_factor_api.py:236
Function
test_factor_scan_caps_nesting_depth
A factor marker below the configured depth is never traversed.
agent/tests/test_factor_api.py:277
Function
test_factor_transforms_without_shell_tools_over_mcp
(monkeypatch)
agent/tests/test_mcp_neutralization.py:13
Function
test_factor_type_follows_the_prompt
()
agent/tests/test_swarm_tool_variables.py:68
Function
test_factors_with_no_supplied_characteristic_are_skipped_not_faked
()
agent/tests/quantlib/test_factormodel.py:166
Function
test_failed_activation_keeps_previous_profile
(custom_store, tmp_path, monkeypatch)
agent/tests/test_custom_provider_routes.py:249
Function
test_failed_atomic_replace_preserves_previous_json
( tmp_path: Path, monkeypatch )
agent/tests/test_session_store_atomic_json.py:22
Function
test_failed_attempt_emits_error_and_message
()
agent/tests/test_openbb_bridge/test_adapter.py:189
Function
test_failed_backtest_records_no_bench
( run_dir: Path, store: Any, artifact_id: str )
agent/tests/test_backtest_records_bench.py:283
Function
test_failed_call_ledger_resets_for_a_new_run
(tmp_path)
agent/tests/test_agent_loop_no_progress.py:132
Function
test_failed_chat_data_names_attempts_without_raw_exception
()
agent/tests/test_analysis_reliability.py:55
Function
test_failed_cli_refresh_does_not_reuse_expired_token
(monkeypatch, failure)
agent/tests/test_copilot_provider.py:190
Function
test_failed_consent_write_does_not_publish_mandate
A failed approval record must not leave usable live authority.
agent/tests/test_consent_commit.py:163
Function
test_failed_delivery_ack_is_retried_after_another_restart
(tmp_path)
agent/tests/test_background_store_recovery.py:337
Function
test_failed_deterministic_call_is_not_cached
Failures are skipped by the retry guard, never served as cached success.
agent/tests/test_agent_loop_deterministic_cache.py:169
Function
test_failed_discovery_stops_with_visible_recovery
(tmp_path, vary_arguments)
agent/tests/test_agent_loop_no_progress.py:84
Function
test_failed_forward_does_not_consume_count_or_audit_accepted
H2: an in-mandate order whose forward errors must NOT consume a daily count and must NOT write an ``accepted`` record.
agent/tests/test_mandate_enforcement.py:542
Function
test_failed_job_is_not_redispatched
(tmp_path: Path)
agent/tests/test_scheduled_research_executor.py:348
Function
test_failed_mandate_write_leaves_only_harmless_consent
Publishing authority last makes its failure fail closed.
agent/tests/test_consent_commit.py:191
Function
test_failed_mcp_server_does_not_block_local_tools
A server that raises during discovery must be skipped with a warning.
agent/tests/test_registry_mcp_integration.py:161
Function
test_failed_preview_then_final_send_uses_real_payload_builder
Exercise buffering, preview failure and final thread delivery together.
agent/tests/test_matrix_stream_end_no_preview.py:88
Function
test_failed_reads_progress_and_old_snapshots_are_sanitized
(tmp_path)
agent/tests/test_portfolio_cash_and_error_details.py:58
Function
test_failed_ref_lists_exact_indexed_candidates
(tmp_path: Path, ref: str)
agent/tests/test_grounding_indexed_field_refs.py:140
Function
test_failed_run_records_state_failed_with_exit_code
(tool_run_dir)
agent/tests/test_backtest_tool_state.py:56
Function
test_failed_sidecar_write_leaves_no_temp_file
A write error must not strand a half-written temp blob.
agent/tests/test_trace_writer.py:309
← previous
next →
18,101–18,200 of 26,887, ranked by callers