MCPcopy Create free account

hub / github.com/HKUDS/Vibe-Trading / functions

Functions26,887 in github.com/HKUDS/Vibe-Trading

Functiontest_the_three_input_units_are_consistent_with_each_other
(spread_inputs)
agent/tests/quantlib/test_credit.py:389
Functiontest_the_three_raw_siblings_stay_unsectorized
The neutral variants are additions; the raw factors keep their contract.
agent/tests/factors/test_fundamental_ind_neutral_samples.py:112
Functiontest_the_tool_call_syntax_fallback_reaches_the_stream_once
A buffered run released the fallback in its own branch and again as the answer.
agent/tests/test_grounding_release.py:2166
Methodtest_the_tool_is_auto_discovered
(self)
agent/tests/test_institutional_holdings_tool.py:1665
Functiontest_the_tool_is_auto_discovered_by_the_agent_registry
Creating the module is sufficient to expose the read-only agent tool.
agent/tests/test_cashflow_analytics_tool.py:261
Functiontest_the_tool_is_read_only
(tool)
agent/tests/test_quantlib_tool.py:264
Functiontest_the_tool_places_no_orders
Guard the red line: this is a research surface with no execution path.
agent/tests/test_cashflow_analytics_tool.py:271
Functiontest_the_trading_profile_stays_first_for_the_broker_on_ramp
()
agent/tests/test_robinhood_mcp_mapping.py:492
Functiontest_the_trading_service_follows_position_pages_before_mapping
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_robinhood_mcp_mapping.py:418
Functiontest_the_two_path_models_produce_different_prices_and_fingerprints
()
agent/tests/test_paper_trade_5m_tool.py:76
Methodtest_the_two_spellings_agree
(self, tmp_path)
agent/tests/test_warmup_window.py:141
Functiontest_the_unit_no_longer_truncates_the_figure
``3.6ppm`` is 3.6, not 3 — the fence is on digits, not on letters.
agent/tests/test_grounding_percentage_points.py:73
Methodtest_the_us_leg_is_unaffected
(self)
agent/tests/test_composite_vietnam_rules.py:102
Functiontest_the_value_oracle_exemptions_are_real_alphas
()
agent/tests/factors/test_missing_bar_fabrication.py:283
Methodtest_the_value_the_run_used_is_unchanged
Observability only: every number stays exactly what it was.
agent/tests/test_china_futures_pricing_assumptions.py:57
Methodtest_the_value_the_run_used_is_unchanged
Observability only: every number stays exactly what it was.
agent/tests/test_global_futures_pricing_assumptions.py:80
Functiontest_the_verdict_does_not_depend_on_the_words_around_the_figure
One figure, one declaration, twelve sentences, one verdict. Every sentence below used to route through a different branch of the word catalog
agent/tests/test_grounding_figures_contract.py:680
Methodtest_the_warmup_year_changes_the_reported_performance
The bug: identical loaded data, and the metrics silently differed.
agent/tests/test_warmup_window.py:131
Methodtest_the_warning_fires_once_per_field_not_once_per_bar
( self, caplog: pytest.LogCaptureFixture )
agent/tests/test_china_futures_pricing_assumptions.py:96
Methodtest_the_warning_fires_once_per_field_not_once_per_bar
( self, caplog: pytest.LogCaptureFixture )
agent/tests/test_global_futures_pricing_assumptions.py:121
Methodtest_the_widened_corpus_did_not_widen_what_output_must_disclose
Provenance demands stay keyed on market-data evidence, whose source is real.
agent/tests/test_agent_output_discipline.py:233
Methodtest_the_windows_tile_the_old_flat_lag_exactly
Splitting the span must not make any filing unreachable.
agent/tests/test_institutional_holdings_tool.py:1524
Methodtest_the_word_buy_is_not_a_gate
buy" appears in buyback, buy-side, and 买入价; a regex here misfires.
agent/tests/test_agent_output_discipline.py:715
Functiontest_the_worked_european_waterfall_example
Hand-worked 8% pref / 20% carry / 100% catch-up on 150 distributable. Contributed capital 100, preferred owed 8, carry 20%, catch-up 100%::
agent/tests/quantlib/test_fundmath.py:455
Functiontest_the_written_precision_band_is_half_a_unit_not_more
The band is exactly half a unit of the last written digit, from both sides. 1.110 → 1.171 is +5.4955%. An integer 5% is 0.4955 away and must be
agent/tests/test_grounding_release.py:1050
Methodtest_theta_is_negative_dprice_dT_per_calendar_day
( self, S, K, T, r, sigma, q, kind )
agent/tests/quantlib/test_options.py:143
Functiontest_thin_symbol_skipped_and_weights_renormalized
()
agent/tests/test_risk_xray.py:90
Functiontest_thinking_done_never_carries_the_figures_block
(tmp_path: Path)
agent/tests/test_grounding_release.py:2178
Functiontest_third_branch_is_exercised
()
agent/tests/factors/test_gtja191_alpha055_swing_index.py:34
Methodtest_thread_safety
Concurrent calls from multiple threads should not raise.
agent/tests/test_mcp_specs_cache.py:282
Methodtest_thread_safety_same_key
Concurrent calls with the same cache key should not raise or corrupt.
agent/tests/test_mcp_specs_cache.py:304
Functiontest_three_5m_order_symbols_are_refused_before_any_fetch
()
agent/tests/test_paper_trade_5m_scope.py:116
Methodtest_three_bars_are_too_few_to_overrule_the_declaration
Two differences cannot outvote one gap, so the declaration stands.
agent/tests/test_cross_market_annualization.py:390
Functiontest_three_day_ledger_continuity_hand_computed
()
agent/tests/test_paper_trade_multiday.py:137
Functiontest_three_day_single_call_chains_the_ledger
()
agent/tests/test_paper_trade_strategy_path.py:193
Functiontest_three_or_more_peers_does_not_trigger_the_sample_size_warning
()
agent/tests/quantlib/valuation/test_comps.py:396
Functiontest_three_period_projection_matches_hand_computation
Every IS/CF/BS line, all three periods, matches the arithmetic above exactly.
agent/tests/quantlib/valuation/test_threestatement.py:164
Functiontest_three_scenario_future_eps_compounding
()
agent/tests/test_financial_rigor_tool.py:232
Functiontest_three_scenario_normalizes_percent_growth
()
agent/tests/test_financial_rigor_tool.py:246
Methodtest_three_statement_artifact_has_no_assumptions
threestatement.py takes no Assumption objects either.
agent/tests/quantlib/valuation/test_artifact.py:472
Methodtest_three_statement_artifact_records_revolver_draw
(self)
agent/tests/quantlib/valuation/test_artifact.py:493
Methodtest_three_statement_deck_reports_final_period_and_gaps
(self, tmp_path)
agent/tests/quantlib/valuation/test_artifact.py:873
Functiontest_three_ticks_run_in_order_with_injected_clock
QA happy: 3 ticks, on_tick receives strictly increasing now_ms.
agent/tests/scheduling/test_kernel.py:33
Methodtest_threshold_rationale_self_contained
Threshold rationale is documented inline, not via a gitignored docs/ path.
agent/tests/test_context_attribution_layers.py:104
Methodtest_thresholds_match_quarterly_cadence
(self)
agent/tests/test_strategy_discovery_decay.py:52
Methodtest_thresholds_overridable_per_call
(self)
agent/tests/test_strategy_discovery_decay.py:160
Functiontest_ths_failure_degrades_consensus_but_keeps_reports
()
agent/tests/test_research_reports_tool.py:117
Functiontest_ths_non_2xx_degrades_consensus
()
agent/tests/test_research_reports_tool.py:128
Functiontest_tick_bands
(price, tick)
agent/tests/test_argentina_equity_engine.py:147
Methodtest_tick_bands
(self, price: float, tick: float)
agent/tests/test_korea_equity_engine.py:78
Functiontest_tick_continues_past_a_job_whose_lifecycle_write_raises
(tmp_path: Path)
agent/tests/test_scheduled_research_executor.py:674
Functiontest_tick_must_be_positive_and_finite
(value)
agent/tests/test_argentina_equity_engine.py:362
Methodtest_tick_size_bands
(self, price: float, tick: float)
agent/tests/test_vietnam_equity_engine.py:42
Functiontest_tick_table_is_declared_instead_of_guessing_panel_or_history
()
agent/tests/test_argentina_equity_engine.py:350
Methodtest_tick_volume_fallback_and_float
(self)
agent/tests/test_tickerall_loader.py:392
Methodtest_ticker_and_cusip_both_missing_is_an_error
(self)
agent/tests/test_institutional_holdings_tool.py:1311
Methodtest_ticker_fetch_error_propagates
(self)
agent/tests/test_sec_edgar_client.py:181
Methodtest_ticker_name_query_skips_yahoo_without_ok_status
Yahoo returns zero quotes for the shape and is relabeled "skipped".
agent/tests/test_symbol_search_tool.py:559
Methodtest_ticker_name_query_with_matching_quotes_stays_ok
The relabel must NOT fire when Yahoo can actually serve the shape.
agent/tests/test_symbol_search_tool.py:580
Methodtest_ticker_resolves_through_fails_to_deliver_data
(self)
agent/tests/test_institutional_holdings_tool.py:1183
Methodtest_tickerall_is_explicit_only_never_a_fallback
TickerAll is a valid explicit source but must NEVER join an automatic fallback chain. It reads a user's own broker account over a hosted API,
agent/tests/test_registry.py:342
Functiontest_ticket_is_single_use
()
agent/tests/test_sse_ticket_and_headers.py:47
Functiontest_tie_out_holds_for_arbitrary_inputs
The identity is structural: it holds for any weights that sum alike, shorts included.
agent/tests/quantlib/test_attribution.py:125
Functiontest_tied_extrema_use_the_most_recent_occurrence
(compute, expected, backend)
agent/tests/factors/test_gtja191_highday_lowday_recency.py:66
Functiontest_tier1_explicit_read_only_hint_false_is_write
readOnlyHint=False → WRITE (additive-only is still a write).
agent/tests/test_classification.py:18
Functiontest_tier1_explicit_read_only_hint_true_is_read
readOnlyHint=True with no curated entry → READ.
agent/tests/test_classification.py:12
Functiontest_tier2_curated_map_classifies_known_tools
Curated map drives classification for known names.
agent/tests/test_classification.py:30
Functiontest_tier3_default_deny_unknown_and_unannotated
Neither annotated read-only nor in the map → UNKNOWN (fail-closed).
agent/tests/test_classification.py:56
Methodtest_tier_boundaries
(self)
agent/tests/test_crypto_engine.py:510
Functiontest_tier_hint_is_best_effort_against_old_sdk
A stub without reqMarketDataType, or one that raises, must not break reads.
agent/tests/test_ibkr_local.py:443
Functiontest_tiger_build_config_merges_profile_then_overrides
(monkeypatch, tmp_path)
agent/tests/test_sdk_connectors.py:159
Functiontest_tiger_history_1H_does_not_collapse_to_day
(monkeypatch)
agent/tests/test_tiger_period_hour_case.py:25
Functiontest_tiger_history_month_does_not_collapse_to_minute
Regression: ``1M`` (month) must map to ``month``, not ``1min``.
agent/tests/test_sdk_connectors.py:1101
Functiontest_tiger_invalid_profile_rejected
()
agent/tests/test_sdk_connectors.py:166
Functiontest_tiger_is_paper_account
(account, is_paper)
agent/tests/test_sdk_connectors.py:131
Functiontest_tiger_live_profile_rejects_paper_account
A live profile pointed at a 17-digit paper account fails closed.
agent/tests/test_sdk_connectors.py:142
Functiontest_tiger_order_ops_classified_write
()
agent/tests/test_sdk_connectors.py:474
Functiontest_tiger_paper_profile_accepts_paper_account
()
agent/tests/test_sdk_connectors.py:149
Functiontest_tiger_paper_profile_rejects_live_account
A paper profile pointed at a non-17-digit account fails closed.
agent/tests/test_sdk_connectors.py:135
Functiontest_tiger_period_map_accepts_project_hour_tokens
()
agent/tests/test_tiger_period_hour_case.py:17
Methodtest_tight_per_name_cap_spreads_weights
(self)
agent/tests/test_turnover_aware_optimizer.py:249
Functiontest_tiingo_loader_serves_the_caliber_the_table_claims
()
agent/tests/test_price_caliber.py:520
Functiontest_tilde_expansion_resolves_to_mock_home
(tmp_path: Path, monkeypatch)
agent/tests/test_file_tool_sandbox_security.py:124
Methodtest_tilde_expansion_works
(self, tmp_path: Path, monkeypatch)
agent/tests/test_path_safety.py:62
Functiontest_time_varying_var_series_is_compared_day_by_day
()
agent/tests/quantlib/test_var_backtest.py:328
Functiontest_timeframe_map_accepts_project_hour_day_tokens
()
agent/tests/test_mt5_connector_project_period_aliases.py:8
Functiontest_timeframe_map_covers_hour_tokens
()
agent/tests/test_binance_period_map.py:17
Functiontest_timeout_closes_transient_stream
(tmp_path)
agent/tests/test_channels_attempt_progress.py:79
Functiontest_timeout_kills_descendant_and_reaps_shell
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_background_tools.py:326
Functiontest_timeout_kills_process_tree
A timed-out command must kill the tree and report tool_timeout. Regression for the 2026-08-20 hang: on Windows, killing only cmd.exe leaves g
agent/tests/test_bash_tool.py:110
Functiontest_timeout_kills_the_child
(fake_cli, monkeypatch)
agent/tests/test_claude_cli_provider.py:343
Functiontest_timeout_must_be_finite_and_positive
(monkeypatch, value)
agent/tests/test_baostock_socket_deadline.py:167
Functiontest_timeout_persists_partial_runner_output
(tool_run_dir)
agent/tests/test_backtest_tool_state.py:116
Functiontest_timeout_records_state_failed_and_returns_error_envelope
(tool_run_dir)
agent/tests/test_backtest_tool_state.py:95
Functiontest_timeout_stays_timeout_when_the_final_group_signal_is_refused
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_background_tools.py:375
Functiontest_timeout_terminal_run_not_completed
fail-before / pass-after anchor: timeout terminal must not be a success.
agent/tests/test_swarm_output_contract.py:193
Functiontest_timestamp_falls_back_to_local_fetch_time_when_venue_has_none
Binance spot depth carries no server timestamp field (see tool docstring).
agent/tests/test_orderbook_depth_tool.py:240
Functiontest_timestamp_from_exchange
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_orderbook_depth_tool.py:231
Functiontest_timestamp_label_index_must_be_ordered_and_unique
()
agent/tests/quantlib/test_crossvalidation.py:460
Functiontest_timestamp_sort_keeps_each_groups_source_order
(pattern: str)
agent/tests/test_trade_journal_timestamp_order.py:15
← previousnext →25,301–25,400 of 26,887, ranked by callers