TonicAI/tonic_validate

Validate Score Values

joeferraratonic opened this issue · 1 comments

Add validation to the metric scores to ensure that they fall in the range that they say they fall in to.

We do have validation to see if the scores returned from the LLMs can be parsed into floats. If the scores cannot be parsed into floats, then an error message is logged and a default score of 0.0 is returned. This issue is asking to add additional validation that in addition to the scores being parsable as floats, they also fall into the required range.

Resolved by #78.