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_document_unit_restatement_does_not_invent_value_currency_or_ratio
( tmp_path: Path, written: str, )
agent/tests/test_grounding_document_figures.py:209
Function
test_document_unit_restatement_keeps_exact_source_binding
(tmp_path: Path)
agent/tests/test_grounding_document_figures.py:220
Method
test_document_url_drops_cik_padding_and_accession_dashes
(self)
agent/tests/test_etf_holdings_tool.py:478
Function
test_documented_direct_deepseek_pair_matches_registry
()
agent/tests/test_llm_provider_defaults.py:236
Function
test_docx_paragraphs_and_tables
(tmp_path: Path)
agent/tests/test_doc_reader.py:99
Method
test_does_not_forward_fill_missing_closes
(self)
agent/tests/test_correlation.py:302
Method
test_does_not_forward_fill_missing_prices
(self)
agent/tests/test_regime.py:133
Method
test_does_not_require_auth
(self)
agent/tests/test_yfinance_crypto.py:65
Method
test_does_not_touch_non_tool
(self)
agent/tests/test_loop_helpers.py:109
Function
test_dollar_stop_and_usage_idempotence
(tmp_path)
agent/tests/test_live_decision_budget.py:47
Function
test_dot_broker_cannot_clear_the_global_halt
(live_runtime: Path, broker: str)
agent/tests/test_halt.py:93
Method
test_dotted_callback_identifier_is_decoded
(self)
agent/tests/test_http_jsonp_fallback.py:54
Method
test_dotted_callback_identifier_is_stripped
(self)
agent/tests/test_eastmoney_client.py:180
Method
test_dotted_class_share_groups_with_other_us_equities
(self)
agent/tests/test_market_detection.py:211
Method
test_dotted_class_share_source_and_currency
Dotted class shares must route to USD + yfinance, not CNY/tushare.
agent/tests/test_market_detection.py:205
Function
test_dotted_index_does_not_touch_unindexed_or_scalar_refs
(tmp_path: Path)
agent/tests/test_grounding_indexed_field_refs.py:124
Function
test_dotted_index_ref_validates_the_same_elements
(tmp_path: Path)
agent/tests/test_grounding_indexed_field_refs.py:62
Function
test_double_bottom_detected
()
agent/tests/test_pattern_tool.py:186
Function
test_double_failure_latch_write_does_not_escape_run_once
( live_root: Path, monkeypatch: pytest.MonkeyPatch )
agent/tests/test_sweep_latch.py:345
Function
test_double_prime_ignores_revenue_even_when_supplied
()
agent/tests/quantlib/test_credit.py:94
Function
test_double_prime_variant_drops_x5_entirely
()
agent/tests/quantlib/test_credit.py:81
Function
test_double_run_produces_identical_bytes_and_sha
(market: str)
agent/tests/test_paper_trade_determinism.py:213
Function
test_double_stream_failure_fails_run
Two consecutive transient failures → failed run, no third attempt.
agent/tests/test_agent_loop_stream_retry.py:177
Function
test_double_stream_failure_fails_worker
Two consecutive ProviderStreamErrors → existing failure path (no 3rd try).
agent/tests/test_swarm_worker_stream_retry.py:150
Function
test_double_top_detected
()
agent/tests/test_pattern_tool.py:180
Function
test_double_top_ignores_a_flat_series
()
agent/tests/test_pattern_tool.py:68
Function
test_double_top_ignores_a_single_flat_top
()
agent/tests/test_pattern_tool.py:63
Function
test_double_top_negative_prices_requires_abs_avg
Prove that double_top_bottom does not falsely flag divergent negative peaks as a double top.
agent/tests/test_pattern_tool_double_top_abs_avg.py:14
Function
test_dow_seven_still_rejected_by_kernel_and_legacy_path
()
agent/tests/scheduling/test_triggers_equivalence.py:198
Function
test_downgrade_protection_no_pip
A lower PyPI version must never trigger an install (covers downgrade guard).
agent/tests/test_cli_update.py:196
Function
test_download_history_requests_auto_adjust
(monkeypatch)
agent/tests/test_yfinance_auto_adjust.py:8
Function
test_downsample_caps_points_and_pins_first_last
(run_dir: Path, monkeypatch)
agent/tests/test_run_artifact_tool.py:98
Function
test_downsample_returns_everything_when_total_fits
(run_dir: Path)
agent/tests/test_run_artifact_tool.py:119
Function
test_downside_deviation_counts_equal_losses
()
agent/tests/test_risk_xray.py:551
Function
test_downside_deviation_defined_for_a_single_loss
()
agent/tests/test_risk_xray.py:563
Function
test_downside_deviation_is_zero_without_losses
()
agent/tests/test_risk_xray.py:572
Method
test_dp_charge_applied_on_sell_only
(self)
agent/tests/test_india_equity_engine.py:159
Function
test_dragon_tiger_maps_top_list_and_top_inst
()
agent/tests/test_tushare_fallbacks.py:50
Method
test_draining_preserves_shared_queue_identity_and_future_delivery
(self)
agent/tests/test_background_scope_isolation.py:104
Function
test_drawdown_distribution_analysis_multiple_episodes
()
agent/tests/quantlib/test_risk.py:570
Method
test_drawdown_includes_first_bar_loss_from_initial_cash
The first observed equity point is not automatically a new peak.
agent/tests/test_metrics.py:466
Method
test_drawdown_remains_defined_after_equity_crosses_zero
A positive high-water mark keeps zero-crossing losses meaningful.
agent/tests/test_metrics.py:475
Function
test_drawdown_remains_negative_after_wealth_crosses_zero
()
agent/tests/test_risk_xray.py:134
Function
test_drawdown_series_exact_fractions
()
agent/tests/quantlib/test_risk.py:547
Function
test_drawdown_uses_initial_wealth_before_first_return
()
agent/tests/test_risk_xray.py:125
Function
test_drift_evidence_preserves_numeric_structural_and_symbol_findings
()
agent/tests/test_binance_shadow_evidence.py:172
Function
test_drive_runner_awaits_an_async_run_loop_and_stops_the_scheduler
An ``async def run_loop`` is awaited, and its scheduler is still stopped.
agent/tests/test_api_live_runtime.py:522
Method
test_dropped_ids_are_disclosed_not_silent
A truncated id list must say so, or the caller assumes full coverage.
agent/tests/test_prediction_market_tool.py:285
Method
test_dropped_rows_are_surfaced_in_the_answer_not_swallowed
(self)
agent/tests/test_etf_holdings_tool.py:841
Method
test_drops_bars_with_null_ohlc
(self)
agent/tests/test_yahoo_loader.py:222
Method
test_drops_nan_ohlc_rows
(self)
agent/tests/test_futu_loader.py:161
Method
test_dry_run_stores_nothing
( self, cli_store: ScheduledResearchJobStore, capsys: pytest.CaptureFixture[str] )
agent/tests/test_playbooks_surface.py:540
Function
test_duckdb_wal_revision_participates_in_source_identity
(tmp_path, monkeypatch)
agent/tests/test_local_loader_source_revision.py:95
Function
test_due_internal_job_calls_run_sync_exactly_once
QA happy: due tick -> supervisor -> to_thread -> run_sync once, COMPLETED.
agent/tests/test_br_data.py:518
Function
test_due_jobs_ordered_ascending
()
agent/tests/test_runtime_scheduler.py:59
Function
test_due_now_at_wrapper_delegates
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_runtime_triggers.py:333
Function
test_due_now_market_delegates_to_session
()
agent/tests/test_runtime_triggers.py:152
Function
test_due_tick_runs_consolidation_once_and_archives
QA happy, end-to-end through the PRODUCTION spec + registry entry and the T5 supervisor: the due internal job archives a qualified memory file
agent/tests/scheduling/test_memory_consolidation_job.py:325
Function
test_dumps_payload_is_sorted_compact_and_deterministic
()
agent/tests/test_paper_trade_schema.py:547
Function
test_dumps_payload_keeps_utf8_raw_and_refuses_non_finite
()
agent/tests/test_paper_trade_schema.py:554
Function
test_dunders_are_not_callable
(tool)
agent/tests/test_quantlib_tool.py:52
Method
test_duplicate_add_does_not_create_second_file
Blocked duplicate does not write a second .md file.
agent/tests/memory/test_memory_dedup.py:130
Method
test_duplicate_add_returns_none
Second add() with same name+desc within window returns None.
agent/tests/memory/test_memory_dedup.py:119
Function
test_duplicate_aliases_rejected_before_any_fetch
(monkeypatch)
agent/tests/test_analysis_reliability.py:91
Function
test_duplicate_items_are_deduplicated
()
agent/tests/test_rsshub_events_provider.py:113
Function
test_duplicate_label_keeps_the_last_row
()
agent/tests/test_paper_trade_5m_session.py:313
Function
test_duplicate_matching_headers_fail_closed
()
agent/tests/test_email_authentication_results.py:223
Function
test_duplicate_peer_names_raise
()
agent/tests/quantlib/valuation/test_comps.py:413
Function
test_duplicate_start_is_a_noop_with_exactly_one_kernel_task
(tmp_path: Path)
agent/tests/test_scheduling_lifespan_owner.py:115
Method
test_duplicate_timestamps_keep_last_page_value
(self, loader, mock_ctx)
agent/tests/test_futu_loader.py:332
Function
test_duplicate_valuation_dates_are_rejected
Two marks for one day have no defensible ordering.
agent/tests/quantlib/test_performance.py:306
Method
test_duplicated_dedupes
(self)
agent/tests/test_kimi_reasoning_content.py:117
Function
test_dv01_matches_a_one_basis_point_reprice
(coupon, ytm, n, freq)
agent/tests/quantlib/test_fixedincome.py:160
Function
test_dv01_matches_a_symmetric_reprice_much_more_tightly
()
agent/tests/quantlib/test_fixedincome.py:178
Function
test_dv01_rejects_zero_face
()
agent/tests/quantlib/test_fixedincome.py:192
Function
test_dv01_scales_linearly_in_par_amount
()
agent/tests/quantlib/test_fixedincome.py:186
Function
test_e2e_content_filter_pipeline
2/5 iterations hit content_filter (40 %) -> full pipeline verified. Asserts: 1. Run completes successfully. 2. ``content_filter_warni
agent/tests/test_content_filter_e2e.py:162
Function
test_e2e_no_content_filter_clean_run
0/5 iterations hit content_filter -> no warnings, no trace entries. Asserts: 1. Run completes successfully. 2. No ``content_filter_wa
agent/tests/test_content_filter_e2e.py:201
Function
test_each_cause_records_exact_reason
(reason)
agent/tests/test_plan_rejected.py:106
Function
test_each_limit_breach
( intent_kwargs, mandate_kwargs, positions, daily_count, expect_limit, expect_kind )
agent/tests/test_mandate_enforcement.py:205
Method
test_each_point_carries_its_span_and_kind
(self)
agent/tests/test_sec_period_frames.py:235
Function
test_each_profile_keeps_its_own_permissions_and_transport
()
agent/tests/test_capability_matrix.py:42
Function
test_eager_escape_hatch_and_small_registries_stay_unchanged
(monkeypatch)
agent/tests/test_deferred_tool_loading.py:92
Function
test_earlier_task_artifacts_survive_a_later_task_on_the_same_agent
agent_artifact_dir is keyed by (agent_id, task_id): a preset where one agent handles two sequential tasks (task-2 depends_on task-1) must give
agent/tests/test_swarm_retry_artifact_isolation.py:303
Function
test_earliest_next_run
()
agent/tests/test_runtime_scheduler.py:54
Function
test_early_close_table_is_internally_consistent
()
agent/tests/test_runtime_triggers.py:105
Function
test_early_exit_trade_not_also_counted_as_overtrading
()
agent/tests/test_shadow_attribution.py:108
Method
test_earnings_bridge_reconciles
Recompute the ``/earnings`` walkthrough; the steps must sum to the delta. Guards the documented arithmetic from rotting: consensus EPS 1.35 -
agent/tests/test_institutional_commands.py:413
Function
test_earnings_growth_is_sign_safe_with_negative_prior_year
()
agent/tests/test_fundamental_schema.py:138
Function
test_eastmoney_and_akshare_a_share_are_additive_too
The same endpoint family: eastmoney fqt=1 has tencent's five offsets on 600519.SH, and akshare's stock_zh_a_hist(adjust="qfq") calls it.
agent/tests/test_price_caliber.py:108
Method
test_eastmoney_converts_and_stamps
(self, monkeypatch)
agent/tests/test_additive_conversion.py:188
Method
test_eastmoney_empty_rows_also_falls_back
(self)
agent/tests/test_southbound_tool.py:149
Method
test_eastmoney_failure_falls_back_to_hkex_snapshot
(self)
agent/tests/test_southbound_tool.py:125
Method
test_eastmoney_http_failure_envelope
(self)
agent/tests/test_stock_news_tool.py:223
Function
test_eastmoney_market_zero_splits_beijing_from_shenzhen
(quote_id: str, expected: str)
agent/tests/test_symbol_search_tool.py:1304
Method
test_eastmoney_report_rejection_falls_back_with_reason
(self)
agent/tests/test_southbound_tool.py:162
Method
test_eastmoney_skips_etf_codes
(self, monkeypatch)
agent/tests/test_additive_conversion.py:223
Function
test_echoed_form_patch_does_not_discard_url_userinfo
Saving an echoed form must not strip a stored URL's embedded credentials. ``GET /channels/config`` returns non-secret URL values with the userinf
agent/tests/test_channels_config_api.py:550
Function
test_edf_reference_band_rejects_a_non_finite_input
()
agent/tests/quantlib/test_credit.py:350
Function
test_edf_reference_bands_follow_the_published_table
(dd, expected)
agent/tests/quantlib/test_credit.py:346
← previous
next →
17,301–17,400 of 26,887, ranked by callers