-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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: LEAP-930: Set model as prelabeler #5709
Conversation
state (i.e. no predictions were selected). Fixing a bug with model version getting reset on patch request Adding tests
✅ Deploy Preview for heartex-docs canceled.
|
✅ Deploy Preview for label-studio-docs-new-theme canceled.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #5709 +/- ##
========================================
Coverage 75.95% 75.96%
========================================
Files 158 158
Lines 13327 13331 +4
========================================
+ Hits 10123 10127 +4
Misses 3204 3204
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
A few small requests here |
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.
Going to approve because no blocking feedback. I'm not sure what happened with that script having formatting changes.
Co-authored-by: Jo Booth <jo.m.booth@gmail.com>
This code sets a model as a default prelabeler in case no other option was selected. This is done to keep it consistent with how offline predictions are used when uploaded (they get selected).
That's basically a #5695 fixed for Follow Merge
PR fulfills these requirements
Change has impacts in these area(s)
Describe the reason for change
Label Stream and other flows have some issues when model is added but not selected because of discrepancies in logic.
What alternative approaches were there?
We could change the way model is added and handled in settings, but autoselect is small and precise fix.
Does this PR introduce a breaking change?
What level of testing was included in the change?