# MitchelLake Talent Market Index (ML‑TMI) — Methodology, Substrate & Data Integrity

**Version 1.3 · prepared for external validation · 2026‑06‑17**

This document specifies, end‑to‑end, how the ML‑TMI is produced: the corpus it
draws on, the data‑integrity controls, the statistical methodology, the known
biases and limitations, and how to reproduce it. It is written to be handed to
an independent reviewer.

---

## 1. What the index is (and is not)

The ML‑TMI is a **weekly index of the *balance* of hiring‑positive vs
hiring‑negative executive‑market signals, normalised to a trailing baseline**.
It is published as a global index plus **per‑region** (Oceania, Asia, EMEA,
Americas) and **per‑sector** sub‑indices.

- **100 = the recent balance is in line with the trailing baseline.** Above 100
  = conditions tilting more hiring‑positive than baseline; below = tilting
  negative.
- It measures **direction/intensity of leadership‑hiring conditions**, i.e.
  *change in the mix of signals* — **not** absolute hiring volume, headcount, or
  a forecast.
- It is a **point‑in‑time** reading, recomputed every cycle from the current
  corpus; it is not a frozen time series (though each reading is archived).

---

## 2. Substrate / corpus & provenance

**Engine.** Signals are detected by the Autonodal signal‑intelligence engine,
which harvests 400+ public sources (RSS, news, filings, wires), extracts
structured market signals (type, company, event date, sector, geography,
evidence summary, source URL), embeds and de‑duplicates them. (Platform scale at
writing: ~432k documents embedded; ~94k signal events.)

**Tenant lens (important for integrity).** The index is computed over
MitchelLake's **own curated, sourced signal feed** (`content/signals/latest.json`),
pulled via the **tenant‑scoped** REST API (`atn_mcp_…` bearer, MLX tenant) — **not**
the platform‑wide aggregate (which requires `platform_admin`). Every tenant's
index is therefore **sandboxed to its own feed**: reproducible, isolatable, and
portable to other tenants on the same method. Substrate at writing: ~2,075
signals across the trailing 90 days.

**Curated subset.** The feed is deliberately a *subset* of the raw corpus — only
signals that pass the publication gates in §3 are admitted.

---

## 3. Data‑integrity controls (ingest gates)

Every signal admitted to the feed must pass **all** of:

| Control | Rule |
|---|---|
| **Source required (hard rule)** | a real, resolvable `source_url` — no source, no publish |
| **Known type** | one of the 9 canonical signal types (§5) |
| **Region resolved** | geography maps to Oceania/Asia/EMEA/Americas; ambiguous/"Global" excluded from the *regional* series |
| **Confidence floor** | engine `confidence_score` ≥ 0.45 |
| **Recency** | event date within 95 days (covers the 13‑week window) |
| **De‑duplication** | by stable signal `id` |
| **Public‑safe whitelist** | only public fields persisted (company, type, date, region, sector, summary, source, image). The tenant's **private relationship overlay** (warmth, best‑connector, contact counts, proximity, `is_client`, pipeline/dispatch) is **structurally stripped and never stored or published** |
| **Tenant isolation** | token scoped to MLX tenant; verified at schema/mint/auth/query/overlay‑join layers; cannot read other tenants |
| **Quotes** | verbatim, attributed to a **named individual**, with a source link; never fabricated |
| **Auditability** | pull counts logged each run; automated leak‑checks (private‑field greps) gate every build |

These gates are **fixed and versioned**; changing them is a methodology change.

---

## 4. From signals to the weekly velocity series

- **Window:** 13 ISO weeks (Monday‑aligned, UTC) ≈ 90 days.
- Each signal is bucketed by its **event date** (`signal_date`) into its week.
- Three series are rebuilt **from the feed** each refresh (`build-velocity.mjs`):
  - **Global** — weekly count per signal type.
  - **Regional** — per‑region weekly count per type.
  - **Sector** — weekly count per sector (+ an explicit `unattributed_count`).
- The **partial (current, incomplete) week is excluded** from the reading
  (`period_end ≤ as_of`).
- An index requires **≥ 8 complete weeks**, else it is **undefined** (returns
  null; no reading shown).

---

## 5. Methodology — the math (v1.4)

**5.1 Polarity classification**

