BeatlesAnswers.org Under construction

The Test Lab of prototypes and project reports joins the main menu

By · Build log; logged

The site’s Test Lab, at /test/, is where ideas are tried against the site’s real data before they reach public pages. It was rebuilt to a portfolio-wide standard on 19 October and now sits in the main menu after Analysis. This entry explains what the lab holds, the rules every lab page follows, how its styles are kept apart from the rest of the site, and the new pipeline matrix.

What the lab is for

Since September the lab has held visualisations of the song-tag layer, design studies and reports generated from the build, but until now readers had to know it was there. Some of its pages are prototypes: new ways to browse the songs by their tags. Some are design studies, which draw one feature several ways side by side. Others are reports generated from the build state at the end of every working session, so they show where the rebuild actually stands. One design study, the restyled tag cloud, has already moved to the main site.

Every lab page follows the same rules. It is marked noindex, so search engines leave it out; it carries no advertising; and it is not in the sitemap. It has a small Test pill beside the site logo that links back to the lab, and a back-link of its own. And it is listed on the lab’s front page with its status (Prototype, Report or Graduated) and the date it was added. Nothing in the lab is hidden, and nothing in it is presented as finished.

One set of stylesheets, fenced off

When the lab was first built it had three stylesheets of its own, and one page carried a style block. That is how experiments drift: each solves its own problem, and the site ends up with four small design systems instead of one. On 19 October all of it moved into the site’s main stylesheets under a TEST LAB banner: layout rules in the base stylesheet, light-theme colours in the light skin, and dark-theme rules in the dark skin.

A single CSS technique keeps it apart. Every lab rule, 506 selectors in all, is wrapped in :where(html.lab) or scoped to one lab page. A rule written that way can only match a page whose root element has the class lab, and no public page has it. Because :where() adds no specificity, a lab rule can never override a site rule it overlaps. Before the change shipped, the computed style of every element on all nine lab pages was compared, in the light and dark themes, with a snapshot taken beforehand, and public song pages were checked the same way. Nothing had changed.

A small checker now enforces the rules before anything is published: the noindex tag, no advertising, no inline styles or style blocks, the pill and back-link, every page listed on the front page, and no lab address in the sitemap. If it fails, publishing waits.

What is in the lab

The pipeline matrix

The Analysis page draws each lane of the rebuild as a ring. A ring shows how far a lane has got but not which songs are holding it back, and the pipeline matrix answers that second question. It has a row for each of the 215 song pages and a column for each step a page passes through: the current layout, the rebuild from both primary books, the fact-section score, the nine kinds of fact the two fact sections cover, the listening guide, the tag layer, quotation recovery, and one new column, own words. That column counts passages of fifteen words or more that follow a source book’s wording without quotation marks. The check behind it is also new. It found such passages on 79 pages, and each will be quoted or rewritten when its page comes round.

Building the matrix meant looking hard at the rings beside it, and several were stale. Three lanes still showed September figures: public hygiene showed one of four parts done when all five are finished; the naming lane showed none of its first 27 pages done, against an actual twelve; and the equipment lane counted pages although the work is organised in four parts, two of them complete. All three now show the current state. The plain-attribution lane, which tracks stating a fact and leaving its source to the footnote rather than writing “Lewisohn records that…”, is now measured afresh at every update instead of read from an August audit: 92 of the 128 rebuilt pages are clear. Four lanes that had no ring now have one: the album listening guides, the depth rewrites of the thinnest pages, the Test Lab itself and the 215-song canon. There are now 35 rings.

The matrix is linked from the Analysis page and listed in the menu, and it stays in the lab until it has proved itself.