cleverly.validation.RefutationProgress#

class cleverly.validation.RefutationProgress(test: str, completed: int, requested: int, failed: int, resumed: int, candidate: str | None = None)[source]#

How far one checkpointed test of a refute() call has run.

Parameters:
teststr

The test, as tests= names it.

completedint

Draws finished so far, loaded ones included.

requestedint

Draws the test runs.

failedint

Finished draws whose refit failed so far. A ratio draw that refits to a nonpositive value is moved to the failures after the last draw, so it is not counted here.

resumedint

Finished draws loaded from the checkpoint rather than refitted.

candidatestr or None

The candidate of a variable-importance run whose fit this is, or None.

Methods#

Attributes#

RefutationProgress.candidate: str | None = None#
RefutationProgress.test: str#
RefutationProgress.completed: int#
RefutationProgress.requested: int#
RefutationProgress.failed: int#
RefutationProgress.resumed: int#