diff --git a/CLAUDE.md b/CLAUDE.md index d89f7ad..a3afe58 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -63,6 +63,46 @@ are to raise the threshold, weight the `hasRCT` and `hasMeta` signals that the implying a distinction the data does not carry. Picking one is the owner's call. +**What changed on 2026-09-23 is what the interface shows, not the field.** A +constant is survivable in a data file and not on a page: `strong` was printed +on all 204 cards, and `study.html` drew it as a filled meter reading "Strong +Evidence Base" at 80 or 90 per cent. A bar at 80 per cent implies a measurement +against a maximum; there is no maximum and nothing was measured. + +The two signals the tier short-circuits past are **not** constants, and they +are now computed into `master-list.json` by `evidenceSignals()` and reported +rather than scored: + +| signal | studies | +|---|---| +| cites experimental or quasi-experimental work | 61 of 204 | +| cites a systematic review or meta-analysis | 7 of 204 | + +The card footer carries the reference count (4 or 5, so it says something) and +a marker for the stronger of the two signals. The study page states both as +facts. And the sidebar has an **Evidence facet** filtering on them, with both +selected meaning *both* rather than either, because a reader asking for +experimental work and a review wants the studies carrying both. + +`evidenceTier()` is untouched and still returns `strong` for all 204. When the +editorial question is settled, that is the one function to change. + +## The interface on a phone + +Three things were measured at 390x844 on 2026-09-23 and fixed: + +- **The site had no name.** `.site-logo span:last-child { display: none }` at + 480px left a blue square in the corner and nothing else. The wordmark + shortens to "Dev" instead, which the markup carries in its own span. +- **The welcome panel filled the whole first screen.** Over 600px of + explanation before a single study, so a visitor landed on a help panel rather + than on a library. Its feature grid is hidden and its description clamps to + three lines below 700px; the panel is still dismissible and the text is still + there. Two study cards are now above the fold. +- **The card footer put "Read study" and "5 sources" each across two lines**, + because a link and three metadata items were competing for one row. The link + takes its own line below 460px. + ## Watch out for - **The sitemap uses query strings.** Every study is diff --git a/about.html b/about.html index 693585c..4d8cf54 100644 --- a/about.html +++ b/about.html @@ -39,7 +39,7 @@