Skip to content

test: add a regression test for stratigraphic values - #113

Merged
lachlangrose merged 4 commits into
mainfrom
fix/stratigraphic-value-test
Aug 24, 2026
Merged

test: add a regression test for stratigraphic values#113
lachlangrose merged 4 commits into
mainfrom
fix/stratigraphic-value-test

Conversation

@lachlangrose

Copy link
Copy Markdown
Member

No description provided.

lachlangrose and others added 4 commits August 20, 2026 14:30
…ic columns

Guards against the swap fixed in 814be12: model_manager.py's per-unit
training value and LoopStructural's get_isovalues() must agree on
which direction values increase, or extracted isosurfaces get labelled
with the wrong unit while keeping correct geometry.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
update_foliation_features re-reversed group.units, which get_groups()
already returns in the order get_isovalues() walks, so every basal
contact was trained with the wrong scalar value. Units with no
digitised data also skipped accumulating their thickness via continue,
shifting every later unit's trained value.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@lachlangrose
lachlangrose merged commit 537da39 into main Aug 24, 2026
4 checks passed
@lachlangrose
lachlangrose deleted the fix/stratigraphic-value-test branch August 24, 2026 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant