Skip to content

Commit b68d4e2

Browse files
docs: correct coverage-floor figures to match vitest.config.ts
1 parent 40ae512 commit b68d4e2

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

CLAUDE.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ body from it) and a synchronised `PRIVATE_EQUALITY_VERSION`.
8080
## Testing
8181

8282
Tests live in `src/*.test.ts`. Vitest with a per-file coverage gate
83-
(`vitest.config.ts`). Coverage floor: `group`/`zkp` at 100%, `smp` at 100%
84-
lines / 87% branch. Tests cover the full protocol round-trip, mismatch
83+
(`vitest.config.ts`). Coverage floors (per file): functions 100% on all three gated files;
84+
`zkp` lines ≥95 / branches ≥90; `group` and `smp` lines ≥90 / branches
85+
≥85. Achieved line coverage is currently 100% on all three. Tests cover the full protocol round-trip, mismatch
8586
non-leakage, binding mismatch aborts, malformed/replayed messages, and
8687
tampered proofs. PRs touching `zkp.ts` or `smp.ts` require crypto review.

0 commit comments

Comments
 (0)