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

# evaluators.Utils

> Utility functions and helpers for Evaluators integration.

[View module source on GitHub](https://github.com/maximhq/maxim-py/blob/main/maxim/evaluators/utils.py)

#### sanitize\_pass\_fail\_criteria

```python theme={null}
def sanitize_pass_fail_criteria(name: str,
                                pass_fail_criteria: PassFailCriteria)
```

Sanitize the pass fail criteria.

**Arguments**:

| Name                 | Type                                                          | Description                         |
| -------------------- | ------------------------------------------------------------- | ----------------------------------- |
| `name`               | *str*                                                         | The name of the evaluator.          |
| `pass_fail_criteria` | *[PassFailCriteria](/sdk/python/references/models/evaluator)* | The pass fail criteria to sanitize. |
