Files
Toby c094eb88fa Open-source release: pipeline code, raw logs, derived data, licences, tests
Adds src/ (scripts, raw measurement logs, derived data, report source),
tests/, LICENSE (MIT, code) and LICENSE-DATA.md (CC BY 4.0 for the survey's
data; third-party terms). The report is updated to the current site; the
v1 and v2 data hand-off files are unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-27 20:09:54 -04:00

19 lines
1.2 KiB
Bash
Executable File

#!/usr/bin/env bash
# Browser checks for src/web/index.html and src/site/index.html.
# Needs: npm install (playwright-core) and a Chromium binary in $CH.
set -u
cd "$(dirname "$0")" && mkdir -p out
: "${CH:?set CH to a Chromium executable, e.g. ~/.cache/ms-playwright/chromium-*/chrome-linux64/chrome}"
export CH
node match.mjs # page counts = hand-off data file
node src.mjs | grep FAILS # each data source shows only its own data
node audit.mjs 2>&1 | grep -v '^INFO' # 8 viewports: clickability, overlap, overflow
node fit.mjs | grep -v ' 0px$' || true # route panel fits the hero
node card_sel.mjs # every route x map x size: no card overflow
node trunc.mjs | tail -1 # no truncated text in the route card
node view_btns.mjs | tail -2 # zoom / reset buttons
node offline.mjs | tail -3 # site/index.html with the network blocked
node newsec.mjs | tail -2 # networks, flat arrangements, code: counts and layout
node mode.mjs | cut -c1-60 # cable / straight toggle changes the counts
[ "${LIVE:-0}" = 1 ] && node live.mjs # LIVE=1: the public site