My analytic needs metric results from X days prior to the start of the invalidation period to Y days after the end of the invalidation period. X and Y are not fixed and are specific to the source. X should be less than 730 days.
For example, if the data for 2017-09-01 is loaded and X is 365 and Y is 180, I’ll need to the metric results from 2016-09-01 to 2018-02-28.
The metric results are needed for regression algorithm.
What is the best way to get the metric result other than calling evalMetric in the loadContext function?