Overview
This example shows how to enforce AI safety and compliance requirements using Geval.Contract
Sample Data
safety-eval-data.csv:Running the Check
Expected Output
PASS:Strict Safety Requirements
For compliance-critical applications, use strict thresholds:CI/CD Integration
Best Practices
- Use max aggregation for safety metrics to catch any violations
- Set strict thresholds for compliance requirements
- Block on violations - safety should never be compromised
- Document requirements - make thresholds clear in descriptions
- Regular audits - review safety metrics regularly