fix(traffic): сохранять точность объёмов и обозначать бинарные единицы

This commit is contained in:
Denozordec committed 2026-10-12 21:59:50 +07:00
1 parent 2358ecef60
commit 2b3d583e3b
29 files changed
+1452 -39

No files matched your search

@@ -0,0 +1,39 @@
{
"date": "2026-10-12",
"method": "Read-only current source reproduction: positive measured deltas are rounded before aggregation; binary quantity carries decimal label",
"cases": [
{
"bytes": 1024,
"actualGiB": 9.5367431640625e-7,
"apiTotal": 0,
"display": "0.0 ГБ",
"observed": true
},
{
"bytes": 1048576,
"actualGiB": 0.0009765625,
"apiTotal": 0,
"display": "0.0 ГБ",
"observed": true
},
{
"bytes": 1073741824,
"actualGiB": 1,
"apiTotal": 1,
"display": "1.0 ГБ",
"observed": true
},
{
"bytes": 1000000000,
"actualGiB": 0.9313225746154785,
"apiTotal": 0.9,
"display": "0.9 ГБ",
"observed": true
}
],
"merged100MiB": {
"apiTotal": 0,
"actualGiB": 0.09765625
},
"fixed": false
}