airqo-platform / airqo-platform/AirQo-api

Enhance trend calculation with configurable thresholds

Ouverte
#3,774 0 commentaires 0 réactions 1 personne assignée Réclamée par @Baalmart Voir sur GitHub
Langage dominant
JavaScript
Étoiles
26
Forks
24
Merge moyen
5 h 36 min
PR mergées (30 j)
81

Description

The trend calculation in the `ReadingsSchema` uses hardcoded thresholds (5% and -5%). It would be beneficial to make these thresholds configurable to allow for different sensitivity levels.

References:
- Pull Request: https://github.com/airqo-platform/AirQo-api/pull/3762
- Comment: https://github.com/airqo-platform/AirQo-api/pull/3762#discussion_r1816465489

Requested by @Baalmart.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.