-
Notifications
You must be signed in to change notification settings - Fork 382
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 helper method for genai metrics #2519
Add helper method for genai metrics #2519
Conversation
Signed-off-by: Kartik Choudhary <[email protected]>
Signed-off-by: Kartik Choudhary <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2519 +/- ##
==========================================
- Coverage 88.24% 80.91% -7.34%
==========================================
Files 142 34 -108
Lines 7952 2483 -5469
==========================================
- Hits 7017 2009 -5008
+ Misses 935 474 -461
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Added a helper method
get_genai_metric_mean
to return the mean of the metrics calculated for individual data points.Updated the test for genai metrics to also test for this new helper method, and refactored some repeated code into a helper function.