Repository navigation
Rebaseline DynamicFootprint test_2 for canonical GUL item order - #67
Conversation
OasisLMF/OasisLMF#2244 numbers GUL items by loc_id instead of keys row order. Summary ids follow item order, so this test's LocNumber summary ids are renumbered (loc_id sorts LocNumber as a string: 1, 10..18, 2..9). Losses are unchanged: matched by LocNumber, selt, palt and ept are identical to the previous baseline, and so is the TIV for each location. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Cross-repo CI: OasisLMF/OasisLMF#2244 ↔ #67The PR-triggered model tests on these two PRs are expected to fail, because each repo's
(#2244 also fails Validating before merge: both workflows take the other repo's branch as a # OasisLMF fix against the new baselines
gh workflow run piwind-mdk.yml -R OasisLMF/OasisLMF \
--ref fix/2211-canonical-item-order \
-f oasis_models_branch=tests/dynamicfootprint-test2-canonical-item-order
# OasisModels baselines against the fix
gh workflow run model-tests.yml -R OasisLMF/OasisModels \
--ref tests/dynamicfootprint-test2-canonical-item-order \
-f oasislmf_branch=fix/2211-canonical-item-orderIf #66 is merged first and #67 is rebased onto Suggested order:
Dispatched runs may not count as the PRs' |
Rebaselines
DynamicFootprint/tests/test_2for OasisLMF/OasisLMF#2244, which assigns GUL item ids in a canonical order.Important
Merge together with OasisLMF/OasisLMF#2244, not before. OasisLMF CI runs the model tests against OasisModels
main, so merging this first makesDynamicFootprint/test_2fail on OasisLMFmainand every other PR until #2244 lands. This PR's own CI is expected to fail onDynamicFootprint/test_2until OasisLMF/OasisLMF#2244 lands, because it runs against OasisLMFmain.Why the baseline changes
Summary ids are assigned in item order (
oasislmf/preparation/summaries.py). #2244 numbers items byloc_idinstead of keys row order, andloc_idcomes from sorting (PortNumber, AccNumber, LocNumber) withLocNumberread as a string. TheLocNumbersummary ids for this test go from 1, 2, …, 18 to 1, 10, …, 18, 2, …, 9.Losses are unchanged
The new files are the outputs from #2244's CI run (run 45281356637, py3.10
model-logsartifact). Matched to the previous baseline byLocNumberinstead ofSummaryId:gul_S1_selt.csvgul_S1_palt.csvgul_S1_ept.csvgul_S1_summary-info.csvanalysis_settings.jsonis unchanged. Only test_2 has aLocNumbersummary; test_1 (_not_set_, one summary id) passes on #2244 as is.PiWindPostcode/test_3on #2244 is handled separately by #66.🤖 Generated with Claude Code