fix: disable default low freq smoothing #3025
Merged
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.
Something that caused issues in notebook. The plan is to take another careful look at it between rc3 and official 2.10, but disable for now
Greptile Overview
Greptile Summary
Disabled default low frequency smoothing in
TerminalComponentModelerby changing thelow_freq_smoothingfield default fromModelerLowFrequencySmoothingSpec()toNone.DEFAULT_LOW_FREQUENCY_SMOOTHING_SPECconstantlow_freq_smoothingfield from an instance toNoneModelerLowFrequencySmoothingSpecinstanceConfidence Score: 4/5
Important Files Changed
File Analysis
low_freq_smoothingfield, changing fromModelerLowFrequencySmoothingSpec()toNoneSequence Diagram
sequenceDiagram participant User participant TerminalComponentModeler participant Simulation participant ModeMonitor User->>TerminalComponentModeler: Create modeler (low_freq_smoothing=None by default) TerminalComponentModeler->>TerminalComponentModeler: Check low_freq_smoothing field alt low_freq_smoothing is None (NEW behavior) TerminalComponentModeler->>Simulation: Create simulation without low freq smoothing Note over TerminalComponentModeler,Simulation: No extrapolation applied else low_freq_smoothing is set TerminalComponentModeler->>ModeMonitor: Get mode monitors TerminalComponentModeler->>Simulation: Create LowFrequencySmoothingSpec TerminalComponentModeler->>Simulation: Apply smoothing to mode monitors Note over TerminalComponentModeler,Simulation: Extrapolation applied at low frequencies end Simulation->>User: Return configured simulationContext used:
dashboard- Require a changelog entry for any PR that is not purely an internal refactor. (source)