Repository navigation
fireSense_spreadFit: convergence parameter, in the fit's cache key - #79
Merged
Merged
Conversation
…to runDEoptim inside the fit's Cache() Floors fireSenseUtils 0.2.3.9102, clusters 0.0.80. Depends-on: PredictiveEcology/fireSenseUtils#162, PredictiveEcology/clusters#55 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014G18Mik3fH4z5M5CyMSUS6
eliotmcintire
added a commit
that referenced
this pull request
Oct 17, 2026
…runDEoptim convergence, #162) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014G18Mik3fH4z5M5CyMSUS6
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.
Fits sometimes stop while still improving. The stopping rule is now a fit setting that the fit's cache sees, so a stopped fit can be continued with a stricter rule instead of being returned as is or started over.
Affects: every fit cached before this re-keys once (the rule is now in the key); after that, changing the rule or the
clusters.deoptim*options re-runs the fit from its cached generations.Depends-on: PredictiveEcology/fireSenseUtils#162
Depends-on: PredictiveEcology/clusters#55
Technical details
fitSpread()(R/fitSpread.R) gaverunDEoptim()no early-stop settings, so the rule lived only in clusters' options, outside the fit'sCache()key, and a finished fit was returned from cache whatever the rule. New parameterconvergence(list, defaultNULL) is resolved once withclusters::deoptimConvergence()(parameter, else options, else clusters defaults) and the full list is passed asconvergence =inside the existingCache()call; clusters keeps it out of the per-generation keys, so a rerun resumes. Floors: fireSenseUtils 0.2.3.9102, clusters 0.0.80. Newtest-convergence.R(the args a mockedrunDEoptimsees: default, parameter, options; fails on development) and the metadata tests list the parameter. Full module tests withconvertToPackage()+test_local(): 0 failures on the branch; on development, only the new test fails.🤖 Generated with Claude Code
https://claude.ai/code/session_014G18Mik3fH4z5M5CyMSUS6