- **Positive (P):** `capital_raising`, `strategic_hiring`, `geographic_expansion`, `product_launch`
- **Negative (N):** `layoffs`, `restructuring`
- **Contextual (excluded from polarity):** `leadership_change`, `partnership`, `ma_activity` — directionally ambiguous for net hiring, so they inform the *mix* but not the balance.

**5.2 Weekly balance**

For a week with P positive and N negative signals:

```
B = (P − N) / (P + N)          B ∈ [−1, +1];  B = 0 when P + N = 0
```

**5.3 Aggregation windows** (over complete weeks, newest last)

- **Recent** = last 4 weeks, **pooled**: B_recent = balance(ΣP, ΣN) over those weeks
- **Prior** = weeks −8..−4, pooled: B_prior
- **Baseline** = all complete weeks **except** the last 4, **pooled**: B_baseline
  - *v1.2 change:* the baseline is now **pooled** (sum P, N then balance), matching the recent/prior aggregates. (v1.1 averaged per‑week balances, which is unstable when weeks are sparse — a low‑volume week cast a full ±1 vote. Pooling weights by volume and is stable.)

**5.4 Index**

```
TMI        = 100 × B_recent  / B_baseline
TMI_prior  = 100 × B_prior   / B_baseline
delta      = TMI − TMI_prior
```

**5.5 Uncertainty (95% confidence interval) — v1.3**

The index is a **ratio of two balances**, each derived from a binomial
proportion (recent share and baseline share), so the interval propagates **both**
sources of sampling error — it does **not** treat the baseline as known. A 95%
Wilson interval (z = 1.959964) is computed on **each** share, converted to
balance units (B = 2p − 1), and combined as a conservative ratio interval:

```
TMI_lo = 100 × B_recent_lo / B_baseline_hi      (smallest plausible ratio)
TMI_hi = 100 × B_recent_hi / B_baseline_lo      (largest plausible ratio)
```

(Baseline balance bounds are floored at 0.05 to keep the ratio finite when the
baseline is thin.) **Consequence:** small‑sample readings (thin baselines) carry
**wide** intervals and gate to Neutral until the baseline firms up — only
genuinely strong moves stay significant. *Prior to v1.3 the interval used the
recent share against a baseline assumed known, understating uncertainty on
thin‑baseline regions.*

**5.6 Significance gate**

A **directional label is asserted only if the 95% interval excludes 100**
(TMI_lo > 100 or TMI_hi < 100). Otherwise the label is **Neutral**. This is the
central guard against over‑claiming on thin samples.

**5.7 Labels & direction** (labels apply only when significant)

```
Hot ≥ 103 · Warm ≥ 100 · Neutral ≥ 97 · Cool < 97
direction:  rising (delta > +0.5) · easing (delta < −0.5) · steady (otherwise)
```

**5.8 Guards (v1.2)** — the index is **undefined (null)** if: fewer than 8
complete weeks; or B_baseline is non‑finite or |B_baseline| < 0.05 (degenerate
baseline). No reading is shown rather than a misleading one.

**5.9 Settling trim (v1.4)** — signals are **event‑dated**, so the most recent
weeks are still filling in when a run happens and always understate volume. The
trailing weeks are therefore **held back** until settled: weeks are dropped from
the end of the series while their polar volume (P+N) falls below
`max(8, 0.2 × median weekly polar volume)`. Without this the "recent" window is
measured on an under‑ingested edge and the headline drifts down between
refreshes for reasons that have nothing to do with the market. Applied
consistently to the global index and to every regional sub‑index.

**5.10 The archive — what it does and does not apply.** The archive table
recomputes a reading for every accumulated week from `tmi-history.json`, which
outlives the engine's 90‑day window. The reading for week W uses the four weeks
ending at W against **all weeks before that window, pooled** (§5.1, §5.8).

It deliberately does **not** apply two parts of the live method, and readers
should not treat an archive row as identical to a headline reading:

- **No settling trim (§5.9).** The archive reports the series as recorded, so
  historical rows do not silently change as later data arrives.
- **No confidence interval or significance gate (§5.5).** Archive rows are point
  estimates. Only the headline publishes an interval.

Consequently the latest archive row and the live headline can differ by a small
amount — they read different substrates over slightly different windows. As of
18 Aug 2026 the gap is ~2.5 points. A materially larger gap indicates a defect,
not windowing: in Aug 2026 the archive was found still computing the **v1.1**
per‑week‑mean baseline that §5.1 retired, which inflated every archived reading
(the latest by 13.6 points, earlier rows by up to 35) and manufactured a phantom
+32.1 move in May from the expanding baseline absorbing three sub‑50‑signal
weeks. Pooled baselines are load‑bearing, not cosmetic.

