Admin Walkthrough¶
This guide covers the full admin workflow: creating a project, importing a corpus, assigning annotators, and monitoring progress.
1. Log in as Admin¶
Navigate to the LACE frontend (default: http://localhost:3721) and log in with the admin credentials set in .env.
The Admin Dashboard opens automatically for admin accounts.
2. Create a Project¶
- Click New Project in the dashboard.
- Fill in the project name and an optional description.
- Choose the annotation type:
- Disentanglement — annotators group turns into threads.
- Adjacency Pairs — annotators draw typed directed links between turns.
- If you chose Adjacency Pairs, define the relation types (e.g.
question/answer,request/compliance). These labels are presented to annotators as a dropdown when creating a link. - Click Create.

3. Import a Corpus¶
Each CSV file becomes one chat room within the project.
- Open the project and click Import Chat Room.
- Select a CSV file. See Data Format for the expected structure.
- LACE parses the file and shows a row-level preview — inspect it for malformed rows before committing.
- Click Confirm Import to write the data to the database.
Repeat for each room you want to add to the project.
Tip
A sample CSV is available at docs/sample_chat_room.csv.
4. Assign Annotators¶
- In the project view, go to the Annotators tab.
- Select users from the list and click Assign.
Only assigned annotators can see and annotate the rooms in this project. Annotators see all rooms assigned to them across all their projects on their home screen.
Note
Users must already have an account. Create annotator accounts from Users → New User in the admin panel.
5. Monitor Progress¶
The project view shows each chat room alongside a completion indicator per annotator. A room is marked complete when an annotator explicitly clicks Mark as Complete in the annotation interface.
The Status column in the chat-rooms table shows per-room progress (Completed / Partial / Insufficient data), together with how many annotators have finished and the average pairwise agreement at a glance.
6. Inspect Per-Turn Annotator Status¶
Click any room name in the project view to open the Admin Room View, which overlays annotator activity on every message turn:
- Disentanglement projects — each turn shows which annotators have assigned it to a thread and what thread ID they chose.
- Adjacency-pair projects — each turn shows which annotators have marked it as read (green badge) and which have not yet reviewed it.
This allows targeted feedback to annotators without needing to export data first.
7. Inter-Annotator Agreement¶
Once at least two annotators have annotated the same rooms, you can compute pairwise agreement:
- Open the project and click the IAA (chart) icon next to a room.
- A pairwise matrix is displayed.
- Disentanglement — one-to-one (o2o) agreement: Hungarian-aligned macro-averaged F1 per thread pair.
- Adjacency pairs — Combined IAA = LinkF1 × (α + (1 − α) × TypeAcc), where α weights the importance of relation-type agreement. Use the Combined / Link F1 / Type Accuracy toggle to inspect each sub-score independently.

Adjusting α (adjacency-pair projects only)¶
The α weight (default 0.8) is saved per project and affects the Combined IAA score.
- On the IAA analysis page, find the α parameter editor.
- Enter a value between 0.0 and 1.0 and click Save α.
- The matrix recalculates immediately using the new weight.
Cells with low agreement are highlighted for targeted review.