Skip to content

variancePartition: read commonality ledgers with readFitLedger() - #56

Merged
eliotmcintire merged 2 commits into
modsForFireSensefrom
feat/readFitLedger
Dec 3, 2026
Merged

eliotmcintire merged 2 commits into
modsForFireSensefrom
feat/readFitLedger

Conversation

@eliotmcintire

Copy link
Copy Markdown
Contributor

The fire-signal breakdown reads the same saved fits as before, through the new shared reader. The old reader is being removed from fireSenseUtils.

Affects: nothing for users; variance-partition results are unchanged.

Reuses: fireSenseUtils::readFitLedger()

Depends-on: PredictiveEcology/fireSenseUtils#273

Technical details
  • fireSense_summary.R:574 (commonalityRows()): readSpreadFitLedger(f, folder, domain = sa, ...) becomes readFitLedger("spread", f, folder, domain = sa, ..., doFit = NA). With doFit = NA only the named file is read, no fallback to production, which is today's behaviour for these named experiment ledgers.
  • reqdPkgs: fireSenseUtils >= 0.2.3.9200 (TODO: set to the version #273 is bumped to).
  • Tests: test-variancePartition.R mocks readFitLedger instead of readSpreadFitLedger. Full suite with fireSenseUtils from #273: 87 tests, 0 failed, 0 skipped.

🤖 Generated with Claude Code

readSpreadFitLedger() is removed in fireSenseUtils#273; readFitLedger("spread", ..., doFit = NA) reads the same named file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@eliotmcintire eliotmcintire added enhancement New feature or request backwards compatible Existing code and results keep working unchanged labels Dec 3, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@eliotmcintire
eliotmcintire merged commit ea0ff1c into modsForFireSense Dec 3, 2026
6 checks passed
@eliotmcintire
eliotmcintire deleted the feat/readFitLedger branch December 3, 2026 17:35
eliotmcintire added a commit that referenced this pull request Dec 3, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backwards compatible Existing code and results keep working unchanged enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant