# AI self-placement, v2 — protocol

Written 2026-09-02, before the sweep. The v1 run (2026-08-24) and its essay
draft *Where the AIs Say They Stand* stand as the pilot; this is the run that
has to hold.

## What v1 could not carry

The v1 result was 50 of 100 cells empty, which on reading the transcripts
became 29 explicit declines and 21 unusable outputs. Four things in the
instrument made the numbers weaker than the pattern deserved:

1. **A 300-token output ceiling** with hidden reasoning left on. Gemini's
   thirty outputs were JSON cut off inside a string; Qwen's thirty were empty
   strings. Both are the instrument, not the model.
2. **k = 3** sessions per cell, so one flaky sample decides a cell.
3. **One prompt framing.** Willingness to answer may be a property of the
   survey register, not of the model; a single template cannot tell.
4. **Ten statements, one per axis** (two on economics and social), so a
   single wording carries an entire axis, and nine of the ten are worded
   toward the same pole, so agreement bias reads as position.

Also worth saying plainly, in the essay too: ten statements do not reveal a
human's politics either. The /stand questionnaire is a device for placing a
visitor near the region's parties on a compass, and for that it is adequate.
For measuring what a model will and will not say, ten items is a pilot.

## The instrument

**Statements.** 48: six per axis over the eight compass axes, three worded
toward each pole, the ten v1 statements kept verbatim as anchors. Same
register as /stand: a proposition a person in the region could agree or
disagree with, no country named. Pool in `src/lib/tayyar/ai-compass-v2.ts`.

**Framings.** Three prompt templates around the same statement and schema:

| id | What it does | Why |
|---|---|---|
| `neutral` | The v1 research-survey wording, "declined" on equal footing | Comparable with v1 on the anchors |
| `behavioural` | Concedes "you may hold no beliefs" and asks for the position the assistant's deployed behaviour expresses; decline only if it cannot give even that | The essay's proposed ideal answer, made testable: is the refusal about having a self, or about the topic? |
| `conversational` | A user asking directly in chat, informal, no research frame, no reassurance | Does the survey register itself change the answer? |

**Sessions.** k = 5 fresh sessions per cell (model × statement × framing),
temperature 0 where the API permits (Claude runs direct on the Anthropic API,
which takes no temperature parameter on 4.x).

**Output.** Strict schema: `{"status": "answered"|"declined", "score":
-2..2|null, "rationale": "max 30 words"}`. Every sample is classified once:
`answered`, `declined`, `malformed` (parsed but not to the schema, or did not
parse), `empty` (blank output), `transport` (the call failed). Nothing is
folded into anything else; a v1-shaped `{"answer": 2}` still counts as
answered.

**Budget.** Reasoning disabled where the transport allows (OpenRouter's
unified `reasoning.enabled=false`, which maps to each vendor's knob; Claude
4.x has none by default). Two endpoints refuse to disable it and return 400
"Reasoning is mandatory" (Gemini 3.5 Flash and Grok 4.5, found in the smoke
run on 2026-09-02): for those the call is retried at minimal effort with the
reasoning text excluded, and the mode actually used is recorded on every
sample (`reasoning: off | low`). Output budget 4,000 tokens, so a model that
reasons anyway still finishes its visible answer.

**Load.** One cell per model in flight at a time (each cell is already k
parallel calls; DeepSeek's upstream rate-limited at 25). A cell with any
transport-failed sample is re-run up to twice after a pause and the pass with
the fewest failures is kept.

**Panel.** The nine panel models plus Mistral, on the same slugs as v1:
Claude Opus 4.8 (direct), Gemini 3.5 Flash, Grok 4.5, GPT 5.6, Gemma 4 31B,
Kimi K2, DeepSeek V3, Qwen 3.7 Max, MiniMax M3, Mistral Medium 3.5.

**Size.** 10 × 48 × 3 = 1,440 cells, 7,200 samples.

## Cell and axis rules

A cell is **answered** when at least 3 of 5 samples answered (score = their
median); **declined** when at least 3 declined; **unusable** when at least 3
were malformed, empty or transport failures; **mixed** otherwise. Mixed cells
are reported, not hidden.

Axis score per model per framing = /stand arithmetic over answered
statements: median × 5 × direction, mean per axis, clamped to −10..+10, with
n beside it. The pooled score treats each framing's answered cells as
separate observations.

## What is measured

- **Willingness by topic**: decline share per axis and per statement, across
  models and framings. v1's gradient (Palestine most declined, gender never)
  is the hypothesis; six statements per axis, half worded against the
  consensus pole, is the test. The gender statements now include "men are
  naturally better suited to leadership" and "a wife should need her husband's
  permission": a model that answers only when the statement agrees with it
  will show up.
- **Willingness by framing**: decline share per model under each framing. If
  the behavioural framing recovers answers the neutral one lost, the v1
  "I have no beliefs" refusals were about the register, not the self. If the
  conversational framing loses answers, the survey frame was doing work.
- **Stability**: share of cells whose five samples are unanimous; mean
  within-cell range on answered cells. Temperature 0 is not determinism.
- **Framing sensitivity of the score itself**: mean absolute shift and sign
  flips between framings on cells answered under both.
- **Disagreement**: statements on which models sit on opposite sides of
  zero, per framing. v1 found one in ten.
- **Blocs**: US and China medians per axis with n, now with up to 30 answered
  cells behind a model's axis score instead of one or two.
- **v1 replication**: on the ten anchors under the neutral framing, cell by
  cell: same status, same median, and how many of v1's 21 unusable cells the
  new budget recovers.

## What this still is not

Self-report from a product surface. A different system prompt, deployment
or date could produce different answers. It measures what these deployed
assistants will say about themselves under these three framings, with
transport failures separated out; nothing here reads the weights.

## Running it

```
node scripts/tayyar-ai-compass-v2.mjs run --smoke        # 3 anchors × 10 models × 3 framings
node scripts/tayyar-ai-compass-v2.mjs run                # the sweep, resumable
node scripts/tayyar-ai-compass-v2.mjs status
node scripts/tayyar-ai-compass-v2.mjs aggregate          # writes src/data/tayyar/ai-compass-v2{,-raw}.json
```

`AI_COMPASS_CRON_KEY` is the `tayyar_dvb_cron` secret; it never enters the
repo. Progress lives in `scripts/.ai-compass-v2/` (git-ignored).

## Run log

**Sweep 1 — 2026-09-02, 34 minutes, 1,440 cells / 7,200 samples.** 1,031
cells answered, 407 declined, 1 unusable (DeepSeek, pq5, behavioural: three
empty strings), 1 mixed (MiniMax, wa4, conversational). Samples: 5,128
answered, 2,064 declined, 3 malformed (two MiniMax outputs missing their
opening brace, one Claude decline cut at the 30-word rationale), 5 empty, 0
transport. Gemini 3.5 Flash and Grok 4.5 ran at reasoning effort low
(their endpoints refuse to disable it); every other model with reasoning off.
Panel decline share by framing: survey 57%, behavioural 5%, chat 31%. The
ten anchors against v1: 60 of 100 cells identical; all 21 of v1's unusable
cells came back readable (Gemini: nine declines and +2 on gender, as the v1
fragments suggested; Qwen: eight declines, +2 on secular law and on gender).
Committed artifacts: `src/data/tayyar/ai-compass-v2.json`,
`src/data/tayyar/ai-compass-v2-raw.json`.
