nf-core / nf-core/stats

Handle data outage periods with smoothing and visual indicators

Open
#63 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Follow-up from PR #52, related to parent issue #61

Current situation

  • Data outage occurred from 2024-01-24 to 2025-06-09
  • Currently marked with ReferenceArea components showing "Data outage"
  • Gaps in data make trends hard to read

Proposed solution

1. Data interpolation
  • Smooth/interpolate missing data during outage periods
  • Use linear interpolation or moving average from surrounding data points
  • Store interpolated values with a flag indicating they're estimates
2. Visual indicators
  • Keep the gray ReferenceArea overlays to show estimated periods
  • Consider adding a note in chart subtitle about estimated data
  • Maybe use dashed lines or different opacity for interpolated data points

Acceptance criteria

  • Data gaps during outage periods are filled with reasonable estimates
  • Visual indicators clearly show which periods contain estimated data
  • Charts show smooth trends without jarring gaps
  • Legend or note explains that some data is interpolated

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing PR #52 and parent issue #61, then inspect the existing chart handling for ReferenceArea overlays and data gaps. Determine how outage-period estimates and their flags should flow into the charts. Done means gaps are filled with reasonable estimates, estimated periods remain visibly marked, trends are smooth, and the chart legend or subtitle explains the interpolation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.