-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[FIX] Test & Score: crashing prevented when learner disconnects #2194
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2194 +/- ##
==========================================
+ Coverage 72.02% 72.02% +<.01%
==========================================
Files 318 318
Lines 54580 54583 +3
==========================================
+ Hits 39309 39312 +3
Misses 15271 15271 Continue to review full report at Codecov.
|
@@ -381,6 +381,29 @@ def shuffle_split_changed(self): | |||
def _param_changed(self): | |||
self._invalidate() | |||
|
|||
def push_results(self, learners, results, class_var): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would put this method below _update_results and pick another name. A docstring might be a good idea as well, as it is not that obvious what the method does.
def fill_results(self, learners, results, class_var): | ||
""" | ||
Called by _update_results. This method prepares calculated results and | ||
put them into self.learners. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
puts
When Test & Score performs evaluation sb might disconnect connection from some learner. https://sentry.io/biolab/orange3/issues/227231658/
Issue
When Test & Score performs evaluation sb might disconnect connection from some learner. Widget then crashes.
https://sentry.io/biolab/orange3/issues/227231658/
Description of changes
Includes