---

## 6. Sub‑indices

- **Regional** (Oceania/Asia/EMEA/Americas): identical method on the per‑region
  series. Smaller samples → wider CIs → more readings gate to Neutral (by
  design). Live at writing: Oceania 98.9 · Asia 134.1 · EMEA 106.1 · Americas
  128.2 (each carries its own CI + significance flag).
- **Sector** (AI, Cybersecurity, Fintech, …): same method; denominator rebased
  on tracked‑sector totals. **Sector attribution is ~18% of signals** (disclosed)
  → sector sub‑indices are the **least powered** and most caveated.
- **Multiple comparisons:** 1 global + 4 regional + N sector readings are each
  reported with their own interval and significance flag; no "winner" is claimed
  without the interval supporting it.

---

## 7. Known biases & limitations (read this first, reviewer)

1. **Selection bias (primary concern).** The feed is *curated* — only sourced,
   gated signals enter, and the editorial process over‑represents positive events
   (raises, expansions). So the *absolute* balance is positively biased.
   **Mitigation:** the index is a **ratio of recent balance to baseline balance,
   both drawn from the same curated corpus** — a *stable* selection bias largely
   **cancels in the ratio**, so the index reflects **change** in balance, not
   absolute balance. **Residual risk:** if the curation process itself **drifts**
   over time (e.g. we begin publishing more layoffs), that confounds the ratio.
   **Control:** gates are fixed + versioned; feed composition is monitorable.
2. **Statistical power.** The tenant feed carries hundreds (not thousands) of
   polar signals per region per window; CIs are wide and many regional/sector
   readings are Neutral. This is **surfaced, not hidden**.
3. **Coverage / harvest continuity.** Source‑harvest or extraction interruptions
   can thin specific weeks; the baseline assumes reasonably populated weeks.
   Cold‑start required a 90‑day backfill.
4. **Event date vs detection date.** Signals are bucketed by `signal_date`
   (event date); late‑detected older events can revise historical weeks slightly.
   The index is recomputed each cycle (point‑in‑time).
5. **Polarity taxonomy is a modelling choice** (which types count positive/
   negative) — documented and fixed; open to review.
6. **Sector attribution (~18%)** is thin → sector indices least reliable.

---

## 8. Reproducibility

- **Code:** `lib/market-index.ts` (`indexFromSeries`, `computeIndex`,
  `computeRegionIndex`, `computeSectors`); `scripts/engine-pull.mjs` (ingest +
  gates + public‑safe whitelist); `scripts/build-velocity.mjs` (weekly series);
  `scripts/build-insight.mjs` (narrative composites).
- **Data:** `content/signals/latest.json` (substrate);
  `content/metrics/velocity-by-{type,region-type,sector}-90d.json` (series);
  `content/briefs/*` (composites).
- **Version:** `TMI_METHODOLOGY_VERSION = "1.3"`, surfaced on every reading and
  the public instrument page.
- **Determinism:** given a fixed feed snapshot the index is fully deterministic
  (no randomness anywhere in the computation).

---

## 9. Refresh cadence & autonomy

A Railway worker runs **3×/day (05:23 / 13:23 / 21:23 UTC)**:
`engine-pull` (signals + quotes, gated + public‑safe) → `build-velocity`
(weekly series) → `build-insight` (composites) → site build → deploy. Each run
recomputes the index from the current feed; the reading is stamped as‑of the
snapshot. `benchmark-tmi` archives each reading and cross‑correlates with public
macro series (FRED / Yahoo) for external context.

---

## 10. Recommended independent validations

1. **Replicate** the index from the published series files (we can expose the
   velocity JSON / a `data.json`) — confirm the arithmetic.
2. **Concordance test** — correlate the index *direction* against an independent
   labour‑market series (e.g. ABS job vacancies, a public hiring‑rate index) to
   evidence that movement tracks reality despite the curated substrate.
3. **Baseline‑window sensitivity** — re‑run with 4/8/13‑week variants; confirm
   the reading is robust to the window choice.
4. **Polarity inter‑rater check** — independent review of the positive/negative/
   contextual type assignment.
5. **Selection‑drift monitor** — track feed composition (type mix, source mix)
   over time to detect curation drift that would confound the ratio.
