peakObservedLiveCountFor method

int peakObservedLiveCountFor(
  1. String name
)

Monotonic high-water mark of lastObservedLiveCountFor since the last resetCaptureState. The bracket validator's 'max' axis reduction cross-checks expectedMagnitude.observed against this value; capture screens MUST read the name-scoped value so the exported magnitude matches the scenario's intended bucket.

Implementation

int peakObservedLiveCountFor(String name) =>
    _peakObservedLiveCountByName[name] ?? 0;