Compléter la trace des optimisations de qualité #50

Closed
opened 2026-08-30 20:20:16 +02:00 by nessar · 6 comments
nessar commented 2026-08-30 20:20:16 +02:00 (Migrated from 172.24.0.1:8928)

Parent

#46

What to build

Complete the original calculation trace for every quality phase after preferences: public-holiday weeks, non-working-day gain, longest work sequence, short work-sequence deficit, supporting placements, balance expiry, and final dates. The person can inspect every actual comparison, move, addition, removal, and tie-break, making the trace of a successful plan complete and untruncated.

Acceptance criteria

  • Every quality phase emits its actual planning decisions and candidate evaluations through the existing trace model.
  • Public-holiday-week completion records multi-placement moves or additions atomically where the planner treats them jointly.
  • Movable-placement passes record original date, candidate dates, protected higher objectives, accepted move, and rejected alternatives.
  • Large-plan sampling marks eligible but skipped dates as not examined rather than evaluated and rejected.
  • Supporting-placement addition and redundant-placement removal remain visible even when absent from the final plan.
  • Balance-expiry replacement and earliest-date tie-breaks identify the exact decisive comparison.
  • The trace keeps all actual evaluations without a count cap or silent truncation.
  • Replaying the initial state and accepted deltas reconstructs the exact returned successful plan.
  • The advanced trace view identifies the trace as complete only after every completed planning phase has delivered its events.
  • Representative and loaded deterministic scenarios produce the same outcome with tracing as before tracing.
  • Public planning-module tests cover every quality phase and no test spies on private loop order or helpers.

Blocked by

  • #49 — Tracer les obligations, le risque et les préférences du calcul original
## Parent #46 ## What to build Complete the original calculation trace for every quality phase after preferences: public-holiday weeks, non-working-day gain, longest work sequence, short work-sequence deficit, supporting placements, balance expiry, and final dates. The person can inspect every actual comparison, move, addition, removal, and tie-break, making the trace of a successful plan complete and untruncated. ## Acceptance criteria - [ ] Every quality phase emits its actual planning decisions and candidate evaluations through the existing trace model. - [ ] Public-holiday-week completion records multi-placement moves or additions atomically where the planner treats them jointly. - [ ] Movable-placement passes record original date, candidate dates, protected higher objectives, accepted move, and rejected alternatives. - [ ] Large-plan sampling marks eligible but skipped dates as not examined rather than evaluated and rejected. - [ ] Supporting-placement addition and redundant-placement removal remain visible even when absent from the final plan. - [ ] Balance-expiry replacement and earliest-date tie-breaks identify the exact decisive comparison. - [ ] The trace keeps all actual evaluations without a count cap or silent truncation. - [ ] Replaying the initial state and accepted deltas reconstructs the exact returned successful plan. - [ ] The advanced trace view identifies the trace as complete only after every completed planning phase has delivered its events. - [ ] Representative and loaded deterministic scenarios produce the same outcome with tracing as before tracing. - [ ] Public planning-module tests cover every quality phase and no test spies on private loop order or helpers. ## Blocked by - #49 — Tracer les obligations, le risque et les préférences du calcul original
nessar commented 2026-08-30 20:20:17 +02:00 (Migrated from 172.24.0.1:8928)

mentioned in issue #51

mentioned in issue #51
nessar commented 2026-08-30 20:20:17 +02:00 (Migrated from 172.24.0.1:8928)

mentioned in issue #52

mentioned in issue #52
nessar commented 2026-10-02 14:54:29 +02:00 (Migrated from 172.24.0.1:8928)

Completion audit — 2026-10-02

All quality phases emit trace data, with reconstruction and loaded-sampling tests. Published TraceRecorder places candidate evaluations and accepted plan deltas in separate decisions, losing the required atomic association between the accepted comparison and mutation. Local commit 51978f7 introduces evaluationDecisions/acceptedCandidate linkage and corrects chosen statuses, but is unpublished. Reverify quality-phase fidelity after that repair.

