read the save's chunk blocks, and check the rock below the surface

A chunk's solid blocks are a palette of block ids, raw or zstd, and a
zstd frame of bit planes; a layer of a lone 0 is all air. With them,
vsmv verify compares the rock of every stored block below the surface
with the strata laid against our own heights, which predate the dry
seabed raise: 99.91% of 1.38 billion blocks match. Lava basalt near the
bottom, the granite of cave walls and structures, and columns whose
height differs explain all but 0.0011%, nearly all of that in one area
at the explored edge whose layer boundaries are not explained yet.

What the save has instead of stratum rock is tallied too, as the
ground truth the deposits phase can be checked against.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-10 11:59:26 +03:00
parent 53950a465c
commit 2c16f8caef
6 changed files with 335 additions and 17 deletions

View File

@@ -88,6 +88,7 @@
(var failed int (+ (verify-stories s g) (verify-regions s g out)
(verify-ores s minerals out)
(verify-readings s g (river-config/defaults) rocks minerals)
(verify-strata s g (river-config/defaults) rocks out)
(verify-rivers s g (river-config/defaults) out)
(verify-heights s g (river-config/defaults) rocks out)))
(save/close s)