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_complete_equity_retains_sharpe_calculation
()
agent/tests/test_validation_missing_equity.py:59
Function
test_complete_evidence_is_deterministic_and_never_claims_engine_validation
()
agent/tests/test_binance_shadow_evidence.py:128
Function
test_complete_goal_with_verified_evidence
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
agent/tests/test_goal_store.py:310
Function
test_complete_isolated_evidence_includes_position_collateral
()
agent/tests/test_binance_shadow_evidence.py:213
Function
test_complete_json_and_every_readable_part
(tmp_path)
agent/tests/test_result_artifacts.py:42
Function
test_complete_json_with_invalid_schema_is_not_a_partial_tail
(tmp_path)
agent/tests/test_swarm_events_partial_tail.py:56
Function
test_complete_provider_usage_can_fail_token_budget
( harness_case: HarnessCase, artifact_dir: Path, )
agent/tests/harness_eval/test_runner.py:162
Function
test_complete_runtime_file_is_fallback
(monkeypatch, tmp_path)
agent/tests/test_longbridge_credentials.py:58
Function
test_complete_series_and_missing_edges_keep_the_same_transitions
()
agent/tests/quantlib/test_var_backtest_missing_transitions.py:46
Function
test_complete_snapshot_with_unsupported_provenance_is_rejected
( changes: dict[str, object], detail: str, )
agent/tests/test_binance_shadow_evidence.py:239
Function
test_complete_synthetic_bundle_passes_observable_assertions
( harness_case: HarnessCase, artifact_dir: Path, )
agent/tests/harness_eval/test_runner.py:18
Function
test_complete_unterminated_event_is_read
(tmp_path)
agent/tests/test_swarm_events_partial_tail.py:63
Method
test_complete_window_returns_frame
(self, monkeypatch)
agent/tests/test_tickerall_loader.py:352
Function
test_completed_attempt_tool_trail_round_trips_through_history_endpoint
( tmp_path: Path, monkeypatch, )
agent/tests/test_session_tool_trail.py:38
Function
test_completed_bucket_and_partial_tail_are_scale_invariant
(scale: float)
agent/tests/quantlib/test_vpin_volume_scale.py:21
Function
test_completed_event_exposes_codex_response_model
()
agent/tests/test_openai_codex_usage.py:62
Function
test_completed_event_exposes_codex_token_usage
()
agent/tests/test_openai_codex_usage.py:6
Function
test_completed_event_passes_cached_and_reasoning_tokens
()
agent/tests/test_openai_codex_usage.py:32
Function
test_completed_event_without_usage_stays_unreported
()
agent/tests/test_openai_codex_usage.py:109
Function
test_completed_exit_carries_real_cache_values_and_provider_label
(tmp_path)
agent/tests/test_swarm_cache_source.py:339
Function
test_completed_reply_and_terminal_event_carry_attempt_timing
History hydration needs the attempt's real start: the first tool call is only a lower bound (the model thinks before it reaches for a tool, and a
agent/tests/test_session_service_lifecycle.py:402
Function
test_completed_reply_persists_runtime_identity_and_elapsed_time
( monkeypatch, tmp_path: Path, )
agent/tests/test_session_reply_runtime_metadata.py:20
Function
test_completed_run_persists_the_message_log
A worker that completes must leave a message log, not only a summary.
agent/tests/test_swarm_worker_message_log.py:132
Method
test_completer_yields_connector_group
(self)
agent/tests/test_cli_runtime.py:428
Method
test_completer_yields_them
(self)
agent/tests/test_institutional_commands.py:167
Function
test_completion_allows_mixed_verified_and_historical_evidence
Audit rows may cite old evidence as long as each criterion has verified evidence.
agent/tests/test_goal_store.py:358
Function
test_completion_callback_keeps_originating_attempt
(manager)
agent/tests/test_background_host_lifecycle.py:226
Method
test_completion_notification_reaches_only_its_own_owner
(self)
agent/tests/test_background_scope_isolation.py:119
Function
test_completion_rejects_caveated_result_without_verified_evidence
(tmp_path: Path)
agent/tests/test_goal_store.py:235
Function
test_completion_rejects_not_applicable_without_acceptance_notes
(tmp_path: Path)
agent/tests/test_goal_store.py:261
Function
test_completion_requires_verified_evidence_id
(tmp_path: Path)
agent/tests/test_goal_store.py:209
Method
test_compliant_group_untouched
(self)
agent/tests/test_constraints.py:91
Method
test_compliant_user_agent_sent
(self)
agent/tests/test_sec_edgar_client.py:150
Function
test_components_are_the_five_ratios
()
agent/tests/quantlib/test_credit.py:102
Method
test_composite_1x_long_survives
(self)
agent/tests/test_market_hooks_liquidation.py:116
Method
test_composite_1x_short_liquidated
(self)
agent/tests/test_market_hooks_liquidation.py:97
Function
test_composite_builds_index_rule_engine
A mixed book containing an index gets an index sub-engine, not a drop.
agent/tests/test_market_data.py:134
Method
test_composite_delegates_symbol_leverage
(self)
agent/tests/test_china_futures_engine.py:413
Function
test_composite_includes_config_read_by_its_actual_subengines
()
agent/tests/test_backtest_engine_unused_config.py:66
Function
test_composite_matches_the_standalone_engine
(tmp_path, monkeypatch, mode)
agent/tests/test_argentina_backtests.py:264
Function
test_composite_preserves_lot_and_futures_assumptions
()
agent/tests/test_global_equity_hk_lot_sizes.py:133
Function
test_composite_routes_futures_rules_by_submarket
()
agent/tests/test_terminal_close_accounting.py:28
Function
test_composite_sizes_star_symbols_on_the_star_grid
()
agent/tests/test_china_a_board_order_grid.py:73
Function
test_composite_spot_has_no_default_funding
()
agent/tests/test_crypto_spot_costs.py:42
Function
test_composite_terminal_close_routes_costs_per_symbol
()
agent/tests/test_terminal_close_accounting.py:122
Function
test_composite_turnover_uses_each_symbols_margin_contract
()
agent/tests/test_realized_turnover.py:203
Method
test_composite_wick_uses_adverse_extremum
(self)
agent/tests/test_market_hooks_liquidation.py:135
Function
test_compound_metric_leaf_kind_resolution
Token-split kind resolution covers the compound-leaf family.
agent/tests/test_agent_grounding.py:3277
Function
test_compound_preferred_exceeds_simple_beyond_one_year
()
agent/tests/quantlib/test_fundmath.py:642
Function
test_compounded_aggregate_no_longer_explodes
(delu: pd.Series)
agent/tests/test_nonpositive_returns.py:90
Function
test_compounded_aggregate_stays_finite_through_zero
(delu: pd.Series)
agent/tests/test_nonpositive_returns.py:114
Method
test_compress_to_daily_preserves_key_info
Keywords appear in output.
agent/tests/memory/test_compression.py:104
Method
test_compress_to_daily_reduces_size
Output shorter than input for long content.
agent/tests/memory/test_compression.py:98
Method
test_compress_to_daily_short_content_passthrough
Short content passes through unchanged.
agent/tests/memory/test_compression.py:114
Method
test_compress_to_digest_bullet_format
Output is bullet list format.
agent/tests/memory/test_compression.py:128
Method
test_compress_to_digest_with_keywords
Context header includes keywords.
agent/tests/memory/test_compression.py:135
Function
test_compressed_reply_and_full_request_over_real_socket
()
agent/tests/test_baostock_socket_deadline.py:198
Method
test_compression_gc_triggers_daily
With VT_MEMORY_COMPRESSION=true, run_gc compresses old raw entries.
agent/tests/memory/test_tier2_integration.py:444
Method
test_compression_updates_fts_body
After compression, FTS search must reflect the compressed text, not the pre-compression body that is no longer on disk.
agent/tests/memory/test_lifecycle_index_cleanup.py:148
Method
test_comps_and_three_statement_hashes_also_move_on_one_number
(self)
agent/tests/quantlib/valuation/test_artifact.py:362
Method
test_comps_artifact_has_no_assumptions
comps.py takes no Assumption objects -- this must be an honest empty tuple.
agent/tests/quantlib/valuation/test_artifact.py:467
Method
test_comps_artifact_records_excluded_peer_and_omitted_components
(self)
agent/tests/quantlib/valuation/test_artifact.py:484
Method
test_comps_deck_reports_no_assumptions_and_exclusions
(self, tmp_path)
agent/tests/quantlib/valuation/test_artifact.py:863
Function
test_comps_workbook_preserves_peer_names
(tmp_path, name)
agent/tests/quantlib/valuation/test_artifact.py:974
Method
test_comps_worked_example_reconciles
Recompute the ``/comps`` percentile ladder and implied per-share range.
agent/tests/test_institutional_commands.py:475
Function
test_compute_behavior_returns_all_four_diagnostics
()
agent/tests/test_trade_journal.py:564
Function
test_compute_group_equity_rejects_nonpositive_n_groups
()
agent/tests/factors/test_factor_analysis_core.py:28
Function
test_compute_half_life_aligns_around_interior_nans
()
agent/tests/quantlib/test_timeseries.py:265
Function
test_compute_half_life_is_infinite_for_a_random_walk
()
agent/tests/quantlib/test_timeseries.py:256
Function
test_compute_half_life_recovers_ou_process
()
agent/tests/quantlib/test_timeseries.py:243
Function
test_compute_half_life_rejects_too_short_a_series
()
agent/tests/quantlib/test_timeseries.py:274
Function
test_compute_matches_independent_numpy_math
( registry: Registry, alpha_id: str )
agent/tests/factors/test_fundamental_ind_neutral_samples.py:122
Function
test_compute_matches_independent_numpy_math
( registry: Registry, alpha_id: str )
agent/tests/factors/test_fundamental_valuation_samples.py:136
Function
test_compute_matches_independent_numpy_math
( registry: Registry, alpha_id: str )
agent/tests/factors/test_fundamental_expansion_samples.py:141
Function
test_compute_profile_dividend_rows
()
agent/tests/test_trade_journal.py:509
Function
test_compute_profile_empty
()
agent/tests/test_trade_journal.py:543
Function
test_compute_profile_win_rate_and_pnl
()
agent/tests/test_trade_journal.py:479
Function
test_compute_profile_without_dividends_is_unchanged
()
agent/tests/test_trade_journal.py:530
Function
test_compute_random_ic_series_handles_empty
()
agent/tests/factors/test_bench_strict.py:87
Function
test_compute_random_ic_series_inner_joins_seed_dates
Regression for A2: averaging must use the dates where *every* seed produced a value (inner join), not a mix of 1-seed/3-seed/etc.
agent/tests/factors/test_bench_strict.py:565
Function
test_compute_random_ic_series_returns_dated_series
()
agent/tests/factors/test_bench_strict.py:77
Function
test_compute_risk_xray_surviving_symbols_zero_weight
()
agent/tests/test_risk_xray.py:221
Function
test_compute_rsi_is_causal_and_bounded
()
agent/tests/test_shadow_account.py:1299
Function
test_compute_rsi_matches_wilder_recursive_smoothing
On a mixed gain/loss series, must match true Wilder recursive smoothing: the first average is a simple mean of the first `period` gains/losses
agent/tests/test_shadow_account.py:1311
Function
test_compute_rsi_seed_is_a_simple_average_not_first_value
At exactly `period` valid deltas (the boundary case), the seed value itself is the whole answer: a simple mean of every gain/loss so far, not
agent/tests/test_shadow_account.py:1341
Function
test_compute_sleep_ms_due_now_is_zero
()
agent/tests/test_runtime_scheduler.py:79
Function
test_compute_sleep_ms_far_future_is_capped
()
agent/tests/test_runtime_scheduler.py:69
Function
test_compute_sleep_ms_near_term_returns_delta
()
agent/tests/test_runtime_scheduler.py:74
Function
test_compute_sleep_ms_no_jobs_polls_at_cap
()
agent/tests/test_runtime_scheduler.py:65
Function
test_compute_stale_threshold_obeys_heartbeat_floor
When SWARM_HEARTBEAT_INTERVAL_S is small (default 3s), threshold must be the heartbeat floor (60s), not the retry ceiling (3660s for a long- t
agent/tests/test_swarm_status_hydration.py:653
Method
test_compute_tfidf
Basic IDF computation correctness.
agent/tests/memory/test_compression.py:210
Method
test_compute_tfidf_empty
Empty documents returns empty dict.
agent/tests/memory/test_compression.py:224
Method
test_compute_tfidf_single_doc
Single document gives zero IDF for all terms.
agent/tests/memory/test_compression.py:228
Method
test_concatenated_crypto_pairs_route_to_crypto
(self)
agent/tests/test_market_detection.py:163
Function
test_concentration_math
()
agent/tests/test_risk_xray.py:68
Function
test_concentration_uses_gross_share_without_rescaling_the_book
()
agent/tests/test_risk_xray_long_short.py:72
Function
test_concept_alias_union_resolves_new_standard_revenue_concept
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_fundamentals_pit.py:178
Method
test_concurrent_access_returns_same_instance
(self)
agent/tests/test_env_schema.py:445
Function
test_concurrent_cold_readers_wait_for_registration
Cold readers must wait for one complete import pass, including skips.
agent/tests/test_registry.py:120
Function
test_concurrent_copies_are_reserved_once
(backend)
agent/tests/test_backtest_records_bench.py:421
← previous
next →
16,301–16,400 of 26,887, ranked by callers