MCPcopy Create free account

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

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

Functiontest_cancelled_agent_response_keeps_reported_usage
(tmp_path)
agent/tests/test_llm_cost_accounting.py:125
Functiontest_cancelled_and_running_jobs_are_skipped
(tmp_path: Path)
agent/tests/test_scheduled_research_executor.py:323
Functiontest_cancelled_empty_stream_returns_empty_without_fallback
A user cancel before any chunk returns empty — it must NOT invoke.
agent/tests/test_chat_llm_streaming.py:336
Functiontest_cancelled_exit_carries_accumulated_cache_values
Non-happy exit guard: iteration 0 measures a provider response with cache details and dispatches a tool; iteration 1's stream is cancelled mid
agent/tests/test_swarm_cache_source.py:356
Functiontest_cancelled_openai_stream_does_not_require_terminal_metadata
()
agent/tests/test_chat_llm_streaming.py:470
Functiontest_cancelled_run_is_cancelled_not_failed
A cooperative cancel gets its own status, event and reply text.
agent/tests/test_session_service_lifecycle.py:156
Functiontest_cancelled_stream_keeps_usage_from_already_received_chunk
()
agent/tests/test_llm_cost_accounting.py:142
Functiontest_cancelled_terminal_returns_reason
Cancelled-by-user runs must also surface a meaningful reason.
agent/tests/test_agent_loop_terminal_state.py:177
Functiontest_cancelled_upload_removes_unpublished_partial_file
Cancel a real route task after a chunk was written and a read suspended.
agent/tests/test_upload_cancellation.py:18
Functiontest_cancelled_worker_result_persists_as_cancelled_task
A worker that stopped because cancel_run() fired must land as a *cancelled* task with a task_cancelled event — the generic "worker did not com
agent/tests/test_swarm_cancel_mid_flight_worker.py:92
Methodtest_cancelling_stays_outcome_unknown
(self)
agent/tests/test_background_store_recovery.py:60
Functiontest_candidate_corrections_are_scoped_to_claim_symbol
(tmp_path)
agent/tests/test_grounding_september28_safety.py:61
Functiontest_candidates_are_capped
(tmp_path: Path)
agent/tests/test_grounding_unknown_call_id_refs.py:77
Functiontest_candidates_are_shown_to_the_model_in_the_correction
(tmp_path: Path)
agent/tests/test_grounding_indexed_field_refs.py:162
Functiontest_candidates_do_not_offer_a_field_of_the_wrong_kind
( tmp_path: Path, field: str, written: str )
agent/tests/test_grounding_unknown_call_id_refs.py:152
Functiontest_candidates_matching_the_value_come_first
(tmp_path: Path)
agent/tests/test_grounding_unknown_call_id_refs.py:66
Functiontest_candidates_remain_scoped_to_the_declared_symbol
(tmp_path: Path)
agent/tests/test_grounding_unknown_call_id_refs.py:170
Functiontest_candlestick_bearish_engulfing
()
agent/tests/test_pattern_tool.py:123
Functiontest_candlestick_bullish_engulfing
()
agent/tests/test_pattern_tool.py:112
Functiontest_candlestick_doji_is_neutral
()
agent/tests/test_pattern_tool.py:96
Functiontest_candlestick_enums_1H_not_day
(monkeypatch)
agent/tests/test_longbridge_period_hour_case.py:17
Functiontest_candlestick_hammer_is_bullish
()
agent/tests/test_pattern_tool.py:104
Functiontest_canonical_form_matches_frozen_vector
(vector: dict)
agent/tests/test_paper_trade_jcs.py:57
Methodtest_canonical_fx_pair_spellings
(self)
agent/tests/test_symbol_search_tool.py:790
Functiontest_canonicalization_is_deterministic_across_calls
()
agent/tests/test_paper_trade_jcs.py:160
Functiontest_canonicalize_interval_keeps_minute_and_month_apart
_canonicalize_interval never maps '1m' and '1M' onto each other (#1480).
agent/tests/test_market_data_tool.py:488
Methodtest_cap_drops_whole_reasons_not_the_sell_side
(self)
agent/tests/test_dragon_tiger_tool.py:194
Methodtest_cap_is_reported
(self, monkeypatch)
agent/tests/test_fred_macro_tool.py:216
Methodtest_cap_larger_than_request_fills_the_request
(self)
agent/tests/test_paper_order_lifecycle.py:179
Functiontest_cap_mapping_distinguishes_zero_from_an_unspecified_limit
(profile, expected)
agent/tests/test_mandate_commit_security.py:179
Methodtest_cap_report_survives_the_tool_result_cap
(self, monkeypatch)
agent/tests/test_fred_macro_tool.py:295
Functiontest_cap_rows_negative_falls_back_to_default
()
agent/tests/test_market_data.py:204
Functiontest_cap_rows_passthrough_when_under_limit
()
agent/tests/test_market_data.py:194
Functiontest_cap_rows_samples_with_stride_and_pins_last
()
agent/tests/test_market_data.py:212
Functiontest_cap_rows_zero_means_no_cap
()
agent/tests/test_market_data.py:199
Methodtest_cap_validation
(self)
agent/tests/test_constraints.py:113
Functiontest_cap_weighted_centring_puts_the_market_portfolio_at_zero
()
agent/tests/quantlib/test_factormodel.py:48
Functiontest_cap_weighting_changes_the_fit_toward_the_larger_names
()
agent/tests/quantlib/test_factormodel.py:255
Functiontest_capabilities_resolve_opencode_provider
()
agent/tests/test_opencode_provider.py:60
Functiontest_capability_market_coverage_matches_tool_descriptions
The Capability table must name every market each tool's description covers. Regression guard for B12: ``get_stock_news`` and ``get_financial_stat
agent/tests/test_data_routing_sources_subset.py:124
Functiontest_capability_matrix_block_in_readme_is_current
CI drift guard: the README's marked block equals a fresh render. Fails red when a connector profile changed without regenerating: python -m s
agent/tests/test_capability_matrix.py:9
Functiontest_capacity_caps_exits_as_well_as_entries
()
agent/tests/test_factor_costs.py:86
Functiontest_capacity_limits_show_up_as_unfilled_turnover
()
agent/tests/test_factor_costs.py:234
Functiontest_capex_exceeding_depreciation_grows_ppe
When capex outpaces D&A, net PP&E must increase by exactly the difference.
agent/tests/quantlib/valuation/test_threestatement.py:662
Functiontest_capital_constrained_open_basket_is_proportional_and_order_independent
()
agent/tests/test_execution_causality.py:129
Functiontest_capital_not_yet_returned_is_reported
()
agent/tests/quantlib/test_fundmath.py:544
Methodtest_capital_returned
(self)
agent/tests/test_base_engine.py:916
Methodtest_capped_market_list_cannot_resolve_the_event
The cap must not resurrect the bug: 30 resolved of 32 is not resolved. ``_MAX_MARKETS_PER_EVENT`` truncates the payload. Counting the resolve
agent/tests/test_prediction_market_tool.py:482
Methodtest_caps_work_together
(self)
agent/tests/test_turnover_aware_optimizer.py:344
Functiontest_car_is_exactly_the_sum_of_the_abnormal_returns
()
agent/tests/quantlib/test_eventstudy.py:196
Functiontest_car_std_error_includes_the_covariance_of_the_shared_prediction_error
#1466: the window's days share one estimation error, so their variances do not just add.
agent/tests/quantlib/test_eventstudy.py:143
Functiontest_carhart_momentum_skips_the_most_recent_month
The last bar's value must not move with any close inside the skipped month. The golden above was regenerated together with the formula, so on its
agent/tests/factors/test_academic_samples.py:79
Functiontest_carino_factor_is_continuous_at_the_limit
The closed form and the limit agree as the two returns converge.
agent/tests/quantlib/test_attribution.py:263
Functiontest_carino_factor_limit_when_returns_coincide
With equal returns the factor collapses to its analytic limit 1/(1+R).
agent/tests/quantlib/test_attribution.py:258
Functiontest_carino_factor_matches_its_definition
Away from the limit the factor is the plain difference of logarithms.
agent/tests/quantlib/test_attribution.py:269
Functiontest_carino_factor_rejects_nonfinite_returns
(bad: float, side: str)
agent/tests/quantlib/test_attribution_nonfinite.py:36
Functiontest_carino_factor_rejects_total_loss
Returns at or below -100% have no logarithm.
agent/tests/quantlib/test_attribution.py:275
Functiontest_carino_limit_is_relative_to_remaining_wealth
Small return differences near total loss need the logarithmic factor.
agent/tests/quantlib/test_attribution_relative_limit.py:11
Methodtest_cascade_delete_bench_history
Deleting an artifact cascades to bench_history.
agent/tests/test_strategy_store.py:882
Functiontest_case1_resting_buy_fills_at_the_limit_when_the_bar_low_crosses
Bar 1 ref 10.30 rests; bar 2 low 9.80 < 10.00 fills at 委托价 10.00.
agent/tests/test_paper_trade_5m_limit_price.py:238
Functiontest_case2_resting_buy_does_not_fill_when_the_bar_low_equals_the_limit
Bar 1 ref 10.30 rests; bar 2 low == ref == 10.00 -> strict rule: no fill.
agent/tests/test_paper_trade_5m_limit_price.py:261
Functiontest_case3_resting_sell_fills_at_the_limit_when_the_bar_high_crosses
Bar 1 ref 9.70 rests; bar 2 high 10.20 > 10.00 fills at 委托价 10.00.
agent/tests/test_paper_trade_5m_limit_price.py:283
Functiontest_case4_resting_sell_does_not_fill_when_the_bar_high_equals_the_limit
Bar 1 ref 9.70 rests; bar 2 high == ref == 10.00 -> strict rule: no fill.
agent/tests/test_paper_trade_5m_limit_price.py:310
Functiontest_case5_buy_first_bar_is_marketable_only_below_the_limit
A buy limit on a flat 10.40 first bar: fills at 10.40 under 10.50, rests at 10.40.
agent/tests/test_paper_trade_5m_limit_price.py:336
Functiontest_case5_sell_first_bar_is_marketable_only_above_the_limit
A sell limit on a flat 10.60 first bar: fills at 10.60 over 10.50, rests at 10.60.
agent/tests/test_paper_trade_5m_limit_price.py:364
Functiontest_case6_bar_close_changes_the_first_bar_marketable_price
Only the first-bar marketable *price* follows the reference, never the limit rule.
agent/tests/test_paper_trade_5m_limit_price.py:443
Functiontest_case6_bar_close_keeps_the_bar_low_high_verdict
bar_close moves the reference; a low/high cross still decides the verdict.
agent/tests/test_paper_trade_5m_limit_price.py:405
Functiontest_case_alias_and_symlink_paths_use_real_directory_identity
(tmp_path)
agent/tests/test_user_blockers_followups.py:55
Methodtest_case_and_whitespace
(self)
agent/tests/test_pykrx_loader.py:36
Methodtest_case_and_whitespace_normalized
(self)
agent/tests/test_correlation.py:160
Methodtest_case_insensitive
(self)
agent/tests/test_futu_loader.py:95
Methodtest_case_insensitive
(self)
agent/tests/test_sec_edgar_client.py:37
Methodtest_case_insensitive
Code format detection should be case-insensitive.
agent/tests/test_baostock_loader.py:32
Methodtest_case_insensitive
(self)
agent/tests/test_market_detection.py:106
Methodtest_case_insensitive
Upper/lower case differences produce the same hash.
agent/tests/memory/test_memory_dedup.py:32
Methodtest_case_insensitive_suffix
(self)
agent/tests/test_eastmoney_client.py:38
Functiontest_case_mapping_cannot_fabricate_an_isin
A shape predicate must not be run on a case-folded value. Each input is eleven characters that upper-case to a twelve-character string matchi
agent/tests/test_extraetf_reader.py:605
Functiontest_case_variant_crypto_pairs_are_one_instrument
The pair label is extraETF's own, so it is emitted exactly as exported — but two rows differing only in case are one label, and two positions for
agent/tests/test_extraetf_reader.py:844
Methodtest_case_whitespace_variations_are_duplicate
Case and whitespace differences are treated as same content.
agent/tests/memory/test_memory_dedup.py:83
Functiontest_cash_and_equivalents_increases_equity_value
()
agent/tests/quantlib/valuation/test_dcf.py:739
Functiontest_cash_and_positions_are_conserved_and_every_fee_is_non_negative
()
agent/tests/test_paper_trade_5m_golden.py:113
Functiontest_cash_decreases_enterprise_value
Cash funds part of the purchase price -- EV falls as cash rises.
agent/tests/quantlib/valuation/test_comps.py:128
Methodtest_cash_flow_sheet_surfaces_revolver_draw_and_convergence
(self, workbook_path)
agent/tests/quantlib/valuation/test_artifact.py:771
Functiontest_cash_only_currency_without_rate_fails_closed
()
agent/tests/test_portfolio_compatibility.py:144
Functiontest_cashflow_accepts_datetime_and_truncates_to_date
()
agent/tests/test_entities_spine.py:62
Functiontest_cashflow_constructs_and_normalizes
()
agent/tests/test_entities_spine.py:53
Functiontest_cashflow_is_immutable
()
agent/tests/test_entities_spine.py:70
Functiontest_cashflow_metadata_copies_input_so_later_mutation_cannot_leak_in
()
agent/tests/test_entities_spine.py:89
Functiontest_cashflow_metadata_is_read_only
()
agent/tests/test_entities_spine.py:76
Functiontest_cashflow_rejects_ambiguous_date_string
()
agent/tests/test_entities_spine.py:112
Functiontest_cashflow_rejects_missing_currency
()
agent/tests/test_entities_spine.py:102
Functiontest_cashflow_rejects_non_finite_amount
()
agent/tests/test_entities_spine.py:107
Functiontest_catalog_ambiguity_is_not_silently_selected
(fake_mt5)
agent/tests/test_mt5_connector.py:1004
Functiontest_catalog_covers_every_public_network_loader
()
agent/tests/test_loader_health.py:38
Functiontest_catalog_exact_native_case_preserved
(fake_mt5)
agent/tests/test_mt5_connector.py:1014
Functiontest_catalog_failure_is_redacted_and_detached
(fake_mt5)
agent/tests/test_mt5_connector.py:1023
Functiontest_catalog_invalid_timeout_does_not_attach
(fake_mt5, timeout)
agent/tests/test_mt5_connector.py:1044
Functiontest_catalog_is_exactly_the_canonical_set
()
agent/tests/test_enforcement_l6.py:51
Functiontest_catalog_lists_opencode_with_go_default_and_zen_option
()
agent/tests/test_opencode_provider.py:47
Functiontest_catalog_parses_visible_supported_models_and_efforts
(monkeypatch)
agent/tests/test_codex_model_discovery.py:37
← previousnext →15,801–15,900 of 26,887, ranked by callers