def get_unhealthy_users(self):
        if self._previous_summary:
            unhealthy_users = filter(
                lambda stub: stub.is_active and not stub.is_performing,
                self.get_all_user_stubs_with_extra_data()
            )
            return sorted(unhealthy_users, key=lambda stub: stub.delta_forms)
Get a list of unhealthy users - defined as those who were "performing" last month
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/reports/standard/project_health.py/MonthlyPerformanceSummary.get_unhealthy_users