MCPcopy Create free account

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

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

Methodtest_a_price_without_an_as_of_is_not_mechanically_rejected
A derived level has no single bar date; demanding one rejects it.
agent/tests/test_agent_output_discipline.py:707
Functiontest_a_print_in_a_price_column_and_a_level_in_another_column_pass
(tmp_path: Path)
agent/tests/test_grounding_role_hardening.py:314
Methodtest_a_product_missing_from_a_table_is_reported
(self)
agent/tests/test_china_futures_pricing_assumptions.py:48
Functiontest_a_proposed_level_needs_an_instrument_when_the_run_holds_several
(tmp_path: Path)
agent/tests/test_grounding_role_hardening.py:342
Functiontest_a_provider_fault_is_in_band_data_not_ready
(fault: Exception, monkeypatch)
agent/tests/test_paper_trade_5m_tool.py:180
Functiontest_a_provider_omitted_5m_leg_names_the_symbol_and_stays_retryable
()
agent/tests/test_paper_trade_5m_tool.py:279
Functiontest_a_quantity_at_the_wire_precision_is_accepted_unchanged
The boundary itself is representable, so it must not be refused.
agent/tests/test_extraetf_reader.py:687
Functiontest_a_quantity_beyond_the_wire_precision_is_refused
A ninth decimal place is more than the output can hold, so it is refused rather than rounded away.
agent/tests/test_extraetf_reader.py:679
Functiontest_a_quantity_that_rounds_away_is_refused_not_silently_zeroed
Quantizing to the wire format is a rounding, and a rounding is a change. 0,000000004 is not zero in the file. Accepting it produced a position wh
agent/tests/test_extraetf_reader.py:669
Methodtest_a_quarterly_file_is_annualised_from_the_calendar
Wider than every supported interval: four bars a year, from the spacing, since no interval has a count to look up.
agent/tests/test_cross_market_annualization.py:314
Methodtest_a_quota_rejection_is_retried_then_succeeds
(self, monkeypatch)
agent/tests/test_tushare_loader.py:420
Methodtest_a_quote_from_get_market_data_is_accepted
(self, tmp_path: Path)
agent/tests/test_agent_output_discipline.py:187
Functiontest_a_quote_read_that_fails_to_map_leaves_the_row_unpriced_with_the_reason
( tmp_path, broker: _Broker )
agent/tests/test_robinhood_portfolio_source.py:159
Functiontest_a_quote_that_has_never_traded_maps_no_price_fields
()
agent/tests/test_robinhood_mcp_mapping.py:283
Functiontest_a_re_fire_does_not_clobber_a_still_pending_delivery
(tmp_path: Path)
agent/tests/test_scheduled_delivery_clobber.py:34
Functiontest_a_re_fire_is_allowed_once_the_previous_delivery_is_terminal
The gate must not stall a job forever: SENT clears it for the next firing.
agent/tests/test_scheduled_delivery_clobber.py:73
Functiontest_a_real_call_without_the_field_is_not_treated_as_an_alias
(tmp_path: Path)
agent/tests/test_grounding_unknown_call_id_refs.py:96
Methodtest_a_real_entry_equal_to_the_default_is_not_reported
``rb``'s looked-up margin is 0.10 -- the default's own value.
agent/tests/test_china_futures_pricing_assumptions.py:66
Methodtest_a_real_entry_equal_to_the_default_is_not_reported
ES's listed multiplier is 50 -- the default's own value.
agent/tests/test_global_futures_pricing_assumptions.py:88
Methodtest_a_real_failure_is_not_retried
(self, monkeypatch)
agent/tests/test_tushare_loader.py:435
Functiontest_a_real_quantlib_tail_risk_result_grounds_its_own_figure
#1464: the scalar result of a real ``quantlib_call`` is evidence for the figure it returned.
agent/tests/test_grounding_role_hardening.py:1027
Functiontest_a_real_target_change_executes_at_any_band
A changed target moves the reference far past any sane tolerance.
agent/tests/test_rebalance_tolerance.py:80
Functiontest_a_real_tie_is_still_an_observation_not_missing_data
A genuine tie (close == prior close) is a 0/1 observation, not NaN. Guards the opposite direction from the gap tests: NaN propagation must not
agent/tests/factors/test_qlib158_cnt_nan_propagation.py:140
Functiontest_a_rebalance_fills_each_symbol_on_its_own_lot
Through the engine's own sizing path, not just ``round_size``.
agent/tests/test_global_equity_hk_lot_sizes.py:106
Functiontest_a_record_folded_across_lines_is_refused_rather_than_aligned
A stray quote makes csv fold the next line in; the fold must not land. The folded record still has the right field count, so an arity check alone
agent/tests/test_extraetf_reader.py:542
Functiontest_a_redacted_screen_keeps_its_row_numbers_and_labels
The reporter's table came back with its ranks, "12m" and "3 names" all omitted. Every row number was a table cell, so a measurement, so cut; and
agent/tests/test_grounding_release.py:2319
Functiontest_a_ref_is_filtered_to_the_figures_own_symbol
(tmp_path: Path)
agent/tests/test_grounding_role_hardening.py:384
Functiontest_a_ref_may_name_the_tool
(tmp_path: Path)
agent/tests/test_grounding_role_hardening.py:424
Functiontest_a_referenced_table_cell_is_checked_against_its_own_column
A close cell declared with the call's ref may not borrow that call's high.
agent/tests/test_grounding_role_hardening.py:1011
Functiontest_a_refusal_naming_responses_is_retried_there_with_the_tools
()
agent/tests/test_llm_responses_self_heal.py:202
Functiontest_a_refusal_on_the_responses_route_itself_is_not_retried_forever
If /v1/responses answers with the same text, the error surfaces once.
agent/tests/test_llm_responses_self_heal.py:292
Functiontest_a_refused_reasoning_replay_is_resent_without_it
(monkeypatch, fresh_replay_state)
agent/tests/test_openai_codex_replay.py:241
Functiontest_a_rejected_figure_is_pointed_at_its_own_symbols_closes
(tmp_path: Path)
agent/tests/test_grounding_role_hardening.py:908
Functiontest_a_rejected_figure_of_no_instrument_is_pointed_at_nothing
(tmp_path: Path)
agent/tests/test_grounding_role_hardening.py:918
Functiontest_a_rejected_ref_figure_is_pointed_at_the_referenced_closes
(tmp_path: Path)
agent/tests/test_grounding_role_hardening.py:926
Functiontest_a_rejected_table_cell_is_pointed_at_its_own_column
(tmp_path: Path)
agent/tests/test_grounding_role_hardening.py:936
Methodtest_a_relayed_base_url_is_not_sent_the_field
A MOONSHOT_BASE_URL override takes the published contract with it. Relays and self-hosted gateways speak the OpenAI wire format without
agent/tests/test_llm_reasoning_effort.py:349
Functiontest_a_removed_listener_stops_hearing_events
()
agent/tests/test_scheduled_delivery_hook.py:45
Functiontest_a_repeat_resolution_cannot_clear_a_conflict
Re-answering one side of a contradiction is not evidence that settles it.
agent/tests/test_agent_grounding.py:271
Functiontest_a_repeated_instrument_in_one_portfolio_is_refused
Two rows for one instrument under one Portfolio ID cannot be read safely. Summing them double-counts the position; keeping one drops the other. W
agent/tests/test_extraetf_reader.py:438
Functiontest_a_repeated_instrument_names_both_rows
The refusal has to point at the file, not just say no.
agent/tests/test_extraetf_reader.py:449
Methodtest_a_repeated_security_in_a_new_holdings_amendment_is_counted
Overlap should be empty by definition, so it is surfaced when it is not.
agent/tests/test_institutional_holdings_tool.py:1051
Functiontest_a_report_style_date_cell_still_matches_its_evidence_row
08-10(一)" and "08-10盘中" are the same trading day as "08-10". A weekday or session suffix made the cell match no evidence row, so every price
agent/tests/test_agent_grounding.py:2650
Functiontest_a_requested_sweep_delivers_without_waiting_for_a_tick
The whole point: the briefing goes out when the run ends, not later.
agent/tests/test_scheduled_delivery_hook.py:58
Methodtest_a_response_with_no_usable_adjustment_stays_one_raw_basis
(self)
agent/tests/test_fmp_loader.py:149
Functiontest_a_restart_delivers_what_the_previous_process_never_sent
The row is the source of truth, so a new process finishes the work. This is the case a callback alone cannot cover: the run finished while the
agent/tests/test_scheduled_delivery_outbox.py:141
Methodtest_a_restatement_alone_replaces_the_original
(self)
agent/tests/test_institutional_holdings_tool.py:916
Functiontest_a_restatement_of_a_rejected_figure_is_cut_where_it_stands
The rejected figure is usually also the multiplier of a valid derivation. Protecting it by VALUE protected every restatement of it document-wide;
agent/tests/test_grounding_release.py:1778
Methodtest_a_restatement_that_dropped_the_security_reports_held_false
The filer surfaced because its original named the CUSIP; the restatement did not.
agent/tests/test_institutional_holdings_tool.py:1255
Methodtest_a_result_at_the_limit_is_untouched
(self)
agent/tests/test_tool_result_paging.py:33
Functiontest_a_result_whose_tiers_do_not_reconcile_is_rejected
()
agent/tests/quantlib/test_fundmath.py:584
Functiontest_a_return_figure_is_matched_at_its_written_precision
1.121 → 1.180 is +5.26%: "约 5%" and "5.3%" round to it; "6%" does not.
agent/tests/test_grounding_release.py:327
Functiontest_a_reversed_year_range_is_not_a_window
()
agent/tests/test_research_papers_tool.py:498
Functiontest_a_root_outside_the_requested_window_is_not_returned
The Newton fallback must not smuggle a root past the caller's bounds. The real root of this schedule is about 2.9%. Asked to search only above
agent/tests/quantlib/test_fundmath.py:306
Methodtest_a_row_the_header_cannot_explain_is_dropped_and_counted
(self)
agent/tests/test_etf_holdings_tool.py:828
Methodtest_a_row_with_more_fields_than_the_header_does_not_kill_the_index
(self)
agent/tests/test_etf_holdings_tool.py:559
Functiontest_a_row_with_no_available_factor_stays_nan
()
agent/tests/quantlib/test_combination.py:52
Functiontest_a_run_still_in_flight_is_left_for_a_later_sweep
The briefing does not exist yet; the row must survive to try again.
agent/tests/test_scheduled_delivery_outbox.py:115
Functiontest_a_run_with_no_system_message_still_writes_a_manifest
(trace_dir)
agent/tests/test_run_manifest_wiring.py:130
Functiontest_a_run_writes_a_manifest_next_to_its_trace
(trace_dir)
agent/tests/test_run_manifest_wiring.py:43
Functiontest_a_sample_size_does_not_ground_a_return
(tmp_path: Path)
agent/tests/test_grounding_role_hardening.py:571
Functiontest_a_scale_in_does_not_freeze_the_position
()
agent/tests/test_argentina_equity_engine.py:188
Methodtest_a_search_error_falls_back_instead_of_reporting_an_empty_portfolio
Losing full-text search must degrade to the submissions index, not to zero filings.
agent/tests/test_institutional_holdings_tool.py:1691
Functiontest_a_second_figures_opener_ends_an_unclosed_first_block
()
agent/tests/test_grounding_shape_hardening.py:514
Functiontest_a_second_rotation_is_not_refused_as_corruption
(tmp_path)
agent/tests/test_governance.py:746
Functiontest_a_second_sweep_does_not_send_the_same_briefing_again
(tmp_path: Path)
agent/tests/test_scheduled_delivery_outbox.py:128
Functiontest_a_series_envelope_reaches_the_function_with_its_index
(tool)
agent/tests/test_quantlib_tool.py:163
Functiontest_a_served_local_code_comes_back_as_its_bare_symbol_without_network
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, network: type[_NetworkLoader], source: str )
agent/tests/test_local_prefix_routing.py:100
Functiontest_a_server_without_starttls_never_receives_the_password
A refused upgrade is a transport failure, reported before any LOGIN.
agent/tests/test_email_connection_test.py:403
Functiontest_a_session_stored_before_owners_existed_still_loads
(runtime_root)
agent/tests/test_principal_wiring.py:74
Functiontest_a_session_with_an_owner_round_trips
()
agent/tests/test_principal.py:130
Functiontest_a_session_without_an_owner_still_constructs
()
agent/tests/test_principal.py:109
Methodtest_a_seven_day_market_closes_its_week_on_sunday
(self)
agent/tests/test_weekly_monthly_bars.py:49
Methodtest_a_share
(self)
agent/tests/test_correlation.py:19
Methodtest_a_share_builds_canonical_frame
(self)
agent/tests/test_eastmoney_loader.py:77
Methodtest_a_share_does_not_match
(self)
agent/tests/test_akshare_loader.py:74
Methodtest_a_share_four_hour_session_keeps_the_declared_count
(self)
agent/tests/test_cross_market_annualization.py:211
Methodtest_a_share_includes_baostock
baostock' must remain a reachable A-share fallback.
agent/tests/test_registry.py:297
Methodtest_a_share_indicators_use_mainfinadata_report
(self)
agent/tests/test_financial_statements_tool.py:324
Methodtest_a_share_is_untouched_by_the_futures_branch
The other side of the gate: equities must still reach their endpoint.
agent/tests/test_akshare_loader.py:373
Methodtest_a_share_returns_envelope
(self)
agent/tests/test_margin_trading_tool.py:49
Methodtest_a_share_still_routes_to_stock_zh_a_hist
( self, fake_akshare: SimpleNamespace )
agent/tests/test_akshare_loader.py:255
Methodtest_a_share_stock_news
(self)
agent/tests/test_stock_news_tool.py:123
Methodtest_a_share_through_real_client
(self)
agent/tests/test_eastmoney_loader.py:172
Methodtest_a_share_uses_eastmoney_and_parses_periods
(self)
agent/tests/test_financial_statements_tool.py:106
Functiontest_a_share_volume_consistent_across_sources
()
agent/tests/test_volume_unit_consistency.py:37
Methodtest_a_share_with_sz_suffix
(self)
agent/tests/test_market_detection.py:402
Functiontest_a_shared_key_principal_is_not_attributable
()
agent/tests/test_principal.py:25
Functiontest_a_sharpe_that_passes_uncorrected_fails_once_the_search_is_admitted
()
agent/tests/quantlib/test_multipletesting.py:137
Methodtest_a_short_factor_series_is_forward_filled_not_refused
(self)
agent/tests/test_alpha_bench_qfq.py:124
Methodtest_a_short_history_is_complete_in_one_call
(self)
agent/tests/test_tool_result_paging.py:193
Functiontest_a_short_ic_sample_reports_no_deflated_statistic_rather_than_a_bad_one
(monkeypatch)
agent/tests/test_bench_multiple_testing.py:101
Functiontest_a_short_page_ends_the_walk
A page below the cap means the window is served; stop requesting.
agent/tests/test_tencent_loader.py:261
Functiontest_a_short_parameter_label_must_not_match_inside_an_unrelated_word
(tmp_path)
agent/tests/test_grounding_operand_evidence.py:87
Functiontest_a_short_ref_names_whole_path_parts_only
var_95 is the trailing part of data.risk.var_95, not of data.risk.cvar_95.
agent/tests/test_grounding_role_hardening.py:810
Methodtest_a_short_result_is_untouched
(self)
agent/tests/test_tool_result_paging.py:30
Methodtest_a_short_skill_comes_back_complete_and_verbatim
(self, tool: LoadSkillTool)
agent/tests/test_agent_output_discipline.py:787
Methodtest_a_short_skill_reports_that_it_is_complete
(self, tool)
agent/tests/test_load_skill_paging.py:61
Functiontest_a_shorted_symbol_with_no_rate_is_an_error_not_a_free_borrow
()
agent/tests/test_factor_costs.py:159
Functiontest_a_shorting_book_with_no_rate_source_at_all_is_an_error
()
agent/tests/test_factor_costs.py:173
← previousnext →14,301–14,400 of 26,887, ranked by callers