| """Adherence dynamics.""" | |
| from __future__ import annotations | |
| def update_adherence(current: float, burden_score: float) -> float: | |
| return max(0.05, min(0.99, current - 0.1 * burden_score + 0.05)) | |
| """Adherence dynamics.""" | |
| from __future__ import annotations | |
| def update_adherence(current: float, burden_score: float) -> float: | |
| return max(0.05, min(0.99, current - 0.1 * burden_score + 0.05)) | |