maple.state.store.list_runs
- maple.state.store.list_runs(policy_id: str = None, task: str = None, limit: int = 100) List[Dict]
List runs with optional filters.
Returns evaluation runs, optionally filtered by policy ID and/or task name. Results are ordered by most recent first and limited to the specified count. Deserializes metadata for all returned runs.
- Parameters:
policy_id – Optional filter for runs using a specific policy.
task – Optional filter for runs of a specific task (partial match).
limit – Maximum number of runs to return.
- Returns:
List of dictionaries containing run data with parsed metadata.