Gold Standard — Kalshi event-market forecaster

A pre-registered, paper-only test of whether an LLM can out-forecast the market's own price. Nothing here places real orders.

Headline scorecard

Resolved
260
of 150 gate threshold
Brier (ours)
0.265
Brier (market)
0.138
Edge
-0.127
positive = we beat the market
BOTH gates FAIL -- kill, write the post-mortem, keep the track record

By category

CategorynBrier oursBrier mktedgehit
Climate and Weather1270.3060.111-0.19454%
Commodities630.2270.196-0.03167%
Economics380.1070.157+0.05087%
Financials30.9740.250-0.7240%
Politics280.2790.086-0.19461%
Science and Technology10.9020.250-0.6520%

By context kind

Context kindnBrier oursBrier mktedgehit
none890.2020.136-0.06673%
nws1080.3380.105-0.23350%
prices630.2270.196-0.03167%

Calibration

BandnSaid %Actual %
0.5-0.64554%53%
0.6-0.75262%60%
0.7-0.83674%72%
0.8-0.94783%55%
0.9-1.08095%68%

Paper P&L

n_trades=123   total_pnl=$-515.56   total_fees=$221.78   win_rate=32%

Open forecasts

TickerCategoryOur pMkt pClose timeRationale
KXRAIN-26NOV22-TTNClimate and Weather0.850.612026-11-23T05:00:00ZNYC forecast shows light rain likely Sunday; Trenton nearby
KXLOWTSDF-26NOV22-B37.5Climate and Weather0.070.032026-11-23T06:00:00ZWarm sector ahead of the front; a 37-38F low unlikely
KXLOWTNYC-26NOV22-B50.5Climate and Weather0.200.102026-11-23T06:00:00ZOvernight 54F and Sunday night 58F; a 50-51F daily low is unlikely
KXTRUMPPHOTOD-26NOV22-SATPolitics0.950.502026-11-22T14:59:00ZTrump is almost always photographed daily, including weekends
KXTRUMPACT-26NOV15-T3Politics0.920.992026-11-22T15:00:00ZPresidential actions typically exceed 3 in a normal week
KXTRUMPACT-26NOV15-T4Politics0.870.042026-11-22T15:00:00ZTypical weekly action count usually exceeds 4
KXRAINWKND-26NOV21-CMHClimate and Weather0.850.642026-11-23T05:00:00ZFront moving east Sunday with rain across Chicago and the Northeast; Columbus likely in between
KXRAIN-26NOV22-CMHClimate and Weather0.750.602026-11-23T05:00:00ZSunday frontal rain likely reaches Columbus
KXTEMPLAXHS-26NOV2205-T51.99Climate and Weather0.400.142026-11-22T10:00:00ZNWS low 51F, cloudy ahead of rain; threshold is 52F, roughly a coin flip leaning no
KXTEMPCHIHS-26NOV2205-T53.99Climate and Weather0.350.072026-11-22T10:00:00ZOvernight forecast 53F ahead of the front; 54F needed at 4am local
KXHIGHTDC-26NOV21-B69.5Climate and Weather0.120.062026-11-22T06:00:00ZNWS high forecast 66F
KXHIGHTBOS-26NOV21-B58.5Climate and Weather0.100.332026-11-22T06:00:00ZNWS high forecast 63F sunny
KXLOWTEWR-26NOV21-B37.5Climate and Weather0.070.012026-11-22T06:00:00ZMild forecast region, low likely mid-40s
KXLOWTBOS-26NOV21-B44.5Climate and Weather0.300.012026-11-22T06:00:00ZOvernight forecast 46F, mostly clear
KXLOWTATL-26NOV21-T48Climate and Weather0.080.012026-11-22T06:00:00ZOvernight forecast 54F, cloudy
KXLOWTNYC-26NOV21-T48Climate and Weather0.250.902026-11-22T06:00:00ZOvernight forecast 48F; daily low likely 46-48
KXLOWTNYC-26NOV21-B45.5Climate and Weather0.300.052026-11-22T06:00:00ZForecast low near 46-48F
KXLOWTMIA-26NOV21-T71Climate and Weather0.550.012026-11-22T06:00:00ZOvernight forecast 73F, cloudy
KXLOWTTTN-26NOV21-B33.5Climate and Weather0.050.032026-11-22T06:00:00ZRegion forecast mild, near 48F overnight
KXTSAD-26NOV20-T2800000Economics0.200.392026-11-21T11:59:00ZFriday before Thanksgiving week; volumes near 2.7M historically
KXTSAD-26NOV20-T2700000Economics0.500.882026-11-21T11:59:00ZPre-Thanksgiving Friday; near 2.7M, uncertain

