Configuration Error

Either osd (a URL to a .osd bundle) or scale is required.

Option A — remote .osd bundle (OSF, GitHub, GitLab, personal site):

scale-runner.html?osd=https://osf.io/abc123/download&lang=en&participant=p001

Option B — locally-hosted split files:

scale-runner.html?scale=PHQ9&base=../scales&participant=test001

All URL Parameters

ParameterRequiredDescription
osdOne of osd or scaleFull URL to a .osd bundle file. Works with OSF, GitHub raw, GitLab raw, or any web server. When provided, scale and base are ignored.
scaleOne of osd or scaleScale code when using locally-hosted split files (e.g. PHQ9).
baseNoBase URL for split-file scale directories (default: ../scales). Ignored when osd is set.
participantNoParticipant ID (default: random)
langNoLanguage code (default: en). Falls back to en if the requested language is not in the bundle.
collectNoPOST endpoint URL for saving results (e.g. server/collect.php)
tokenNopeblhub authentication token
redirectNoURL to redirect to after completion
demoNoDemo mode — disables data saving; pass demo=1
showtitleNoShow scale name in header (default: 1); pass showtitle=0 to hide