Conversation Labeling¶
Conversation labeling (function_type_id = 9) is the scenario type for studies
that label inside a conversation: the category goes to each sense unit, not
to the message as a whole.
It was built for the VRM study (Verbal Response Modes, after Stiles), which codes roughly 8,300 spans across 86 counselling threads.
When to use it — and when not¶
| Situation | Type |
|---|---|
| One text gets one category | Labeling (7) |
| One conversation gets one category | Labeling (7), item = conversation |
| Every sense unit in the conversation gets its own category | Conversation labeling (9) |
The difference is not cosmetic. It decides what the numbers are computed over:
- The unit of analysis is the span, not the item. Krippendorff's alpha runs over span cells; one conversation contributes ~92 rows to the rater matrix, not one.
- Progress has a genuine middle state. A conversation is only complete once every span is decided — "40 of 92" is a normal state that classic labeling does not have.
- Time on task is measured per span, not per conversation.
Segmentation comes from the import¶
Raters do not draw the spans. They are fixed at import time and frozen for the duration of the study.
That is a methodological decision, not a technical limit: if everyone segmented for themselves, the rows of the rater matrix would no longer be the same units, and an agreement coefficient across them would not be interpretable. Disagreement about the category could no longer be separated from disagreement about the cut.
When a boundary is plainly wrong there are two routes:
- Report it through a dedicated label card (e.g. "wrong span boundary"). This is the normal route — segmentation stays identical for everyone and the problem is documented.
- Split or merge with the two understated tools at the bottom of the panel. Deliberately the exception.
The interface¶
The conversation sits on the left as speech bubbles, the decision on the right.
Turn by turn. Only what has been said up to the current point is visible. Once a counsellor message is fully labeled, the client's reply appears with an animation and work continues at the first span of the next message. Later messages stay hidden: raters should not know how the conversation ends. What has been shown once stays visible (since 9 November 2026, T-208): jumping back to an earlier span to improve a label no longer hides the following message — not even when someone else splits a span and a span becomes open again. The next message appears as soon as every span of the message before it is labelled, even with auto-advance switched off.
Auto-advance is on by default. After a decision the focus jumps to the next span. At ~92 decisions per conversation, clicking back into the text is otherwise the single largest cost of the whole task. The switch remembers its state. Deselecting does not advance — otherwise you could never get back to correct something.
Keyboard: digits 1–9 pick a category, Enter advances, Backspace
steps back.
Already-decided spans carry their label inline in the text. That is how a rater sees their own sequence — and notices two identical labels in a row, the signal that this is really one block.
Every selection saves immediately. Embedded in the evaluation session the layout hides its action bar and with it any save button — an interface that waits for one persists nothing. That has already happened once in a production study.
The free-text note is saved debounced (800 ms) rather than per keystroke, and flushed the moment a span is left.
Reviewing and changing after completion. Once the last open span is
decided, the right panel says "Every span in this conversation has been rated."
with a hint below it: click a section in the conversation to review or change
its label. The left side then shows the whole conversation with all labels. A
click on a section, or the "Go to the first section" button, opens it again
with its stored label, and a new choice is saved immediately as always. Every
change is logged as a revision: the export carries the first choice
(first_label), the number of changes (n_label_changes) and the path
(label_path). The time to the first decision stays as it was, because it is
measured only once. Reopening a completed conversation later starts at the
first section and also shows every message. Nothing is locked after
completion.
When auto-advance moves on from the last span while spans further up are still open (for example because you clicked ahead), the focus lands on the first open span. "All rated" appears only once every span really is decided.
No sections loaded. If not a single span arrives for a conversation, the right panel says "No sections were loaded for this conversation." with a "Reload page" button — never "all rated". Usually this tab is still running an older LLARS version; saved labels are kept. After an update LLARS also shows the notice "A new LLARS version is available — please reload." at the top of open tabs. It reloads only on a click, so no open input is lost.
On a phone the conversation sits on top at full width and scrolls on its own, with the decision docked underneath. A pop-up that opens and closes for every span would be the wrong answer: the history decides the label and has to stay visible while deciding. The span to label is the one with the blue frame in the conversation; after every decision the next span moves into view there. The labels start directly under the conversation as a compact two-column grid, followed by one row with "Unsure", the counter (e.g. "Span 2 of 44") and "More". There is no separate "To label" box with the span text on a phone, so that more labels fit without scrolling; on desktop and tablets it stays. A label's definition opens from the ? on the right of its button as a pop-up, since a phone has no hover tooltip; tapping the label itself still selects it at once. Co-pilot suggestion, second choice, principles cross-check, split and merge, note and auto-advance fold under "More", and a pending co-pilot suggestion is announced on the folded toggle. To merge without a keyboard there is a "Mark spans to merge" button: while it is on, a tap on a span marks it instead of focusing it, and the mode ends by itself after the merge. Digit hints and the keyboard line are hidden on touch devices. Between 600 and 905 px (tablets) the conversation and the decision are stacked too, at full size.
Hierarchical labels (OnCoCo)¶
Instead of a flat label list a scenario can carry a label tree, for example
the OnCoCo category system with 90 nodes, 68 of them labels on the finest
level. In the configuration the label list stays flat: every node names its
parent, and a hierarchy block switches the tree on. The exact format is
described in
evaluation data formats.
Without that block the interface looks as described above.
Level by level. The panel shows only the buttons of the current level. A button with a number and an arrow (e.g. "20 ›") is a branch: a click descends one level and stores nothing yet. A button without an arrow is a label on the finest level: a click stores it at once, and with auto-advance the next span follows, starting on level 1 again.
Only the matching role. A counsellor span shows the counsellor tree, a
client span the client tree. The role comes from the span itself
(speaker_role, set by the scenario derivation) or from the sender of the
message. The speech bubbles follow that role too, no longer whether a message
is labelable.
Path chips. Above the buttons the way down is shown, e.g. "Ratsuchende ›
Wirkfaktoren › Analyse & Klärung". Every chip leads back to its level, and a
stored label sits filled at the end of the path. In the conversation text a
decided span carries the last segment of its code (e.g. PS) in the colour of
its branch; the full path is in the tooltip.
Stopping on an intermediate level. Raters who do not want to commit to a
finer category click "Übernehmen" (apply): the current level becomes the
label (partial depth). The same happens when the span is left while standing on
an intermediate level — but only if the span has no label yet or the new level
refines the stored one. Looking around and walking back up, or peeking into
another branch, overwrites nothing. In the analysis a partial depth counts as a
missing value on finer levels. Whether partial depth is allowed and from which
level on is set by the scenario (partial_allowed, min_depth). With
advance_on: "confirm" a click on a label stores it, and only "Übernehmen"
moves on.
Examples on hover. On a desktop the tooltip of a button shows example sentences when the scenario provides them; on a phone the ? in the button opens the same explanation. On a desktop the description sits in the button.
Keyboard: 1–9 pick on the current level, 0 or Esc go one level up,
Enter applies an intermediate level (otherwise it moves to the next span), and
Backspace stays "previous span".
Second choice. Instead of a row of chips there is a search field over path names and codes. It offers only finest-level labels from the tree of the same role, and neither the first choice nor an ancestor or descendant of it — a refinement of one's own answer is not a second reading. The server checks the same rules.
Label tree. The "Labelbaum" button next to the path chips opens the whole overview: collapsible, searchable, switchable by role, with descriptions and examples; the current label is outlined. The same overview is on the OnCoCo info page.
Split, merge, "Unsure" and the note work as usual. The co-pilot stays off for a label tree unless the scenario explicitly enables it.
Co-pilot¶
With the co-pilot enabled, a model suggestion with rationale and textual evidence sits above the categories.
- Never pre-selected. Accepting costs a deliberate click.
- Per span, not per conversation — one suggestion for a whole thread would be worthless.
- Same view as the human. The server-built
{context}follows the same visibility rules (context_window,no_future_messages). Otherwise the two would decide on different information and would not be comparable. - Hidden control subset. A share of spans is served without a suggestion, decided server-side by a deterministic hash — reproducible, and never exposed to raters.
- Helpfulness can be rated with a thumbs vote, which lands on that span's log row.
AI suggestions from several models¶
Some studies show an AI suggestions bar. For the span currently under decision it lists the suggestions of up to four models, each in its own colour. On a computer or tablet it sits below the "Second choice" row and above the "Principles cross-check", so the categories come right below the text and you decide on your own first; on a phone it is a collapsed row above the categories. The bar only appears for spans for which the study lead has provided suggestions; the server decides which spans these are (for example only from a certain conversation on). Spans without suggestions and conversations outside that part of the study look as usual.
- One row per model: the model name comes first, followed by the suggested label as a dashed frame, the model's second choice as a fainter chip with "2.", its answers to the three questions and, if given, the question on which the model would most likely flip. Hover over a row to see the rationale; on a phone or tablet, tap the row.
- Marks on the labels: small initials on the edge of a label button show which models suggest this label. Next to the second-choice chips you see the models that name it as their second choice.
- Apply sets the model's label, answers and second choice and saves at once. If the model names no valid second choice, a second choice you picked earlier is cleared, so exactly the model's suggestion is in place. With "Advance automatically to next span" on, you then move on to the next span just as after your own choice; the bar has no switch of its own here, and a hint below the rows says that it moves on. A double click applies only once and never lands on the next span.
- Nothing is pre-selected. As long as you do not click anything, no label is chosen and nothing is saved. Afterwards everything can be changed as usual.
- On a phone the bar starts collapsed as a single line with the model initials above the label grid, so the labels stay in view. "Show" expands it, and the browser remembers that. On desktop and tablets it is always open.
- Label tree: the bar appears there too; the tree does not show marks on its buttons yet. Only a label from the tree of the matching role is applied.
- Keyboard: Enter and Space on a button of the bar trigger that button and do not move to the next span.
What is logged
With every save of a span LLARS records which suggestions were shown for that span, how often you opened a rationale and whether you applied a suggestion. Opening a rationale on its own saves nothing.
Splitting a span¶
A quiet text link "split span" sits at the bottom of the panel, above the note field. It opens a character-level cut picker: click into the text, see both halves as a preview, confirm.
Three rules keep the study data honest:
- The cut must fall strictly inside — at the edge it would create a zero-length unit.
- New ids are derived (
x→x+a/x+b), not renumbered. An earlier export still joins and untouched spans keep their ids. - The vote on the old span is deleted for every rater, together with its co-pilot log row and timing. A decision about the whole span is not a decision about either half, and those measurements describe a unit that no longer exists.
Merging spans¶
The reverse. Spans are marked with ctrl/cmd-click in the text — marked spans get a dashed outline and the button shows the count. "Merge spans" stays greyed out until the marking can actually become one unit.
Marking them yourself is the point: an earlier version picked the partner on its own (the following span, else the preceding one). That read as arbitrary, because nothing on screen said which neighbour was meant.
Any number can be marked; they merge when they form an unbroken run within one message. Only whitespace may sit between them. That is not a formality: in a real segmentation the separator belongs to no span — sentence spans typically sit one space apart — and demanding exact contiguity would have left the button dead in every genuine conversation. Absorbing a space is harmless, absorbing words is not: nobody decided about those.
A plain click navigates as usual and clears the marking — otherwise a forgotten selection would keep the button armed while you are somewhere else.
The new id is derived, and undoing a split is the common case: x+a + x+b
gives back plain x. A study that split and merged again carries exactly the
ids it started with.
Here too both votes disappear for every rater. Two decisions about two units are not one decision about their union, and keeping either would put an opinion in someone's mouth.
"I'll just label both the same"¶
When two adjacent spans carry the same category, a prompt offers to merge them in one click — both while standing on one of them and immediately afterwards, when auto-advance has already moved on.
The click is deliberate: this must not happen automatically. The segmentation is shared by every rater. If it changed based on one person's labels, the units would shift under everyone else — and their votes on both halves would be deleted. Two people would no longer be judging the same things, which is precisely what makes an agreement coefficient meaningless.
For analysis, collapsing identical neighbours is an analysis step (block merge) rather than an edit to the data.
Because both tools change the segmentation for everyone, they sit quietly at the bottom above the note field — they should stay the exception rather than compete with the label buttons.
What splitting and merging record¶
Since 23 October 2026 LLARS records every split and every merge in a protocol
of its own (table labeling_span_events). An entry names who triggered the
change and when, the cut position for a split, the old and the new spans in
full with everything the import stored, and every deleted vote of every rater.
Each vote keeps its label, second choice, "unsure" flag, note, the answers to
the questions and the times it was cast and last changed. The resegmented
entries of the label history point to exactly this change via span_event_id.
The protocol does not stop the votes from being deleted, and there is no undo
button. It makes traceable what was lost and who caused it. Like the results
export, it can only be read by owners, editors, viewers and admins, via
GET /api/v1/scenarios/<id>/span-events
(see v1 Scenario API).
Raters cannot see it, because it contains the other raters' labels.
When a message is taken out of labeling¶
Sometimes a message is attributed to the wrong role at import, for example a message of the person seeking advice stored as a counsellor's message. Its sentences were then cut into spans by mistake. The people responsible for a scenario can turn such a message into plain context via the API (see v1 Scenario API).
Afterwards the message appears with the correct role, none of its sentences can
be clicked any more, and the conversation has correspondingly fewer spans. Votes
already cast on these sentences are deleted and recorded in the protocol like a
split (kind remove). They no longer appear in progress, export or agreement.
Anyone who has the conversation open sees the change immediately and gets a
short notice.
Live sync and protection against stale votes¶
Since 25 October 2026 the server sends labeling:spans_changed after each
committed split or merge to the connected clients of that item. The event
contains only scenario_id, item_id, kind, span_event_id,
removed_span_ids, created_span_ids and the complete new span index spans.
The event ID matches the split/merge response, letting clients recognize their
own echo and duplicate deliveries. The actor, other raters' votes, AI data and
progress are never included.
Joining with labeling:join_item and {scenario_id, item_id} checks login,
read permission, membership and the same item visibility as the single-item
GET. Locked parts remain invisible. The room is named
labeling_item_<scenario_id>_<item_id>; labeling:leave_item leaves it.
Refusal carries the code FORBIDDEN and both IDs in labeling:error.
The save guard also works without a live connection: for conversation
labeling, /evaluate rejects an empty span_id with 400. A span that no
longer exists produces 409 with
details: {reason: "span_not_in_item", item_id, span_id}. The same applies to
a missing span in a split or merge. The client must reload the current state
through GET /api/evaluation/session/<scenario_id>/items/<item_id>; the error
response contains no span index. The scenario type comes from the database,
regardless of the type supplied by the client.
Item locks prevent concurrent edits from overwriting each other or votes from being written after their span was removed. The vote, decision event and timing are saved together. The separate co-pilot and AI logs check the span again before writing. The live push happens after commit and is best-effort: a connection failure leaves the edit saved; a fresh GET returns its current state.
Before deletion, dropped_measurements in the re-segmentation protocol saves
all timings, co-pilot logs and AI suggestion logs of the removed spans for
every rater. Each row contains every database column, with timestamps as ISO
strings. The snapshot is available through the protected
span-event export.
After each edit, scenario statistics are marked for recomputation.
On several devices at once¶
Since 9 November 2026 you can keep the same scenario open with the same account on several devices at once, for example on a computer and on a phone. A click on a label shows up immediately on the other devices: the label appears at the span, the span is highlighted and scrolled into view, and with auto-advance switched on the highlight moves on to the next span as after a click of your own. The chosen label button is briefly shown "pressed" — the feedback your finger gives on your own device (since 9 November 2026). If another device is showing a different conversation, it switches to the conversation where the click happened. Second choice, answers and note come along. Clearing a label is saved and transmitted as well, so it no longer comes back after a reload.
Only the devices of the same person receive these updates. Other raters, owners
and admins get nothing through this channel. Technically, every device joins the
room labeling_self_<user_id>_<scenario_id> with labeling:join_self
{scenario_id}; the server derives the room from the login alone and checks read
permission and membership as for labeling:join_item. After each save it sends
labeling:own_decision with the saved decision, without a user id. Every save
carries the tab's id (client_origin) so that a tab discards its own echo. After
a dropped connection the device reconciles its state with the server. Paging
through cases without a click is not transmitted.
When two decisions arrive almost at once, for example because you tap on both devices, the server's timestamp (microseconds after saving) decides: only a genuinely older state is discarded, and after such a burst the device reconciles once with the server so that both devices end up showing the same state. An input of your own that is not saved yet always wins over the event from the other device. Since 1.57.0 the same sync applies to every scenario type, see the evaluation guide.
Analysis¶
In the scenario manager's evaluation tab, like any other type — except that the unit is the span.
The export additionally carries span_id, message_id and span_index. The
span_id is a stable string from the import, not a running database id:
that is what keeps a re-import idempotent and lets exports from two points in
time be joined. The three columns sit at the end of the column list so analyses
that index by position keep working.
When an LLM takes part as an assessor, its "vote" for agreement is its primary suggestion — exactly the one a human would have been shown.
Comparing annotations¶
Anyone who runs a scenario or may view its results as a viewer can line up the labels of all raters span by span. In the data tab every row carries the "Annotations" button and the "Agreed" column: how many spans of the conversation everyone labelled the same, and how many raters are finished.
The annotations page opens on the matrix first: one row per span in reading order, one column per annotator, agreement on the right. The edge colour shows the agreement:
| Colour | Meaning |
|---|---|
| green | all votes equal |
| yellow | majority (more than half); the minority is outlined with a dashed line |
| red | split, no majority |
| grey | a single vote — no agreement can be established yet |
"Unsure" is a decision but does not count as a vote for a label. The "Only deviations" switch hides every span nobody disagrees on (yellow and red remain) and stays on while paging. "CSV" downloads exactly this table.
Clicking a row opens the same place in the conversation view: the whole conversation on the left with coloured spans, all labels of the selected span on the right with second choice, "unsure", note, time and the history if someone changed their decision. If the co-pilot is active, its suggestion is listed below — visible to the people running the scenario only, and only for spans where it was actually shown. The toggle at the top right or Esc takes you back to the matrix.
| Key | Action |
|---|---|
| ← / → | previous / next conversation |
| ↑ / ↓ | previous / next span (conversation view) |
| N | next deviation |
| Esc | back to the matrix |
At the bottom, the bar "Back · Case 12/86 · 71/92 spans agreed · Next" pages through the conversations — in the order the data tab showed when you opened it (search and sorting). View and selected span are part of the address and can be linked.
Who sees what? Only owners, editors, viewers and admins see the labels of all raters — the same boundary as the export. Pure raters never see other people's labels: they would otherwise learn how others decided before making their own decision. Annotators are the active raters, i.e. the same set Krippendorff's alpha is computed over.
The page works the same for classic labeling (type 7); there the whole conversation is the only unit.
Creating one¶
Through the v1 scenario API with type: "conversation_labeling". The exact data
format including validation rules is documented under
Evaluation data formats.
In short: an item is a conversation, its messages carry labelable: true|false,
and labelable messages hold a list of spans with span_id, start and end —
character offsets into the message text, which is stored only once.
Known limits¶
- The LLM evaluator (assessors tab) still runs this type through the whole-item classifier and would therefore produce one label per conversation rather than per span. For model comparison the co-pilot path is what counts, which works span by span.
- Batch generation across spans is not yet sized for the full study's volume.