### wai-quantum: a study of the co-design, every measure the engine's

The measurement harness the co-design report puts under every feature: each feature behind a flag, compared against a control, in a study whose protocol is sealed before any data.

- **The protocol** (`study::Protocol`, `seal_protocol`):
  - the study, its hypotheses, the primary measure, the conditions (each a setting of the Studio's features: `study::FLAGS`), the control, and the analysis (resamples, seed, level);
  - checked, then sealed with the researcher's key before any data, its digest naming the study.
- **Assignment** (`study::assign`): the digest and the participant's key hashed together, so the condition is fixed before they begin and anyone can check it.
- **A record** (`seal_record`): what one participant made and did, sealed with their key: the program's history, their predictions, their choices among candidates (with the engine's best of them), their probe tasks done without the assistant, and their answers on ownership.
- **The measures** (`study::measure`), the report's eight, each computed again by the engine from the record:
  - quality: the person's edits the engine proves equal to what they replaced, and the share that made it cheaper, with its trend;
  - diversity (Vendi) and novelty of their designs;
  - selection skill against chance;
  - calibration: the mean distance of a prediction from the run, and the slope;
  - unassisted skill: four probe tasks scored by a workbench specification each, a score of 1 matching the reference;
  - ownership: five items from 1 to 7, beside the authorship share by the history;
  - convergence on a model's proposals.
- **The cohort report** (`study::cohort`):
  - every record checked: the protocol's digest, its seal, the key that sealed it, the condition its key is assigned, and one record per participant; a record that fails is refused with the reason;
  - per condition, the mean of each measure;
  - each condition's difference from the control on the primary measure, with a seeded bootstrap interval;
  - Cronbach's alpha of the ownership items, and the Vendi score of each condition's final designs.
- **The command line:** `wai-quantum study catalog | new | assign | measure | cohort` (`--out` seals the report).
- **For agents:** `study_measure` and `study_cohort`. The probes are not offered to agents: a probe is done without the assistant.
- **The Studio:**
  - the Study pane: Features, each one switchable off, and held by a study's condition;
  - "Load a protocol", which shows what the study is about before "Take part";
  - a record kept only once asked: the choices in Alternatives and the Workbench, "How much is this yours?", and probe tasks with the assistant paused;
  - "My record", and "Export my record", sealed with the browser's key.
- **For hosts:** `study::call` and `call_sealing`; `QuantumEngine::study` in the page, which seals with the page's key, and `study` in the desktop app.
- **CI:** wai-web's native engine tests count 14.

