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_a_dropped_resize_is_recorded_and_warned
The strategy asked to move 0.20 -> 0.60 -> 0.30 and got none of it.
agent/tests/test_dropped_target_adjustments.py:40
Function
test_a_dropped_row_is_reported_not_truncated_in_silence
A long-history symbol can lose old rows to the 0.01-100x factor window.
agent/tests/test_tiingo_loader.py:254
Function
test_a_fabricated_figure_is_refused_under_all_the_same_words
The other side of the same property, so it is not satisfied by "accept".
agent/tests/test_grounding_figures_contract.py:707
Method
test_a_failed_call_does_not_launder_the_ticker
(self, tmp_path: Path)
agent/tests/test_agent_output_discipline.py:274
Function
test_a_failed_page_raises_instead_of_returning_partial_history
A network failure mid-walk must not read downstream as a short series.
agent/tests/test_tencent_loader.py:236
Function
test_a_failed_run_is_terminal_because_no_briefing_will_ever_exist
(tmp_path: Path)
agent/tests/test_scheduled_delivery_outbox.py:161
Function
test_a_failed_run_reports_its_status_rather_than_nothing
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_scheduled_delivery_wiring.py:81
Function
test_a_failed_second_page_errors_the_source_instead_of_showing_partial_holdings
( tmp_path, broker: _Broker )
agent/tests/test_robinhood_portfolio_source.py:252
Function
test_a_failed_side_query_does_not_retract_a_locked_identity
One flaky resolver call must not end the run's ability to answer.
agent/tests/test_agent_grounding.py:2092
Function
test_a_fake_ip_proxy_answer_is_allowed_but_a_written_fake_ip_is_not
Clash / Surge TUN answer every lookup from 198.18.0.0/15 (2026-10-21: every custom provider was refused on such a host at save time).
agent/tests/test_provider_endpoint_guard.py:134
Method
test_a_fallback_source_still_reaches_the_chain
不在名单里的源行为不变:缺票仍走回落链。 用一个可控的假 loader 顶替链上的 yahoo,绝不触网——断言的是「回落被 尝试了」,不是「网络能通」。
agent/tests/test_local_source_routing.py:262
Function
test_a_fenced_code_block_is_not_prose
()
agent/tests/test_grounding_figures_contract.py:395
Function
test_a_fiat_pair_is_not_labelled_crypto
``Währung / Krypto`` covers foreign-exchange pairs, so a ``USD_to_EUR`` row is described by its shape and given no asset class at all.
agent/tests/test_extraetf_reader.py:394
Function
test_a_field_ref_does_not_borrow_another_fields_value
(tmp_path: Path, claim: str, ref: str)
agent/tests/test_grounding_role_hardening.py:802
Function
test_a_field_two_calls_returned_differently_needs_its_call
historical_var at 95% and at 99% is one field in two calls: the bare field ref cannot say which it quotes, and the correction names both.
agent/tests/test_grounding_role_hardening.py:819
Function
test_a_field_two_calls_returned_identically_is_not_ambiguous
(tmp_path: Path)
agent/tests/test_grounding_role_hardening.py:843
Method
test_a_figure_on_an_unhandled_ticker_is_rejected
(self, tmp_path: Path)
agent/tests/test_agent_output_discipline.py:256
Function
test_a_figures_block_ending_a_tool_call_turn_is_not_shown
Completing the last line reveals a fence; the block after it stays held.
agent/tests/test_grounding_release.py:2238
Function
test_a_figures_fence_quoted_inside_a_longer_fence_declares_nothing
()
agent/tests/test_grounding_shape_hardening.py:288
Function
test_a_file_still_reads_as_before
(run_dir: Path)
agent/tests/test_read_file_refusals.py:67
Function
test_a_file_the_model_wrote_in_the_prior_run_is_never_evidence
( reuse, tool: str, target: str )
agent/tests/test_grounding_prior_run_reuse.py:193
Function
test_a_file_the_model_wrote_is_never_engine_output
Neither a table written before the backtest nor one edited after it.
agent/tests/test_grounding_backtest_outputs.py:343
Method
test_a_filed_q4_is_not_overwritten_by_a_derived_one
(self)
agent/tests/test_sec_period_frames.py:162
Method
test_a_filing_the_index_cannot_date_is_counted_not_silently_skipped
(self)
agent/tests/test_etf_holdings_tool.py:402
Function
test_a_firing_arms_the_outbox_and_the_sweep_delivers_it
(tmp_path: Path)
agent/tests/test_scheduled_delivery_outbox.py:100
Function
test_a_first_loss_after_the_budget_is_spent_elsewhere_runs_again
A non-repeatable call lost for the first time, after other calls used the budget, used to stay in the success set and come back as "already co
agent/tests/test_readonly_replay_after_microcompact.py:459
Function
test_a_flagged_span_that_is_not_a_located_figure_refuses_release
The cut anchors on a figure the scan found; any other span fails closed.
agent/tests/test_grounding_shape_hardening.py:628
Method
test_a_flat_benchmark_yields_zero_rather_than_a_division_blowup
(self)
agent/tests/test_metrics_tracking_error.py:82
Method
test_a_flat_surface_returns_the_base_vol
(self)
agent/tests/test_options_smile_consistency.py:100
Method
test_a_flat_underlying_never_moves_equity
(self, tmp_path)
agent/tests/test_options_smile_consistency.py:127
Function
test_a_flow_outside_the_valuation_window_is_an_error
Dropping it would move client money into the manager's return.
agent/tests/quantlib/test_performance.py:272
Function
test_a_formula_may_be_followed_by_its_explanation
A real run wrote "(0.648 − 0.997) / 0.997,自7月1日收盘高点回撤" and lost a round.
agent/tests/test_grounding_role_hardening.py:998
Function
test_a_formula_that_runs_the_other_way_is_named_as_such
−0.079" beside "1.2115 − 1.1329": the size is right, the direction is not. Still refused — the sign is part of the claim — but the second draft o
agent/tests/test_grounding_backtest_outputs.py:806
Function
test_a_four_eyes_violation_is_reported_not_refused
(tools)
agent/tests/test_sdm_governance_wiring.py:128
Function
test_a_fraction_or_a_multiple_is_a_readable_declaration
1/3" and "5.5x" were unreadable lines, and one unreadable line fails the draft.
agent/tests/test_grounding_backtest_outputs.py:778
Method
test_a_fragment_never_claims_the_base_filing_was_absent
No base filing was found' is a different fact from 'none could be read'.
agent/tests/test_institutional_holdings_tool.py:883
Method
test_a_frame_without_the_factor_column_is_refused
(self)
agent/tests/test_alpha_bench_qfq.py:116
Method
test_a_fully_covered_run_declares_nothing
(self)
agent/tests/test_china_futures_pricing_assumptions.py:74
Method
test_a_fully_covered_run_declares_only_the_leverage_assumption
(self)
agent/tests/test_global_futures_pricing_assumptions.py:97
Method
test_a_fully_indexed_filing_list_carries_no_warning
(self)
agent/tests/test_etf_holdings_tool.py:427
Function
test_a_fund_with_no_capital_drawn_has_no_multiple
()
agent/tests/quantlib/test_fundmath.py:428
Function
test_a_fund_with_no_distributions_still_has_an_irr_from_its_nav
()
agent/tests/quantlib/test_fundmath.py:269
Function
test_a_gate_keeps_its_verdict_on_complete_data
#1452: masking on the operands' NaN would also blank constant-window correlations. Five symbols make a constant cross-sectional rank over a short
agent/tests/factors/test_missing_bar_fabrication.py:326
Function
test_a_gate_recheck_is_not_counted_as_a_rejected_draft
``validation_count`` is the revision budget and a user-facing number.
agent/tests/test_grounding_release.py:1665
Function
test_a_genuinely_strong_result_still_survives_the_correction
()
agent/tests/quantlib/test_multipletesting.py:156
Function
test_a_genuinely_superior_strategy_drives_pbo_down
()
agent/tests/quantlib/test_multipletesting.py:278
Function
test_a_glued_boundary_does_not_leak_a_number_into_the_next_claim
()
agent/tests/test_research_papers_tool.py:983
Function
test_a_glued_point_mark_is_a_measured_percent
(text: str, value: float)
agent/tests/test_grounding_shape_hardening.py:539
Function
test_a_grouped_price_is_not_split_into_a_bogus_claim
¥1,309.22" must stay one number when the clause is split. The comma is both a clause separator and a thousands separator, and the split ran f
agent/tests/test_agent_grounding.py:2478
Function
test_a_grouped_price_that_contradicts_evidence_is_still_rejected
Keeping the group together is not the same as skipping the check.
agent/tests/test_agent_grounding.py:2493
Function
test_a_grouping_document_keeps_its_thousands
(text: str, grouped: float)
agent/tests/test_grounding_shape_hardening.py:712
Function
test_a_hand_enabled_order_tool_is_gate_wrapped_not_exposed
An operator adding a WRITE name by hand gets a gated tool, never a plain one.
agent/tests/test_scalable_connector.py:304
Function
test_a_header_and_a_separator_row_are_skipped
(rows: tuple[str, ...])
agent/tests/test_grounding_shape_hardening.py:418
Function
test_a_healthy_run_of_the_largest_measured_size_is_never_compacted
(provider, model)
agent/tests/test_context_budget.py:103
Function
test_a_held_back_line_in_a_tool_call_turn_is_shown
The last line could only have become a fence while the turn was streaming.
agent/tests/test_grounding_release.py:2211
Function
test_a_held_back_line_that_never_became_a_fence_is_still_shown
(tmp_path: Path)
agent/tests/test_grounding_release.py:2146
Function
test_a_held_final_row_is_used_unchanged
A run still holding on its final bar must read exactly that row.
agent/tests/test_attribution_liquidated_last_row.py:46
Function
test_a_high_turnover_factor_is_eroded_far_more_than_a_low_turnover_one
()
agent/tests/test_factor_costs.py:191
Function
test_a_higher_asset_drift_pushes_distance_to_default_up
()
agent/tests/quantlib/test_credit.py:286
Function
test_a_historical_extreme_may_not_pose_as_an_observed_print
The lower side: 225.64 is admissible as a citation, never as a quote. The reference-level mask exempted it from the price comparison entirely,
agent/tests/test_agent_grounding.py:1949
Function
test_a_hose_pool_is_separated_from_other_currencies
()
agent/tests/test_shadow_account.py:589
Function
test_a_job_without_a_channel_never_arms_the_outbox
Delivery is opt-in: no channel, no row, nothing sent anywhere.
agent/tests/test_scheduled_delivery_outbox.py:63
Function
test_a_job_without_delivery_is_unchanged_on_the_wire
Every job that existed before this feature keeps its exact behaviour.
agent/tests/test_scheduled_delivery_wiring.py:137
Function
test_a_json_list_bound_reaches_the_generated_engine
( saved_profile, op, bound_key, )
agent/tests/test_shadow_codegen_condition_bounds.py:111
Method
test_a_june_period_served_from_quarterly_data_is_not_called_full
(self)
agent/tests/test_etf_holdings_tool.py:613
Method
test_a_k2_model_is_not_sent_the_field
The allowlist is per model: kimi-k2 never published this field.
agent/tests/test_llm_reasoning_effort.py:342
Function
test_a_kind_cannot_be_both_external_and_internal
Contradictory classification is an error, not a precedence puzzle.
agent/tests/quantlib/test_performance.py:249
Function
test_a_known_tool_keeps_its_existing_correction_reason
(tmp_path: Path)
agent/tests/test_grounding_unknown_call_id_refs.py:212
Function
test_a_label_ending_before_it_starts_is_rejected
()
agent/tests/quantlib/test_crossvalidation.py:282
Function
test_a_labelled_formula_is_read_as_its_arithmetic
Words glued to operands, or an aside in brackets, used to make the note "not arithmetic"; the words are removed, never interpreted.
agent/tests/test_grounding_backtest_outputs.py:730
Function
test_a_labelled_formula_with_the_wrong_arithmetic_still_fails
(two_runs: GroundingLedger)
agent/tests/test_grounding_backtest_outputs.py:740
Function
test_a_large_rejection_map_cannot_overflow_the_first_page
(runs: Path)
agent/tests/test_backtest_runs_tool.py:226
Method
test_a_large_set_pages_and_reports_the_total
(self)
agent/tests/test_tool_result_paging.py:66
Function
test_a_late_chunk_after_cancel_never_reaches_the_caller
()
agent/tests/test_chat_stream_interruption.py:158
Function
test_a_later_draw_owes_less_hurdle_than_a_day_one_draw
()
agent/tests/quantlib/test_fundmath.py:626
Function
test_a_level_stated_percent_first_is_still_extracted
(abstract, metric, value)
agent/tests/test_research_papers_tool.py:891
Function
test_a_line_opening_with_a_figure_is_not_an_ordinal
(tmp_path: Path)
agent/tests/test_grounding_shape_hardening.py:673
Function
test_a_line_that_cannot_be_read_is_reported_not_skipped
A declaration the gate skipped is a figure the gate never checked.
agent/tests/test_grounding_figures_contract.py:161
Function
test_a_line_that_only_resembles_a_header_is_still_malformed
(row: str)
agent/tests/test_grounding_shape_hardening.py:428
Function
test_a_liquidated_fund_has_no_residual_value
()
agent/tests/quantlib/test_fundmath.py:405
Method
test_a_listed_product_missing_from_the_commission_table_is_reported
KC is the half-real contract: multiplier looked up, commission assumed.
agent/tests/test_global_futures_pricing_assumptions.py:67
Function
test_a_listener_that_raises_cannot_break_the_event_stream
This is the SSE hot path; a bad listener must cost nothing.
agent/tests/test_scheduled_delivery_hook.py:27
Function
test_a_loader_that_logs_then_raises_still_reports_its_reason
The generic handler path must keep the row (and the reason) alive.
agent/tests/test_loader_health.py:284
Function
test_a_local_code_from_a_network_source_is_refused
(network: type[_NetworkLoader])
agent/tests/test_local_prefix_routing.py:158
Function
test_a_local_code_the_dataset_lacks_is_never_filled_from_the_network
Stripping the prefix must not let a network chain serve the bare symbol instead.
agent/tests/test_local_prefix_routing.py:145
Function
test_a_lone_list_like_cell_does_not_flip_the_document_to_decimal_commas
()
agent/tests/test_grounding_numeric_locale_rounding.py:109
Function
test_a_lone_year_is_not_a_window
()
agent/tests/test_research_papers_tool.py:502
Function
test_a_long_horizon_loss_still_solves_to_a_negative_rate
The underflow stand-in must not flip the sign of a losing stream.
agent/tests/quantlib/test_performance.py:369
Function
test_a_long_precision_spanish_percentage_is_verified_not_fragmented
( tmp_path: Path, )
agent/tests/test_grounding_numeric_locale_rounding.py:201
Method
test_a_long_skill_reports_that_it_is_incomplete
(self, tool)
agent/tests/test_load_skill_paging.py:54
Function
test_a_loopback_principal_is_not_attributable
()
agent/tests/test_principal.py:32
Function
test_a_loss_written_as_a_gain_is_refused
(own_run: GroundingLedger, written: str)
agent/tests/test_grounding_backtest_outputs.py:1109
Function
test_a_loss_written_with_its_sign_before_the_mark_grounds
The draft's trade loss was refused or cut although trades.csv holds it.
agent/tests/test_grounding_backtest_outputs.py:1093
Function
test_a_lowercased_isin_is_still_read_as_an_isin
An ISIN is case-insensitive, so a lower-cased one is canonicalised.
agent/tests/test_extraetf_reader.py:627
Function
test_a_magnitude_mark_is_a_glued_symbol_not_a_word
( text: str, end: int, expected: tuple[float, int] )
agent/tests/test_grounding_figures_contract.py:827
Function
test_a_magnitude_mark_scales_the_comparison_not_the_shape
A real run quoted volume as "24.6M" and had every one cut. The row's volume is 234567. "0.235M" and "23.46万" are that print; "0.300M" is not,
agent/tests/test_grounding_figures_contract.py:783
Function
test_a_malformed_5m_payload_is_data_not_ready_not_invalid_request
()
agent/tests/test_paper_trade_5m_scope.py:331
Function
test_a_malformed_block_does_not_release_what_still_fails
(tmp_path: Path)
agent/tests/test_grounding_shape_hardening.py:621
Function
test_a_malformed_block_is_dropped_and_the_draft_is_cut_as_usual
An unreadable declaration used to force the canned fallback.
agent/tests/test_grounding_shape_hardening.py:595
Function
test_a_malformed_envelope_is_reported_not_crashed
(tool)
agent/tests/test_quantlib_tool.py:202
← previous
next →
14,101–14,200 of 26,887, ranked by callers