v3 : inertie à cinq crans — moteur, données, serveur (L10)

Moteur (ld-engine/inertia.rs) : cinq crans, M_k = 50, 50, 55, 60, 66 % ;
s_k = 60, 67, 75, 83, 90 % de « pour » au-delà de C à la participation
habituelle p̃ ; G_k = ln(1 − (s_k − M_k)/(1 − M_k)) / ln(p̃). p̃ = médiane
des votants des propositions du groupe (au moins 5, votées dans l'année),
sinon la référence 2C/W ; bornée à [1 %, 50 %]. Le changement d'inertie
hérite du cran de l'article (remplace « inertie + »). Un seuil qui tombe
sur un entier n'y gagne plus une voix par arrondi.

Données : migration 0005 (les quatre mots deviennent 2 à 5, gardés tels
quels dans *_legacy ; adoptions intactes ; journaux inertia_changes et
inertia_amendments). Seed : 3 partout, 4 pour E1 et E2. Amendement
d'inertie gardé (E1, E2 : 3 → 4, seulement si aucun vote n'a changé leur
inertie ; une proposition d'inertie ouverte reste ouverte, votée au
nouveau cran), journalisé, une seule fois, republié.

Serveur : participation mesurée une fois par jour (settings), échelle
dans les seuils, le balayage et l'adoption ; crans, M, G, s_k, p̃ et sa
source servis au client.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Yvv
2026-10-30 15:14:40 +01:00
co-authored by Claude Opus 5.5
parent 8727315612
commit d762301706
16 changed files with 1817 additions and 224 deletions
+33 -33
View File
@@ -29,7 +29,7 @@
"code": "I1",
"section": "introduction",
"position": 1,
"inertia": "standard",
"inertia": 3,
"versions": [
{
"label": "1.0.0",
@@ -51,7 +51,7 @@
"code": "I2",
"section": "introduction",
"position": 2,
"inertia": "standard",
"inertia": 3,
"versions": [
{
"label": "1.0.0",
@@ -73,7 +73,7 @@
"code": "T1",
"section": "fondamental",
"position": 3,
"inertia": "standard",
"inertia": 3,
"versions": [
{
"label": "1.0.0",
@@ -95,7 +95,7 @@
"code": "E1",
"section": "fondamental",
"position": 4,
"inertia": "standard",
"inertia": 4,
"versions": [
{
"label": "1.0.0",
@@ -117,7 +117,7 @@
"code": "E2",
"section": "fondamental",
"position": 5,
"inertia": "standard",
"inertia": 4,
"versions": [
{
"label": "1.0.0",
@@ -139,7 +139,7 @@
"code": "T2",
"section": "technique",
"position": 6,
"inertia": "standard",
"inertia": 3,
"versions": [
{
"label": "1.0.0",
@@ -161,7 +161,7 @@
"code": "E3",
"section": "technique",
"position": 7,
"inertia": "standard",
"inertia": 3,
"versions": [
{
"label": "1.0.0",
@@ -197,7 +197,7 @@
"code": "E4",
"section": "technique",
"position": 8,
"inertia": "standard",
"inertia": 3,
"versions": [
{
"label": "1.0.0",
@@ -219,7 +219,7 @@
"code": "E5",
"section": "technique",
"position": 9,
"inertia": "standard",
"inertia": 3,
"versions": [
{
"label": "1.0.0",
@@ -241,7 +241,7 @@
"code": "E6",
"section": "technique",
"position": 10,
"inertia": "standard",
"inertia": 3,
"versions": [
{
"label": "1.0.0",
@@ -263,7 +263,7 @@
"code": "E7",
"section": "technique",
"position": 11,
"inertia": "standard",
"inertia": 3,
"versions": [
{
"label": "1.0.0",
@@ -299,7 +299,7 @@
"code": "T3",
"section": "technique",
"position": 12,
"inertia": "standard",
"inertia": 3,
"versions": [
{
"label": "1.0.0",
@@ -321,7 +321,7 @@
"code": "E8",
"section": "technique",
"position": 13,
"inertia": "standard",
"inertia": 3,
"versions": [
{
"label": "1.0.0",
@@ -343,7 +343,7 @@
"code": "E9",
"section": "technique",
"position": 14,
"inertia": "standard",
"inertia": 3,
"versions": [
{
"label": "1.0.0",
@@ -365,7 +365,7 @@
"code": "E10",
"section": "technique",
"position": 15,
"inertia": "standard",
"inertia": 3,
"versions": [
{
"label": "1.0.0",
@@ -387,7 +387,7 @@
"code": "E11",
"section": "technique",
"position": 16,
"inertia": "standard",
"inertia": 3,
"versions": [
{
"label": "1.0.0",
@@ -409,7 +409,7 @@
"code": "K1",
"section": "conclusion",
"position": 17,
"inertia": "standard",
"inertia": 3,
"versions": [
{
"label": "1.0.0",
@@ -431,7 +431,7 @@
"code": "K2",
"section": "conclusion",
"position": 18,
"inertia": "standard",
"inertia": 3,
"versions": [
{
"label": "1.0.0",
@@ -453,7 +453,7 @@
"code": "X1",
"section": "annexe",
"position": 19,
"inertia": "standard",
"inertia": 3,
"versions": [
{
"label": "1.0.0",
@@ -475,7 +475,7 @@
"code": "X1.1",
"section": "annexe",
"position": 20,
"inertia": "standard",
"inertia": 3,
"versions": [
{
"label": "1.0.0",
@@ -497,7 +497,7 @@
"code": "X1.2",
"section": "annexe",
"position": 21,
"inertia": "standard",
"inertia": 3,
"versions": [
{
"label": "1.0.0",
@@ -519,7 +519,7 @@
"code": "X1.3",
"section": "annexe",
"position": 22,
"inertia": "standard",
"inertia": 3,
"versions": [
{
"label": "1.0.0",
@@ -541,7 +541,7 @@
"code": "X2",
"section": "annexe",
"position": 23,
"inertia": "standard",
"inertia": 3,
"versions": [
{
"label": "1.0.0",
@@ -563,7 +563,7 @@
"code": "X2.1",
"section": "annexe",
"position": 24,
"inertia": "standard",
"inertia": 3,
"versions": [
{
"label": "1.0.0",
@@ -585,7 +585,7 @@
"code": "X2.2",
"section": "annexe",
"position": 25,
"inertia": "standard",
"inertia": 3,
"versions": [
{
"label": "1.0.0",
@@ -607,7 +607,7 @@
"code": "X2.3",
"section": "annexe",
"position": 26,
"inertia": "standard",
"inertia": 3,
"versions": [
{
"label": "1.0.0",
@@ -629,7 +629,7 @@
"code": "F1",
"section": "formule",
"position": 27,
"inertia": "standard",
"inertia": 3,
"versions": [
{
"label": "1.0.0",
@@ -651,7 +651,7 @@
"code": "F1.1",
"section": "formule",
"position": 28,
"inertia": "standard",
"inertia": 3,
"versions": [
{
"label": "1.0.0",
@@ -673,7 +673,7 @@
"code": "F1.2",
"section": "formule",
"position": 29,
"inertia": "standard",
"inertia": 3,
"versions": [
{
"label": "1.0.0",
@@ -695,7 +695,7 @@
"code": "F1.3",
"section": "formule",
"position": 30,
"inertia": "standard",
"inertia": 3,
"versions": [
{
"label": "1.0.0",
@@ -717,7 +717,7 @@
"code": "N1",
"section": "inertie",
"position": 31,
"inertia": "standard",
"inertia": 3,
"versions": [
{
"label": "1.0.0",
@@ -739,7 +739,7 @@
"code": "N1.1",
"section": "inertie",
"position": 32,
"inertia": "standard",
"inertia": 3,
"versions": [
{
"label": "1.0.0",
@@ -761,7 +761,7 @@
"code": "O1",
"section": "ordonnancement",
"position": 33,
"inertia": "standard",
"inertia": 3,
"versions": [
{
"label": "1.0.0",