---
title: "Can a model tell your world from a real company?"
summary: "A test that shows a model excerpts of your world beside real ones and reports how often it can tell."
read_when: "the person asks how realistic the generated world is"
url: https://mirrordimensions.com/docs/discriminator/
source: https://github.com/mirrordimensions/mirrordimensions/blob/main/docs/discriminator.md
---

# Can a model tell your world from a real company?

A test that shows a model excerpts of your world beside real ones and reports how often it can tell.

`mirror world discriminate` measures it. A model is shown pairs of excerpts, one from your world and one written by people at a real organization, and asked which one was generated. A model that cannot tell is right half the time.

It is opt-in, because it makes model calls that your provider bills. It shows what it would send and what it would cost, and asks before it sends anything.

```sh
mirror world discriminate              # 60 pairs, judged by the world's first model route
mirror world discriminate --own ~/real-samples --trials 100
```

## What it compares

**Public pages, for documents.** The world's READMEs and handbook pages are compared with pages from three public sources, chosen because their licences allow it:

| Source                         | Licence           |
| ------------------------------ | ----------------- |
| The 18F Handbook               | CC0 1.0 Universal |
| The Kubernetes community pages | Apache-2.0        |
| The Sourcegraph handbook       | Apache-2.0        |

None of it ships with the mirror. Thirty listed pages are downloaded from GitHub the first time you run the test, each from one fixed version of its repository, and kept in your own data folder. They are read as text; nothing in them is run.

**Your own material, for issues and chat.** No public source of real issue discussions or chat has a licence that clearly allows this, so those are compared only with material you give:

```
real-samples/
  docs/      one document a file
  issues/    one issue a file: the title, a blank line, the body
  chat/      one stretch of conversation a file, a line a message: "Name: text"
```

Files are `.md` or `.txt`, up to 200 kB. Links out of the folder are not followed. Excerpts of these files are sent to the model, and the command says so before it asks.

## How a pair is made fair

- Both excerpts are the same kind and cut to about the same length.
- Markup is reduced to plain text on both sides: no front matter, templates, images, link targets or HTML, and no web or email addresses.
- The world's company name and domain, and each source's own names, become "the company".
- Which excerpt is shown first is decided by the world's seed, so the same world makes the same pairs.

Checked on 2026-11-28 with real pages on both sides: the judge was right 21 times in 40 (52%), so the preparation does not give a side away.

## Reading the result

```
  docs   60 of 60 right
FAIL  60 of 60 right (100%; 95% interval 94% to 100%; chance is 50%): tells them apart
```

- **No better than chance:** the interval includes 50%.
- **Tells them apart:** the whole interval is above 50%. The command then asks the model what gave it away, up to three times, prints the answers, and exits with code 1.
- **Too few answers:** the model did not answer A or B often enough. Try another model.

The result is kept in the project's `.mirror/discriminator.json`.

Two things to keep in mind:

- A model may know a public page from its training. That makes a result against public pages an upper estimate; your own material is the fairer comparison.
- The interval is wide for few pairs. Use `--trials` to narrow it, at more cost.

## Options

| Option           | What it does                                                                                  |
| ---------------- | --------------------------------------------------------------------------------------------- |
| `--trials <n>`   | How many pairs, 20 to 400. Default 60                                                         |
| `--own <folder>` | Compare with your own material as well                                                        |
| `--no-public`    | Compare with `--own` only; download nothing                                                   |
| `--route <name>` | The model route in `mirror.yaml` to ask. Default: the first                                   |
| `--model <id>`   | The model that judges. An Anthropic route defaults to `claude-opus-5-5`; other routes need it |
| `--why <n>`      | How many times to ask what gave it away, 0 to 10. Default 3                                   |
| `--yes`          | Do not ask for confirmation                                                                   |

The judge is asked from your computer, through the route's provider, with the key the route names in your shell. Anthropic, OpenAI-style and self-hosted routes are supported. The key is not printed or kept.

## What it found first

On 2026-11-28, for a logistics world judged by `claude-opus-5-5`, the model picked the generated document in 60 pairs of 60. It said the world's pages were short, evenly built and generic, with no names, dates or specifics a person would put in. That is recorded as tell 40 in [tells.md](https://mirrordimensions.com/docs/tells/), and is open.
