Commit graph

2 commits

Author SHA1 Message Date
d670e7b3ee
test(playground): require every inlined demo report to equal its fixture
The demo block is output of scripts/build-demo-state.mjs, so each inlined report must equal playground/test-fixtures/<id>.md. Red on 70731af: classify, requirements, conformity, review, adr and summary differ. The block carries the corrected AI Act deadlines while the fixtures still carry 2027-08-02, so the next rebuild would silently put the old dates back in the demo.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 15:06:19 +02:00
820d62ddb4
test(playground): require the demo project description to match its reports
New gate tests/kb-update/test-demo-project-description.test.mjs. The demo project card must name the domain of the classify fixture's system description (bostøtte), must not name byggesak, and the inlined description must match scripts/build-demo-state.mjs. Red on 70731af: 1 of 3 fails.

Chose a pinned domain term shared with the classify fixture over a generic word-overlap score, because the old description already shared generic words (kommune, chatbot, innbyggere) with the reports and would have passed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 15:06:19 +02:00