feat(qa): Printer drift tracking and longitudinal verification analytics #95

Closed
opened 2026-08-25 15:48:18 +01:00 by gronod · 0 comments
Owner

Description

Introduce longitudinal printer quality tracking to detect physical hardware and ink drift over time. Periodic verification measurements are recorded against a baseline profile and charted across successive calibration dates.

Scope & Technical Requirements

  • Local Time-Series Store (src-tauri/src/quality_store.rs):
    • Dedicated Rust JSON store managing verification_history.json located in the application user data directory (AppData / config).
    • Captures structured verification records: id, timestamp (ISO 8601), printer_name, profile_name, avg_de, max_de, rms_de, patch_count, and status.
    • Backend Tauri commands: save_verification_record, get_verification_history, clear_verification_history, export_verification_history_csv.
  • Stage 5 Verification Analytics UI:
    • Interactive SVG historical drift trend chart displaying \Delta E metrics over time.
    • ISO 12647 tolerance threshold bands:
      • \Delta E < 1.0: Excellent (Green)
      • \Delta E < 2.0: Good (Blue)
      • \Delta E < 3.5: Acceptable (Yellow)
      • \Delta E \ge 3.5: Warning / Out of Tolerance (Red)
    • Tolerance breach alert card: Display "Re-profiling Recommended" action notification when consecutive verifications drift beyond acceptable thresholds.
    • Verification run log table with CSV export.

Acceptance Criteria

  • Verification results from Stage 5 automatically recorded to verification_history.json.
  • Interactive SVG trend chart accurately plots historical Delta E metrics across calibration dates.
  • Tolerance breach triggers "Re-profile Recommended" action notification.
  • Historical verification data can be exported to CSV.
  • Unit tests cover quality store serialization, query filtering, and CSV export.

Dependencies & Ordering

  • Milestone: Milestone 10 (v1.0.0)
  • Ordering: Step 11
  • Dependencies: Issue #94 (CGATS dataset import/export)
### Description Introduce longitudinal printer quality tracking to detect physical hardware and ink drift over time. Periodic verification measurements are recorded against a baseline profile and charted across successive calibration dates. ### Scope & Technical Requirements - **Local Time-Series Store (`src-tauri/src/quality_store.rs`)**: - Dedicated Rust JSON store managing `verification_history.json` located in the application user data directory (AppData / config). - Captures structured verification records: `id`, `timestamp` (ISO 8601), `printer_name`, `profile_name`, `avg_de`, `max_de`, `rms_de`, `patch_count`, and `status`. - Backend Tauri commands: `save_verification_record`, `get_verification_history`, `clear_verification_history`, `export_verification_history_csv`. - **Stage 5 Verification Analytics UI**: - Interactive SVG historical drift trend chart displaying $\Delta E$ metrics over time. - ISO 12647 tolerance threshold bands: - $\Delta E < 1.0$: Excellent (Green) - $\Delta E < 2.0$: Good (Blue) - $\Delta E < 3.5$: Acceptable (Yellow) - $\Delta E \ge 3.5$: Warning / Out of Tolerance (Red) - Tolerance breach alert card: Display "Re-profiling Recommended" action notification when consecutive verifications drift beyond acceptable thresholds. - Verification run log table with CSV export. ### Acceptance Criteria - [ ] Verification results from Stage 5 automatically recorded to `verification_history.json`. - [ ] Interactive SVG trend chart accurately plots historical Delta E metrics across calibration dates. - [ ] Tolerance breach triggers "Re-profile Recommended" action notification. - [ ] Historical verification data can be exported to CSV. - [ ] Unit tests cover quality store serialization, query filtering, and CSV export. ### Dependencies & Ordering - **Milestone**: Milestone 10 (`v1.0.0`) - **Ordering**: Step 11 - **Dependencies**: Issue #94 (CGATS dataset import/export)
gronod added this to the Milestone 11: Enterprise Colour Workflow (v0.6.0) milestone 2026-08-25 15:48:18 +01:00
gronod added the Kind/Feature
Priority
Medium
3
labels 2026-08-25 15:48:18 +01:00
gronod modified the milestone from Milestone 11: Enterprise Colour Workflow (v0.6.0) to Milestone 12: Future Workflow & Advanced Analytics (Deferred) 2026-09-01 16:43:47 +01:00
Sign in to join this conversation.