Files
decision/crates/ld-engine/src/lib.rs
T
YvvandClaude Opus 5.5 ee37c3b4d5 Moteur : le tampon des votes (ld_engine::buffer) — réconciliation, poids des états, intention à la place du vote vu ; trustinWallet : casts_simulated (lot V, ADR 0012)
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>
2026-11-02 05:44:00 +01:00

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};