Repository navigation
Ledger-row readers come from fireSenseUtils - #52
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Lx3DXhXsFis2pbqBTh2PPh
… is merged and bumped) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Lx3DXhXsFis2pbqBTh2PPh
eliotmcintire
added a commit
that referenced
this pull request
Nov 23, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Lx3DXhXsFis2pbqBTh2PPh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The code that reads a spread-fit record (which link it used, where climate enters, its centres) lived in the prediction module only. It now lives in the shared package, so the prediction and the new fuel-effect calculation read a record the same way.
Affects: no change to predictions. Errors about a ledger row now start "spread ledger row" instead of "fireSense_spreadPredict: ledger row".
Technical details
Defect: the
ledger*()readers (fireSense_spreadPredict.R, the block fromledgerCovMinMax()toledgerCovCentre()) were only here, sofireSenseUtils::spreadFuelEffect()(fireSenseUtils#260) had to re-implement them.Fix: the 12 readers move unchanged to fireSenseUtils (
R/ledgerRow.R, exported); this module deletes its copies and callsfireSenseUtils::ledger*().ledgerEscapeDefinition()stays (it is not about the link).reqdPkgsfloor isfireSenseUtils >= 0.2.3.9191, a placeholder until #260 merges and is bumped (fireSenseUtils#261 is merged; development is 9190).Reuses: the moved
ledger*()functions (nowfireSenseUtils::ledger*()); new: none.Tests: the existing tests that call the readers now call
fireSenseUtils::ledger*(). Module suite (convertToPackage()+test_local(), scratch library): this branch with the #260 branch 120 tests, 0 failed (426 expectations); this branch with fireSenseUtils before #260: 114 of 120 fail (the readers are missing); basedevelopment: 120 tests, 0 failed. The behaviour is the same, so the old tests passing unchanged is the check.🤖 Generated with Claude Code
https://claude.ai/code/session_01Lx3DXhXsFis2pbqBTh2PPh