◎ Portal ← Back to the board

Brains Methodology

Everything behind every number on portal.ai/brains: the formulas, the routes, the guards, and the honest reasons some things stay private. Deep enough to reproduce the math from the public JSON alone.

AnchorIQFloorIFEval-mini Business batteryVelocity & deliveryIQ/$ ONEMax stakesEmbeddings Route fidelityRelease integrityWhat stays private Disclosures

The anchor

10/10 = Peak Fable 5, June 9–12 2026 — the operator's reference window, an operator-declared composite constant: protocol floor 10/10, IFEval-mini 100%, and a 20-second velocity reference. These are declared reference values, not retro-measured June results. The anchor never drifts with the market. When any brain sustains the 10.0 ceiling, the public JSON raises anchor.rebase_due and the anchor is re-based upward by an explicit operator decision — never silently.

IQ — the quality composite

IQ = 10 × ( 0.40 × floor/10  +  0.30 × IFEval%/100  +  0.30 × battery/10 )

Three independent lanes, all scored by deterministic code — no LLM judge anywhere. A lane missing fresh, fingerprint-matched evidence drops out and its weight redistributes proportionally, so a stale component can never silently pollute a live score. "IQ" is Portal's internal operational composite for real work, not a standardized intelligence test.

Protocol floor — 10 live probes, hourly

Every hour (07:00–22:00 PT) each brain answers one prompt containing ten protocol probes in one pass. The probes test the operator's real working protocols: instruction fidelity under competing constraints, exact-format echoes, negation handling, multilingual expectation checks (including Russian), refusal-shape correctness, and arithmetic-with-format traps. One point per probe passed by exact deterministic checks; probe parameters are randomized per run so the target moves, and regression fixtures pin every judge against past false-negative classes. The probe texts themselves stay private — see what stays private.

IFEval-mini — instruction following

A fixed 50-item Portal subset of the public IFEval task family, scored with the standard deterministic IFEval checkers (prompt-level pass), refreshed as a full sweep on release days. Published per card: pass/n, the percentage, and a Wilson 95% confidence interval:

center = (p + z²/2n) / (1 + z²/n),  half = z·√(p(1−p)/n + z²/4n²) / (1 + z²/n),  z = 1.96

The subset is fixed (item ids hash-pinned in the release manifest) so cards stay comparable across runs; it is a subset, so figures are not comparable to full public IFEval scores.

Business battery — real deliverables

Three real Portal production tasks — a weekly-forecast body, an HD-manual paragraph, and a Step-2 profile paragraph — each generated three times per brain: nine generations per card per release. Each artifact is scored 0–10 by deterministic structural judges (register rules, required sections, grounded-facts checks, banned-pattern screens) built from Portal's production quality gates. The battery enters IQ only when its methodology fingerprint and its private evidence-file hash match the installed release exactly.

Velocity & delivery

velocity = clamp(1, 10, 10 × 20000 / trailing-24h-median-latency-ms)

The clock includes the full delivery pipeline as configured — session setup, routing, thinking time — because that is what a user actually waits for. Delivery 24h = clean first-attempt completions over measured attempts; provider errors, timeouts, retries, refusals, and detected classifier reroutes all count against it. Our-side configuration failures are excluded (they measure us, not the model).

IQ/$ — quality per dollar

IQ/$ = (IQ / workload$) ÷ (IQ_fable / workload$_fable)     → Fable 5 1M Max = 1.00×

The workload is identical per card: one floor check (trailing-24h median cost) + the 50-item IFEval sweep + the 9-generation battery, priced at dated public list rates for each route (fast tiers where fast is used; the pricing table id is stamped in the JSON). Cursor-SDK cards carry no per-call bill, so their cost is a list-price estimate by construction. Only the indexed ratio is published; absolute dollars stay private. A failed run is cheap because it failed — so the ratio exists only on clean runs, and a cheap failure can never top the column. Not a financial return.

ONE — the default-choice number

ONE answers the operator's actual question: "which brain do I run by default, right now?" It reproduces rational satisficing choice: quality differences too small to distinguish from the board's own measurement noise should cost nothing, while a real quality deficit must dominate any price advantage. Formula one_v1_2026-07-10, pre-registered, computed hourly from published components only — anyone can recompute it from brains.json:

Q_i    = mean IQ over the last 3 canary runs (clean runs only)
B      = clamp( median_i( (max−min of the same 3-run window) / 2 ),  0.5, 1.0 )
d_i    = max(0, max(Q) − Q_i − B)          # deficit BEYOND the live noise band
G_i    = exp( −(4·d_i / B)² )              # smooth quality gate, no cliff
econ_i = 1 + ln(1 + IQ/$_i)                # log: price advantage is bounded
spd_i  = max(0.3, velocity_i / 10)         # linear: users feel wall-time 1:1
del_i  = delivery% / 100                   # (1.0 when unmeasured)
ONE_i  = 100 × (G·econ·spd·del)_i / leader # leader = 100

Why each functional form

Constants (window 3, band clamp [0.5, 1.0], gate steepness 4, speed floor 0.3) are frozen in version one_v1; any change lands as a new version id with a changelog entry — never a silent retune. The release validator recomputes every published ONE from the same public components and fails the release on any mismatch.

★ Max stakes — the second lane

One ranking cannot honestly serve two jobs. ONE ranks the default lane (volume work, customer deliverables). The gold ★ MAX STAKES badge marks the separate answer to a different question: "which brain when quality outranks cost and time?" — the row with the highest recent dependable quality (the same 3-run Q, not a headline spike). It is a pointer, not a rank; it never moves ONE.

Embeddings — Portal vs a commercial vendor

Paired comparison on identical Portal-authored private fixtures: same documents, same relevance judgments, same 1024 dimensions, cosine similarity, same top-k, each engine at its vendor-recommended query/document settings. Four lanes: Code, English, Russian, Ukrainian.

Route fidelity — measuring the thing we claim to measure

Release integrity

What stays private — and the honest why