Evidence: reviewed issue requirements/discussions and f1f0835 (published application source; live main 57a39c81 only adds Renovate configuration). Tested an isolated checkout of the published source: 20 test files, 157/157 tests passed, including the five benchmark scenarios. Local commit 51978f7 and uncommitted edits were inspected separately and are not evidence of published completion.

Completion audit — 2026-10-02 All quality phases emit trace data, with reconstruction and loaded-sampling tests. Published TraceRecorder places candidate evaluations and accepted plan deltas in separate decisions, losing the required atomic association between the accepted comparison and mutation. Local commit 51978f7 introduces evaluationDecisions/acceptedCandidate linkage and corrects chosen statuses, but is unpublished. Reverify quality-phase fidelity after that repair. Evidence: reviewed issue requirements/discussions and f1f0835 (published application source; live main 57a39c81 only adds Renovate configuration). Tested an isolated checkout of the published source: 20 test files, 157/157 tests passed, including the five benchmark scenarios. Local commit 51978f7 and uncommitted edits were inspected separately and are not evidence of published completion.
nessar commented 2026-10-03 15:17:29 +02:00 (Migrated from 172.24.0.1:8928)

Implemented with $luna-verified-implement and independently verified.

Original quality passes retain complete candidate history, actual incumbent comparison facts, moves/removals, tie-breaks, and explicit pruning without replaying optimization.

Validation: 198/198 tests across 23 files, app/spec TypeScript checks, ESLint, and production build pass. Chromium keyboard, focus-restoration, background comparison, and responsive checks at 375/768/1440 pixels pass with no page errors. Original benchmark outcomes match the pre-change baseline in all five scenarios, with and without tracing.

The implementation is in the local working tree based on 0ce33cc9d6fe7381965a9162571abe205d0b7350; no commit or push has been made.

Implemented with $luna-verified-implement and independently verified. Original quality passes retain complete candidate history, actual incumbent comparison facts, moves/removals, tie-breaks, and explicit pruning without replaying optimization. Validation: 198/198 tests across 23 files, app/spec TypeScript checks, ESLint, and production build pass. Chromium keyboard, focus-restoration, background comparison, and responsive checks at 375/768/1440 pixels pass with no page errors. Original benchmark outcomes match the pre-change baseline in all five scenarios, with and without tracing. The implementation is in the local working tree based on 0ce33cc9d6fe7381965a9162571abe205d0b7350; no commit or push has been made.
nessar (Migrated from 172.24.0.1:8928) closed this issue 2026-10-03 15:17:29 +02:00
nessar commented 2026-10-03 16:23:32 +02:00 (Migrated from 172.24.0.1:8928)

mentioned in issue #46

mentioned in issue #46

Preserved GitLab #50 history: source attribution, exact timestamps, discussion grouping and review positions. Historical diff snapshots: 0; visible source notes: 5.

gitlab-35-issue-50.md (SHA-256 07e44af6b9188ee9d82eb7a30c341a5b0e72eafcc0128bb3ae521b986e598942)

gitlab-35-issue-50.json (SHA-256 93acb6386f61eacd14e4d331b06ceff49d598fdb0a1fc6a0b25ed1c24732b44e)

Old CI job execution and reports are omitted. Original source files and rollback backups remain protected.

<!-- gitlab-to-gitea-history:35:Issue:50 --> Preserved GitLab #50 history: source attribution, exact timestamps, discussion grouping and review positions. Historical diff snapshots: 0; visible source notes: 5. [gitlab-35-issue-50.md](https://gitea.nessar.fr/attachments/f9389ce2-2708-47db-8807-c8f0ab195da0) (SHA-256 `07e44af6b9188ee9d82eb7a30c341a5b0e72eafcc0128bb3ae521b986e598942`) [gitlab-35-issue-50.json](https://gitea.nessar.fr/attachments/270f1c34-422e-4355-b4fb-539973bde684) (SHA-256 `93acb6386f61eacd14e4d331b06ceff49d598fdb0a1fc6a0b25ed1c24732b44e`) Old CI job execution and reports are omitted. Original source files and rollback backups remain protected.
gitea-emergency added this to the Development project 2026-10-11 22:14:32 +02:00
gitea-emergency moved this to Closed in Development on 2026-10-11 22:14:32 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nessar/vac-optimizer#50