LayoutScope aims to be deterministic, explainable, and conservative. The most valuable contributions are small reproducible pages that expose a false positive or a visual bug the current rules miss.
pnpm install
pnpm exec playwright-core install chromium
pnpm check
pnpm buildRun the intentionally broken demo:
pnpm demo- Add a stable
LS###rule definition insrc/rules.ts. - Implement the browser-side check in
src/browser-detector.ts. - Add a minimal fixture that fails for the right reason and a nearby non-failing case.
- Keep findings deterministic and include geometry or color evidence.
- Document known suppressions and limitations.
False-positive fixes are welcome even when they reduce the raw number of findings. Signal matters more than volume.