T-G — Scorer & dashboard v1: reliability scorer, score handler, adjusted-confidence hook, dashboard P01 #22

Open
opened 2026-09-11 09:02:12 +00:00 by bart · 0 comments
Collaborator

Parent

Row T-G in docs/12-implementation-plan.md (branch, owned paths and doc section are defined there).

What to build

The scorer computes a Beta-smoothed, time-decayed hit rate per site/vehicle from feedback, exposes the adjusted_confidence pure hook (called by the projector; signature agreed in PH1.4), and GET /dashboard returns tiles computable from master data and ingest data. A planner opens P01 and sees those tiles.

Acceptance criteria

  • Unit tests for decay, α/β smoothing and clamping against hand-computed values
  • score task handler writes reliability_score rows with their inputs
  • GET /dashboard returns the P01 tiles from seeded data; P01 renders them with %/n= formatting
  • Scorer imports only core and contracts; docs/05 learning loop updated

Blocked by

  • #12 — Engine contracts: PlanningSnapshot, PlanResult, Finding, projector/scorer I/O, task payloads, code lists, fixtures
  • #15 — API surface: every DTO and endpoint from docs/09-api.md stubbed, openapi.json committed
  • #6 — Worker skeleton: claim loop, task handler registry, jobs discovery, heartbeat
  • #13 — Web shared UI: Optimus wrappers, pipes, view-model types, generic admin CRUD, store slice pattern
## Parent Row **T-G** in `docs/12-implementation-plan.md` (branch, owned paths and doc section are defined there). ## What to build The scorer computes a Beta-smoothed, time-decayed hit rate per site/vehicle from feedback, exposes the `adjusted_confidence` pure hook (called by the projector; signature agreed in PH1.4), and `GET /dashboard` returns tiles computable from master data and ingest data. A planner opens P01 and sees those tiles. ## Acceptance criteria - [ ] Unit tests for decay, α/β smoothing and clamping against hand-computed values - [ ] `score` task handler writes `reliability_score` rows with their inputs - [ ] `GET /dashboard` returns the P01 tiles from seeded data; P01 renders them with `%`/`n=` formatting - [ ] Scorer imports only `core` and `contracts`; docs/05 learning loop updated ## Blocked by - #12 — Engine contracts: PlanningSnapshot, PlanResult, Finding, projector/scorer I/O, task payloads, code lists, fixtures - #15 — API surface: every DTO and endpoint from docs/09-api.md stubbed, openapi.json committed - #6 — Worker skeleton: claim loop, task handler registry, jobs discovery, heartbeat - #13 — Web shared UI: Optimus wrappers, pipes, view-model types, generic admin CRUD, store slice pattern
Sign in to join this conversation.
No labels
ready-for-agent
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
patrick/Polaris#22
No description provided.