Files
jpmschweitzerandClaude Opus 5.5 6b50829d69 fix(simulation): Region's seam and speckle, and a conservation gate that runs (T-1213)
The fresh descent ladder (first since T-1240) showed Region carrying a
straight diagonal band of blocky, grid-locked stair-steps, and a scatter of
stray ValleyFloor cells. D-258 (1) says a biome edge is a gradient, never a
line. Two separate causes, each traced to a plane before it was fixed:

1. THE SEAM — the coast/terrain character read the CATEGORICAL glaciation
   grade. It flips None -> Light on the 6 C isotherm, `fjord` jumped 0 ->
   0.30, and ridge, scatter floor and warp amplitude jumped with it. Dumping
   the Region canvas planes put the seam in relief_q itself, not the paint;
   zeroing that one step removed it. The character now reads a continuous
   `glacial_weight` — linear through the grade bands' centres, where it
   agrees with the old per-grade weights, and a ramped moisture gate. The
   grade stays the classification; only the character stopped stepping.

2. THE SPECKLE — composition's rare inclusions ignored the rung's octave
   cutoff. At 379 m cells the 192 m inclusion field was sampled below
   Nyquist: instead of vanishing (what the constant's doc promised) it
   aliased, a +25 slope push scattered at random, tipping 8,453 cells into
   slope-gated ValleyFloor. Now gated like every other invented octave:
   ValleyFloor at Region 8,453 -> 0, and District/Quarter captures are
   byte-identical, since they resolve inclusions.

Region, lum p1-p99 63.45 -> 63.60 (structure kept), distinct colours
26,701 -> 2,102 (noise removed).

THE CONSERVATION GATE was `#[ignore]`d and did not compare anything: its
doc said it derived with and without composition, but it derived once and
checked some class held >50%, which a forest patch turned wholly to scrub
passes. Now every patch is derived twice through the same core (a new
`invent_composition` switch on the private derive; both production paths
pass true), the composed plurality must EQUAL the uncomposed one, across 13
patches spread over the body, with the judged count and "anything changed at
all" asserted so it cannot pass vacuously. It runs in plain `cargo test`
(~4 s debug). Mutation-proven both ways: inclusions over most ground fails
it by name (Scrub 90% -> Barren 52%), composition switched off fails it on
"the fine tier is off".

Goldens: every window-derivation change is an inclusion that a 4,096 or
1,024 m cutoff can no longer receive (e.g. slope 27 -> 2, ValleyFloor ->
AlluvialPlain); believability moved one point on two contrast figures.

Version 0.4.15: derived bytes change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-24 22:42:02 +02:00

89 lines
1.9 KiB
JSON

[
{
"body_id": "GJ338Bd",
"world_seed": 13200299156134074780,
"district_count": 2048,
"voxel_sampled_districts": 64,
"contrast": {
"moisture_q": {
"min": 0,
"max": 100,
"distinct": 85
},
"elev_q": {
"min": 0,
"max": 100,
"distinct": 101
},
"slope_q": {
"min": 0,
"max": 50,
"distinct": 34
},
"ocean_fraction_q": {
"min": 0,
"max": 100,
"distinct": 47
},
"morphology_zones": 9,
"vegetation_classes": 4,
"terrain_materials": 4,
"voxel_relief_m": 28,
"micro_habitat_distinct": 3,
"land_districts": 698,
"basin_directions_distinct": 2
},
"coherence": {
"water_districts": 46,
"water_districts_wet": 45,
"drainage_samples": 0,
"drainage_monotonic": 0,
"vegetation_samples": 64,
"vegetated_districts": 7
}
},
{
"body_id": "GJ244Ad",
"world_seed": 13200299156134074780,
"district_count": 2048,
"voxel_sampled_districts": 64,
"contrast": {
"moisture_q": {
"min": 0,
"max": 49,
"distinct": 42
},
"elev_q": {
"min": 0,
"max": 100,
"distinct": 101
},
"slope_q": {
"min": 0,
"max": 33,
"distinct": 22
},
"ocean_fraction_q": {
"min": 0,
"max": 100,
"distinct": 37
},
"morphology_zones": 7,
"vegetation_classes": 3,
"terrain_materials": 3,
"voxel_relief_m": 22,
"micro_habitat_distinct": 0,
"land_districts": 1602,
"basin_directions_distinct": 2
},
"coherence": {
"water_districts": 19,
"water_districts_wet": 19,
"drainage_samples": 0,
"drainage_monotonic": 0,
"vegetation_samples": 64,
"vegetated_districts": 0
}
}
]