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_basic_backtest_runs
Full backtest with synthetic data completes without error.
agent/tests/test_signal_alignment_perf.py:511
Function
test_basic_count_does_not_fill_missing_diluted_shares
(monkeypatch)
agent/tests/test_fundamentals_shares_diluted_alias.py:65
Method
test_basic_equivalence
Vectorized _align() matches reference on clean synthetic data.
agent/tests/test_signal_alignment_perf.py:151
Method
test_basic_idf
IDF scores are higher for rare terms.
agent/tests/memory/test_semantic_links.py:191
Method
test_basic_search
(self, tmp_path: Path)
agent/tests/test_persistent_memory.py:391
Method
test_basic_shape_and_dtypes
(self)
agent/tests/test_yahoo_loader.py:196
Method
test_basic_words
(self)
agent/tests/test_session_search.py:177
Function
test_begin_is_atomic_across_connections
(tmp_path)
agent/tests/test_live_decision_budget.py:99
Function
test_behavior_compares_activity_within_currencies
()
agent/tests/test_trade_journal_currency_pools.py:179
Function
test_behavior_with_only_open_positions_keeps_currency_activity_separate
()
agent/tests/test_trade_journal_currency_pools.py:193
Method
test_beijing_uses_market_0
(self)
agent/tests/test_eastmoney_client.py:31
Method
test_below_intrinsic_raises
(self)
agent/tests/quantlib/test_options.py:242
Function
test_below_the_cap_snapshot_is_used_as_is
()
agent/tests/test_industry_loader.py:267
Method
test_below_the_limit_the_request_is_echoed
(self, monkeypatch)
agent/tests/test_fred_macro_tool.py:275
Function
test_below_threshold_only_selection_keeps_ocr_refusal
( tmp_path, texts, pages, threshold )
agent/tests/test_doc_reader_native_fallback.py:83
Function
test_bench_history_filters_by_type_before_limit
(backend: Any)
agent/tests/test_backtest_records_bench.py:404
Method
test_bench_history_limit
Bench history respects limit.
agent/tests/test_strategy_store.py:794
Method
test_bench_history_ordering
Bench history returned newest-first.
agent/tests/test_strategy_store.py:782
Function
test_bench_loads_dotenv_before_runner
The token must be loaded before the bench runner reads the universe.
agent/tests/test_alpha_cli_dotenv.py:130
Function
test_bench_reports_a_multiple_testing_block
(monkeypatch)
agent/tests/test_bench_multiple_testing.py:50
Method
test_bench_result_creation
(self)
agent/tests/test_strategy_store.py:121
Method
test_bench_result_with_category
Bench result with BenchCategory enum round-trips.
agent/tests/test_strategy_store.py:804
Function
test_bench_runner_single_ic_is_explicitly_skipped
()
agent/tests/test_bench_single_ic_observation.py:28
Method
test_benchmark_comparison
(self)
agent/tests/test_metrics.py:406
Method
test_benchmark_gap_on_the_anchor_bar_does_not_sink_the_run
( self, tmp_path )
agent/tests/test_strategy_discovery_harness.py:578
Method
test_benchmark_is_read_from_benchmark_equity
(self, tmp_path)
agent/tests/test_strategy_discovery_harness.py:492
Function
test_benchmark_missing_exposures_are_also_reported
()
agent/tests/test_style_missing_exposures_regressions.py:18
Function
test_benchmark_only_sector_charges_allocation_and_still_ties_out
Not owning a benchmark sector is pure allocation, and the total still ties out.
agent/tests/quantlib/test_attribution.py:209
Method
test_benchmark_return_excludes_the_warmup_window
(self, tmp_path)
agent/tests/test_warmup_window.py:308
Method
test_benchmark_windows_are_unambiguous_for_both_regime_models
( self, tmp_path )
agent/tests/test_strategy_discovery_harness.py:408
Function
test_benford_all_same_leading_digit_fails
()
agent/tests/test_financial_rigor_tool.py:198
Function
test_benford_check_handles_infinite_values
Prove that benford_check safely skips inf/-inf values without raising OverflowError.
agent/tests/test_financial_rigor_benford_inf.py:10
Function
test_benford_conforming_sample_passes
()
agent/tests/test_financial_rigor_tool.py:190
Function
test_benford_exact_round_values_keep_their_true_leading_digit
()
agent/tests/test_financial_rigor_tool.py:204
Function
test_benford_ignores_zero_and_nonfinite_values
()
agent/tests/test_financial_rigor_tool.py:368
Function
test_benford_preserves_leading_digit_without_rounding
(value, digit)
agent/tests/test_financial_rigor_tool.py:360
Function
test_benford_unreliable_below_50_samples
()
agent/tests/test_financial_rigor_tool.py:174
Function
test_best_summary_falls_back
_best_summary returns fallback when no assistant messages qualify.
agent/tests/test_swarm_worker_report.py:44
Function
test_best_summary_picks_longest_assistant_text
_best_summary returns the longest assistant message over 100 chars.
agent/tests/test_swarm_worker_report.py:33
Function
test_beta_is_the_ols_slope_over_latest_close
(window: int)
agent/tests/factors/test_qlib158_regression.py:26
Function
test_between_accepts_open_ends_and_iso_strings
()
agent/tests/test_entities_spine.py:267
Function
test_between_is_inclusive_on_both_ends
()
agent/tests/test_entities_spine.py:261
Function
test_between_rejects_a_reversed_window
()
agent/tests/test_entities_spine.py:274
Function
test_bh_adjusted_p_values_are_monotone_in_the_raw_ones
()
agent/tests/quantlib/test_multipletesting.py:227
Function
test_bh_finds_the_planted_signals
()
agent/tests/quantlib/test_multipletesting.py:210
Function
test_bh_is_less_strict_than_bonferroni
()
agent/tests/quantlib/test_multipletesting.py:218
Function
test_bh_rejection_set_is_exactly_the_step_up_rule
()
agent/tests/quantlib/test_multipletesting.py:244
Function
test_bh_rejects_a_bad_fdr
()
agent/tests/quantlib/test_multipletesting.py:259
Function
test_bh_rejects_impossible_p_values
(bad)
agent/tests/quantlib/test_multipletesting.py:254
Function
test_bh_rejects_nothing_when_every_null_is_true
()
agent/tests/quantlib/test_multipletesting.py:203
Function
test_bh_results_come_back_in_the_callers_order
()
agent/tests/quantlib/test_multipletesting.py:238
Function
test_bigram_only_snippet_retains_highlights_and_truncation
()
agent/tests/memory/test_search_index.py:310
Function
test_binance_account_read_resyncs_once_when_timestamp_is_ahead
(monkeypatch)
agent/tests/test_sdk_connectors.py:808
Function
test_binance_assert_host_consistent_profiles_pass
Host property is the guard: paper→testnet host, live→api.binance.com. The host is derived from the profile (paper→``testnet_host``, live→``ap
agent/tests/test_sdk_connectors.py:993
Function
test_binance_classification
()
agent/tests/test_sdk_connectors.py:612
Function
test_binance_clock_retry_does_not_repeat_other_errors
()
agent/tests/test_sdk_connectors.py:839
Function
test_binance_clock_retry_stops_after_second_rejection
()
agent/tests/test_sdk_connectors.py:856
Function
test_binance_exchange_adjusts_for_server_time
(monkeypatch)
agent/tests/test_sdk_connectors.py:785
Function
test_binance_loader_canonical_frame_uses_shared_contract
(monkeypatch)
agent/tests/test_binance_fallback.py:42
Method
test_binance_pair_lookup_failure_rejects_yahoo_near_match
A failed exact-pair lookup must not fall back to a different asset.
agent/tests/test_symbol_search_tool.py:427
Function
test_binance_pair_resolution_authorizes_crypto_consumers
Issue #1234: an exact connector pair must survive unrelated Yahoo hits.
agent/tests/test_agent_grounding.py:657
Function
test_binance_positions_replace_ld_wrappers_with_simple_earn
(monkeypatch)
agent/tests/test_sdk_connectors.py:756
Function
test_binance_positions_resyncs_simple_earn_read
(monkeypatch)
agent/tests/test_sdk_connectors.py:880
Function
test_binance_quote_uses_public_client_without_credentials
(monkeypatch)
agent/tests/test_sdk_connectors.py:619
Function
test_binance_redacts_secrets
()
agent/tests/test_sdk_connectors.py:985
Function
test_binance_restriction_is_distinct_from_other_failures
()
agent/tests/test_portfolio_cash_and_error_details.py:46
Function
test_binance_search_instruments_does_not_guess_prose
(monkeypatch)
agent/tests/test_sdk_connectors.py:695
Function
test_binance_search_instruments_resolves_exact_active_spot_pair
(monkeypatch)
agent/tests/test_sdk_connectors.py:645
Function
test_binance_service_unconfigured
(monkeypatch, tmp_path)
agent/tests/test_sdk_connectors.py:749
Function
test_binance_testnet_host_mapping
()
agent/tests/test_sdk_connectors.py:605
Method
test_binary_garbage_equity_returns_empty_without_raising
( self, tmp_path )
agent/tests/test_strategy_discovery_harness.py:693
Method
test_binary_garbage_trades_returns_empty_without_raising
( self, tmp_path )
agent/tests/test_strategy_discovery_harness.py:683
Function
test_bj_5m_is_refused_until_the_leg_is_measured
()
agent/tests/test_paper_trade_5m_scope.py:184
Method
test_blank_code_rejected
(self)
agent/tests/test_financial_statements_tool.py:340
Method
test_blank_code_rejected
(self)
agent/tests/test_sector_tool.py:154
Function
test_blank_company_name_rejected
()
agent/tests/quantlib/valuation/test_comps.py:443
Function
test_blank_dependency_bar_yields_all_nan
(registry: Registry, alpha_id: str)
agent/tests/factors/test_fundamental_ind_neutral_samples.py:183
Function
test_blank_dependency_bar_yields_all_nan
Blanking a declared val: dependency on one bar must NaN that whole bar. The registry masks output wherever a declared dependency is missing (
agent/tests/factors/test_fundamental_valuation_samples.py:175
Function
test_blank_dependency_bar_yields_all_nan
Blanking a declared dependency on one bar must NaN that whole bar. The registry masks output wherever a declared dependency is missing (#1377
agent/tests/factors/test_fundamental_expansion_samples.py:193
Method
test_blank_is_cfd
(self)
agent/tests/test_mt5_connector.py:336
Function
test_blank_optional_fields_are_none_rather_than_zero
()
agent/tests/test_extraetf_reader.py:210
Method
test_blank_override_falls_back_to_default
(self, tmp_path: Path)
agent/tests/test_research_playbooks.py:317
Function
test_blank_pdf_still_requires_ocr
(tmp_path)
agent/tests/test_doc_reader_native_fallback.py:104
Method
test_blank_returns_none
(self, tmp_path: Path)
agent/tests/test_cli_memory.py:51
Function
test_blank_run_dir_falls_back_to_the_workspace
(workspace: Path)
agent/tests/test_swarm_tool_run_dir.py:95
Function
test_blank_session_id_is_rejected
(tmp_path: Path)
agent/tests/test_goal_store.py:129
Method
test_blank_stays_blank
(self)
agent/tests/test_mt5_connector.py:245
Method
test_block_absent_when_tools_missing
(self, builder_factory)
agent/tests/test_strategy_discovery_routing.py:126
Method
test_block_empty_on_empty_registry
(self)
agent/tests/test_strategy_discovery_guard.py:112
Method
test_block_empty_when_any_tool_missing
(self)
agent/tests/test_strategy_discovery_guard.py:103
Method
test_block_expiration_mismatch_is_an_error
(self)
agent/tests/test_options_chain_tool.py:223
Method
test_block_present_when_all_tools_registered
(self, builder_factory)
agent/tests/test_strategy_discovery_routing.py:111
Method
test_block_present_with_all_tools
(self)
agent/tests/test_strategy_discovery_guard.py:94
Function
test_block_trades_reports_a_rejection_instead_of_zero_deals
()
agent/tests/test_eastmoney_datacenter_rejection.py:56
Function
test_block_trades_still_reads_an_empty_window_as_zero_deals
()
agent/tests/test_eastmoney_datacenter_rejection.py:63
Function
test_block_with_metadata_is_kept
()
agent/tests/test_mcp_result_dedup.py:198
Function
test_blocked_bash_is_fed_back_and_allowed_bash_is_rewritten
(fake_cli)
agent/tests/test_claude_cli_tool_policy.py:132
Function
test_blocked_downstream_emits_task_blocked_event
Blocked downstream tasks must emit task_blocked, not task_started.
agent/tests/test_swarm_dag_gating.py:99
Function
test_blocked_send_is_bounded_and_discards_connection
()
agent/tests/test_baostock_socket_deadline.py:357
Function
test_blocked_short_cover_retains_position_until_a_fillable_bar
Run the actual open/close path so a rejected cover cannot book a trade.
agent/tests/test_india_close_direction.py:79
← previous
next →
15,401–15,500 of 26,887, ranked by callers