Skip to content

acceptScore

acceptScore(baseline, actual, allowLowering, dropTolerance?): IAcceptance

The baseline an accepted run writes. A gain is taken as measured. A dip inside the tolerance keeps the old value, so accepting on a loaded machine cannot walk the baseline down a point at a time. A real drop is refused unless allowLowering is set.

number | null

number

boolean

number = DROP_TOLERANCE

IAcceptance