> ## Documentation Index
> Fetch the complete documentation index at: https://icrl.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# CurationManager

> Automatic pruning manager

## Constructor

```python theme={null}
CurationManager(
    database: TrajectoryDatabase,
    threshold: float = 0.3,
    min_retrievals: int = 5,
    curate_every: int = 10,
)
```

## Methods

```python theme={null}
maybe_curate() -> bool
curate() -> list[str]
get_utility_scores() -> dict[str, float]
get_low_utility_trajectories() -> list[str]
```

`maybe_curate()` increments an internal counter and runs pruning every `curate_every` episodes.
