maple.state.store.get_run_stats
- maple.state.store.get_run_stats(policy_id: str = None, task: str = None) Dict
Get aggregate statistics for runs.
Computes summary statistics across completed runs, optionally filtered by policy ID and/or task name. Includes success rates, reward statistics, and step counts.
- Parameters:
policy_id – Optional filter for runs using a specific policy.
task – Optional filter for runs of a specific task (partial match).
- Returns:
Dictionary containing aggregate statistics including total runs, successful runs, success rate, and reward/step averages and extrema.