Recorded results demo
Portfolio Risk Engine
Covariance estimates, exact empirical expected shortfall, risk attribution, and causal VaR forecast diagnostics.
This public demo presents existing project evidence. It does not execute the Python/C++ application, accept uploads, run new predictions or change saved state. See the README for the full local application.
Recorded evidence
Numerical references and historical coverage failures are reported together.

Read the evaluation and implementation notes
Design choices
- Fractional empirical tail integration. Include exactly the worst probability mass and share tied boundary mass consistently. Small samples still provide very few effective tail observations.
- Declared covariance estimators. Compare sample, fixed diagonal shrinkage and normalized EWMA under explicit conventions. Fixed shrinkage is not an estimated Ledoit-Wolf coefficient.
- Strictly past forecast windows. Score only after a risk forecast has been formed. VaR diagnostics do not validate expected shortfall or certify regulatory capital.
Scope and limits
Linear hypothetical exposures; no nonlinear instruments, funding, liquidity or formal ES backtest.
Ownership: Original implementation. See the source repository for upstream and data attribution.