# Mendel 1866 laboratory: verification report

Build of 12 November 2026. File `mendel_lab.html`, 5,865,291 bytes, sha256 `a11470b68f1fca1ce93094f93e123e06170552f5e331aa2d13683238f8e8348e`.

## Status in one paragraph

The laboratory is fully built and every project file is carried by an object. All logic and content checks that can run without a browser pass: 36 of 36 audit checks and 17 of 17 unit tests. **This build has not been rendered.** Headless Chrome cannot start in the build sandbox, so nothing below is a statement about how the scene looks or how fast it runs. The only rendering evidence so far is the user's screenshot of the earlier stage 2 build, which showed the empty room.

## What the build contains

| Area | Implemented |
|---|---|
| Room | Same dimensions and walking system as stage 2. Darker two-tone materials, surface relief on walls, floor and ceiling, window blinds, trunking, door hardware, sink, bins, clock, extinguisher, ceiling diffusers, a growth bench with a light bar, under-shelf task lights that cast shadows on the workbench. |
| Workstation | Monitor, keyboard and mouse. Opens a file browser with the derived notebook, `run_all.py` and the 7 scripts, the 2 environment files, the 3 figure PDFs, the 3 raw transcriptions, a side-by-side view of the three transcriptions, and the reference records. |
| Documents | Six items that lift off the bench and open as paged sheets: manuscript (`REPORT.md` with its 3 figures and tables), README cover sheet, provenance logbook, reference list, verification clipboard (4 records), benchmark folder (5 tables). |
| Figures | Three printed sheets. Each opens at full resolution with pan and zoom, and can be projected as a 3D reconstruction that rises from the sheet, rotates and zooms, and shows the values and source rows of the element under the pointer. |
| Mendel's experiments | Seven counting trays with one marker per counted seed or plant (19,959), a two-character tray (556), ten seed envelopes, eight seedling flats (1,684 seedlings), five test-cross trays (551), two wall charts (9 and 27 classes), seven pairs of pea plants, a stereo microscope. |
| Archive and verification | Data terminal (9 result tables plus the curated data), compute node (simulation and model-fit output), archive box (the `.science` file, with a save button), archive index terminal (package index, checksum ledger, live check of all 63 files), index-card box, catalogue cards for the 3 citation-only sources. |
| Interaction | W A S D walking, drag to look, outline and prompt on the object under the pointer, E or click to use it, Esc, X or a Close button to return. The camera returns to the pose it left. |

## Checks that passed (Node, no browser)

**Content integrity**
- 55 of 55 embedded files: bytes in the page, files on disk and inventory checksums agree.
- The 3 citation-only sources are absent from the page, by path and by checksum.
- The derived notebook is stored apart from the original files and flagged as derived.

**Traceability**
- Each of the 55 embedded files opens from the object the inventory assigns it to.
- All 24 inventory objects exist; 51 interactive objects in total, each with a catalogue entry.

**Displayed content equals the source**
- Workstation and terminals: 8 Python files shown character for character with matching line counts; 10 text and JSON files identical; 6,373 table cells identical.
- Derived notebook: every code cell is verbatim script text for all 7 scripts.
- Printed documents: the words on the pages equal the words of the source, in order (2,570 words for the manuscript; 442, 424 and 593 for the other three Markdown documents). Clipboard and folder show all 464 and 782 table cells.
- The manuscript's 3 figures come from the original PNG bytes.
- The side-by-side transcription view finds 28, 31 and 31 of 31 checked values, the same as `results/source_verification.csv`.

**Physical objects carry the data**
- Tray markers: 14,949 dominant and 5,010 recessive, equal to the data in every tray.
- The tray divider stands at the 3:1 position: the ratio of fill levels on its two sides equals (dominant : recessive) / 3 to within 0.001.
- Seedling flats: 1,684 seedlings; blue tags equal the plants scored as hybrids in each of the 8 tests.
- Test-cross trays 551 markers, two-character tray 556, 10 envelopes, 19 reference cards (14 Crossref, 5 PubMed).

