QA Architecture 5 min 2026-11-22

Deterministic Seeds & Reproducible QA Bug Reports with Mulberry32

Attach a single ?seed=qa-... URL to any Jira issue or pull request so engineers reproduce the exact address, phone, and boundary torture string in one click.

Why Shareable Seeds Beat Ad-Hoc CSV Attachments

Passing around ad-hoc spreadsheets in Slack or Jira quickly drifts out of sync with staging schemas. With a pure functional PRNG (FNV-1a 32-bit hash feeding Mulberry32), the entire 25-row dataset is compressed into a tiny query string: ?country=US&taxFree=true&boundary=leading_zero&seed=qa-sprint42.

Cross-Runtime Parity: Browser, Node.js, and Cloudflare Edge

AddressQA runs the exact same zero-dependency JavaScript PRNG inside the browser Workbench, the Astro build verifier, and Cloudflare Pages Edge Functions (/api/v1/fixtures). Unsigned 32-bit bitwise ops (Math.imul and >>> 0) guarantee bit-for-bit identical fixtures across macOS, Linux CI containers, and V8 isolates.

export function hashFnv1a(input) {
  let h = 2166136261;
  for (let i = 0; i < input.length; i += 1) {
    h ^= input.charCodeAt(i);
    h = Math.imul(h, 16777619);
  }
  return h >>> 0;
}

export function createMulberry32(seedInt) {
  let state = seedInt >>> 0;
  return () => {
    state = (state + 0x6d2b79f5) >>> 0;
    let t = Math.imul(state ^ (state >>> 15), 1 | state);
    t = (t + Math.imul(t ^ (t >>> 7), 61 | t)) ^ t;
    return ((t ^ (t >>> 14)) >>> 0) / 4294967296;
  };
}

Naming Conventions for Team Seeds

Adopt readable seed conventions such as qa-pr1842-avs, qa-nightly-jp-unicode, or qa-release-2026q4. Never reuse production user identifiers as seeds.

Further Reading

More QA Engineering Guides

CI & E2E Automation

Deterministic Address Fixtures in Playwright & Cypress CI Pipelines

Why unseeded random address libraries break CI snapshots and how to wire deterministic AddressQA fixtures into Playwright test.use() hooks.

Payments & Tax QA

Testing Stripe AVS & US Sales Tax Calculation with Tax-Free ZIP Codes

How to structure Stripe shipping and billing_details objects to assert 0% state tax, local borough overrides, and leading-zero AVS behavior.

Telecom Compliance

Regulator-Safe Test Phone Numbers: NANPA 555, Ofcom, ACMA & E.164 Reference

Why random phone numbers risk contacting real subscribers — and the exact regulator-reserved blocks AddressQA uses in Safe mode.