WI-013 · Platform & Contracts · deterministic-ranking
queued P1 medium risk Owner: Paul 0% · 0/5 tasks complete
| Code | WI-013 |
|---|---|
| Phase | Platform & Contracts |
| Order | 13 of 93 |
| Story points | 8 |
| Primary surface | Ranking engine library (pure: TrustedScanResult [branded canonical P1 ScanResult] + context -> ordered result) |
| Retires | — |
| Depends on | Freeze scan I/O contract schemas + versioning, Output validation core — trust pipeline (stages 0–9, issue/receipt model, rule registry, deterministic repair, branded TrustedScanResult) |
| Blocks | Ranking replay & calibration tooling (historical replay, policy comparison, offline outcome metrics) |
Deterministic candidate ranking computed by TroveSnap from the model's component scores (never the model's own ordering), with documented per-profile weights (§20).
Spec (docs/specs/P4)
Build (engine)
Test (keyless)
Freeze (§38)
Pure CandidateRankingEngine: only P3 trusted results enter (the branded canonical P1 ScanResult minted by WI-012 — P3 does not reshape); features deterministically derived from validated evidence + supplied context (model supplies no authoritative score); fixed-point integer scoring + caps; deterministic priority bands; stable total-order tie-break ending in candidate ID; per-intent policies (personal_hunt + estate_organizer); explanation codes + canonical ranking hash; golden/property/config tests pass (bounds, input-order invariance, idempotence, monotonicity). Per spec §35/§36 (engine rows). §38 reconciliations before freeze.
No paid API / infra spend triggered by this item.
queued Sprint: P&C Wave 2: Core Contracts
Edit status / sprint on the ★ Live Board → — changes are logged live with who / when / why.
No human tasks linked.
None recorded yet.
None recorded yet.
None recorded yet.
None recorded yet.
No tool calls recorded.
No files / artifacts recorded.
No log entries yet.