def check_plausibility(args=[], fix=True):
    Problem = rt.modules.plausibility.Problem
    mc = get_checkable_models(*args)
    with translation.override('en'):
        for m, checkers in mc.items():
            ct = rt.modules.contenttypes.ContentType.objects.get_for_model(m)
            Problem.objects.filter(owner_type=ct).delete()
            name = unicode(m._meta.verbose_name_plural)
            qs = m.objects.all()
            msg = "Running {0} plausibility checkers on {1} {2}...".format(
                len(checkers), qs.count(), name)
            puts(msg)
            sums = [0, 0, name]
            for obj in progress.bar(qs):
                for chk in checkers:
                    todo, done = chk.update_problems(obj, False, fix)
                    sums[0] += len(todo)
                    sums[1] += len(done)
            if sums[0] or sums[1]:
                msg = "Found {0} and fixed {1} plausibility problems in {2}."
                puts(msg.format(*sums))
            else:
                puts("No plausibility problems found in {0}.".format(name))
Called by :manage:`check_plausibility`. See there.
dataset/ETHPy150Open lsaffre/lino/lino/modlib/plausibility/management/commands/checkdata.py/check_plausibility