File size: 231 Bytes
877add7
 
 
 
 
 
 
1
2
3
4
5
6
7
8
"""Disease stability proxy dynamics."""

from __future__ import annotations


def disease_stability_proxy(burden_score: float, adherence: float) -> float:
    return max(0.0, min(1.0, 0.7 * adherence + 0.3 * (1.0 - burden_score)))