Files
settled-reach/server/tests/golden/believability.json
T
jpmschweitzerandClaude Opus 4.8 677de42bd2 fix(simulation): make voxel relief sub-district + fix integration-test fallout (T-1081)
The push gate's integration tests (not in cargo test --lib) caught two regressions
from the relief change:

- derivation_harness::cross_district_elevation_blend_reduces_seam_step — the relief's
  large per-position term (span 300 → ±200 m, far above the compressed elev_q/2 base)
  swamped the T-1042 seam measurement and clamped heavily at sea level. Fixes:
  (1) shift the voxel-relief octave band to 0.13–1 km (all sub-district, dropping the
  2 km octave that competed with elev_q's district role); (2) reduce VOXEL_RELIEF_SPAN_M
  300 → 100 so relief stays mostly below the base (fewer sea-level clamp artifacts,
  proportional hills); (3) rewrite the seam test's avg_elev to average over an 8 km
  multi-wavelength y-transect so the zero-mean relief cancels, isolating the base seam.
- derivation_harness::golden_seed_determinism_regression — legitimate golden refresh
  (determinism still holds; elevation values changed intentionally).

Believability relief now ≈22 m mean (was 5 m flat; 59 m at the over-aggressive span 300)
— navigable hills without clamp artifacts, 7/8 criteria. Both goldens regenerated; full
cargo test (38 binaries) + clippy --all-targets -D warnings green. D-239 amendment +
Q-123 item 4 updated to the final span/octave/numbers.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-28 21:43:39 +02:00

83 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
},
"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
},
"coherence": {
"water_districts": 25,
"water_districts_wet": 22,
"drainage_samples": 0,
"drainage_monotonic": 0,
"vegetation_samples": 64,
"vegetated_districts": 0
}
}
]