FRET / the bench that ships with the page ========================================= It reads the same engine as the page (../score.js, ../musicxml.js, ../core.js) and checks the line, the fretboard, the geometry of the sheet and the MusicXML. It never looks at whether the music is any good. cd /tmp && node /opt/www/art/fret/verify/check.js Exit codes 0 every control passed (the last line reads CONTROLS n FAILED 0) 1 a control failed and is named on its own line 2 no verdict: the engine did not load, so nothing was measured cd /tmp && node /opt/www/art/fret/verify/check.js --out /tmp/fretbench also writes eight sheets, eight MusicXML files, eight text tabs and a manifest.json. The project carries the reader that opens them with music21 (projects/fret/build/read-musicxml.py). It is not served here because it is not part of the page. What it checks The same word twice gives the same sheet and the same file, byte for byte; case and extra spaces do not change the line. On twenty words: every fret inside the position, every fingering sounding its written pitch, every bar holding exactly eight eighth notes, every note inside the key, the last note on the tonic. On the sheet: one digit per note, on its string line, inside the frame, no two digits on one string closer than ten units; one stem, one rhythm head and one beam or flag per group; five bar lines and six string names per system; the digit indices cover every note exactly once. The plain text tab keeps every fret. Variety on forty words: distinct titles, keys, positions, tempo spread, note count, range. Forty full passes inside a second. Negative witnesses: what the bench proves it can refuse Four doctored lines are fed to the same audit the seed check uses: a fret outside the position, a fingering that does not sound its pitch, a bar that does not add up, a line that does not end on the tonic. Each must be caught, and the bench prints a line per witness. A MusicXML with one fret changed, and one with a duration removed, must be caught by the comparison. What it cannot see 1. Whether the music is good. No control reads a melody: a legal, playable, dull line passes every line above. 2. Whether a printed sheet is readable on paper. Nothing here renders at print size, no control reads a photograph of the print, and the sheet is judged in Chromium separately. 3. Whether a notation program opens the file. The bench reads the XML as text; music21 reads it as a file in a separate step, and neither of them is MuseScore or Guitar Pro. 4. Timing on a phone, and the sound. The play button is a WebAudio approximation, not a guitar.