forked from yvv/decision
Testés d'abord (vus rouges) : une voix par identité, la dernière dans l'ordre de la chaîne quel que soit l'ordre de lecture, un « pour » prouvé sur une version retenue écarté (le vote d'avant reste), le vote simulé au bloc 0, ce que pèse chaque état chaîne fermée ou ouverte, la bascule SIMULATED_ADOPTS. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
25 lines
763 B
Rust
25 lines
763 B
Rust
//! Pure engines of libreDecision — no IO, no clock, no randomness.
|
|
//!
|
|
//! Everything that decides an outcome lives here so it can be tested in
|
|
//! isolation and ported verbatim: the inertial threshold (parity with the
|
|
//! Python/TypeScript reference of the v2 maquette), the edit classifier that
|
|
//! separates a typo fix from a change of meaning, the rule-based editing
|
|
//! assistant, and the composition of a document under permanent vote.
|
|
|
|
pub mod address;
|
|
pub mod assist;
|
|
pub mod ballot;
|
|
pub mod buffer;
|
|
pub mod compose;
|
|
pub mod correction;
|
|
pub mod edit;
|
|
pub mod inertia;
|
|
pub mod names;
|
|
pub mod objection;
|
|
pub mod order;
|
|
pub mod pending;
|
|
pub mod threshold;
|
|
|
|
pub use inertia::{InertiaLevel, Participation, Scale};
|
|
pub use threshold::{FormulaParams, Tally};
|