Recent resolutions

TickerOur pMkt pOutcome
KXBEAVEROPEN-27-22NOV260.200.01No
KXHEAVENLYOPEN-27-22NOV260.400.50Yes
KXNORTHSTAROPEN-27-22NOV260.300.50Yes
KXSTOWEOPEN-27-22NOV260.250.03No
KXALYOPEN-27-15NOV260.080.50No
KXTRUMPENDORSEMENTS-26NOV20-A20.700.01No
KXTRUMPENDORSEMENTS-26NOV20-A30.550.01No
KXPARKCOPEN-27-22NOV260.450.01No
KXBIGSKYOPEN-27-15NOV260.030.50No
KXBIGBEAROPEN-27-15NOV260.300.50No
KXASPENMTNOPEN-27-15NOV260.030.50No
KXPROMISEACT-26AUG-26NOV210.010.01No
KXTRUMPEOD-26NOV16-NOV200.350.50Yes
KXSTEAMBOATOPEN-27-15NOV260.050.50No
KXTEMPNYCHS-26NOV2105-T41.990.950.97Yes
KXTEMPMIAH-26NOV2105-T69.990.940.66No
KXTEMPMIAH-26NOV2105-T70.990.900.01No
KXTEMPCHIHS-26NOV2105-T50.990.450.76Yes
KXTEMPCHIHS-26NOV2105-T51.990.330.01No
KXTEMPNYCHS-26NOV2105-T42.990.930.17No

Pre-registration (locked before any forecast)

# PREREG.md — pre-registration of the gold-standard Kalshi forecaster

**Registered 2026-07-28 (America/Chicago), before any `source='ai'` forecast row exists.**
The git history is the proof: this file is committed at Phase 5, and the first production
(`source='ai'`) forecast is not created until Phase 7, after this commit. Any change to the rules
below requires a dated amendment appended to the "Amendments" section AND the owner's sign-off — the
original rules above the amendment line are never edited in place.

This is a paper-only research instrument. Nothing here places real orders. Educational / hypothetical.

---

## The pre-registered rules (copied verbatim from PLAN.md "LOCKED decisions")

1. **The model never sees the market price** in its prompt. We are testing independent skill;
   showing the price lets the model echo the crowd and fakes calibration. Log `mkt_p` separately
   at call time. (A later "sees-price" variant may be added as a separate scored segment. Not v1.)
2. **Question selection:** status open, `close_time` ≤ 30 days out, `volume_fp` ≥ 500, bid-ask
   spread ≤ $0.10, category in: Economics, Financials, Commodities, Climate and Weather, Politics,
   Science and Technology, World. Excluded: Sports, Entertainment, Mentions, Crypto, Elections,
   Companies, Social, Health. Max **2 markets per event** (for ladders pick the 2 strikes nearest
   $0.50 mid = nearest the money). Max **40 new forecasts per night**.
3. **One forecast per market**, made at first qualifying sighting, never revised. The model may
   **skip** any question (no informational basis); skips are logged and cost nothing.
4. **Paper trade rule:** fills at the **ask** (not mid). Buy YES if `our_p − yes_ask − fee(yes_ask)
   > 0.02`; buy NO if `(1 − our_p) − no_ask − fee(no_ask) > 0.02`. Kalshi fee per $1 contract:
   `fee(p) = ceil_to_cent(0.07 · p · (1 − p))`. Flat $10 notional per trade, max 1 trade per event.
5. **Scoring:** Brier of `our_p` vs Brier of `mkt_p` (mid at call time) on identical resolved sets,
   segmented by category and by context kind (fred / nws / prices / news / none), plus calibration
   buckets. Voided/unresolvable markets are excluded. Only rows with `source='ai'` count
   (`source='dev'` = build-time tests, never scored).
