Repository navigation
antiRea v2.8.1
A patch release with one fix: a false-confirmation hole in the two phase signals, found live on the project's own test range the same day 2.8.0 shipped. No new modules, no API changes beyond one added result field, and no pre-existing test expectation changed.
- Fixed - span gate for the phase signals (
createHerdPhaseSignal,createActivityPhaseSignal): inside a fraction of one grid period (default 900 s), every population's event phases sit in one small arc, so R_i / R_cohort approach 1 by geometry alone and a short-window population could be falsely confirmed - on the antirea-range range, 12 legitimate readers were confirmed at R_cohort 1.0000 over a 40 s window. Confirmation now additionally requires each counting member's observed event span to cover at least one full grid period, and only eligible members are named; the new result fieldspanEligibleMembersreports how many members qualify. Descriptive statistics (memberCount,cohortR) are unchanged, and lab cells are unaffected because their spans cover many periods. - Tests: regression coverage in
tests/phase-span-gate.test.cjs(5 cells: short-span legitimate, long-span legitimate, aligned-herd positive control, mixed spans, herd-phase core). Suite: 817 automated tests (815 passing, 0 failing, 2 skipped - pre-existing RSA-PSS vectors). The fix also passed the mandatory range release gate (antirea-range/gate.cjs: SDK suite + frozen FP/detection cells + live range smoke, 6/6 PASS).