Summary
The flat detection threshold in process_signals.py has been changed from 0.50x to 0.835x min_nonzero_std (PR #224). This is a minor sensitivity reduction that makes trend detection more robust to small dips, but it changes some segment boundaries in the series_synthetic gradual column.
Impact
The following assets need to be updated to reflect the new segment boundaries:
GIFs in docs/img/plots/
- Gradual trends GIF — segment boundaries shifted (Mar 15-17 Flat removed, Up extends to Mar 17)
- Noise examples GIF — some noise edge case boundaries shifted
Notebook tutorials
- Gradual trends notebook — uses
series_synthetic gradual column, segment boundaries will differ
- Noise examples notebook — some noise edge case boundaries shifted
Static documentation pages
README.md — contains copy-pasted print_summary() output and segment table with the old boundaries
docs/index.md — docs home page with identical example output blocks
What changed
| Before |
After |
Reason |
| 9 segments (3 Up, 3 Down, 3 Flat) |
8 segments (3 Up, 3 Down, 2 Flat) |
Mar 15-17 Flat merged into Up |
| Up Feb 10 – Mar 14 |
Up Feb 10 – Mar 17 |
Extended by 3 days |
| Flat Mar 15-17 present |
Flat Mar 15-17 absent |
Threshold too low to catch this region |
Action required
- Regenerate GIFs in
docs/img/plots/ for gradual and noise examples
- Update notebook tutorials that display segment boundaries for the gradual column
- Update copy-pasted example output in
README.md and docs/index.md
- Verify that documentation examples still make sense with the new boundaries
Reference
PR #224: fix: detect long gradual ramps truncated by false flat detection
Summary
The flat detection threshold in
process_signals.pyhas been changed from 0.50x to 0.835xmin_nonzero_std(PR #224). This is a minor sensitivity reduction that makes trend detection more robust to small dips, but it changes some segment boundaries in theseries_syntheticgradual column.Impact
The following assets need to be updated to reflect the new segment boundaries:
GIFs in
docs/img/plots/Notebook tutorials
series_syntheticgradual column, segment boundaries will differStatic documentation pages
README.md— contains copy-pastedprint_summary()output and segment table with the old boundariesdocs/index.md— docs home page with identical example output blocksWhat changed
Action required
docs/img/plots/for gradual and noise examplesREADME.mdanddocs/index.mdReference
PR #224: fix: detect long gradual ramps truncated by false flat detection