it's my quick fix to make the 'non-reporting' category go away. it says
don't count as non-reporting until it hasn't reported for 1000 reporting
periods.


On Tue, May 14, 2013 at 3:10 PM, rowenaluk <notifications@github.com> wrote:

> In corehq/apps/reports/commtrack/standard.py:
>
> > @@ -126,11 +133,11 @@ def get_prod_data(self):
> >          def case_stock_category(case):
> >              return stock_category(current_stock(case), monthly_consumption(case))
> >          def status(case):
> > -            return case_stock_category(case) if is_timely(case) else 'nonreporting'
> > +            return case_stock_category(case) if is_timely(case, 1000) else 'nonreporting'
>
> what is this 1000 used for? can we make it a static variable for better
> readability?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/dimagi/commcare-hq/pull/289/files#r4220936>
> .
>