# fix\(ai-insights\): preserve quota signal thresholds \(\#579\) · lucenx/codexbar-plasma

[View on GitCafe](https://git.cafe/lucenx/codexbar-plasma/commit/ec9be5f5ec573c3255b4717576937bc2b015358d)

Repository: [lucenx/codexbar-plasma](https://git.cafe/lucenx/codexbar-plasma)

Visibility: public

Requested revision: ec9be5f5ec573c3255b4717576937bc2b015358d

Requested commit: ec9be5f5ec573c3255b4717576937bc2b015358d

Commit: ec9be5f5ec573c3255b4717576937bc2b015358d

Tree: 4d6324ddf9200011dc3028a43d70f5f58bd99123

Author: Simone

Committer: GitHub

## Message

```
fix(ai-insights): preserve quota signal thresholds (#579)

Rounding before classification falsely marked 99.6 percent as exhausted and 79.6 percent as above the 80 percent warning threshold. Preserve measured fractions and cover default/custom thresholds with direct snapshot regressions.

Documentation: update the usage guide, AI snapshot contract, and Unreleased changelog. TODO parity scope is unaffected. Validation: make check passed with local optional KDE skips; focused snapshot tests pass without skips.
```

## Parents

- [211000eb273d63ff802aea995200c3b925f607f9](https://git.cafe/lucenx/codexbar-plasma/commit/211000eb273d63ff802aea995200c3b925f607f9?format=markdown)

[Source at this commit](https://git.cafe/lucenx/codexbar-plasma/tree/ec9be5f5ec573c3255b4717576937bc2b015358d?format=markdown)
