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 helper method for genai metrics #2519

Merged
merged 13 commits into from
Jan 31, 2024

Conversation

kartik727
Copy link
Contributor

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.

@codecov-commenter
Copy link

codecov-commenter commented Jan 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7aa72fb) 88.24% compared to head (eeefe71) 80.91%.

❗ Current head eeefe71 differs from pull request most recent head 008060f. Consider uploading reports for the commit 008060f to get more accurate results

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     
Flag Coverage Δ
unittests 80.91% <100.00%> (-7.34%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@imatiach-msft imatiach-msft merged commit 5b4bd20 into microsoft:main Jan 31, 2024
101 checks 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.

None yet

3 participants