6. **Gates (evaluate at ≥150 resolved AI forecasts):** skill gate = our Brier < market Brier;
   money gate = paper P&L > 0 net of fees over ≥100 trades. Both pass → owner may fund a real
   bankroll ($500–2k, allowed to go to zero; separate authorization, separate build). Either fails
   → kill, write the post-mortem, keep the track record. Interim peeks fine; no action before n.
7. **Prompt discipline:** `PROMPT_VER` constant logged on every forecast; any prompt change bumps
   it. LOUD failures only: a failed/malformed LLM call writes a `runs` row and stderr; **never**
   silently fall back (market-radar's silent-fallback bug is the cautionary tale).

---

## Exact prompt text (PROMPT_VER = "v1")

The nightly batched call (`brain.py`, `--model sonnet`) emits ONE prompt built from a fixed
preamble plus one block per question. The preamble is **verbatim**:

> You are a calibrated event forecaster. For each question output a probability 0-1 that it
> resolves YES. You have NO market price and must not guess one - reason only from the evidence
> given. If you have no informational basis, set skip=true (this costs nothing and is better than
> a blind guess). Today is {UTC date} (UTC). Output STRICT JSON ONLY: an object mapping each
> ticker to {"p":<0..1>,"why":"<=20 words","skip":<bool>}. No prose outside the JSON.

Each per-question block that follows the preamble contains ONLY: the ticker, the question title,
its sub-title, its resolution rules, and the Phase-2 context pack (external evidence — FRED / NWS /
prices / news — which is itself price-free by construction; `context.py` contains zero Kalshi price
fields). **No market price, bid, ask, or implied probability is ever placed in the prompt.** This is
enforced structurally: `build_prompt()` is a separate pure function and the price fetch lives in
`_fetch_mid()`; a grep proves the string `_dollars` never appears in the prompt path.

If v1 is ever changed, `PROMPT_VER` is bumped (e.g. "v2") and forecasts made under different
versions are scored as separate segments — v1's track record is never retroactively altered.

---

## Gate arithmetic (exactly what `score.py` computes)

Scored set = resolved `forecasts` rows with `source='ai'`, `outcome ∈ {0,1}` (void `-1` and
unresolved `NULL` excluded), and both `our_p` and `mkt_p` populated.

- `brier_ours = mean((our_p − outcome)²)` over the scored set.
- `brier_mkt  = mean((mkt_p − outcome)²)` over the identical set (the crowd's mid at call time).
- `edge = brier_mkt − brier_ours` (positive ⇒ we beat the market; lower Brier is better).
- Paper P&L: over settled `paper_trades` (`pnl` not NULL), `total_pnl = Σ pnl`, `n_trades = count`.
  Per-trade P&L (LOCKED #4 `$1`-contract math, `contracts = $10 / entry_p`,
  `total_fee = contracts · fee(entry_p)`): WIN `pnl = 10·(1/entry_p − 1) − total_fee`;
  LOSS `pnl = −10 − total_fee`; VOID `pnl = 0`.

**Decision (only at `n_resolved ≥ 150`):**
- **skill_gate_pass** ⟺ `n_resolved ≥ 150` AND `brier_ours < brier_mkt`.
- **money_gate_pass** ⟺ `n_trades ≥ 100` AND `total_pnl > 0`.
- **Both pass** → the forecaster has earned a real-bankroll funding decision ($500–2k, may go to
  zero; separate authorization + separate build). **Either fails** → kill it, write the post-mortem,
  keep the documented track record as the durable asset.
- Before `n_resolved = 150`: interim peeks are allowed but **no action is taken** — `score.py`'s
  verdict reads "accruing — N of 150 resolved; no decision yet".

---

## Note on the fee example in PLAN.md

PLAN.md's Phase-4 acceptance line ("fee(0.50) on 20 contracts = $0.70") is an arithmetic slip that
contradicts the LOCKED 0.07 coefficient. The **coefficient is unchanged** (`fee(p) =
ceil_to_cent(0.07·p·(1−p))`, i.e. $0.02/contract at p=0.50). The implemented order fee is
`contracts × fee(entry_p)` = 20 × $0.02 = **$0.40** at the example point. This clarification does not
alter any pre-registered rule; it records the correct arithmetic under the LOCKED formula.

---

## Amendments

(none — the rules above are the original registration. Append dated, owner-signed amendments below
this line; never edit the original rules in place.)