Repository navigation
feat(curation): selectable VLM and segmenter assist per run, cluster, sub-cluster, selection and box - #332
Merged
Conversation
…ters (classify, attributes)
…/selectable-assist # Conflicts: # CHANGELOG.md
…he assist run wire
…r job poll; fold the proposal on the cluster page
…ogs and screenshot capture state
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Selectable VLM and segmenter assist: the VLM and the segmenter are chosen per run, never hard-coded, at every granularity (cluster, sub-cluster, selected crops, a single crop or box, a filter). Plan:
docs/design/selectable_assist_plan.md(owner decisions D1 to D4 approved; deviations recorded at the end of the plan).What it adds
POST /assist/runs(+ read, list, cancel, apply): targetscrops,boxes,cluster(with optionalcluster_subid),filter; actionsclassify,attributes,verify,segment; dry run first, fail-closed refusals.min(n, max(8, min(64, ceil(2*sqrt(n))))), stratified by sub-cluster.scope_changedrefusal); applied labels arehuman(D2).make/modelkeys and fields are removed (D1).region_verify),segmentaction withwaiting_region./reprocessignoringlimit/samplefor the region and vlm scopes with a filter;GET /crops?cluster_subid=./vlm/label_clusterand/vlm/verify_regions.region_verifyswitch, the sub-cluster tab on the server filter; docs guide and Cropwright page.Tests
Targeted tests per wave (7,013 passed across the affected backend directories; vitest 4,860; stubbed e2e for the touched pages). Full offline suite and stubbed e2e run once here by CI. Live check on the dev stack follows in the PR thread.