MCPcopy Create free account

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

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

Methodtest_pending_directive_not_evaluated_on_other_paths
(self)
agent/tests/test_run_outcome_module.py:129
Methodtest_pending_orders_read
(self, fake_mt5: FakeMT5)
agent/tests/test_mt5_connector.py:605
Functiontest_pending_persist_failure_makes_zero_broker_calls
(monkeypatch)
agent/tests/test_sdk_order_gate.py:229
Functiontest_pending_terminal_notification_is_restored_once_and_acknowledged
(tmp_path)
agent/tests/test_background_store_recovery.py:299
Methodtest_pending_ticket_removed
(self, fake_mt5: FakeMT5)
agent/tests/test_mt5_connector.py:770
Functiontest_pending_write_directive_tracks_written_targets
A named target file that was not written yields a write directive. Regression for runs that ended "success" without delivering a file (2026-0
agent/tests/test_loop_helpers.py:587
Methodtest_per_action_budgets_are_what_actually_binds_today
With shipped values the per-action caps bind before the round cap. ``MAX_SYMBOL_RESOLUTION_ATTEMPTS + MAX_PRICE_EVIDENCE_ATTEMPTS`` is the
agent/tests/test_grounding_recovery.py:252
Functiontest_per_broker_halt_blocks_order
(live_runtime: Path)
agent/tests/test_killswitch_blocks_orders.py:121
Functiontest_per_broker_trip_is_scoped
(live_runtime: Path)
agent/tests/test_halt.py:50
Methodtest_per_date_independence
(self)
agent/tests/test_constraints.py:169
Functiontest_per_day_timeout_really_interrupts_and_freezes_the_message
(kind: str)
agent/tests/test_paper_trade_strategy_path.py:247
Methodtest_per_group_cap_enforced
(self)
agent/tests/test_turnover_aware_optimizer.py:258
Functiontest_per_market_rows_come_from_own_currency_group
( profitable_journal: Path, tmp_path: Path, monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_shadow_account.py:631
Functiontest_per_message_html_keeps_plain_fallback
(monkeypatch)
agent/tests/test_email_rich_delivery.py:73
Functiontest_per_message_pdf_keeps_report_out_of_body
(monkeypatch)
agent/tests/test_email_rich_delivery.py:95
Methodtest_per_name_cap_enforced
(self)
agent/tests/test_turnover_aware_optimizer.py:218
Methodtest_per_name_cap_none_behaves_like_uncapped
(self)
agent/tests/test_turnover_aware_optimizer.py:223
Functiontest_per_sector_effects_match_hand_computation
Every sector's three effects equal the hand-evaluated formulas.
agent/tests/quantlib/test_attribution.py:51
Functiontest_per_symbol_rates_are_honoured
()
agent/tests/test_factor_costs.py:150
Functiontest_per_symbol_route_applies_code_style
()
agent/tests/test_rsshub_events_provider.py:189
Functiontest_per_test_home_redirect_still_wins
A test redirecting home must get its OWN root, not the shared sandbox. This is the property a ``VIBE_TRADING_HOME``-based sandbox silently broke:
agent/tests/test_config_root_sandbox.py:65
Functiontest_percent_conversion_can_convert_one_observed_fraction
(tmp_path)
agent/tests/test_grounding_operand_evidence.py:130
Functiontest_percent_conversion_cannot_exempt_an_inner_hundred
(tmp_path)
agent/tests/test_grounding_operand_evidence.py:122
Functiontest_percent_conversion_does_not_supply_missing_data
(tmp_path, values)
agent/tests/test_grounding_operand_evidence.py:105
Functiontest_percent_declaration_needs_a_unit_in_its_own_document
(tmp_path, source, valid)
agent/tests/test_grounding_document_figures.py:89
Functiontest_percent_operand_units_follow_the_formula
Percentage-point inputs are converted before arithmetic, not after it.
agent/tests/test_grounding_percent_unit_fields.py:140
Functiontest_percent_operands_are_the_fractions_the_evidence_holds
13.28% − 12.98%" is 0.1328 − 0.1298, anchored on the two total returns.
agent/tests/test_grounding_backtest_outputs.py:748
Functiontest_percent_points_not_fraction
(vendor, tables, value)
agent/tests/test_gildata_fin_query.py:91
Functiontest_percent_unit_fields_accept_the_correct_claim
changepercent 0.52 vs 1.41: the spread is -0.89 points, no *100 needed.
agent/tests/test_grounding_percent_unit_fields.py:46
Functiontest_percent_unit_fields_reject_the_hundredfold_wrong_claim
The claim the old code taught: -89% for a -0.89-point spread.
agent/tests/test_grounding_percent_unit_fields.py:59
Functiontest_percent_written_out_is_still_a_percent
()
agent/tests/test_research_papers_tool.py:506
Functiontest_perfect_periodicity_is_dependence_and_is_rejected
()
agent/tests/quantlib/test_var_backtest.py:143
Functiontest_performance_degradation_is_negative_when_selection_fits_noise
()
agent/tests/quantlib/test_multipletesting.py:289
Functiontest_period_grouped_thousands_ground_against_observed_value
(tmp_path: Path)
agent/tests/test_grounding_unit_and_scanner_gaps.py:136
Functiontest_period_grouped_thousands_read_as_one_figure
()
agent/tests/test_grounding_unit_and_scanner_gaps.py:125
Functiontest_period_grouped_thousands_stay_closed_to_a_wrong_value
(tmp_path: Path)
agent/tests/test_grounding_unit_and_scanner_gaps.py:147
Functiontest_period_map_accepts_project_hour_tokens
()
agent/tests/test_longbridge_period_hour_case.py:8
Functiontest_period_maps_distinguish_minute_from_month
The 1m (minute) vs 1M (month) tokens must not collide in any map.
agent/tests/test_sdk_connectors.py:1056
Functiontest_period_valuation_stays_closed_to_other_currency_value_and_field
( tmp_path: Path, prose: str, line: str )
agent/tests/test_grounding_unit_and_scanner_gaps.py:84
Functiontest_period_valuation_takes_the_currency_its_object_declares
( tmp_path: Path, )
agent/tests/test_grounding_unit_and_scanner_gaps.py:53
Methodtest_period_window_when_no_range
(self, monkeypatch)
agent/tests/test_yahoo_client.py:210
Functiontest_periodic_sweep_on_wait
wait() should trigger a sweep after the sweep interval.
agent/tests/test_host_throttle_memory.py:82
Functiontest_periods_order_nulls_and_identifiers_preserved
(vendor)
agent/tests/test_gildata_stock_selection.py:63
Functiontest_periods_per_year_explicit_keeps_explicit_factor
()
agent/tests/test_risk_xray.py:453
Functiontest_periods_per_year_has_no_default_and_changes_the_charge
()
agent/tests/test_factor_costs.py:142
Functiontest_periods_per_year_none_uses_calendar_day_annualization
()
agent/tests/test_risk_xray.py:419
Functiontest_permission_denials_are_fed_back_instead_of_accepting_final
(fake_cli)
agent/tests/test_claude_cli_provider.py:172
Functiontest_perpetual_default_funding_remains_active
(symbol)
agent/tests/test_crypto_spot_costs.py:26
Functiontest_perpetual_fetch_aligns_explicit_zero_funding_settlement
(monkeypatch)
agent/tests/test_ccxt_perpetual_loader.py:171
Functiontest_perpetual_fetch_attaches_valid_bracket_artifact
(monkeypatch)
agent/tests/test_ccxt_perpetual_loader.py:245
Functiontest_perpetual_fetch_has_no_bracket_columns_without_artifact
Normal perpetual fetch stays zero-credential: no artifact in, no bracket columns out, and no bracket-endpoint call ever attempted (the fake ex
agent/tests/test_ccxt_perpetual_loader.py:223
Functiontest_perpetual_fetch_rejects_duplicate_funding_settlement
(monkeypatch)
agent/tests/test_ccxt_perpetual_loader.py:204
Functiontest_perpetual_fetch_rejects_missing_required_funding_settlement
(monkeypatch)
agent/tests/test_ccxt_perpetual_loader.py:189
Functiontest_perpetual_fetch_rejects_unsynchronized_mark_rows
(monkeypatch)
agent/tests/test_ccxt_perpetual_loader.py:154
Functiontest_perpetual_fetch_rounds_funding_settlement_jitter
Binance returns settlement timestamps with millisecond jitter (e.g. ``08:00:00.011``); the loader must round them to the second so they align
agent/tests/test_ccxt_perpetual_loader.py:360
Functiontest_perpetual_fetch_separates_execution_and_mark_prices
(monkeypatch)
agent/tests/test_ccxt_perpetual_loader.py:131
Functiontest_perpetual_symbol_maps_to_binance_usdm_contract
()
agent/tests/test_ccxt_perpetual_loader.py:108
Functiontest_persist_login_credentials_preserves_config_and_writes_private_file
(tmp_path)
agent/tests/test_feishu_login_persistence.py:10
Methodtest_persisted_data_round_trips
(self, tmp_path: Path)
agent/tests/test_scheduled_research_store.py:278
Functiontest_persisted_dispatch_error_is_redacted_and_bounded
(tmp_path: Path)
agent/tests/test_scheduled_research_executor.py:233
Functiontest_persisted_resolution_revalidates_semantic_evidence
(monkeypatch, field, value)
agent/tests/test_sdk_order_gate.py:346
Methodtest_persistence_across_instances
Data persists when creating a new store instance with same db_path.
agent/tests/test_strategy_store.py:847
Methodtest_persistent_401_propagates
(self, monkeypatch)
agent/tests/test_yahoo_client.py:295
Methodtest_persistent_401_propagates
(self, monkeypatch)
agent/tests/test_yahoo_client.py:387
Functiontest_persistent_disconnect_is_bounded
(monkeypatch)
agent/tests/test_okx_loader_bounded.py:77
Functiontest_persistent_disconnect_is_bounded_not_a_hang
The old 10-min hang: now a bounded TimeoutError after a fixed budget.
agent/tests/test_ccxt_loader_bounded.py:63
Functiontest_persistent_failure_returns_actionable_error
When every attempt fails, the error names the retry/env/read_url remedies.
agent/tests/test_web_search_tool.py:189
Functiontest_persistent_failure_uses_cn_fallback_without_network
Persistent ddgs failures can fall back to CN search without touching real network in tests.
agent/tests/test_web_search_tool.py:208
Functiontest_persistent_memory_rejects_unknown_memory_type
The storage layer enforces the documented memory type enum itself.
agent/tests/test_remember_tool_security.py:31
Functiontest_persistent_read_failure_audits_the_breach_once_per_episode
( live_root: Path, )
agent/tests/test_sweep_latch.py:443
Functiontest_persistent_transient_exhausts_then_timeouts
()
agent/tests/test_loader_retry_helpers.py:88
Methodtest_pg_is_the_half_real_contract_the_issue_names
#1389 fixed pg's multiplier; its margin rate is still assumed.
agent/tests/test_china_futures_pricing_assumptions.py:82
Methodtest_pick_verb_returns_string
(self)
agent/tests/test_cli_interactive.py:610
Functiontest_pin_mandate_prompt_includes_full_mandate
()
agent/tests/test_runtime_runner.py:212
Methodtest_pinned_price_alone_is_an_inference_never_a_resolution
(self, monkeypatch)
agent/tests/test_prediction_market_tool.py:358
Methodtest_pinned_url_wins_and_costs_no_request
(self)
agent/tests/test_institutional_holdings_tool.py:1644
Functiontest_pip_failure_surfaces
pip exits non-zero: report failure, exit 1, no verification run.
agent/tests/test_cli_update.py:222
Methodtest_pip_value
(self, symbol: str, expected: float)
agent/tests/test_forex_engine.py:322
Functiontest_pipe_field_requires_exact_call_when_values_disagree
(tmp_path)
agent/tests/test_grounding_september28_safety.py:73
Methodtest_piped_stdin_disables_interactive
(self, monkeypatch: pytest.MonkeyPatch)
agent/tests/test_cli_interactive.py:138
Functiontest_pit_panel_shifts_filing_one_bar_later
A filed-on-t value must first appear on bar t+1 in the bench panel.
agent/tests/test_alpha_bench_pit_lag.py:86
Functiontest_pl_val_is_carried_with_its_realized_and_unrealized_parts
()
agent/tests/test_futu_position_cost_bases.py:99
Functiontest_place_order_accepts_service_surface_kwargs
()
agent/tests/test_zerodha_sdk.py:281
Functiontest_place_order_never_reaches_service_with_malformed_arguments
Regression: `quantity="bad", notional=100` must not become a $100 order.
agent/tests/test_tools_type_value_safety.py:134
Functiontest_place_order_rejects_non_whole_quantity
(quantity)
agent/tests/test_zerodha_sdk.py:292
Functiontest_place_order_routes_through_tap_when_enabled
(monkeypatch)
agent/tests/test_alpaca_tap_routing.py:33
Functiontest_place_order_still_forwards_valid_arguments
The fail-closed guard must not break a well-formed order.
agent/tests/test_tools_type_value_safety.py:157
Functiontest_place_order_tool_treats_zero_unused_sizing_field_as_absent
LLM-filled zero quantity/notional fields must not violate sizing XOR.
agent/tests/test_trading_connections.py:119
Functiontest_place_order_uses_demo_execution_path
(monkeypatch)
agent/tests/test_etoro_connector.py:250
Methodtest_placeholder_key_is_unavailable
(self, monkeypatch)
agent/tests/test_alphavantage_loader.py:43
Functiontest_placeholder_token_raises_runtime_error
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_industry_loader.py:317
Functiontest_plain_formatted_runs_and_paragraphs_keep_existing_text
(tmp_path, monkeypatch)
agent/tests/test_doc_reader_pptx_containers.py:116
Functiontest_plain_given_does_not_trigger_iv_derivatives_match
()
agent/tests/test_swarm_tool_preset_matching.py:19
Functiontest_plain_imap_login_needs_an_explicit_opt_out
``imap_use_tls=false`` is the one way to log in without TLS, as smtp_use_tls is.
agent/tests/test_email_connection_test.py:389
Functiontest_plain_imap_transport_when_ssl_disabled
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_email_connection_test.py:375
Methodtest_plain_json_array_parses_unchanged
(self)
agent/tests/test_eastmoney_client.py:173
Methodtest_plain_json_body_with_parens_in_values
A non-JSONP body whose strings contain parens must parse intact. Regression for B8-em-jsonp: the old first-``(`` / last-``)`` slice c
agent/tests/test_eastmoney_client.py:70
Methodtest_plain_json_still_parses
(self)
agent/tests/test_http_jsonp_fallback.py:58
Methodtest_plain_json_with_parens_in_values_is_not_mangled
(self)
agent/tests/test_http_jsonp_fallback.py:61
Methodtest_plain_json_with_parens_parses_unchanged
(self)
agent/tests/test_eastmoney_client.py:165
← previousnext →22,201–22,300 of 26,887, ranked by callers