refocus icon indicating copy to clipboard operation
refocus copied to clipboard

Allow subjects to define custom ranges for aspects

Open davidarcher opened this issue 6 years ago • 1 comments

The current data model for aspects assumes that all subjects have the same thresholds for that aspect. In the example from the docs, unemployment may be OK between 0-7% for USA but for Egypt, maybe 0-10% is OK. This isn't possible to implement using the current data model without duplicating the Aspect for each subject (e.g. Unemployment_USA, Unemployment_Egypt, Unemployment_Mexico, etc).

One way that may be possible while maintaining backwards compatibility would be to allow a Subject to override the critical/warning/OK ranges for particular named Aspects.

davidarcher avatar Aug 08 '19 22:08 davidarcher

Hey David. I love this idea--thx for the feedback! If you have any interest in implementing it, or even just part of it, let me know and we can spec this out in a little more detail.

iamigo avatar Aug 08 '19 22:08 iamigo