Resolution

All pages

Measurement integrity

How Resolution keeps its own figures from flattering it. Every number below is computed by code from the Record; no model produces one. Decision: 0015.

The trial ledger

src/measure/integrity.ts, folded in src/measure/state.ts (applyIntegrity).

EventCounts asKey
hypothesis.registeredhypothesisthe hypothesis id
trial.registeredregisteredthe trial id
candidate.sourced (not the owner's)screenthe screen id (reversal when none)
mandate.row_signed for screen* or event_window*parameterkey and value
prereg.signed, view.draftedvariantthe variant id, main for the main book

A key seen before adds a run, not a trial. The count is max(1, distinct keys): the fund's own configuration is one trial even when nothing else is on the ledger.

The t bar. tHurdle(N) = max(3.0, Φ⁻¹(1 − 0.05 / 2N)), rounded to two decimals. It stays at 3.0 (Harvey, Liu and Zhu, 2016) up to 18 trials and then rises (3.01 at 19). stateWord (the state word on Evidence), stateVsControls and the hypothesis looks (dueLooks, which also require the alpha spend) use it. The harmful bar stays at −2.5.

The Deflated Sharpe Ratio

Bailey and López de Prado (2014). For T daily returns with Sharpe SR (per day), skew γ₃ and kurtosis γ₄:

  • luck bar: SR₀ = √V · ((1 − γ) Φ⁻¹(1 − 1/N) + γ Φ⁻¹(1 − 1/(N·e))), γ the Euler-Mascheroni constant;
  • DSR = Φ((SR − SR₀) · √(T − 1) / √(1 − γ₃·SR + (γ₄ − 1)/4 · SR²)).

V, the variance of the trials' Sharpes, is not on the Record; it is taken as 1/(T − 1), the variance of a Sharpe estimated from T observations when the truth is zero. With one trial SR₀ = 0 and the DSR equals the Probabilistic Sharpe Ratio. Below 60 observations (MIN_OBS) nothing is computed and the page shows "too few". Sharpe and SR₀ are shown annualised (×√252).

Shown on Evidence (fund and active return against the benchmark) and on Analytics (the Sharpe figure's note and the insights Sharpe panel).

Training cutoff

src/measure/cutoff.ts; the table of published cutoffs is knownCutoff in src/seats/connect-catalogue.ts, and catalogue entries carry cutoff (YYYY-MM or null). A cutoff month covers its last day.

StatusMeaningIn the post-cutoff score
beforethe forecast's date is on or before the cutoff: possibly memorisedno
afterafter a known cutoffyes
unknownno published cutoffno
not_applicablethe scripted seat, no modelyes

A replayed answer is read against the model it replays (replay with model provider/model). The desk's price combines its bidders and takes the worst status among them.

Seat scores

src/measure/scoring.ts. Brier: mean of (p − o)², 0.25 for a coin. Log: mean of −ln p given to what happened, with p clamped to [0.01, 0.99], about 0.69 for a coin. Lower is better. Below 30 resolved forecasts (MIN_FORECASTS) the Scorecard shows "too few to judge" beside the number.

SeatStated probability
analystthe probability of its confidence bucket
judgethe mean p_survives across the two bear orders, read as its chance the view is right
deskthe Idea Book's LMSR price, once three bids are in
bearsnone (they state a severity); not scored

Judge position bias

judgePositionSwap in src/seats/debate.ts, called after compareOrders in challenge(). The judge reads the analyst's case (thesis and rebuttal) and the strongest bear's objection as Position A and B, then swapped. A flip is a different side prevailing in the two readings. Each reading is recorded as judge.position_swapped with the disagreement in p_survives. The Scorecard shows the flip rate, the mean move and the flipped views, graded LOG.

Beyond the Sharpe: the shape of the returns

Analytics shows a "Distribution" panel computed by the server (src/measure/metrics.ts) from the fund's flow-adjusted daily returns. The definitions follow the empyrical library, so each figure can be checked against it:

  • Omega: the gains above a threshold divided by the losses below it. Above 1 is more gain than loss.
  • Ulcer index: the root mean square of the drawdowns. It punishes long, deep drawdowns more than short ones.
  • CVaR 95%: the average of the worst 5% of days, taken from history, not from a normal curve.
  • Tail ratio: the 95th percentile day divided by the size of the 5th percentile day.
  • Up and down capture: the fund's annualised return on the benchmark's up days and on its down days, each as a share of the benchmark's.
  • PSR: the probability that the true Sharpe is above zero, allowing for skew and fat tails.

With few days these numbers move a lot. The panel shows the day count beside them.

Risk from the book's own covariance

Risk shows a second view of the book beside the factor model (src/risk/covariance.ts). It uses the held names' own daily returns, and the covariance is shrunk toward the average variance with the Ledoit–Wolf estimator. The panel shows how much weight went to the target and each position's share of book volatility. It needs 40 common sessions. It is graded LOG: the kernel never reads it, and nothing is sized from it.

Does a screen predict anything?

Once a week the daily measure step writes two events. Evidence shows them under "Screens".

  • evidence.ic: each screen's rank information coefficient. Every session of the last 120, the screen is run only on the bars that existed that evening. Each name's signal is its signed score where the screen fired, and 0 where it did not. The Spearman correlation between that signal and each name's return over the next 1, 5 and 20 sessions is that day's IC. The panel shows the mean IC at each horizon, which is its decay. The t-statistic uses every h-th day only, so the forward windows do not overlap; with fewer than 10 such days no t is given.
  • evidence.spa: Hansen's test for superior predictive ability. Each screen's paper return is its candidates held equally weighted for the next session, gross of costs. The test asks whether any of the screens beats each null book, allowing for the fact that the best of several was picked. It uses a stationary bootstrap with 1,000 draws and a mean block of 10 days, over the last 250 sessions. The seed is taken from the Record head, so the result can be reproduced. It reports the consistent p-value with the lower and upper bounds, and needs 20 common sessions.

Both are graded LOG: the kernel never reads them. Paper returns ignore costs and slippage, so a screen that passes here has shown a signal, not a profit. On a live market the step writes nothing when any bars are synthetic.

CRPS: the same as Brier, for now

The continuous ranked probability score (CRPS) scores a forecast stated as a whole distribution (src/measure/crps.ts). The seats state only a probability that a view resolves right. For a yes/no outcome the CRPS is exactly the Brier score, so the Scorecard does not show it as a separate column. That would look like more evidence than there is. Each score line carries crps next to brier, computed through the CRPS formula, and the two are equal. The general forms (ensemble, quantiles, normal) are written and tested for when a seat states a range of returns. Nothing reads them yet.

Where it shows

  • Evidence: "How much was tried": trial count, t bar, DSR of the fund and of the active return.
  • Scorecard: seat scores, judge position bias beside the bear order check, the trial ledger, training cutoffs.
  • Analytics: DSR next to the Sharpe, and the Distribution panel (Omega, Ulcer, CVaR, tail ratio, capture, PSR).
  • Risk: the shrunk-covariance panel with each position's share of volatility.
  • Evidence: "Screens", with each screen's IC decay and the SPA test against each null book.
  • Academy: the lesson calibration (track measure).

Limits

  • IC and SPA use gross paper returns and only the names in the universe; a screen's real edge after costs is smaller.
  • The SPA test controls for picking the best of the screens tested, not for screens tried and dropped before.
  • The shrunk covariance uses only the held names' own history. It knows nothing about names not held.
  • The ledger counts what reached the Record. Research done outside the fund is not on it.
  • V = 1/(T − 1) treats the trials as independent; correlated trials would deserve a smaller N.
  • Cutoffs are what makers published; a missing one stays unknown.