spect8r

spect8r scores a specification against eight fixed review dimensions and aggregates them into one number. The prototype it was ported from mixed UI, fetch, and scoring logic inside React components; this core is the part that is pure and therefore testable on both hosts.

Severity is a total function of the score, and the boundaries are strict:

Score Severity
>= 8 positive
5–7 warning
< 5 critical

The strict < at 5 is load-bearing – a 5 is a warning, not a critical – and is pinned by the properties score-boundary-eight-positive and its sibling at the lower edge. The overall score is the mean of the eight dimensions rounded to one decimal place.

Also in the core: shape validators for stored reviews, dimension results, and API config; the 13 curated example specs; the provider-selection rule; and the #<slug> hash deep-link parser.

Deliberately not in the core: real provider calls (the suite runs against a canned-response stub), localStorage I/O, and React glue.

Status

Core-only. app.cljs is a stub; there is no UI on this page yet, and no provider key is ever read client-side in this state.

Piece Namespace State
Pure logic wal-sh.projects.spect8r.core complete
Storage wal-sh.projects.spect8r.storage complete
SPA entry wal-sh.projects.spect8r.app stub

41 example-based tests and 14 test.check properties are defined under test/wal_sh/projects/spect8r/.