Files
settled-reach/server/tests/golden/believability.json
T
jpmschweitzerandClaude Opus 4.8 31b553a3b3 feat(simulation): intra-class micro-habitat mosaic v1 — vegetation/water texture (T-1084, D-246)
Sub-chunk mosaic that modulates the D-228 axes into a spatially-coherent,
relief/moisture-conditioned mosaic of micro-habitats within a terrain class —
the fix for the aliveness probe's uniform "Wetland 100%".

- seed.rs: SeedDomain::VoxelMosaic = 12 (append-only; pinned-discriminant guard)
- voxel.rs: five new D-228 axis values (Vegetation::{Meadow,Deadfall,Lichen},
  TerrainMaterial::{Hardpan,Scree}); the per-family-gated mosaic pass
- detail_scatter.rs: voxel_mosaic() selection field (~8-64 m band)
- atlas/mosaic.rs: surface-class palette + integer-basis-point weighted selection
  with moisture-affinity conditioning; temperate/native baseline palettes
- data/mosaic_constants.toml: source-canonical palette mirror
- believability.rs: micro_habitat_distinct metric + D-245 intra-class criterion

v1 scope (D-246-faithful): modulates vegetation + water only, in the vegetated
classes (Wetland/Forest/Grassland), so the D-239 §8 lithology law is untouched;
water is gated on the T-1040 has_active_channel hydrology rule. Material variants
(hardpan/scree) and the extreme classes are a §8-aware follow-up; the biome-aware
palette variants (T-1085 vocab) extend the baseline before generation.

Goldens regenerated (believability + derivation). Full server suite green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-03 10:42:20 +02:00

85 lines
1.7 KiB
JSON

[
{
"body_id": "GJ338Bd",
"world_seed": 13200299156134074780,
"district_count": 2048,
"voxel_sampled_districts": 64,
"contrast": {
"moisture_q": {
"min": 32,
"max": 80,
"distinct": 49
},
"elev_q": {
"min": 0,
"max": 98,
"distinct": 99
},
"slope_q": {
"min": 0,
"max": 13,
"distinct": 14
},
"ocean_fraction_q": {
"min": 0,
"max": 100,
"distinct": 65
},
"morphology_zones": 9,
"vegetation_classes": 3,
"terrain_materials": 4,
"voxel_relief_m": 20,
"micro_habitat_distinct": 2
},
"coherence": {
"water_districts": 49,
"water_districts_wet": 44,
"drainage_samples": 0,
"drainage_monotonic": 0,
"vegetation_samples": 64,
"vegetated_districts": 8
}
},
{
"body_id": "GJ244Ad",
"world_seed": 13200299156134074780,
"district_count": 2048,
"voxel_sampled_districts": 64,
"contrast": {
"moisture_q": {
"min": 0,
"max": 20,
"distinct": 21
},
"elev_q": {
"min": 0,
"max": 99,
"distinct": 100
},
"slope_q": {
"min": 0,
"max": 6,
"distinct": 7
},
"ocean_fraction_q": {
"min": 0,
"max": 100,
"distinct": 65
},
"morphology_zones": 9,
"vegetation_classes": 1,
"terrain_materials": 4,
"voxel_relief_m": 19,
"micro_habitat_distinct": 0
},
"coherence": {
"water_districts": 25,
"water_districts_wet": 22,
"drainage_samples": 0,
"drainage_monotonic": 0,
"vegetation_samples": 64,
"vegetated_districts": 0
}
}
]