Estimator: Securo in the sizing data (608 / 724 MB, onboarding) — the website offers 64 apps

The machine estimator offers exactly the apps the apps pages list, so the Securo card needs its figures:
typical 608 MB (bench steady memory of all six containers) and peak 724 MB (their kernel peaks),
light CPU, source onboarding (2026-11-15). sizing-data.json rebuilt; SIZING.md's table row and the
"all apps" line moved to 64 (peak 23.2 GB, verdicts unchanged: tight at 32 GB, well from 48 GB);
the sizing test moved to 64 apps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012qRErfCoiTkvDK9N5XHbzb
This commit is contained in:
adminandClaude Opus 5.5 committed 2026-11-15 15:58:26 +01:00
1 parent 0fa1fe56d6
commit 8378dc446b
4 files changed
+35 -9

No files matched your search

+6 -6
View File
@@ -92,8 +92,8 @@ class SizingWeb(unittest.TestCase):
self.assertEqual(io.open(DATA, encoding="utf-8").read(), B.render(B.build()),
"sizing-data.json differs from a fresh build — run scripts/build_sizing_web.py")
def test_offers_the_63_listed_apps_plus_builtin(self):
self.assertEqual(len(self.all), 63) # 62 + Prowlarr (2026-10-15, R-1048)
def test_offers_the_64_listed_apps_plus_builtin(self):
self.assertEqual(len(self.all), 64) # 62 + Prowlarr (2026-10-15, R-1048) + Securo (2026-11-15)
self.assertEqual([a["slug"] for a in self.d["apps"] if a.get("builtin")], ["filebrowser"])
def test_guest_sizes_follow_the_installer(self):
@@ -109,7 +109,7 @@ class SizingWeb(unittest.TestCase):
"household": (HOUSEHOLD, [N, T, W, W, W, W, W], 16, 12),
"household without immich": ([s for s in HOUSEHOLD if s != "immich"], [T, W, W, W, W, W, W], 12, 8), # 2026-10-14 HP raise: 2,731 x 1.5 = 4,096.5 > 4,096
"immich alone": (["immich"], [N, W, W, W, W, W, W], 12, None), # 2026-10-18: Immich peak 3,983 (R-1147) → 4,453 > 4,096
"all 63": (self.all, [N, N, N, N, T, W, W], 48, 32), # 24 GB: guest 19,868 < peak 23,070 (22,377 before R-1147)
"all 64": (self.all, [N, N, N, N, T, W, W], 48, 32), # 24 GB: guest 19,868 < peak 23,794 (23,070 before Securo, 22,377 before R-1147)
"nothing": ([], [W] * 7, 8, None),
}
for name, (sel, want, rec, tight) in cases.items():
@@ -133,7 +133,7 @@ class SizingWeb(unittest.TestCase):
def test_segments_add_up_to_the_bar(self):
for name, sel in {"household": HOUSEHOLD, "household without immich": [x for x in HOUSEHOLD if x != "immich"],
"immich alone": ["immich"], "all 63": self.all, "nothing": []}.items():
"immich alone": ["immich"], "all 64": self.all, "nothing": []}.items():
well, segs = segments(self.d, sel)
self.assertAlmostEqual(sum(mb for _, mb in segs), well * 1024, delta=1, msg=name)
self.assertGreaterEqual(dict(segs)["base"], 0, name + ": base system negative")
@@ -148,7 +148,7 @@ class SizingWeb(unittest.TestCase):
base8 = small * 1024 - guest_mib(self.d, small)
tiny = ["glance"] # 6 MB: its fits-well size is far below 8 GB
self.assertLess(min_box_gb(self.d, (self.d["platform_mb"] + 7) * self.d["headroom"]), small)
for name, sel in {"nothing": [], "tiny": tiny, "household": HOUSEHOLD, "all 63": self.all}.items():
for name, sel in {"nothing": [], "tiny": tiny, "household": HOUSEHOLD, "all 64": self.all}.items():
bar, segs = segments(self.d, sel)
self.assertGreaterEqual(bar, small, name)
self.assertAlmostEqual(sum(mb for _, mb in segs), bar * 1024, delta=1, msg=name)
@@ -217,7 +217,7 @@ class SizingWeb(unittest.TestCase):
elif len(cells) > 2 and not cells[0].startswith("---"):
rows[cells[0]] = cells
sel = {"Household set": HOUSEHOLD, "Household set without Immich": [s for s in HOUSEHOLD if s != "immich"],
"Immich alone": ["immich"], "All 63 apps": self.all}
"Immich alone": ["immich"], "All 64 apps": self.all}
self.assertEqual(set(rows), set(sel))
for name, slugs in sel.items():
peak, verdicts = estimate(self.d, slugs)