Closed ecumike closed 5 years ago
Confirmed working as expected, but need to move filter into a queryset for cleaner code maintenance and reusability. Todo: make LighthouseRunManager at top of models just like URL. Use line 666 filter for condition.
Handled in #59
For methods that query
LighthouseRun
or calculate averages, verify/update them to ensure they filter outLighthouseRun
that haveinvalid_run
set.Best way is to probably create a queryset manager for
LighthouseRun
so it can be common used wherever needed.For obvious reasons... we want to ensure we don't calculate averages using runs that were 'invalid' as to skew the real average performance for the URL