**Figure reconstructions**
- 609 mesh coordinates map back to the result tables with a largest error of 2.8e-14 in data units.
- 55,590 ridge-surface vertices lie on the P-value curve of the same chi-square test (largest error 4.7e-7 in P; vertices are single precision).
- In Figure 1a each ridge crosses P = 0.05 at the printed interval ends (largest error 3e-15).
- All 409 elements are built and each names its source rows or the reference value it represents.

**Interaction logic and layout**
- The camera state machine returns exactly the pose it left.
- Every interactive object can be approached on foot; the farthest is 0.83 m from walkable floor, inside the 2.7 m selection range.
- 23 objects on the main bench and 10 on the side bench rest on the tops, inside the edges, with no overlapping bounding boxes.
- Walking: 200,000 random steps never end inside furniture or outside the walls.

## Original data versus derived views

Every file view carries a badge. "Original file" views show the embedded bytes and re-verify the checksum when opened. These are marked "derived":

- the notebook (generated from the scripts; 30 of 30 of its output files are byte-identical to the package);
- the 3D figure reconstructions;
- marker, seedling and plant arrangements (the counts are data, the positions are not);
- the side-by-side transcription view and the live integrity table;
- the reading view of the HTML transcription.

In the reconstructions, depth is physical thickness only, with one exception that is stated on screen: in Figure 1a the height of each ridge is the P-value of the hypothesised ratio, from the same test the report uses.

## Not verified

- **Appearance.** Lighting balance, materials, shadows, label legibility, the plants and the projection effect have not been seen.
- **Frame rate.** The stage 2 build ran at 56 frames per second at 1751 x 1240 with ambient occlusion at full resolution. This build adds about 770,000 instanced triangles. To offset that it merges static geometry (495 meshes become 242 in the audit build), redraws shadow maps only when something moves, runs ambient occlusion at half resolution, and lowers render scale or switches ambient occlusion off if the frame time stays above 19.5 ms. The effect is unmeasured.
- **Page breaks.** They depend on browser text layout. The page checks itself: the diagnostics panel has a "Run interface self-test" button that opens every interface and compares word counts and page overflow.
- **Mouse, keyboard and animation behaviour in a real browser**, including the document lift, the camera travel and the paper-to-projection transition.
- **The embedded PDF viewer.** If the host has none, the PNG of the same figure is shown.

## Known limitations

- **Blender was not used.** It is not installed and no Blender connector is attached. All geometry is procedural Three.js, so furniture and instruments are simpler than modelled assets would be. The pea plants are schematic illustrations.
- **Mouse-look.** The embedded preview refused pointer lock, so dragging is the default way to look. M requests mouse-look where the host allows it.
- **Document reading is an HTML sheet over the 3D view.** The paper lifts from the bench and returns to it, but the readable pages are drawn by the browser, not on the 3D object.
- **Markers in trays 1 and 2 are 1.9 mm across**, smaller than real peas, so that 7,324 and 8,023 fit in one visible layer.
- **Axis text in a projection** comes from the printed figure's own ink, kept on the base plane, so it is exact but does not turn to face the viewer.
- **One duplicate differs.** Four of the five unplaced copies are byte-identical to placed files. `mendel_1866_report.md` differs from `REPORT.md` only in its three image paths.
- **The `.science` archive has not been repackaged** to include the laboratory. The original archive is embedded unchanged.

## How to confirm in the browser

1. Open `mendel_lab.html` and enter the laboratory.
2. Press F3. The panel lists frame rate, draw calls and the results of the interface self-test, which runs automatically after loading.
3. Press Copy and send the text, with a screenshot of the workbench and one of a projected figure.

## Files

- `mendel_lab.html`: the laboratory. Two consecutive builds produced identical files.
- `lab_audit.json`: the 36 audit checks with their measured values, and the list of what the audit cannot check.
- `mendel_lab_sources.zip`: 16 scene modules, build scripts, unit tests and audit, the vendored Markdown library with its licence, and the unit-test results.
- Bundled libraries, both MIT licensed: three.js 0.187.0 and marked 15.0.12.
