Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add validation for guardrail cutoff signs #19

Conversation

ksumit-nitp
Copy link
Contributor

Description

This PR adds a validation check for the signs of guardrail_cutoff values set in metrics. This ensures that validation rules are correctly enforced when loading and validating YAML configurations.

How is it tested?

Test cases are added to test the scenario with an invalid test yaml file.

@MaloChevillotte MaloChevillotte merged commit ea0b1a3 into Eppo-exp:main Oct 29, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants