haive.games.poker.debug¶
Debugging utilities for the poker agent.
This module provides tools for debugging, testing and analyzing the poker agent’s performance, including: - Test harnesses for structured output validation - Decision validation and verification - Error analysis and reporting - Game state visualization
Classes¶
Analyze and validate player decisions for correctness. |
|
Utility for visualizing poker game state during debugging. |
|
Test harness for validating LLM structured output handling. |
Module Contents¶
- class haive.games.poker.debug.DecisionAnalyzer[source]¶
Analyze and validate player decisions for correctness.
- static validate_decision(decision, player, game_state)[source]¶
Validate if a decision is legal and reasonable.
- Parameters:
decision (haive.games.poker.models.AgentDecision)
player (haive.games.poker.models.Player)
- Return type:
- class haive.games.poker.debug.GameStatePrinter[source]¶
Utility for visualizing poker game state during debugging.