CHSH Lab Audit Checklist

assetactive

CHSH Lab site audit checklist

Audit this CHSH Lab site for the following checklist. For each item, report PASS, FAIL, or PARTIAL with evidence. Open DevTools console before starting.

Site: https://chshlab.vercel.app

A. Console & Load Health

  1. Open DevTools Console. Are there any JavaScript errors on initial page load? Copy exact error text.
  2. Check the Network tab — do all JS module imports resolve (200 status)? Specifically check: main.js, animation-config.js, demo-chsh.js, demo-efficiency.js, demo-postselect.js, story-mode.js, provenance-data.js, sonification.js

B. Core Features — Existence Check

For each, report whether it EXISTS in the DOM and is VISIBLE:

  1. "Walk me through it" button in the hero section (below the three bound badges)
  2. Assumption toggle switches (Fair Sampling, eta >= 82.8%, No Post-Selection) in the Demos section
  3. Bound Explorer panel — a "Bounds" tab on the right edge of the viewport
  4. Timeline section ("Argument Evolution") with 6 historical nodes between Figures and References
  5. Provenance info buttons (small "i" circles) on the top-right of each figure card in the Figures section
  6. Export JSON / Copy Link buttons in each demo panel's controls area
  7. Sonification speaker toggle next to the "Explore the Physics" heading
  8. Keyboard Shortcuts details element in the footer

C. Interactive Feature Testing

  1. Bound Explorer: Click the "Bounds" tab on the right edge. Does the panel slide out showing 3 values: Classical LHV (2.000), Tsirelson (2.828), LHV,max at eta? Press keyboard key b — does it toggle?
  2. Demo Sliders: Move the angle sliders in the Angle Sweep demo. Do the readout values update from "—" to computed numbers? Does the canvas visualization render?
  3. Tab Switching: Click "Efficiency Landscape" tab, then "Post-Selection Bias" tab. Do the panels switch with the sliding indicator?
  4. Efficiency Demo: Move the eta slider. Does the SVG chart update? Does the Bound Explorer's "LHV,max at eta" value change in real-time?
  5. Assumption Toggles: Uncheck "Fair Sampling". Does a consequence banner appear below the toggles?
  6. Story Mode: Click "Walk me through it" (or press s). Does a 6-step overlay appear? Can you navigate with Next/Back? Does the quiz work? Does Escape close it? Does Expert Mode toggle show additional content?
  7. Provenance Drawers: Scroll to Figures. Click the "i" button on any figure. Does a drawer expand below the card showing source, generator, parameters, and validation?
  8. Export JSON: In any demo panel, click "Export JSON". Does it download a JSON file?
  9. Copy Link: Click "Copy Link". Does the URL get copied to clipboard? Paste and navigate — does the demo state restore?

D. Accessibility

  1. Enable "Reduce motion" in your OS accessibility settings (or via DevTools > Rendering > prefers-reduced-motion: reduce). Do all animations skip to final state? Are all sections still visible?
  2. Tab through the page with keyboard only. Can you reach and operate: story mode button, demo sliders, assumption toggles, provenance buttons, bound explorer toggle?
  3. Check the Story Mode overlay for focus trap — when open, does Tab cycle only within the overlay? Does Escape dismiss it?

E. Responsive

  1. Resize browser to 375px width (iPhone SE). Is there any horizontal overflow/scrollbar? Does the Bound Explorer switch to a bottom drawer? Does the timeline scroll horizontally?

F. Scientific Accuracy Spot-Check

  1. In the Efficiency Landscape demo, set eta to 0.70. Is S_LHV,max shown as approximately 3.714?
  2. In the Post-Selection Bias demo, set rho to 0.50. Is S shown as approximately 3.000 and acceptance as 75%?
  3. Does the timeline show Bell (1964) as "established" and Wang et al. (2025) as "contested"?

After completing all checks, provide a summary table with PASS/FAIL/PARTIAL for items 1–26, and list any console errors verbatim.


Note from source: The author flagged a likely console error from import { emitState } in demo modules failing to resolve when loaded via dynamic import() — optional follow-up to investigate before running the audit.

Provenance

Ingested from Notepad++ backup new 45@2026-03-16_001402 under C:\Users\mesha\Downloads\npp-extracted\ (same basename also present under npp-backups).