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_coerce_ids_dedupes_preserving_order
()
agent/tests/test_alpha_compare_tool.py:30
Function
test_coerce_ids_handles_none_and_blanks
()
agent/tests/test_alpha_compare_tool.py:34
Function
test_coerce_ids_passes_through_list
()
agent/tests/test_alpha_compare_tool.py:22
Function
test_coerce_ids_splits_string_on_commas_and_spaces
()
agent/tests/test_alpha_compare_tool.py:26
Method
test_coerce_int
(self, raw, expected)
agent/tests/test_prediction_market_tool.py:1063
Function
test_coerce_json_string_decodes_arrays_and_objects
(mcp_server)
agent/tests/test_mcp_json_string_args.py:99
Function
test_coerce_json_string_passes_through_everything_else
(mcp_server)
agent/tests/test_mcp_json_string_args.py:106
Method
test_coerce_limit_defaults_and_clamps
(self)
agent/tests/test_iwencai_tool.py:51
Method
test_coerced_values_land_in_generic_evidence
(self, tmp_path)
agent/tests/test_gildata_research_tools.py:142
Function
test_cointegration_found_on_constructed_pair
()
agent/tests/quantlib/test_timeseries.py:129
Function
test_cointegration_not_found_on_independent_walks
(seed)
agent/tests/quantlib/test_timeseries.py:143
Function
test_cointegration_refuses_to_join_two_different_indices_positionally
()
agent/tests/quantlib/test_timeseries.py:170
Function
test_cointegration_rejects_mismatched_lengths
()
agent/tests/quantlib/test_timeseries.py:164
Function
test_cointegration_return_shape
()
agent/tests/quantlib/test_timeseries.py:155
Function
test_cointegration_still_accepts_a_shared_non_default_index
()
agent/tests/quantlib/test_timeseries.py:185
Function
test_cold_start_is_safe_and_persists
First run (no prior state) is safe and writes a baseline.
agent/tests/test_runtime_reconcile.py:83
Method
test_collapses_long_content
(self)
agent/tests/test_loop_helpers.py:236
Function
test_collect_artifacts_recurses_and_returns_sorted_run_relative_paths
( tmp_path: Path, )
agent/tests/test_swarm_output_contract.py:405
Function
test_collect_artifacts_rejects_symlink_escape
(tmp_path: Path)
agent/tests/test_swarm_output_contract.py:422
Function
test_collect_key_package_versions_reflects_real_environment
Sanity check against the actual installed environment (no mocking). vibe-trading-ai is installed editable in this checkout (pyproject.toml pi
agent/tests/test_governance.py:245
Function
test_colliding_children_are_left_in_place
A same-named child on both sides is never overwritten or merged.
agent/tests/test_state_migration.py:68
Function
test_colliding_sanitized_server_names_receive_stable_unique_prefixes
Different raw server names that sanitize identically must still stay unique.
agent/tests/test_registry_mcp_integration.py:106
Function
test_collinear_exposures_are_rejected_not_silently_pseudo_inverted
()
agent/tests/quantlib/test_factormodel.py:270
Function
test_column_order_invariance
Reversing panel column order must not change any per-symbol value.
agent/tests/factors/test_corr_rewire.py:79
Method
test_column_positions_are_read_from_the_header_not_assumed
(self)
agent/tests/test_etf_holdings_tool.py:896
Function
test_columns_projection
(run_dir: Path)
agent/tests/test_run_artifact_tool.py:400
Function
test_combination_is_allowlisted_and_dispatchable
()
agent/tests/quantlib/test_combination.py:195
Function
test_combination_is_invariant_to_factor_units
()
agent/tests/quantlib/test_combination.py:90
Function
test_combinatorial_gap_between_test_blocks_stays_trainable
()
agent/tests/quantlib/test_crossvalidation.py:216
Function
test_combinatorial_holds_out_more_than_one_block_at_a_time
()
agent/tests/quantlib/test_crossvalidation.py:209
Function
test_combinatorial_test_blocks_are_disjoint_from_training
()
agent/tests/quantlib/test_crossvalidation.py:201
Function
test_combinatorial_yields_every_combination
()
agent/tests/quantlib/test_crossvalidation.py:194
Function
test_combined_crypto_fixes_reach_signal_alignment
(code)
agent/tests/test_crypto_digit_leading_symbols.py:90
Method
test_comfortable_row_is_not_borderline
(self, tmp_path)
agent/tests/test_strategy_discovery_facade.py:574
Function
test_comma_decimal_with_dot_grouping
(raw: str, expected: float)
agent/tests/test_trade_journal_parser_european_decimal.py:21
Function
test_comma_list_ok
()
agent/tests/test_doc_reader_inverted_pages.py:19
Function
test_comments_and_quoted_reason_are_not_authentication_clauses
()
agent/tests/test_email_authentication_results.py:208
Method
test_commission_override
(self)
agent/tests/test_china_futures_engine.py:218
Method
test_commission_override
(self)
agent/tests/test_global_futures_engine.py:210
Function
test_commit_accepts_within_alias_keyed_ceiling
A profile that fits an alias-keyed ceiling still commits (no over-rejection).
agent/tests/test_consent_commit.py:510
Function
test_commit_binds_the_mandate_to_a_listed_agentic_account
(tmp_path, monkeypatch)
agent/tests/test_robinhood_live_account_binding.py:328
Function
test_commit_consumes_proposal_no_replay
A committed proposal is invalidated and cannot be committed again.
agent/tests/test_consent_commit.py:143
Function
test_commit_create_and_cancel_normal_jobs_still_work
( home: Path, store: ScheduledResearchJobStore, monkeypatch: pytest.MonkeyPatch )
agent/tests/scheduling/test_system_job_protection.py:504
Function
test_commit_defaults_flatten_on_halt_false_for_cancel_only
A plain proposal (no opt-in) commits flatten_on_halt=False (cancel-only).
agent/tests/test_consent_commit.py:615
Function
test_commit_explicit_flatten_param_overrides_profile
An explicit flatten_on_halt param overrides the selected profile's flag.
agent/tests/test_consent_commit.py:629
Method
test_commit_failure_keeps_proposal_open
(self)
agent/tests/test_cli_live.py:558
Function
test_commit_mandate_accepts_saved_bare_proposal_id
The normal propose -> commit flow still works for opaque proposal ids.
agent/tests/test_mandate_commit_security.py:54
Function
test_commit_mandate_persists_an_explicit_exposure_narrowing
A legal narrowing to zero exposure must not be widened back on persist. _resolve_profile allows an adjustment to narrow max_total_exposure_usd do
agent/tests/test_mandate_commit_security.py:122
Function
test_commit_mandate_rejects_proposal_id_traversal_to_external_json
A commit must not resolve proposal_id outside the broker proposals dir. Before the fix, _load_proposal() joined ``proposal_id`` directly into
agent/tests/test_mandate_commit_security.py:83
Function
test_commit_persists_flatten_on_halt_from_profile
An opted-in proposal commits a mandate.json carrying flatten_on_halt=True.
agent/tests/test_consent_commit.py:594
Method
test_commit_posts_to_endpoint_with_consent_ack
_commit_mandate POSTs to /mandate/commit — the surface, not the model.
agent/tests/test_cli_live.py:568
Function
test_commit_refuses_an_account_the_mandate_cannot_trade
( tmp_path, monkeypatch, accounts: list, account_ref: str, detail: str )
agent/tests/test_robinhood_live_account_binding.py:348
Function
test_commit_refuses_handwritten_cancel_of_system_job
( home: Path, store: ScheduledResearchJobStore, monkeypatch: pytest.MonkeyPatch )
agent/tests/scheduling/test_system_job_protection.py:487
Function
test_commit_refuses_handwritten_proposal_minting_new_system_job
( home: Path, store: ScheduledResearchJobStore, monkeypatch: pytest.MonkeyPatch )
agent/tests/scheduling/test_system_job_protection.py:447
Function
test_commit_refuses_handwritten_proposal_replacing_system_job
v2 — the authoritative guard: a tampered proposal file on disk must die at COMMIT with the store byte-identical.
agent/tests/scheduling/test_system_job_protection.py:409
Function
test_commit_rejected_without_consent_ack
Only a strict boolean True authorizes a commit (no truthy coercion).
agent/tests/test_consent_commit.py:225
Method
test_commit_rejects_missing_broker_before_network_call
The CLI validates the exact API request model before sending.
agent/tests/test_cli_live.py:607
Function
test_commit_rejects_profile_over_alias_keyed_daily_cap
H9 (daily cap): profile ``daily_trade_cap`` over ceiling ``max_trades_per_day``.
agent/tests/test_consent_commit.py:478
Function
test_commit_rejects_profile_over_alias_keyed_order_ceiling
H9: an order notional over an ALIAS-keyed ceiling is rejected at commit. The profile stores the limit as ``max_order_usd`` while the ceiling snap
agent/tests/test_consent_commit.py:438
Function
test_commit_reports_an_unreadable_account_list_as_503
(tmp_path, monkeypatch)
agent/tests/test_robinhood_live_account_binding.py:360
Function
test_commit_still_gated_on_executable_runtime
( home: Path, store: ScheduledResearchJobStore, monkeypatch: pytest.MonkeyPatch )
agent/tests/scheduling/test_system_job_protection.py:526
Function
test_commodity_chinese_prompt_fills_commodity_and_horizon
()
agent/tests/test_swarm_tool_variables.py:24
Method
test_commodity_default_5pct
Commodity like rb uses default ±5% limit.
agent/tests/test_china_futures_engine.py:137
Method
test_commodity_no_limit
CL has no configured price limit; always allowed.
agent/tests/test_global_futures_engine.py:150
Function
test_commodity_prompt_fills_commodity_and_horizon
()
agent/tests/test_swarm_tool_variables.py:15
Method
test_commodity_within_limit
(self)
agent/tests/test_china_futures_engine.py:143
Method
test_common_timezone_is_preserved
(self)
agent/tests/test_base_engine.py:777
Method
test_compact_date_normalizes
(self)
agent/tests/test_dragon_tiger_tool.py:85
Method
test_compact_date_rejects_garbage
(self)
agent/tests/test_dragon_tiger_tool.py:89
Function
test_compaction_calls_share_iteration_without_being_deduplicated
(tmp_path)
agent/tests/test_live_decision_budget.py:72
Function
test_compaction_does_not_mutate_the_adapter_payload
()
agent/tests/test_mcp_result_dedup.py:269
Function
test_compaction_marks_lost_readonly_result_for_run_scoped_replay
()
agent/tests/test_readonly_replay_after_microcompact.py:104
Function
test_compaction_never_replays_mutating_tool
(harness, compact)
agent/tests/test_compaction_call_identity.py:178
Function
test_compaction_uses_same_run_dir_identity_as_gate
(harness)
agent/tests/test_compaction_call_identity.py:197
Method
test_company_record_is_countable
(self, fsp)
agent/tests/test_fetch_sina_penalties.py:291
Function
test_compare_all_evaluations_skipped_errors
(monkeypatch, capsys)
agent/tests/factors/test_alpha_compare.py:274
Function
test_compare_all_flag_resolves_every_alpha
(monkeypatch, capsys)
agent/tests/factors/test_alpha_compare.py:287
Function
test_compare_alternate_sort_key_reorders
(monkeypatch, capsys)
agent/tests/factors/test_alpha_compare.py:200
Function
test_compare_dedupes_below_two_is_rejected
()
agent/tests/test_alpha_compare_api.py:89
Function
test_compare_dedupes_repeated_ids
(monkeypatch, capsys)
agent/tests/factors/test_alpha_compare.py:252
Function
test_compare_discloses_universe_excluded_alphas
A compare shortlist must not silently swallow universe-excluded alphas.
agent/tests/factors/test_alpha_compare.py:355
Function
test_compare_groups_across_zoos
(monkeypatch, capsys)
agent/tests/factors/test_alpha_compare.py:214
Function
test_compare_loads_dotenv_before_compare
``alpha compare`` benches too, so it needs the same guard.
agent/tests/test_alpha_cli_dotenv.py:147
Function
test_compare_no_targets_errors
(monkeypatch, capsys)
agent/tests/factors/test_alpha_compare.py:268
Function
test_compare_post_accepts_and_registers_job
(monkeypatch)
agent/tests/test_alpha_compare_api.py:112
Function
test_compare_ranks_by_ir_descending
(monkeypatch, capsys)
agent/tests/factors/test_alpha_compare.py:178
Function
test_compare_rejects_malformed_alpha_id
()
agent/tests/test_alpha_compare_api.py:104
Function
test_compare_rejects_unknown_sort
()
agent/tests/test_alpha_compare_api.py:99
Function
test_compare_rejects_unknown_universe
()
agent/tests/test_alpha_compare_api.py:94
Function
test_compare_requires_at_least_two
(monkeypatch, capsys)
agent/tests/factors/test_alpha_compare.py:262
Function
test_compare_requires_two_ids
()
agent/tests/test_alpha_compare_api.py:84
Function
test_compare_unknown_id_is_skipped
(monkeypatch, capsys)
agent/tests/factors/test_alpha_compare.py:239
Function
test_compare_zoo_flag_filters_targets
(monkeypatch, capsys)
agent/tests/factors/test_alpha_compare.py:297
Function
test_compat_host_attr_fallback
host_attr should return fallback when attribute is missing.
agent/tests/test_api_infrastructure.py:84
Function
test_compat_host_attr_reads_api_server
host_attr should read attributes from the api_server module when present.
agent/tests/test_api_infrastructure.py:79
Function
test_compat_set_host_attr
set_host_attr should write attributes onto the api_server module.
agent/tests/test_api_infrastructure.py:89
Function
test_compatible_output_limit_uses_the_provider_wire_field
(provider_name, model, field)
agent/tests/test_llm_cost_accounting.py:257
Function
test_complete_13_by_13_matrix_binds_every_cell_to_its_row_symbol
()
agent/tests/test_grounding_blank_corner_matrix.py:33
Function
test_complete_datetime_takes_priority_over_date_and_time
()
agent/tests/test_generic_split_datetime.py:40
Function
test_complete_environment_is_selected
(monkeypatch, tmp_path)
agent/tests/test_longbridge_credentials.py:41
← previous
next →
16,201–16,300 of 26,887, ranked by callers