Designing Human-AI Collaboration › A worked end-to-end example: three designs, three outcomes

Michael BrenndoerferDecember 2, 20265 min read
Language AI HandbookAll chapters
Part 62 of 67Human-AI Interaction and Governance
Chapter 472Designing Human-AI Collaboration › A worked end-to-end example: three designs, three outcomes
Reading section 4 of 10 · A worked end-to-end example: three designs, three outcomes · 5 minSection 4 of 10 · 5 min

Section 4 of 10 · 5 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

Now let's put the layers together and compare three design variants on the same scenario. This is where the abstractions earn their keep: we'll see that the same model behavior produces very different system outcomes depending on the collaboration design around it.

Customer C001 writes that a mug arrived cracked. In the fixture the order record says delivered. We'll repeat the recommendation with a conflicting in-transit record so you can see which designs have a usable decision point.

  • Design A (full automation). The recommendation is applied in the simulation without approval.
  • Design B (draft handoff). A scripted human approves based on the draft. The order record remains outside that view.
  • Design C (case-file collaboration). The human reviews the case file and may approve. After approval, the human carries out the simulated action using a local checkpoint.

These are comparison policies for a fictional ticket. The full-automation and draft-handoff variants intentionally bypass safeguards from the recommended refund allocation. The case-file variant includes the human action and a check against the order fixture.

Each design starts with the same assistant output. The designs change the available evidence, approval rule, and recovery together, so the comparison measures the scripted policies as a whole. A reviewer would still have to notice and interpret the evidence.

PythonIn [23]
CollapseExpand
@dataclass
class Outcome:
    design: str
    executed: bool
    human_approved: bool
    context_seen: float  # coverage the human saw before approval
    local_checkpoint: bool


def design_a(message: str, customer_id: str = "C001") -> Outcome:
    cf = build_case_file(customer_id, message)
    task = CheckpointedTask(cf)
    task.execute(cf.proposed_action)
    return Outcome(
        "A",
        executed=bool(task._executed),
        human_approved=False,
        context_seen=0.0,
        local_checkpoint=False,
    )


def design_b(message: str, customer_id: str = "C001") -> Outcome:
    cf = build_case_file(customer_id, message)
    task = CheckpointedTask(cf)
    visible_draft = CaseFile(customer_id, None, None, draft=cf.draft)
    approved = bool(visible_draft.draft)  # stipulated reviewer behavior
    if approved:
        task.execute(cf.proposed_action)
    return Outcome(
        "B",
        executed=bool(task._executed),
        human_approved=approved,
        context_seen=visible_draft.coverage(),
        local_checkpoint=False,
    )


def design_c(message: str, customer_id: str = "C001") -> Outcome:
    cf = build_case_file(customer_id, message)
    task = CheckpointedTask(cf)
    task.checkpoint("pre_execute")
    order_status = next((e.status for e in cf.evidence), None)
    approved = (
        cf.proposed_action == "replacement_or_refund"
        and order_status == "delivered"
    )
    if approved:
        task.execute(cf.proposed_action)
    return Outcome(
        "C",
        executed=bool(task._executed),
        human_approved=approved,
        context_seen=cf.coverage(),
        local_checkpoint=True,
    )


msg = "My mug arrived cracked, what can you do?"
for design in (design_a, design_b, design_c):
    o = design(msg)
    print(
        f"Design {o.design}: applied={o.executed} approved={o.human_approved} "
        f"context_seen={o.context_seen:.2f} local_checkpoint={o.local_checkpoint}"
    )
ConsoleOut [24]
CollapseExpand
Design A: applied=True approved=False context_seen=0.00 local_checkpoint=False
Design B: applied=True approved=True context_seen=0.20 local_checkpoint=False
Design C: applied=True approved=True context_seen=1.00 local_checkpoint=True
PythonIn [25]
CollapseExpand
conflicting = [design(msg, "C002") for design in (design_a, design_b, design_c)]
assert [outcome.executed for outcome in conflicting] == [True, True, False]
for outcome in conflicting:
    print(
        f"In-transit order, design {outcome.design}: applied={outcome.executed}"
    )
ConsoleOut [25]
CollapseExpand
In-transit order, design A: applied=True
In-transit order, design B: applied=True
In-transit order, design C: applied=False

The chart uses only the delivered order, and only the fraction of case fields shown to the reviewer. Read the two ticket outcomes in the printed results to see which workflows applied each proposal.

PythonIn [26]
CollapseExpand
design_comparison = []
for design in (design_a, design_b, design_c):
    outcome = design(msg)
    design_comparison.append(
        {
            "design": outcome.design,
            "context_seen": outcome.context_seen,
            "human_approved": outcome.human_approved,
            "local_checkpoint": outcome.local_checkpoint,
        }
    )
VisualizationOut [27]
CollapseExpand
Bar chart of context shown to the human across three designs.
The designs show none, one, or all five case fields to the human. The case-file variant retains a local checkpoint. The simulation issues no external refunds.

Design A applies the simulated recommendation without approval. The scripted reviewer in design B sees a draft and approves it. Design C checks the proposed remedy against the order status, then records a local action only if that check passes. On the delivered mug fixture all three proceed. On the in-transit order, only the case-file variant blocks the damage remedy.

All three designs start with the same draft, proposed action and rationale on each ticket. The case-file variant changes what evidence reaches the reviewer and provides a place to block the action. A checkpoint restores local state. The program issues no external refund.

The conflicting fixture uses a damage keyword on an in-transit order. The draft can claim damage even though the order record does not show delivery. The case-file variant exposes that record at the decision point. A real reviewer could still make a mistake or lack crucial evidence.

The same model, different systems

When you report a reduction in error, specify whether it was measured on model outputs or actual workflow outcomes. A model-only benchmark cannot count errors caught by reviewers, nor can it count errors introduced during review.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy