forked from yvv/decision
- Blueprint définitif (docs/dev/BLUEPRINT-V2.md + JSON) : panel 4 visions + 3 juges, corpus doctrinal (Mon nom est personne, Une économie du don, SejeteralO), 4 critiques d'intégration, 3 vérificateurs, réparations - Corpus d'intention + lectures brutes archivés - Moteur porté Python→TS pur : threshold (inertie WoT, Smith, ComTech), nuancé 6 niveaux, DSL modeParams — 45 tests vitest, parité croisée vérifiée (Forgeron W=7224 T=120 ⇒ 94) - Contrat de domaine v2 (types/domain.ts) + lexique UI (lexicon.ts) - vitest + idb-keyval en dépendances Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
12 lines
511 B
TypeScript
12 lines
511 B
TypeScript
/**
|
|
* Pure voting-formula engine — TypeScript port of backend/app/engine/.
|
|
* Python is the reference implementation; the vitest suite in
|
|
* frontend/tests/engine/ mirrors the backend pytest suite.
|
|
*/
|
|
|
|
export { wotThreshold, smithThreshold, techcommThreshold } from './threshold'
|
|
export { nuancedResult, LEVEL_LABELS, NUM_LEVELS } from './nuanced'
|
|
export type { NuancedResult } from './nuanced'
|
|
export { parseModeParams, formatModeParams } from './modeParams'
|
|
export type { ModeParams } from './modeParams'
|