Skip to content

docs: update outputs, notebooks, and GIFs for 0.835 flat detection threshold#246

Open
opencode-agent[bot] wants to merge 10 commits into
fix/gradual-up-truncatedfrom
docs/update-baselines-for-flat-threshold
Open

docs: update outputs, notebooks, and GIFs for 0.835 flat detection threshold#246
opencode-agent[bot] wants to merge 10 commits into
fix/gradual-up-truncatedfrom
docs/update-baselines-for-flat-threshold

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Updates documentation outputs, notebook tutorials, and GIFs to reflect the new 8-segment result from PR #224's 0.835x flat detection threshold.

Changes

  • README.md and docs/index.md: Updated print_summary() output block (9→8 segments, removed Flat Mar 15-17, extended Up to Mar 17) and filter_segments table with corrected dates/metrics
  • gradual.ipynb: Re-executed to regenerate all output cells with new segment boundaries
  • noise.ipynb: Re-executed + fixed markdown cell ("9 segments" → "10 segments")
  • abrupt.ipynb: Normalised via scripts/normalize_notebooks.sh (no content changes)
  • Ran scripts/normalize_notebooks.sh across all notebooks for JupyterLite compatibility
  • Programmatic GIF generation: Added scripts/generate_gifs/ with shared utilities and scripts for all four GIFs (Abrupt, Gradual, Noise-Random, Noise-Spikes)
  • Regenerated plots: plots/pytrendy-gradual.png updated with current pytrendy behaviour

Scope

  • CHANGELOG.md and docs/whats-new.md are not touched (automation targets)

Verification

All 101 tests pass on this branch (74 core + 27 non-core).

Closes #233

- Update print_summary() output in README.md and docs/index.md to reflect
  8 segments (removed Flat Mar 15-17, extended Up to Mar 17)
- Update filter_segments table with new Up segment dates and metrics
- Re-execute gradual.ipynb and noise.ipynb with new threshold
- Fix noise.ipynb markdown: 9 → 10 noise segments
- Run normalize_notebooks.sh for JupyterLite compatibility
@github-actions

Copy link
Copy Markdown
Contributor

📚 Docs preview deployed!

Your docs preview is available at: https://russellsb.github.io/pytrendy/pr-246/

This preview will be removed when the PR is closed.

github-actions Bot added a commit that referenced this pull request Jul 17, 2026
@codecov

codecov Bot commented Jul 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@RussellSB
RussellSB changed the base branch from develop to fix/gradual-up-truncated July 17, 2026 09:25
github-actions Bot added a commit that referenced this pull request Jul 18, 2026
github-actions Bot added a commit that referenced this pull request Jul 19, 2026
github-actions Bot added a commit that referenced this pull request Jul 19, 2026
github-actions Bot added a commit that referenced this pull request Jul 19, 2026
github-actions Bot added a commit that referenced this pull request Jul 19, 2026
@RussellSB RussellSB changed the title docs: update outputs and notebooks for 0.835 flat detection threshold docs: update outputs, notebooks, and GIFs for 0.835 flat detection threshold Jul 19, 2026
@RussellSB
RussellSB marked this pull request as ready for review July 19, 2026 20:48
@RussellSB
RussellSB self-requested a review as a code owner July 19, 2026 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant