Overview
Thegeval validate command validates a contract file to ensure it’s syntactically and semantically correct before use.
Usage
Options
| Option | Description |
|---|---|
<path> | Path to eval contract (YAML/JSON) (required) |
--strict | Enable strict validation (warnings become errors) |
--json | Output results as JSON |
Example
What It Checks
- Contract schema version
- Required fields are present
- Rule syntax is correct
- Metric references are valid
- Baseline configurations are correct
- Operator syntax is valid