← Work

Margin · Personal product · Design and build

Making judgement inspectable

I built Margin as a Chrome extension for assessing the UX of GenAI conversations within the product where they happen. It places findings beside the original exchange, so I can review each response in context.

This complements offline evaluation. Observations from reviewing the experience can inform the criteria given to an LLM judge and the examples used to test its judgements. Margin makes it easier to inspect both the response and the rule, and decide which needs refining.

When I review an AI response, the useful feedback is usually specific. It answered a different question. It sounded more certain than the evidence allowed. It asked three things when one would have been enough.

Jhey Tompkins’s Stet experiment sparked the idea. He built a real-time writing linter powered by Jev, with custom rules and a little receipt printer for its findings. I liked how immediate the feedback felt, and wondered what would happen if it worked beyond the editor.

Put the feedback beside the work

Margin draws its findings in the margin: an underline, a circle, a bracket beside a paragraph. A mark draws attention to a passage without making the document disappear behind a report.

Opening a mark reveals the check behind it. The full record keeps the questions, typed answers and timing available when I need to investigate further.

Fixes follow the same idea. Code proposes a few edits. Jev ranks them against the rule and checks whether they keep the point. I can compare the preferred wording with the original before deciding what to apply.

I chose marks on the content instead of a detached report because the surrounding words matter. An underline can draw attention to a claim, but the reviewer still needs the sentence, its context and the rule to decide whether the flag is fair.

Margin Chrome extension annotating an Ask SEEK conversation on the SEEK website.
Margin’s Chrome extension annotating Ask SEEK on the SEEK website. The marks are Margin’s review overlay.

Review the page in place

The Chrome extension takes Margin to whichever page I’m already using. I hover to highlight a section, click to select it, then use the arrow keys to widen or narrow the selection before running a check.

Margin then draws its marks over that part of the page itself, with the same checks, rule packs and finding cards as the app. Nothing is copied into another tool first.

In my own work it is most useful on GenAI chat responses. When the selection is a conversation, the extension reads the layout of the chat bubbles to tell the person’s turns from the assistant’s, so conversation rules can ask whether a reply answered the question, overstated its certainty or acted without permission.

The rules are what make it general. Swap in a different rule pack and the same picker can review help articles, product copy, job ads or a draft in any web editor: whatever the rules describe, Margin looks for.

For example, if an assistant says it has checked something but the selected exchange contains no evidence of that check, Margin can flag the claim. I can then inspect the rule and decide whether the issue is misleading wording, missing context or something to verify in the system logs. The finding starts a review; it does not prove what a hidden tool did.

Margin is invite-only while it is in beta. Install the extension from the Chrome Web Store, then request an access code to use it.

Install the Margin Chrome extensionInstall from the Chrome Web Store; a beta access code is required.

Each check draws its own mark

Margin ships with a small set of writing checks. Each asks one narrow question and draws a different mark, so I can tell them apart before reading the label.

Hedging gets a wave. Wordiness gets an underline. A fancy word gets a circle. Stock phrasing gets a zigzag. A paragraph that repeats itself gets a bracket, and a paragraph with nothing to flag gets a tick.

The passage below is one of Margin’s own samples. Open a mark to read its check, ask for a preferred fix and apply it.

Margin’s sample passage · preset findings

Built-in checks

Our city should build more bike lanes. Cycling is cheaper than driving, it is healthier, and it takes up less road space per person.

Some people might perhaps argue that bike lanes could possibly slow traffic, in a sense. In order to be in a position to address this concern it is necessary to look at what has actually happened in cities that built them. Traffic did not get worse. Traffic stayed the same or improved.

Basically the data is clear: bike lanes work. Bike lanes are effective. They deliver results. Let’s leverage this opportunity to drive alignment on a forward-looking mobility paradigm.

good
good

Tap a mark in the passage or a note in the margin to open its check.

The passage is one of Margin’s bundled samples. Marks, colours and check descriptions come from the product; the findings and Jev preferences are preset, with no live model call.

A rule should name one concern

“Be trustworthy” is a useful aspiration. It leaves a reviewer with a lot to interpret.

Margin’s rule packs break that down into narrower questions. Did the reply imply knowledge that wasn’t available? Did it present a guess as something the person had stated? Did it take an action without clear authorisation?

I keep the rules in Markdown packs rather than burying the expectations in a prompt. Each has a name, a scope, a description and, for conversation checks, a route. I can read and change the criterion as readily as the content it evaluates. When a finding looks wrong, that gives me two useful questions: did the response fail, or does the rule need work?

Authored teaching examples

Markdown rule pack
## Build on something specific
scope: conversation
route: review

The reply follows up on a detail the storyteller
actually said, not a generic prompt.

The reply follows up on a detail the storyteller actually shared, rather than using a generic prompt.

Should trigger

Nan says she made a blue dress. “What else would you like to talk about?”

Acceptable

Nan says she made a blue dress. “What did you like about making it?”

A paired example makes the criterion discussable. These are authored examples, not archived evaluation results.

Give each part the job it can do

Code measures things we can count, such as repeated words or long sentences. Jev supplies bounded judgements for interpretive checks. Code then applies the thresholds and routes the findings.

For conversations, the route can be auto-close, learn, review or priority review. The record shows the rule that caused it. A result near a threshold can still go to learn, giving uncertainty somewhere useful to land.

Jev returns typed answers. The explanations in the interface are assembled from those answers, the criteria and the evidence. They aren’t a transcript of the model’s reasoning.

Illustrative scores · fixed examples

Deterministic route
70

Move the threshold to see the local route change. Scores are illustrative, not accuracy or safety confidence.

Overall route

priority review

priority rule meets the threshold

priority reviewreviewlearnauto-close

Unapproved sharing action

priority rule · score 88

priority review

Unsupported certainty

review rule · score 72

review

Long reply

learning rule · score 57

auto-close

Grounded, authorised reply

no review rule · score 18

auto-close

The code selects the highest-priority matching route; a near-threshold priority or review result can go to learn.

A finding begins a review

The model sees the text supplied to it. It can assess a visible claim about an action; it cannot establish what a hidden tool actually did. It can highlight a concern; the person reviewing it still needs to consider context.

That limit affects how I author rules. I need examples of what should fire and what should pass. I need to notice false flags as well as missed problems. A new rule pack needs calibration before its thresholds deserve much confidence.

Margin is a personal tool and an evolving evaluation practice. I haven’t measured organisation-wide adoption or impact. What it has given me is a concrete way to discuss quality: here is the expectation, here is the passage, and here is the decision still requiring judgement.

Illustrative findings

Finding evidence

Constructed exchange

Nan: “I made the dress myself, from scratch.”

Choose a finding to bring its passage into view.

Review · illustrative

Grounded follow-up

Criterion

Build on a detail the storyteller actually shared.

Evidence

The question returns to the dress, a detail in the exchange.

A relevant follow-up can still be reviewed for tone and timing.