What
The coherenceScore() and bpmFromHz() functions in packages/core/src/coherence.ts have JSDoc but could benefit from more complete @example blocks showing real-world usage.
Where
packages/core/src/coherence.ts
How
- Look at existing
@example patterns in packages/core/src/hrv.ts for reference
- Add a practical example showing how to use coherence scoring with RR intervals from a session
- Run
pnpm test && pnpm lint to verify
Acceptance Criteria
What
The
coherenceScore()andbpmFromHz()functions inpackages/core/src/coherence.tshave JSDoc but could benefit from more complete@exampleblocks showing real-world usage.Where
packages/core/src/coherence.tsHow
@examplepatterns inpackages/core/src/hrv.tsfor referencepnpm test && pnpm lintto verifyAcceptance Criteria
@examplewith runnable TypeScriptpnpm test && pnpm lintpass