mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-03-24 08:37:30 +01:00
Entire-Session: 260a4a9e-d060-4d86-982b-1bf5959b9b70 Entire-Strategy: manual-commit Entire-Agent: Claude Code Ephemeral-branch: entire/10b4fa5-e3b0c4
19 lines
556 B
Markdown
19 lines
556 B
Markdown
# Session Context
|
|
|
|
## User Prompts
|
|
|
|
### Prompt 1
|
|
|
|
Implement the following plan:
|
|
|
|
# Plan: Add RRDTool-style Average Consolidation Function to Resampler
|
|
|
|
## Context
|
|
|
|
The current downsampler in `cc-lib/v2/resampler` offers two algorithms:
|
|
- **LTTB** (LargestTriangleThreeBucket): Perceptually-aware — picks points that preserve visual shape (peaks/valleys). Used at all call sites.
|
|
- **SimpleResampler**: Decimation — picks every nth point. Fast but lossy.
|
|
|
|
Neither produces scientifically accurate averages over time intervals. RRDTool's **AVERAGE C...
|
|
|