How the Top X list is built (dynamic + SQL)

The page reads generated/top10_temperament_buckets.json, then resolves Graph/Editor links from scl_local.db by temperament name.

SQL example

SELECT id, name, source, degrees, comments
FROM scl_scales
WHERE degrees = 12
ORDER BY name ASC
LIMIT 25;

Sample scl_scales rows

Database error: Database not found at /home/chipmillerme/public_html/hosted/unequaltemperament.com/gen/scl_local.db