---
type: Attested Computation
title: Independent Senior loss model
description: Sanctioned computation of the independent Senior loss estimate (Beta-Binomial, layers, srLoanLimit cap) from the pinned 2026-11-17 snapshot; attested by deterministic re-run.
tags: [model, independent-estimate, computation]
claim_basis: [independent-estimate]
status: draft
runtime: python
computation: /scripts/senior_risk_model.py
parameters:
  - { name: MODEL_SNAPSHOT, type: path, required: false }
executor:
  resource: /scripts/senior_risk_model.py
  receipt: [metrics/model/senior-risk-model.json]
attester:
  resource: /scripts/attest.py
generated: { by: grok-bot/lp-bundle-v0.2, at: 2026-11-17T15:30:00-03:00 }
verified: { by: process:attest-model, at: 2026-11-17T15:40:00-03:00 }
stale_after: 2026-12-01T00:00:00-03:00
sources:
  - id: snap
    resource: /metrics/history/2026-11-17.json
    title: Pinned on-chain snapshot, block 26,436,335
---

# Computation

The computation is the file named in `computation`; it is exact (no random sampling). Input: the pinned snapshot[^snap] plus on-chain Ikon aggregates embedded in the script. Output: [`/metrics/model/senior-risk-model.json`](/metrics/model/senior-risk-model.json), explained in [the model concept](/07-independent-estimate/senior-loss-model.md).

Run: `python scripts/senior_risk_model.py`. Attest: `python scripts/attest.py model` (PASS when a fresh run equals the committed output).

[^snap]: Pinned on-chain snapshot, block 26,436,335
