001 / random input
Same test, different random.
A fixed seed collapsed the failure rate from 75% to 0%. The flakiness is caused by non-deterministic random inputs.
remediation: Seed random generators explicitly (e.g. faker.seed(1234)) or mock Math.random using jest.spyOn(Math, 'random').mockReturnValue(...).