haive.agents.conversation.debate.state ====================================== .. py:module:: haive.agents.conversation.debate.state .. autoapi-nested-parse:: State schema for structured debate conversations with automatic tracking. Classes ------- .. autoapisummary:: haive.agents.conversation.debate.state.DebateState Module Contents --------------- .. py:class:: DebateState(/, **data) Bases: :py:obj:`haive.agents.conversation.base.state.ConversationState` Extended state schema for debate conversations with automatic tracking. Extends ConversationState with debate-specific fields and automatic computation of debate progress and statistics. Create a new model by parsing and validating input data from keyword arguments. Raises [`ValidationError`][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model. `self` is explicitly positional-only to allow `self` as a field name. .. py:method:: get_participant_summary(participant) Get summary for a specific participant. .. py:property:: all_arguments_complete :type: bool Check if all participants have made required arguments. .. py:property:: all_rebuttals_complete :type: bool Check if rebuttal phase is complete. .. py:property:: debate_progress :type: dict[str, float] Calculate progress for each participant. .. py:property:: debate_statistics :type: dict[str, Any] Get comprehensive debate statistics. .. py:property:: in_rebuttal_phase :type: bool Check if currently in rebuttal phase. .. py:property:: next_phase :type: str | None Determine what the next phase should be. .. py:property:: phase_should_transition :type: bool Check if current phase should transition. .. py:property:: should_end_debate :type: bool Check if debate should end based on all conditions.