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_is_spa_html_route_runs_detail
()
agent/tests/test_api_infrastructure.py:194
Function
test_is_spa_html_route_runs_subpath_not_spa
()
agent/tests/test_api_infrastructure.py:199
Function
test_is_spa_html_route_unknown
()
agent/tests/test_api_infrastructure.py:208
Function
test_is_system_job_id_false_for_everything_else
(job_id: object)
agent/tests/scheduling/test_system_jobs.py:112
Function
test_is_system_job_id_true_for_prefix
(job_id: str)
agent/tests/scheduling/test_system_jobs.py:96
Function
test_is_us_equity
(code: str, expected: bool)
agent/tests/test_sina_loader.py:43
Function
test_is_valid_label_filters_noise
()
agent/tests/test_report_audit_tool.py:37
Function
test_is_valid_source_order_requires_exact_permutation
()
agent/tests/test_source_order_overrides.py:75
Function
test_iso_date_running_into_cjk_text_is_still_masked
The end-to-end gate no longer rejects a correct report over a glued date (#1122).
agent/tests/test_agent_grounding.py:1655
Function
test_iso_strings_and_mappings_are_accepted_like_dates
Normalisation is reused from the entity spine, not re-implemented.
agent/tests/quantlib/test_performance.py:326
Function
test_isolated_accepts_explicit_mark_price_fields
(price_field: str)
agent/tests/test_perpetual_risk.py:363
Method
test_isolated_atomic_liquidation_allows_other_symbol_to_continue
(self)
agent/tests/test_crypto_engine.py:1167
Function
test_isolated_liquidates_only_the_breached_position
()
agent/tests/test_perpetual_risk.py:285
Method
test_isolated_liquidation_closes_only_breached_position
(self)
agent/tests/test_crypto_engine.py:625
Method
test_isolated_liquidation_rejects_now_unfunded_addition
(self)
agent/tests/test_crypto_engine.py:1206
Method
test_isolated_reduction_keeps_funding_pnl_and_collateral_consistent
( self, )
agent/tests/test_crypto_engine.py:921
Function
test_isolated_rejects_missing_or_invalid_market_risk_frames
()
agent/tests/test_perpetual_risk.py:433
Method
test_issuer_cross_referenced_rows_are_labelled_and_kept_out_of_the_total
(self)
agent/tests/test_etf_holdings_tool.py:759
Method
test_issuer_normalized
(self, fsp)
agent/tests/test_fetch_sina_penalties.py:179
Method
test_issuer_with_fullwidth
(self, fsp)
agent/tests/test_fetch_sina_penalties.py:404
Method
test_it_is_present_even_with_no_benchmark
(self)
agent/tests/test_metrics_tracking_error.py:58
Method
test_item_shape_carries_every_evidence_field_plus_borderline
( self, tmp_path )
agent/tests/test_strategy_discovery_facade.py:470
Method
test_items
(self)
tools/test_ci_env_var_gate.py:111
Function
test_job_deleted_during_dispatch_is_not_resurrected
(tmp_path: Path)
agent/tests/test_scheduled_research_executor.py:419
Function
test_job_replaced_during_dispatch_is_not_overwritten
(tmp_path: Path)
agent/tests/test_scheduled_research_executor.py:437
Method
test_job_survives_the_real_store
(self, tmp_path: Path, slug: str)
agent/tests/test_research_playbooks.py:394
Function
test_job_with_invalid_persisted_schedule_fails_visibly_once
(tmp_path: Path)
agent/tests/test_scheduled_research_executor.py:702
Method
test_journal_with_path_queues_prompt
(self)
agent/tests/test_cli_interactive.py:496
Method
test_journal_without_path_prints_usage
(self)
agent/tests/test_cli_interactive.py:506
Method
test_jpy_pair_pip
JPY pairs have pip = 0.01.
agent/tests/test_forex_engine.py:171
Function
test_json_and_markdown_files_are_written
(tmp_path: Path)
agent/tests/test_run_card.py:87
Function
test_json_base_tokens
()
agent/tests/test_paper_trade_jcs.py:137
Function
test_json_envelope_discloses_horizon_and_exclusions
( capsys, monkeypatch: pytest.MonkeyPatch, _reg, _no_report )
agent/tests/test_alpha_bench_horizon.py:428
Function
test_json_envelope_still_parses_with_horizon
( capsys, monkeypatch: pytest.MonkeyPatch, _reg, _no_report )
agent/tests/test_alpha_bench_horizon.py:412
Method
test_json_flag_emits_machine_readable_envelope
( self, home: Path, run_dir: Path, capsys: pytest.CaptureFixture[str] )
agent/tests/test_cli_strategy_evidence.py:101
Method
test_json_list
(self, raw, expected)
agent/tests/test_prediction_market_tool.py:1006
Function
test_json_loads_non_string_input_returns_default
Non-string input (e.g. int from a misconfigured column) must not crash.
agent/tests/test_json_loads_guard.py:49
Method
test_json_output
( self, tmp_path: Path, capsys: pytest.CaptureFixture[str] )
agent/tests/test_cli_hypothesis.py:160
Method
test_json_output
( self, tmp_path: Path, capsys: pytest.CaptureFixture[str] )
agent/tests/test_cli_hypothesis.py:211
Method
test_json_output
( self, tmp_path: Path, capsys: pytest.CaptureFixture[str] )
agent/tests/test_cli_hypothesis.py:293
Method
test_json_roundtrip
Tuple fields round-trip through JSON serialization.
agent/tests/test_strategy_store.py:860
Function
test_json_safe_non_finite_becomes_none
()
agent/tests/test_market_data.py:229
Function
test_json_safe_numpy_scalar_unwrapped
()
agent/tests/test_market_data.py:239
Function
test_json_safe_plain_value_passthrough
()
agent/tests/test_market_data.py:245
Function
test_json_safe_timestamp_isoformat
()
agent/tests/test_market_data.py:235
Function
test_json_with_late_ok_key_is_a_known_heuristic_limitation
Documents a known, accepted limitation: the character-window heuristic only looks at the first 40/300 chars, matching the repository's own exi
agent/tests/test_swarm_output_contract.py:132
Method
test_jsonp_envelope_is_decoded
(self)
agent/tests/test_http_jsonp_fallback.py:50
Method
test_jsonp_enveloped_body_is_parsed_into_articles
(self)
agent/tests/test_stock_news_tool.py:273
Method
test_just_inside_boundary_is_aging_with_both_warnings
(self, tmp_path)
agent/tests/test_strategy_discovery_facade.py:1137
Method
test_k31_models_on_the_official_endpoint_receive_the_field
(self, model: str)
agent/tests/test_llm_reasoning_effort.py:336
Function
test_keep_list_does_not_endorse_rejections_hidden_by_the_feedback_cap
(tmp_path: Path)
agent/tests/test_grounding_release.py:2431
Function
test_kernel_rejects_the_removed_speculative_seams
()
agent/tests/scheduling/test_kernel.py:389
Method
test_key_gated_tools_are_covered_by_the_unavailable_tool_clause
Some preferred tools are absent unless a key is configured. ``get_macro_series`` needs ``FRED_API_KEY`` and ``iwencai_search`` needs
agent/tests/test_institutional_commands.py:388
Function
test_key_order_shuffle_is_invariant
()
agent/tests/test_paper_trade_jcs.py:82
Function
test_key_rate_duration_input_validation
()
agent/tests/quantlib/test_fixedincome.py:543
Function
test_key_rate_duration_sum_equals_modified_duration
(face, coupon, ytm, n_periods, freq, compounding)
agent/tests/quantlib/test_fixedincome.py:517
Function
test_keyed_deployment_disables_viewers_but_allows_bearer_schema
A configured key never creates a browser docs bootstrap deadlock.
agent/tests/test_security_auth_api.py:207
Function
test_keyring_is_not_a_core_install_dependency
An OS credential vault is only needed by users who install a plugin.
agent/tests/test_local_connections_hardening.py:60
Method
test_keyword_lookup_scans_the_paged_universe
(self)
agent/tests/test_etf_holdings_tool.py:985
Method
test_keyword_match
(self, fsp, text, expected)
agent/tests/test_fetch_sina_penalties.py:85
Method
test_keywords_participate_in_scoring
Keywords in frontmatter should contribute to retrieval score.
agent/tests/test_memory_gc.py:334
Method
test_keywords_truncated_to_five
More than 5 keywords should be truncated.
agent/tests/test_memory_lifecycle.py:144
Method
test_kimi_coding_uses_own_env_namespace
(self)
agent/tests/test_llm.py:70
Method
test_kimi_for_coding_temperature_forced_to_one
Regression: kimi-for-coding alias keeps the existing behavior.
agent/tests/test_llm.py:861
Method
test_kimi_for_coding_temperature_forced_to_one
(self)
agent/tests/test_llm.py:989
Function
test_kimi_inference_respects_custom_user_agent
Model name inference to moonshot should still use the override User-Agent.
agent/tests/test_provider_diagnostics.py:191
Method
test_kimi_k2_temperature_forced_to_one
Regression: kimi-k2.x keeps the existing forcing behavior.
agent/tests/test_llm.py:857
Method
test_kimi_k3_temperature_forced_to_one
kimi-k3 must be forced to 1.0 (API rejects other values).
agent/tests/test_llm.py:853
Function
test_kimi_user_agent_header_is_moonshot_only
Kimi whitelist headers should be scoped to Moonshot/Kimi.
agent/tests/test_provider_diagnostics.py:120
Function
test_kimi_user_agent_respects_moonshot_user_agent_env_var
MOONSHOT_USER_AGENT should override the default User-Agent header.
agent/tests/test_provider_diagnostics.py:157
Function
test_kis_base_url_differs_by_environment
()
agent/tests/test_sdk_connectors_kis.py:55
Function
test_kis_cancel_order_errors_clearly_when_branch_cannot_be_found
(monkeypatch)
agent/tests/test_sdk_connectors_kis.py:219
Function
test_kis_cancel_order_looks_up_branch_when_omitted
(monkeypatch)
agent/tests/test_sdk_connectors_kis.py:199
Function
test_kis_cancel_order_rejects_a_fractional_or_negative_quantity
()
agent/tests/test_sdk_connectors_kis.py:262
Function
test_kis_cancel_order_rejects_fractional_sub_share_quantity
0.5 must not silently truncate to 0 and flip into a full-quantity cancel.
agent/tests/test_sdk_connectors_kis.py:192
Function
test_kis_get_historical_bars_limit_zero_returns_no_bars
(monkeypatch)
agent/tests/test_sdk_connectors_kis.py:331
Function
test_kis_get_paginated_follows_tr_cont_until_the_final_page
A 'more data' tr_cont must fetch the next page and merge its rows; a larger account's positions must not be cut off after the first page.
agent/tests/test_sdk_connectors_kis.py:235
Function
test_kis_get_paginated_refuses_to_return_a_truncated_result
A response that never stops saying "more" must not come back as a complete-looking short list once the page cap is reached.
agent/tests/test_sdk_connectors_kis.py:253
Function
test_kis_invalid_profile_rejected
()
agent/tests/test_sdk_connectors_kis.py:83
Function
test_kis_live_profile_is_readonly_broker_sdk
()
agent/tests/test_sdk_connectors_kis.py:34
Function
test_kis_live_readonly_config_never_reaches_the_paper_order_call
The structural guard must stop a live-readonly config before any request is built -- so it can never resolve to the live host/TR_ID here.
agent/tests/test_sdk_connectors_kis.py:148
Function
test_kis_open_orders_dedupes_an_order_reported_by_two_venues
(monkeypatch)
agent/tests/test_sdk_connectors_kis.py:399
Function
test_kis_open_orders_merges_disjoint_exchange_buckets
daily-ccld's EXCG_ID_DVSN_CD buckets do not overlap. A live account returned 6 rows for KRX and 33 for SOR with zero overlap, so asking only
agent/tests/test_sdk_connectors_kis.py:370
Function
test_kis_open_orders_reports_an_incomplete_venue_inquiry
Known rows cannot authorize reporting an incomplete inquiry as complete.
agent/tests/test_sdk_connectors_kis.py:407
Function
test_kis_order_methods_refuse_live_config_before_anything_else
()
agent/tests/test_sdk_connectors_kis.py:227
Function
test_kis_order_ops_classified_write
()
agent/tests/test_sdk_connectors_kis.py:363
Function
test_kis_order_tr_id_differs_by_environment_and_side
()
agent/tests/test_sdk_connectors_kis.py:64
Function
test_kis_order_tr_ids_are_the_official_codes
Pinned as literals from KIS's official open-trading-api examples: a test that compares a TR_ID table with itself cannot notice a typo in it.
agent/tests/test_sdk_connectors_kis.py:77
Function
test_kis_paper_sell_and_cancel_send_the_paper_tr_id_to_the_paper_host
(monkeypatch)
agent/tests/test_sdk_connectors_kis.py:130
Function
test_kis_paper_trade_profile_allows_order_placement
()
agent/tests/test_sdk_connectors_kis.py:43
Function
test_kis_place_order_rejects_fractional_quantity_and_price
int() truncation must not silently turn 2.5 shares into an ok 2-share order, or drop the fraction of a limit price.
agent/tests/test_sdk_connectors_kis.py:180
Function
test_kis_place_order_validates_before_any_request
()
agent/tests/test_sdk_connectors_kis.py:167
Function
test_kis_profile_override_is_not_forwarded
A caller-supplied override must never flip paper -> live: only the profile's own declared config may set ``profile`` (see the note beside ``_O
agent/tests/test_sdk_connectors_kis.py:88
Function
test_kis_redacts_app_secret
()
agent/tests/test_sdk_connectors_kis.py:347
Function
test_kis_requests_pin_host_and_tr_id_by_environment
The order path must hit the real per-environment host with the matching TR_ID -- pinned directly, not inferred from other passing tests.
agent/tests/test_sdk_connectors_kis.py:110
Function
test_kis_sdk_profiles_registered
()
agent/tests/test_sdk_connectors_kis.py:29
Function
test_kis_service_unconfigured
(monkeypatch, tmp_path)
agent/tests/test_sdk_connectors_kis.py:355
Function
test_kis_today_is_the_korean_date_not_the_machine_date
(monkeypatch)
agent/tests/test_sdk_connectors_kis.py:269
Function
test_kis_token_cache_is_owner_only_even_over_an_older_file
(monkeypatch, tmp_path)
agent/tests/test_sdk_connectors_kis.py:318
Function
test_kis_token_error_does_not_echo_the_token_response
(monkeypatch, tmp_path)
agent/tests/test_sdk_connectors_kis.py:308
← previous
next →
19,801–19,900 of 26,887, ranked by callers