[P3] New check: FreshnessCheck

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
53/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python

Research direction

Start by reading the implementation of existing checks and the work in dependent issue #104 to understand how checks handle date filters and thresholds. Add a FreshnessCheck that measures elapsed hours or days since the maximum timestamp, ensuring the fetch includes that timestamp even when the date filter would exclude it. Done means the check supports the stated threshold behavior and works with that date-filter case.

Written by the indexing model from the issue text.

Description

enhancement

Proposal

Metric: hours (or days) since MAX(<timestamp column>) relative to run time or the date filter. Thresholds as usual (upper_threshold: 24). Must work when the date filter would otherwise exclude the latest data (fetch must include the max timestamp).

Depends on

  • #104

Roadmap item 26/30 (Phase 3 – easier to act on (diagnostics, reporting, alerts, adaptive thresholds, new checks)).

Dominant language
Python
Stars
4
Forks
3
Avg merge
28m
Merged PRs (30d)
47

Getting set up

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.

More from ottogroup/koality

All issues in ottogroup/koality

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.