# Human review in AI product interfaces

A second page, [review-interfaces.html](review-interfaces.html), asks how much the screen around an
AI assistant that acts for a user changes the share of tasks that end correct: the final answer only,
the steps shown after the fact, the plan shown before anything runs with a step that can be changed,
and the plan plus a hold on emails and undo. Four AI models acted as the reviewer on 30 synthetic
tasks in an invented account system, three runs each, beside a scripted reviewer built from declared
assumptions. The design and the frozen
protocol ([reviewui/protocol.json](reviewui/protocol.json)) were written before any reviewer ran;
9 of the 18 planted mistakes come from an independent author who never saw the interfaces
([reviewui/data/independent-faults.json](reviewui/data/independent-faults.json)).

Every stored reply is in `reviewui/runs/`, and the results rebuild from them with no key and no
network:

```sh
python3 -B -m reviewui.analysis          # rebuilds every result from the stored replies
python3 -B tests/test_review_interfaces.py   # tasks, scoring, replay and pinned results (the frozen-protocol test needs the full project: the design file is not in the download)
python3 -B -m reviewui.check_page        # every number on the page, recounted from the replies
python3 -B -m reviewui.render            # rewrites the page and the demo data from the results
```

The clickable demo on the page is a built bundle, `review-demo.js` (React 18.3.1, TypeScript);
its screens and outcomes come from `review-demo-data.js`, which `reviewui/render.py` writes from the
same task state and scoring code the reviewers were scored by.

The main page of the study, [index.html](index.html), and its checks are described in [README.md](README.md).
