homepage: capability equivalence on the AI cards

Every fleet model card (and the #models docs section) now states, in
plain family-facing terms, what the model is equivalent to:
frank-large ~ Claude Sonnet 5 / OpenAI-Luna, frank-primary ~ Claude
Opus 4.8 / OpenAI-Terra (both Summer 2026 frontier), frank-secondary ~
last year (2025) frontier. Rendered as a new details.equiv line
(desc-equiv, styled in the head color, bare-mode clean); pinned in
homepage_config.bats.
This commit is contained in:
Frank
2026-10-08 01:30:50 -07:00
parent 76aaa2543b
commit 7066accc25
5 changed files with 27 additions and 2 deletions
+17
View File
@@ -77,3 +77,20 @@ assert by_probe.get("127.0.0.1:7770") == "frank-large", by_probe.get("127.0.0.1:
assert by_probe.get("127.0.0.1:7771") == "frank-secondary", by_probe.get("127.0.0.1:7771")
PY
}
@test "every fleet LLM card carries a user-facing equivalence note" {
# Frank's capability framing (2026-10-08): each card must state, in plain
# terms, what the model is equivalent to — the cards' whole purpose for
# family users is "how smart is this and what is it for".
python3 - "$REPO_ROOT/shared/homepage/services.json" <<'PY'
import json, sys
services = json.load(open(sys.argv[1]))
fleet = {s["name"]: s for s in services if s.get("name") in ("frank-large", "frank-primary", "frank-secondary")}
assert len(fleet) == 3, sorted(fleet)
for name, s in fleet.items():
eq = s.get("details", {}).get("equiv", "")
assert eq.strip(), f"{name} card has no equivalence note"
PY
grep -q "desc-equiv" "$REPO_ROOT/shared/homepage/app.js"
grep -q "desc-equiv" "$REPO_ROOT/shared/homepage/style.css"
}