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

Raise exception instead of logging warnings when model cannot be loaded #1886

Merged
merged 2 commits into from
Jan 7, 2023

Conversation

gaugup
Copy link
Contributor

@gaugup gaugup commented Jan 6, 2023

Description

Looks like not raising this exception causes the downstream components to fail anyways. Hence, raising the exception instead of just logging a warning.

Checklist

  • I have added screenshots above for all UI changes.
  • I have added e2e tests for all UI changes.
  • Documentation was updated if it was needed.

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>
@codecov-commenter
Copy link

codecov-commenter commented Jan 6, 2023

Codecov Report

Merging #1886 (b082559) into main (502edf8) will not change coverage.
The diff coverage is 50.00%.

@@           Coverage Diff           @@
##             main    #1886   +/-   ##
=======================================
  Coverage   93.35%   93.35%           
=======================================
  Files          93       93           
  Lines        4574     4574           
=======================================
  Hits         4270     4270           
  Misses        304      304           
Flag Coverage Δ
unittests 93.35% <50.00%> (ø)

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

Impacted Files Coverage Δ
...ai/responsibleai/rai_insights/rai_base_insights.py 87.83% <50.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@gaugup gaugup enabled auto-merge (squash) January 7, 2023 15:03
@gaugup gaugup merged commit 10d432f into main Jan 7, 2023
@gaugup gaugup deleted the gaugup/RaiseModelLoadErrorInsteadOfWarning branch January 7, 2023 16:31
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.

4 participants