Skip to content

Score multi-head search with the full appearance model - #118

Merged
vycdev merged 3 commits into
developfrom
fix/issue-113-multi-head-appearance-search
Nov 1, 2026
Merged

vycdev merged 3 commits into
developfrom
fix/issue-113-multi-head-appearance-search

Conversation

@vycdev

@vycdev vycdev commented Nov 1, 2026

Copy link
Copy Markdown
Owner

Multi-head search could choose fitted-optics/CIE76 orders that the calibrated preview and weighted CIEDE2000 gain gate rejected, causing single-head fallback. This change keeps the broad search cheap and uses the full appearance model to choose among bounded shortlists and reconcile each region's final filament path.

  • Rank windows by weighted regional improvement, scoring original group members rather than only RGB centroids. Reuse fully scored assignments when their physical prefix/suffix context matches.
  • Preserve calibrated previews, the 0.25 gain gate, original home layers, zero-weight colors, regional priorities, and physical head routing. Integrates the merged Multi-head schedule can load a filament no color prints #114 filament requirements and dithering behavior.
  • Remove unused LUT analyzers/result bookkeeping, replace useful coverage with deterministic regression tests, and update the Unreleased changelog and all 12 usage guides.

Local validation

  • npm test: 1,050 passed; npm run lint and npm run build passed.
  • Fresh post-Multi-head schedule can load a filament no color prints #114 replay: all 28 combinations (2–8 heads, both grouping modes, measured-profile cats/Rocco) retain identical paths, predicted gains, and fallback outcomes.
  • Seeded multi-window/appearance regressions, repeated path/preparation hashes, and shortlist-size 8/32/64 comparisons are included.

Evidence and limits

Controlled measurements reduced fallbacks from 19/28 to 1/28 with no predicted-gain regressions; the 0.25 threshold is unchanged. See the benchmark report and raw measurements for complete results and timing provenance.

Cats replays the recorded order; fresh Exact reproducibility and warmed repeated timings are tracked separately in #117. Runtime observations are single-pass measurements on a shared machine, and the shortlist remains a heuristic.

Related to #113.

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.

1 participant