{
  "instructions": "Edit this file to update every measured figure on the site. Do not add a number unless it is in the resume or in a committed result file in the project's repository. The home page, case studies, and tables all read from here. Each project has one headline stat (headline.stat), three short facts (factIds), and a short caveat. Search this file for the old value and update every place it appears, including caveat text.",
  "updated": "2026-11-08",
  "projects": [
    {
      "id": "deep-portfolio-constructor",
      "number": "01.1",
      "code": "DPC",
      "role": "featured",
      "badge": "1960 to 2026",
      "kicker": "Deep learning and long-term investing",
      "title": "Deep Portfolio Constructor",
      "purpose": "A neural network that builds a long-only portfolio for long-term wealth, trained on the growth of wealth after every trading cost.",
      "proves": "Trained only on the growth of wealth, the network turned $1 in 1960 into $1,368, against $929 for the market: +0.58% a year, a gap the pre-registered test cannot tell from luck (t = 1.40).",
      "summary": "A transformer that allocates across Kenneth French's 30 US industries, trained in PyTorch on the growth of wealth itself through a differentiable simulator of buying, holding and paying to trade, walk-forward from 1960 and tested out of sample against the market and five classical long-only strategies.",
      "caveat": "Out of sample from January 1960 to September 2026 (801 months), long-only, fully invested, every trade costs 10 bps. The test, the comparisons and the decision rule were pre-registered in git before the network was run out of sample; against the market the verdict is no detectable difference (Newey-West t 1.40, 95% interval −0.07% to +1.50% a year). Kenneth French's 30 US industry portfolios hold every listed firm at each date, so there is no survivorship bias among firms, but they are industries, not funds an investor could buy in 1960, and the features are ones finance research found later. A simple momentum tilt grew +0.96% a year above the market (t 2.93). US data only: one country's century is still one history.",
      "image": {
        "src": "assets/img/dpc-growth.png",
        "alt": "Growth of $1 invested in January 1960 for seven long-only strategies, on a log scale.",
        "width": 1600,
        "height": 832
      },
      "tags": [
        "Python",
        "PyTorch",
        "pandas",
        "NumPy",
        "cvxpy",
        "statsmodels",
        "pytest"
      ],
      "links": [
        {
          "label": "Project page",
          "href": "projects/deep-portfolio-constructor.html",
          "kind": "site"
        },
        {
          "label": "GitHub",
          "href": "https://github.com/shmorsi/deep-portfolio-constructor",
          "kind": "repo",
          "external": true
        }
      ],
      "glanceIds": [
        "wealthDeep",
        "vsMktDeep",
        "tradedDeep",
        "tests"
      ],
      "factIds": [
        "wealthDeep",
        "vsMktDeep",
        "tradedDeep"
      ],
      "headline": {
        "stat": "wealthDeep",
        "qualifier": "Long-only, out of sample from January 1960, net of 10 bps per trade. Holding the market grew to $929; the difference is +0.58% a year: no detectable difference, by the pre-registered test."
      },
      "stats": {
        "wealthMarket": {
          "label": "$1 invested in January 1960, Market (hold the index)",
          "display": "$929",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.market.terminal_wealth], from reports/results/wealth/*.parquet"
        },
        "cagrMarket": {
          "label": "Compound growth per year, Market (hold the index)",
          "display": "10.78%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.market.cagr], from reports/results/wealth/*.parquet"
        },
        "mddMarket": {
          "label": "Worst fall from a peak, Market (hold the index)",
          "display": "−50%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.market.max_drawdown], from reports/results/wealth/*.parquet"
        },
        "sharpeMarket": {
          "label": "Sharpe ratio, Market (hold the index)",
          "display": "0.47",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.market.sharpe], from reports/results/wealth/*.parquet"
        },
        "tradedMarket": {
          "label": "Share of the portfolio traded per year, Market (hold the index)",
          "display": "4%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.market.turnover_per_year], from reports/results/wealth/*.parquet"
        },
        "wealthEqual": {
          "label": "$1 invested in January 1960, Equal weight",
          "display": "$1,377",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.equal_weight.terminal_wealth], from reports/results/wealth/*.parquet"
        },
        "cagrEqual": {
          "label": "Compound growth per year, Equal weight",
          "display": "11.44%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.equal_weight.cagr], from reports/results/wealth/*.parquet"
        },
        "mddEqual": {
          "label": "Worst fall from a peak, Equal weight",
          "display": "−53%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.equal_weight.max_drawdown], from reports/results/wealth/*.parquet"
        },
        "sharpeEqual": {
          "label": "Sharpe ratio, Equal weight",
          "display": "0.49",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.equal_weight.sharpe], from reports/results/wealth/*.parquet"
        },
        "tradedEqual": {
          "label": "Share of the portfolio traded per year, Equal weight",
          "display": "6%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.equal_weight.turnover_per_year], from reports/results/wealth/*.parquet"
        },
        "beatEqual": {
          "label": "Share of rolling 10-year windows in which it grew faster than the market, Equal weight",
          "display": "73%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.equal_weight.beat_market_rolling], from reports/results/wealth/*.parquet"
        },
        "vsMktEqual": {
          "label": "Growth per year above the market (log), Equal weight",
          "display": "+0.59%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.equal_weight - market.diff_log_growth], from reports/results/wealth/*.parquet"
        },
        "vsMktTEqual": {
          "label": "Newey-West t of that difference, Equal weight",
          "display": "0.87",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.equal_weight - market.t_nw], from reports/results/wealth/*.parquet"
        },
        "vsMktCiEqual": {
          "label": "95% block-bootstrap interval of that difference, Equal weight",
          "display": "−0.65% to +2.04%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.equal_weight - market.ci_low, ci_high], from reports/results/wealth/*.parquet"
        },
        "vsMktVerdictEqual": {
          "label": "Pre-registered verdict against the market, Equal weight",
          "display": "no detectable difference",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.equal_weight - market.verdict], from reports/results/wealth/*.parquet"
        },
        "wealthMinVar": {
          "label": "$1 invested in January 1960, Minimum variance",
          "display": "$1,180",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.min_variance.terminal_wealth], from reports/results/wealth/*.parquet"
        },
        "cagrMinVar": {
          "label": "Compound growth per year, Minimum variance",
          "display": "11.18%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.min_variance.cagr], from reports/results/wealth/*.parquet"
        },
        "mddMinVar": {
          "label": "Worst fall from a peak, Minimum variance",
          "display": "−41%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.min_variance.max_drawdown], from reports/results/wealth/*.parquet"
        },
        "sharpeMinVar": {
          "label": "Sharpe ratio, Minimum variance",
          "display": "0.56",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.min_variance.sharpe], from reports/results/wealth/*.parquet"
        },
        "tradedMinVar": {
          "label": "Share of the portfolio traded per year, Minimum variance",
          "display": "20%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.min_variance.turnover_per_year], from reports/results/wealth/*.parquet"
        },
        "beatMinVar": {
          "label": "Share of rolling 10-year windows in which it grew faster than the market, Minimum variance",
          "display": "67%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.min_variance.beat_market_rolling], from reports/results/wealth/*.parquet"
        },
        "vsMktMinVar": {
          "label": "Growth per year above the market (log), Minimum variance",
          "display": "+0.36%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.min_variance - market.diff_log_growth], from reports/results/wealth/*.parquet"
        },
        "vsMktTMinVar": {
          "label": "Newey-West t of that difference, Minimum variance",
          "display": "0.33",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.min_variance - market.t_nw], from reports/results/wealth/*.parquet"
        },
        "vsMktCiMinVar": {
          "label": "95% block-bootstrap interval of that difference, Minimum variance",
          "display": "−1.73% to +2.35%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.min_variance - market.ci_low, ci_high], from reports/results/wealth/*.parquet"
        },
        "vsMktVerdictMinVar": {
          "label": "Pre-registered verdict against the market, Minimum variance",
          "display": "no detectable difference",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.min_variance - market.verdict], from reports/results/wealth/*.parquet"
        },
        "wealthRiskParity": {
          "label": "$1 invested in January 1960, Risk parity",
          "display": "$1,418",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.risk_parity.terminal_wealth], from reports/results/wealth/*.parquet"
        },
        "cagrRiskParity": {
          "label": "Compound growth per year, Risk parity",
          "display": "11.49%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.risk_parity.cagr], from reports/results/wealth/*.parquet"
        },
        "mddRiskParity": {
          "label": "Worst fall from a peak, Risk parity",
          "display": "−49%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.risk_parity.max_drawdown], from reports/results/wealth/*.parquet"
        },
        "sharpeRiskParity": {
          "label": "Sharpe ratio, Risk parity",
          "display": "0.51",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.risk_parity.sharpe], from reports/results/wealth/*.parquet"
        },
        "tradedRiskParity": {
          "label": "Share of the portfolio traded per year, Risk parity",
          "display": "7%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.risk_parity.turnover_per_year], from reports/results/wealth/*.parquet"
        },
        "beatRiskParity": {
          "label": "Share of rolling 10-year windows in which it grew faster than the market, Risk parity",
          "display": "72%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.risk_parity.beat_market_rolling], from reports/results/wealth/*.parquet"
        },
        "vsMktRiskParity": {
          "label": "Growth per year above the market (log), Risk parity",
          "display": "+0.63%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.risk_parity - market.diff_log_growth], from reports/results/wealth/*.parquet"
        },
        "vsMktTRiskParity": {
          "label": "Newey-West t of that difference, Risk parity",
          "display": "0.94",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.risk_parity - market.t_nw], from reports/results/wealth/*.parquet"
        },
        "vsMktCiRiskParity": {
          "label": "95% block-bootstrap interval of that difference, Risk parity",
          "display": "−0.59% to +2.04%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.risk_parity - market.ci_low, ci_high], from reports/results/wealth/*.parquet"
        },
        "vsMktVerdictRiskParity": {
          "label": "Pre-registered verdict against the market, Risk parity",
          "display": "no detectable difference",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.risk_parity - market.verdict], from reports/results/wealth/*.parquet"
        },
        "wealthGrowth": {
          "label": "$1 invested in January 1960, Classical growth optimiser",
          "display": "$905",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.growth_classical.terminal_wealth], from reports/results/wealth/*.parquet"
        },
        "cagrGrowth": {
          "label": "Compound growth per year, Classical growth optimiser",
          "display": "10.74%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.growth_classical.cagr], from reports/results/wealth/*.parquet"
        },
        "mddGrowth": {
          "label": "Worst fall from a peak, Classical growth optimiser",
          "display": "−48%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.growth_classical.max_drawdown], from reports/results/wealth/*.parquet"
        },
        "sharpeGrowth": {
          "label": "Sharpe ratio, Classical growth optimiser",
          "display": "0.47",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.growth_classical.sharpe], from reports/results/wealth/*.parquet"
        },
        "tradedGrowth": {
          "label": "Share of the portfolio traded per year, Classical growth optimiser",
          "display": "9%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.growth_classical.turnover_per_year], from reports/results/wealth/*.parquet"
        },
        "beatGrowth": {
          "label": "Share of rolling 10-year windows in which it grew faster than the market, Classical growth optimiser",
          "display": "53%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.growth_classical.beat_market_rolling], from reports/results/wealth/*.parquet"
        },
        "vsMktGrowth": {
          "label": "Growth per year above the market (log), Classical growth optimiser",
          "display": "−0.04%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.growth_classical - market.diff_log_growth], from reports/results/wealth/*.parquet"
        },
        "vsMktTGrowth": {
          "label": "Newey-West t of that difference, Classical growth optimiser",
          "display": "−0.09",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.growth_classical - market.t_nw], from reports/results/wealth/*.parquet"
        },
        "vsMktCiGrowth": {
          "label": "95% block-bootstrap interval of that difference, Classical growth optimiser",
          "display": "−0.81% to +0.85%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.growth_classical - market.ci_low, ci_high], from reports/results/wealth/*.parquet"
        },
        "vsMktVerdictGrowth": {
          "label": "Pre-registered verdict against the market, Classical growth optimiser",
          "display": "no detectable difference",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.growth_classical - market.verdict], from reports/results/wealth/*.parquet"
        },
        "wealthMomentum": {
          "label": "$1 invested in January 1960, Momentum tilt",
          "display": "$1,764",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.momentum_tilt.terminal_wealth], from reports/results/wealth/*.parquet"
        },
        "cagrMomentum": {
          "label": "Compound growth per year, Momentum tilt",
          "display": "11.85%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.momentum_tilt.cagr], from reports/results/wealth/*.parquet"
        },
        "mddMomentum": {
          "label": "Worst fall from a peak, Momentum tilt",
          "display": "−46%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.momentum_tilt.max_drawdown], from reports/results/wealth/*.parquet"
        },
        "sharpeMomentum": {
          "label": "Sharpe ratio, Momentum tilt",
          "display": "0.53",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.momentum_tilt.sharpe], from reports/results/wealth/*.parquet"
        },
        "tradedMomentum": {
          "label": "Share of the portfolio traded per year, Momentum tilt",
          "display": "110%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.momentum_tilt.turnover_per_year], from reports/results/wealth/*.parquet"
        },
        "beatMomentum": {
          "label": "Share of rolling 10-year windows in which it grew faster than the market, Momentum tilt",
          "display": "99%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.momentum_tilt.beat_market_rolling], from reports/results/wealth/*.parquet"
        },
        "vsMktMomentum": {
          "label": "Growth per year above the market (log), Momentum tilt",
          "display": "+0.96%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.momentum_tilt - market.diff_log_growth], from reports/results/wealth/*.parquet"
        },
        "vsMktTMomentum": {
          "label": "Newey-West t of that difference, Momentum tilt",
          "display": "2.93",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.momentum_tilt - market.t_nw], from reports/results/wealth/*.parquet"
        },
        "vsMktCiMomentum": {
          "label": "95% block-bootstrap interval of that difference, Momentum tilt",
          "display": "+0.28% to +1.56%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.momentum_tilt - market.ci_low, ci_high], from reports/results/wealth/*.parquet"
        },
        "vsMktVerdictMomentum": {
          "label": "Pre-registered verdict against the market, Momentum tilt",
          "display": "better",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.momentum_tilt - market.verdict], from reports/results/wealth/*.parquet"
        },
        "wealthDeep": {
          "label": "$1 invested in January 1960, Deep Growth Network",
          "display": "$1,368",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.deep.terminal_wealth], from reports/results/wealth/*.parquet"
        },
        "cagrDeep": {
          "label": "Compound growth per year, Deep Growth Network",
          "display": "11.43%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.deep.cagr], from reports/results/wealth/*.parquet"
        },
        "mddDeep": {
          "label": "Worst fall from a peak, Deep Growth Network",
          "display": "−52%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.deep.max_drawdown], from reports/results/wealth/*.parquet"
        },
        "sharpeDeep": {
          "label": "Sharpe ratio, Deep Growth Network",
          "display": "0.51",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.deep.sharpe], from reports/results/wealth/*.parquet"
        },
        "tradedDeep": {
          "label": "Share of the portfolio traded per year, Deep Growth Network",
          "display": "155%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.deep.turnover_per_year], from reports/results/wealth/*.parquet"
        },
        "beatDeep": {
          "label": "Share of rolling 10-year windows in which it grew faster than the market, Deep Growth Network",
          "display": "79%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.deep.beat_market_rolling], from reports/results/wealth/*.parquet"
        },
        "vsMktDeep": {
          "label": "Growth per year above the market (log), Deep Growth Network",
          "display": "+0.58%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.deep - market.diff_log_growth], from reports/results/wealth/*.parquet"
        },
        "vsMktTDeep": {
          "label": "Newey-West t of that difference, Deep Growth Network",
          "display": "1.40",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.deep - market.t_nw], from reports/results/wealth/*.parquet"
        },
        "vsMktCiDeep": {
          "label": "95% block-bootstrap interval of that difference, Deep Growth Network",
          "display": "−0.07% to +1.50%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.deep - market.ci_low, ci_high], from reports/results/wealth/*.parquet"
        },
        "vsMktVerdictDeep": {
          "label": "Pre-registered verdict against the market, Deep Growth Network",
          "display": "no detectable difference",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.deep - market.verdict], from reports/results/wealth/*.parquet"
        },
        "deepVsMomentum": {
          "label": "Growth per year (log), Deep Growth Network minus Momentum tilt",
          "display": "−0.38%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.deep - momentum_tilt.diff_log_growth], from reports/results/wealth/*.parquet"
        },
        "deepVsMomentumT": {
          "label": "Newey-West t, Deep Growth Network minus Momentum tilt",
          "display": "−0.69",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.deep - momentum_tilt.t_nw], from reports/results/wealth/*.parquet"
        },
        "deepVsMomentumCi": {
          "label": "95% block-bootstrap interval, Deep Growth Network minus Momentum tilt",
          "display": "−1.28% to +0.85%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.deep - momentum_tilt.ci_low, ci_high], from reports/results/wealth/*.parquet"
        },
        "deepVsMomentumVerdict": {
          "label": "Pre-registered verdict, Deep Growth Network minus Momentum tilt",
          "display": "no detectable difference",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.deep - momentum_tilt.verdict], from reports/results/wealth/*.parquet"
        },
        "deepVsEqual": {
          "label": "Growth per year (log), Deep Growth Network minus Equal weight",
          "display": "−0.01%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.deep - equal_weight.diff_log_growth], from reports/results/wealth/*.parquet"
        },
        "deepVsEqualT": {
          "label": "Newey-West t, Deep Growth Network minus Equal weight",
          "display": "−0.01",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.deep - equal_weight.t_nw], from reports/results/wealth/*.parquet"
        },
        "deepVsEqualCi": {
          "label": "95% block-bootstrap interval, Deep Growth Network minus Equal weight",
          "display": "−1.21% to +1.23%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.deep - equal_weight.ci_low, ci_high], from reports/results/wealth/*.parquet"
        },
        "deepVsEqualVerdict": {
          "label": "Pre-registered verdict, Deep Growth Network minus Equal weight",
          "display": "no detectable difference",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.deep - equal_weight.verdict], from reports/results/wealth/*.parquet"
        },
        "deepVsGrowth": {
          "label": "Growth per year (log), Deep Growth Network minus Classical growth optimiser",
          "display": "+0.62%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.deep - growth_classical.diff_log_growth], from reports/results/wealth/*.parquet"
        },
        "deepVsGrowthT": {
          "label": "Newey-West t, Deep Growth Network minus Classical growth optimiser",
          "display": "1.05",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.deep - growth_classical.t_nw], from reports/results/wealth/*.parquet"
        },
        "deepVsGrowthCi": {
          "label": "95% block-bootstrap interval, Deep Growth Network minus Classical growth optimiser",
          "display": "−0.46% to +1.88%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.deep - growth_classical.ci_low, ci_high], from reports/results/wealth/*.parquet"
        },
        "deepVsGrowthVerdict": {
          "label": "Pre-registered verdict, Deep Growth Network minus Classical growth optimiser",
          "display": "no detectable difference",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.deep - growth_classical.verdict], from reports/results/wealth/*.parquet"
        },
        "holdDeep": {
          "label": "Average holding period, Deep Growth Network",
          "display": "0.6 years",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.deep.holding_years], from reports/results/wealth/*.parquet"
        },
        "activeDeep": {
          "label": "How far its weights sit from the index on average (active share), Deep Growth Network",
          "display": "32%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.deep.active_share], from reports/results/wealth/*.parquet"
        },
        "alphaDeep": {
          "label": "Fama-French three-factor alpha per year, Deep Growth Network",
          "display": "+0.15%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.deep.alpha_annual], from reports/results/wealth/*.parquet"
        },
        "alphaTDeep": {
          "label": "Newey-West t of that alpha",
          "display": "0.38",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.deep.alpha_t], from reports/results/wealth/*.parquet"
        },
        "betaDeep": {
          "label": "Market beta (three-factor regression), Deep Growth Network",
          "display": "0.98",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.deep.beta_mkt], from reports/results/wealth/*.parquet"
        },
        "volDeep": {
          "label": "Volatility per year, Deep Growth Network",
          "display": "15.1%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.deep.volatility], from reports/results/wealth/*.parquet"
        },
        "volMarket": {
          "label": "Volatility per year, the market",
          "display": "15.3%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.market.volatility], from reports/results/wealth/*.parquet"
        },
        "worstYearDeep": {
          "label": "Worst calendar year, Deep Growth Network",
          "display": "−39%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.deep.worst_year], from reports/results/wealth/*.parquet"
        },
        "worstYearMarket": {
          "label": "Worst calendar year, the market",
          "display": "−36%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.market.worst_year], from reports/results/wealth/*.parquet"
        },
        "seedsDeep": {
          "label": "$1 in 1960 for each seed's network on its own (seeds 42 to 46)",
          "display": "$1,794, $574, $1,731, $1,091, $1,066",
          "source": "deep-portfolio-constructor reports/site_wealth.json [seeds.*.terminal_wealth], from reports/results/wealth/*.parquet"
        },
        "seedsBeatDeep": {
          "label": "Seeds whose network on its own ended above the market",
          "display": "4 of 5",
          "source": "deep-portfolio-constructor reports/site_wealth.json [seeds.*.terminal_wealth against performance.market.terminal_wealth], from reports/results/wealth/*.parquet"
        },
        "costDeep0": {
          "label": "Growth per year above the market at 0 bps per trade, same decisions re-priced",
          "display": "+0.88%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [costs.deep@0bps.vs_market_log_growth], from reports/results/wealth/*.parquet"
        },
        "costDeep25": {
          "label": "Growth per year above the market at 25 bps per trade, same decisions re-priced",
          "display": "+0.13%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [costs.deep@25bps.vs_market_log_growth], from reports/results/wealth/*.parquet"
        },
        "costDeep50": {
          "label": "Growth per year above the market at 50 bps per trade, same decisions re-priced",
          "display": "−0.63%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [costs.deep@50bps.vs_market_log_growth], from reports/results/wealth/*.parquet"
        },
        "kappaStart": {
          "label": "Trade fraction the network starts training from",
          "display": "25%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [init_trade, from config.yaml], from reports/results/wealth/*.parquet"
        },
        "hmlDeep": {
          "label": "Loading on the Fama-French value factor, Deep Growth Network",
          "display": "0.17",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.deep.beta_hml], from reports/results/wealth/*.parquet"
        },
        "hmlMarket": {
          "label": "Loading on the Fama-French value factor, the market",
          "display": "0.01",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.market.beta_hml], from reports/results/wealth/*.parquet"
        },
        "kappaDeep": {
          "label": "Median share of the gap to its target the network trades each month",
          "display": "81%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [trade_fraction.median], from reports/results/wealth/*.parquet"
        },
        "wealthDeepPair": {
          "label": "$1 invested in January 1960, Deep Growth Network, seeds 42 and 43",
          "display": "$1,026",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.deep_pair.terminal_wealth], from reports/results/wealth/*.parquet"
        },
        "wealthDeepTradeAll": {
          "label": "$1 invested in January 1960, Deep, no learned holding",
          "display": "$1,775",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.deep_trade_all.terminal_wealth], from reports/results/wealth/*.parquet"
        },
        "tradedDeepTradeAll": {
          "label": "Share of the portfolio traded per year, Deep, no learned holding",
          "display": "252%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.deep_trade_all.turnover_per_year], from reports/results/wealth/*.parquet"
        },
        "vsPairDeepTradeAll": {
          "label": "Growth per year (log), Deep, no learned holding minus the full network with the same seeds",
          "display": "+0.82%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.deep_trade_all - deep_pair.diff_log_growth], from reports/results/wealth/*.parquet"
        },
        "vsPairDeepTradeAllT": {
          "label": "Newey-West t, Deep, no learned holding minus the full network with the same seeds",
          "display": "1.83",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.deep_trade_all - deep_pair.t_nw], from reports/results/wealth/*.parquet"
        },
        "vsPairDeepTradeAllCi": {
          "label": "95% block-bootstrap interval, Deep, no learned holding minus the full network with the same seeds",
          "display": "−0.11% to +1.55%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.deep_trade_all - deep_pair.ci_low, ci_high], from reports/results/wealth/*.parquet"
        },
        "vsPairDeepTradeAllVerdict": {
          "label": "Pre-registered verdict, Deep, no learned holding minus the full network with the same seeds",
          "display": "no detectable difference",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.deep_trade_all - deep_pair.verdict], from reports/results/wealth/*.parquet"
        },
        "wealthDeepMlp": {
          "label": "$1 invested in January 1960, Deep, no attention",
          "display": "$701",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.deep_mlp.terminal_wealth], from reports/results/wealth/*.parquet"
        },
        "tradedDeepMlp": {
          "label": "Share of the portfolio traded per year, Deep, no attention",
          "display": "91%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.deep_mlp.turnover_per_year], from reports/results/wealth/*.parquet"
        },
        "vsPairDeepMlp": {
          "label": "Growth per year (log), Deep, no attention minus the full network with the same seeds",
          "display": "−0.57%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.deep_mlp - deep_pair.diff_log_growth], from reports/results/wealth/*.parquet"
        },
        "vsPairDeepMlpT": {
          "label": "Newey-West t, Deep, no attention minus the full network with the same seeds",
          "display": "−1.57",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.deep_mlp - deep_pair.t_nw], from reports/results/wealth/*.parquet"
        },
        "vsPairDeepMlpCi": {
          "label": "95% block-bootstrap interval, Deep, no attention minus the full network with the same seeds",
          "display": "−1.24% to +0.15%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.deep_mlp - deep_pair.ci_low, ci_high], from reports/results/wealth/*.parquet"
        },
        "vsPairDeepMlpVerdict": {
          "label": "Pre-registered verdict, Deep, no attention minus the full network with the same seeds",
          "display": "no detectable difference",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.deep_mlp - deep_pair.verdict], from reports/results/wealth/*.parquet"
        },
        "wealthDeepUnanchored": {
          "label": "$1 invested in January 1960, Deep, no market anchor",
          "display": "$387",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.deep_unanchored.terminal_wealth], from reports/results/wealth/*.parquet"
        },
        "tradedDeepUnanchored": {
          "label": "Share of the portfolio traded per year, Deep, no market anchor",
          "display": "354%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [performance.deep_unanchored.turnover_per_year], from reports/results/wealth/*.parquet"
        },
        "vsPairDeepUnanchored": {
          "label": "Growth per year (log), Deep, no market anchor minus the full network with the same seeds",
          "display": "−1.46%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.deep_unanchored - deep_pair.diff_log_growth], from reports/results/wealth/*.parquet"
        },
        "vsPairDeepUnanchoredT": {
          "label": "Newey-West t, Deep, no market anchor minus the full network with the same seeds",
          "display": "−0.55",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.deep_unanchored - deep_pair.t_nw], from reports/results/wealth/*.parquet"
        },
        "vsPairDeepUnanchoredCi": {
          "label": "95% block-bootstrap interval, Deep, no market anchor minus the full network with the same seeds",
          "display": "−6.69% to +3.79%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.deep_unanchored - deep_pair.ci_low, ci_high], from reports/results/wealth/*.parquet"
        },
        "vsPairDeepUnanchoredVerdict": {
          "label": "Pre-registered verdict, Deep, no market anchor minus the full network with the same seeds",
          "display": "no detectable difference",
          "source": "deep-portfolio-constructor reports/site_wealth.json [comparisons.deep_unanchored - deep_pair.verdict], from reports/results/wealth/*.parquet"
        },
        "oracle": {
          "label": "$1 in 1960 for a deliberately cheating policy that sees next month's returns (calibration)",
          "display": "$729 million",
          "source": "deep-portfolio-constructor reports/site_wealth.json [oracle_terminal_wealth], from reports/results/wealth/*.parquet"
        },
        "months": {
          "label": "Out-of-sample months",
          "display": "801",
          "source": "deep-portfolio-constructor reports/site_wealth.json [oos.months], from reports/results/wealth/*.parquet"
        },
        "years": {
          "label": "Whole years out of sample",
          "display": "66",
          "source": "deep-portfolio-constructor reports/site_wealth.json [oos.months // 12], from reports/results/wealth/*.parquet"
        },
        "industries": {
          "label": "US industry portfolios",
          "display": "30",
          "source": "deep-portfolio-constructor reports/site_wealth.json [holdings.industries], from reports/results/wealth/*.parquet"
        },
        "params": {
          "label": "Parameters in one Deep Growth Network",
          "display": "20,066",
          "source": "deep-portfolio-constructor reports/site_wealth.json [params], from reports/results/wealth/*.parquet"
        },
        "tests": {
          "label": "Automated tests",
          "display": "106",
          "source": "deep-portfolio-constructor reports/site_wealth.json [tests], from reports/results/wealth/*.parquet"
        },
        "dataCorr": {
          "label": "Correlation of the rebuilt market portfolio with French's market return",
          "display": "0.9998",
          "source": "deep-portfolio-constructor reports/site_wealth.json [data_check.correlation, from reports/wealth/data_summary.json], from reports/results/wealth/*.parquet"
        },
        "wealthSp500": {
          "label": "$1 invested in January 1960, S&P 500 with dividends reinvested",
          "display": "$831",
          "source": "deep-portfolio-constructor reports/site_wealth.json [benchmarks.sp500.wealth.sp500], from reports/results/wealth/*.parquet"
        },
        "cagrSp500": {
          "label": "Compound growth per year, S&P 500 with dividends reinvested",
          "display": "10.60%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [benchmarks.sp500.cagr.sp500], from reports/results/wealth/*.parquet"
        },
        "vsSpDeep": {
          "label": "Growth per year against the S&P 500 (log), Deep Growth Network",
          "display": "+0.75%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [benchmarks.sp500.comparisons.deep - sp500.diff_log_growth], from reports/results/wealth/*.parquet"
        },
        "vsSpTDeep": {
          "label": "Newey-West t against the S&P 500, Deep Growth Network",
          "display": "1.56",
          "source": "deep-portfolio-constructor reports/site_wealth.json [benchmarks.sp500.comparisons.deep - sp500.t_nw], from reports/results/wealth/*.parquet"
        },
        "vsSpVerdictDeep": {
          "label": "Verdict against the S&P 500 (same rule, added after the test), Deep Growth Network",
          "display": "no detectable difference",
          "source": "deep-portfolio-constructor reports/site_wealth.json [benchmarks.sp500.comparisons.deep - sp500.verdict], from reports/results/wealth/*.parquet"
        },
        "vsSpMarket": {
          "label": "Growth per year against the S&P 500 (log), Market (hold the index)",
          "display": "+0.17%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [benchmarks.sp500.comparisons.market - sp500.diff_log_growth], from reports/results/wealth/*.parquet"
        },
        "vsSpTMarket": {
          "label": "Newey-West t against the S&P 500, Market (hold the index)",
          "display": "0.65",
          "source": "deep-portfolio-constructor reports/site_wealth.json [benchmarks.sp500.comparisons.market - sp500.t_nw], from reports/results/wealth/*.parquet"
        },
        "vsSpVerdictMarket": {
          "label": "Verdict against the S&P 500 (same rule, added after the test), Market (hold the index)",
          "display": "no detectable difference",
          "source": "deep-portfolio-constructor reports/site_wealth.json [benchmarks.sp500.comparisons.market - sp500.verdict], from reports/results/wealth/*.parquet"
        },
        "wealth1971Nasdaq": {
          "label": "$1 invested at the end of February 1971, nasdaq",
          "display": "$265",
          "source": "deep-portfolio-constructor reports/site_wealth.json [benchmarks.nasdaq.wealth.nasdaq], from reports/results/wealth/*.parquet"
        },
        "wealth1971Deep": {
          "label": "$1 invested at the end of February 1971, deep",
          "display": "$586",
          "source": "deep-portfolio-constructor reports/site_wealth.json [benchmarks.nasdaq.wealth.deep], from reports/results/wealth/*.parquet"
        },
        "wealth1971Market": {
          "label": "$1 invested at the end of February 1971, market",
          "display": "$388",
          "source": "deep-portfolio-constructor reports/site_wealth.json [benchmarks.nasdaq.wealth.market], from reports/results/wealth/*.parquet"
        },
        "wealth1971Sp500": {
          "label": "$1 invested at the end of February 1971, sp500",
          "display": "$360",
          "source": "deep-portfolio-constructor reports/site_wealth.json [benchmarks.nasdaq.wealth.sp500], from reports/results/wealth/*.parquet"
        },
        "vsNqDeep": {
          "label": "Growth per year against the NASDAQ Composite, price only (log), Deep Growth Network",
          "display": "+1.43%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [benchmarks.nasdaq.comparisons.deep - nasdaq.diff_log_growth], from reports/results/wealth/*.parquet"
        },
        "vsNqTDeep": {
          "label": "Newey-West t against the NASDAQ Composite",
          "display": "0.84",
          "source": "deep-portfolio-constructor reports/site_wealth.json [benchmarks.nasdaq.comparisons.deep - nasdaq.t_nw], from reports/results/wealth/*.parquet"
        },
        "vsNqVerdictDeep": {
          "label": "Verdict against the NASDAQ Composite (same rule, added after the test)",
          "display": "no detectable difference",
          "source": "deep-portfolio-constructor reports/site_wealth.json [benchmarks.nasdaq.comparisons.deep - nasdaq.verdict], from reports/results/wealth/*.parquet"
        },
        "spliceCorr": {
          "label": "Correlation of the S&P 500 price-plus-dividends series with the official total-return index",
          "display": "0.9999",
          "source": "deep-portfolio-constructor reports/site_wealth.json [benchmarks.checks.sp500_splice.correlation], from reports/results/wealth/*.parquet"
        },
        "spliceGap": {
          "label": "Yearly gap between them",
          "display": "−0.072%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [benchmarks.checks.sp500_splice.annual_log_gap], from reports/results/wealth/*.parquet"
        },
        "schedDailyWealth": {
          "label": "$1 invested in January 1960, network rebalanced daily",
          "display": "$1,217",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.daily.terminal_wealth], from reports/results/wealth/*.parquet"
        },
        "schedDailyGross": {
          "label": "The same before costs, rebalanced daily",
          "display": "$1,630",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.daily.gross_terminal_wealth], from reports/results/wealth/*.parquet"
        },
        "schedDailyCagr": {
          "label": "Compound growth per year, rebalanced daily",
          "display": "11.23%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.daily.cagr], from reports/results/wealth/*.parquet"
        },
        "schedDailyTraded": {
          "label": "Share of the portfolio traded per year, rebalanced daily",
          "display": "218%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.daily.turnover_per_year], from reports/results/wealth/*.parquet"
        },
        "schedDailyCost": {
          "label": "Trading cost per year, rebalanced daily",
          "display": "0.44%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.daily.cost_per_year], from reports/results/wealth/*.parquet"
        },
        "schedDailyVs": {
          "label": "Growth per year against the market, rebalanced daily",
          "display": "+0.41%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.daily.vs_market.diff_log_growth], from reports/results/wealth/*.parquet"
        },
        "schedDailyT": {
          "label": "Newey-West t against the market, rebalanced daily",
          "display": "0.97",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.daily.vs_market.t_nw], from reports/results/wealth/*.parquet"
        },
        "schedDailyVerdict": {
          "label": "Verdict against the market, rebalanced daily",
          "display": "no detectable difference",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.daily.vs_market.verdict], from reports/results/wealth/*.parquet"
        },
        "schedMonthlyWealth": {
          "label": "$1 invested in January 1960, network rebalanced monthly",
          "display": "$1,368",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.monthly.terminal_wealth], from reports/results/wealth/*.parquet"
        },
        "schedMonthlyGross": {
          "label": "The same before costs, rebalanced monthly",
          "display": "$1,685",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.monthly.gross_terminal_wealth], from reports/results/wealth/*.parquet"
        },
        "schedMonthlyCagr": {
          "label": "Compound growth per year, rebalanced monthly",
          "display": "11.43%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.monthly.cagr], from reports/results/wealth/*.parquet"
        },
        "schedMonthlyTraded": {
          "label": "Share of the portfolio traded per year, rebalanced monthly",
          "display": "155%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.monthly.turnover_per_year], from reports/results/wealth/*.parquet"
        },
        "schedMonthlyCost": {
          "label": "Trading cost per year, rebalanced monthly",
          "display": "0.31%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.monthly.cost_per_year], from reports/results/wealth/*.parquet"
        },
        "schedMonthlyVs": {
          "label": "Growth per year against the market, rebalanced monthly",
          "display": "+0.58%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.monthly.vs_market.diff_log_growth], from reports/results/wealth/*.parquet"
        },
        "schedMonthlyT": {
          "label": "Newey-West t against the market, rebalanced monthly",
          "display": "1.40",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.monthly.vs_market.t_nw], from reports/results/wealth/*.parquet"
        },
        "schedMonthlyVerdict": {
          "label": "Verdict against the market, rebalanced monthly",
          "display": "no detectable difference",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.monthly.vs_market.verdict], from reports/results/wealth/*.parquet"
        },
        "schedQuarterlyWealth": {
          "label": "$1 invested in January 1960, network rebalanced quarterly",
          "display": "$1,162",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.quarterly.terminal_wealth], from reports/results/wealth/*.parquet"
        },
        "schedQuarterlyGross": {
          "label": "The same before costs, rebalanced quarterly",
          "display": "$1,267",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.quarterly.gross_terminal_wealth], from reports/results/wealth/*.parquet"
        },
        "schedQuarterlyCagr": {
          "label": "Compound growth per year, rebalanced quarterly",
          "display": "11.15%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.quarterly.cagr], from reports/results/wealth/*.parquet"
        },
        "schedQuarterlyTraded": {
          "label": "Share of the portfolio traded per year, rebalanced quarterly",
          "display": "64%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.quarterly.turnover_per_year], from reports/results/wealth/*.parquet"
        },
        "schedQuarterlyCost": {
          "label": "Trading cost per year, rebalanced quarterly",
          "display": "0.13%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.quarterly.cost_per_year], from reports/results/wealth/*.parquet"
        },
        "schedQuarterlyVs": {
          "label": "Growth per year against the market, rebalanced quarterly",
          "display": "+0.34%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.quarterly.vs_market.diff_log_growth], from reports/results/wealth/*.parquet"
        },
        "schedQuarterlyT": {
          "label": "Newey-West t against the market, rebalanced quarterly",
          "display": "0.80",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.quarterly.vs_market.t_nw], from reports/results/wealth/*.parquet"
        },
        "schedQuarterlyVerdict": {
          "label": "Verdict against the market, rebalanced quarterly",
          "display": "no detectable difference",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.quarterly.vs_market.verdict], from reports/results/wealth/*.parquet"
        },
        "schedYearlyWealth": {
          "label": "$1 invested in January 1960, network rebalanced yearly",
          "display": "$902",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.yearly.terminal_wealth], from reports/results/wealth/*.parquet"
        },
        "schedYearlyGross": {
          "label": "The same before costs, rebalanced yearly",
          "display": "$930",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.yearly.gross_terminal_wealth], from reports/results/wealth/*.parquet"
        },
        "schedYearlyCagr": {
          "label": "Compound growth per year, rebalanced yearly",
          "display": "10.73%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.yearly.cagr], from reports/results/wealth/*.parquet"
        },
        "schedYearlyTraded": {
          "label": "Share of the portfolio traded per year, rebalanced yearly",
          "display": "22%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.yearly.turnover_per_year], from reports/results/wealth/*.parquet"
        },
        "schedYearlyCost": {
          "label": "Trading cost per year, rebalanced yearly",
          "display": "0.05%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.yearly.cost_per_year], from reports/results/wealth/*.parquet"
        },
        "schedYearlyVs": {
          "label": "Growth per year against the market, rebalanced yearly",
          "display": "−0.04%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.yearly.vs_market.diff_log_growth], from reports/results/wealth/*.parquet"
        },
        "schedYearlyT": {
          "label": "Newey-West t against the market, rebalanced yearly",
          "display": "−0.12",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.yearly.vs_market.t_nw], from reports/results/wealth/*.parquet"
        },
        "schedYearlyVerdict": {
          "label": "Verdict against the market, rebalanced yearly",
          "display": "no detectable difference",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.yearly.vs_market.verdict], from reports/results/wealth/*.parquet"
        },
        "engineCheckWealth": {
          "label": "$1 from 1960 on daily data, trading only at month-ends (engine check)",
          "display": "$1,388",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.engine_check.daily_engine_month_end_only_wealth], from reports/results/wealth/*.parquet"
        },
        "engineCheckGap": {
          "label": "Yearly gap from the monthly engine",
          "display": "+0.021%",
          "source": "deep-portfolio-constructor reports/site_wealth.json [schedules.engine_check.annual_log_gap], from reports/results/wealth/*.parquet"
        },
        "trainNetworks": {
          "label": "Networks trained for the deployed policy",
          "display": "70",
          "source": "deep-portfolio-constructor reports/wealth/training/deep.json: 5 seeds x 14 walk-forward refits"
        },
        "trainKept": {
          "label": "Later refits where early stopping kept the previous network",
          "display": "22 of 65",
          "source": "deep-portfolio-constructor reports/wealth/training/deep.json: best_step 0 at refits after 1959-12"
        },
        "trainFirstGain": {
          "label": "Median validation gain at the first refit, from holding the market",
          "display": "+1.6%",
          "source": "deep-portfolio-constructor reports/wealth/training/deep.json: refit 1959-12, 12 x (best - step-0 validation monthly log growth), median of 5 seeds"
        },
        "trainHours": {
          "label": "Wall-clock time to train them",
          "display": "1.3 hours",
          "source": "deep-portfolio-constructor reports/wealth/training/deep.json: seconds 4739.9"
        },
        "trainEvery": {
          "label": "Training steps between validation runs",
          "display": "10",
          "source": "deep-portfolio-constructor reports/wealth/training/deep.json: steps / validation runs"
        }
      },
      "tables": {
        "performance": {
          "caption": "$1 invested in January 1960, long-only and fully invested, out of sample to September 2026, every trade costs 10 bps. Growth vs market is the yearly difference in log growth, with its Newey-West t.",
          "headers": [
            "Strategy",
            "$1 became",
            "Per year",
            "Sharpe",
            "Worst fall",
            "Traded per year",
            "Growth vs market"
          ],
          "rows": [
            [
              "Market (hold the index)",
              "$929",
              "10.78%",
              "0.47",
              "−50%",
              "4%",
              "benchmark"
            ],
            [
              "Equal weight",
              "$1,377",
              "11.44%",
              "0.49",
              "−53%",
              "6%",
              "+0.59% (t 0.87)"
            ],
            [
              "Minimum variance",
              "$1,180",
              "11.18%",
              "0.56",
              "−41%",
              "20%",
              "+0.36% (t 0.33)"
            ],
            [
              "Risk parity",
              "$1,418",
              "11.49%",
              "0.51",
              "−49%",
              "7%",
              "+0.63% (t 0.94)"
            ],
            [
              "Classical growth optimiser",
              "$905",
              "10.74%",
              "0.47",
              "−48%",
              "9%",
              "−0.04% (t −0.09)"
            ],
            [
              "Momentum tilt",
              "$1,764",
              "11.85%",
              "0.53",
              "−46%",
              "110%",
              "+0.96% (t 2.93)"
            ],
            [
              "Deep Growth Network",
              "$1,368",
              "11.43%",
              "0.51",
              "−52%",
              "155%",
              "+0.58% (t 1.40)"
            ]
          ],
          "highlightRow": 6,
          "source": "deep-portfolio-constructor reports/wealth/performance.csv and reports/wealth/comparisons.csv via reports/site_wealth.json"
        },
        "decades": {
          "caption": "Compound growth per year in each decade, net of costs.",
          "headers": [
            "Strategy",
            "1960s",
            "1970s",
            "1980s",
            "1990s",
            "2000s",
            "2010s",
            "2020s (to 2026)"
          ],
          "rows": [
            [
              "Market (hold the index)",
              "8.3%",
              "6.3%",
              "16.9%",
              "17.9%",
              "−0.1%",
              "13.6%",
              "15.1%"
            ],
            [
              "Equal weight",
              "10.8%",
              "7.3%",
              "18.1%",
              "14.2%",
              "5.3%",
              "12.0%",
              "13.4%"
            ],
            [
              "Minimum variance",
              "11.1%",
              "9.2%",
              "24.4%",
              "8.9%",
              "4.4%",
              "13.7%",
              "6.1%"
            ],
            [
              "Risk parity",
              "11.2%",
              "7.6%",
              "19.2%",
              "13.4%",
              "5.3%",
              "12.6%",
              "11.8%"
            ],
            [
              "Classical growth optimiser",
              "8.1%",
              "5.4%",
              "16.2%",
              "18.0%",
              "0.9%",
              "15.5%",
              "12.9%"
            ],
            [
              "Momentum tilt",
              "9.9%",
              "7.1%",
              "17.8%",
              "20.2%",
              "0.7%",
              "13.9%",
              "15.9%"
            ],
            [
              "Deep Growth Network",
              "7.7%",
              "7.5%",
              "19.2%",
              "18.7%",
              "1.2%",
              "13.5%",
              "14.2%"
            ]
          ],
          "highlightRow": 6,
          "source": "deep-portfolio-constructor reports/wealth/decades.csv via reports/site_wealth.json"
        },
        "benchmarks": {
          "caption": "What $1 became, added after the pre-registered test. S&P 500 with dividends reinvested; NASDAQ Composite price only, so it is understated. Strategies net of 10 bps per trade.",
          "headers": [
            "",
            "From the end of December 1959",
            "From the end of February 1971"
          ],
          "rows": [
            [
              "S&P 500 (dividends reinvested)",
              "$831",
              "$360"
            ],
            [
              "NASDAQ Composite (price only)",
              "not yet listed",
              "$265"
            ],
            [
              "Whole US market",
              "$929",
              "$388"
            ],
            [
              "Deep Growth Network",
              "$1,368",
              "$586"
            ]
          ],
          "highlightRow": 3,
          "source": "deep-portfolio-constructor reports/wealth/summary.json [benchmarks] via reports/site_wealth.json"
        },
        "schedules": {
          "caption": "The same trained network on four rebalancing schedules, January 1960 to September 2026, added after the pre-registered test.",
          "headers": [
            "Rebalanced",
            "$1 became",
            "Before costs",
            "Traded per year",
            "Cost per year",
            "Growth vs market"
          ],
          "rows": [
            [
              "Every day",
              "$1,217",
              "$1,630",
              "218%",
              "0.44%",
              "+0.41% (t 0.97)"
            ],
            [
              "Every month (as tested)",
              "$1,368",
              "$1,685",
              "155%",
              "0.31%",
              "+0.58% (t 1.40)"
            ],
            [
              "Every quarter",
              "$1,162",
              "$1,267",
              "64%",
              "0.13%",
              "+0.34% (t 0.80)"
            ],
            [
              "Every year",
              "$902",
              "$930",
              "22%",
              "0.05%",
              "−0.04% (t −0.12)"
            ]
          ],
          "highlightRow": 1,
          "source": "deep-portfolio-constructor reports/wealth/summary.json [schedules] via reports/site_wealth.json"
        }
      },
      "group": "investing",
      "study": "Wealth study"
    },
    {
      "id": "pension-lab",
      "code": "PENSION",
      "role": "featured",
      "badge": "Pre-registered",
      "kicker": "Pensions and long-term investing",
      "title": "Pension Lab",
      "purpose": "What it costs to keep a pension promise funded for 20 years, and whether a policy learned by simulation does better than the rule plans use. In simulation it does; on real history it is not detectably different from that rule.",
      "summary": "A pension plan that is 90% funded has promised inflation-indexed payments for 60 years. Its liability is valued off the 10-year yield with expected inflation; its assets are stocks, 10-year bonds and bonds matched to the promise. Four standard policies (60/40, liability-driven, fully matched, a glide path) are compared with a policy trained in PyTorch through a differentiable simulator of the plan, on what the plan costs its sponsor over 20 years and how bad that gets.",
      "proves": "In 10,000 simulated futures the learned policy costs the sponsor $5.0 per $100 promised against $9.9 for a glide path, and $30.2 against $69.1 in the worst 5%: better by the pre-registered test. When yields never return to an average it is better than the glide path, and over 34 real 20-year periods it is not detectably different from it.",
      "caveat": "Pre-registered in git before the test ran. A stylised plan: one yield for all maturities, expected inflation is the last ten years' average, no inflation-linked bonds, no credit or private assets, no longevity risk. Simulated futures rearrange US history from 1953 and are the model the learned policy was trained on: against the glide path the verdict there is better (score difference −43.8, 95% interval −46.9 to −40.7). On futures in which yields never return to an average, without retraining: $7.0 against $14.1, better. On 34 real 20-year periods, which overlap and amount to about three independent ones: $6.3 against $6.3, no detectable difference. US data only.",
      "headline": {
        "stat": "costHeadline",
        "qualifier": "Average of 10,000 simulated futures; a glide path costs $9.9. Against it the pre-registered verdict is better in simulation, better when yields never return to an average, and no detectable difference on real history."
      },
      "tags": [
        "Python",
        "PyTorch",
        "NumPy",
        "pandas",
        "pytest"
      ],
      "links": [
        {
          "label": "Case study",
          "href": "projects/pension-lab.html",
          "kind": "site"
        },
        {
          "label": "GitHub",
          "href": "https://github.com/shmorsi/deep-portfolio-constructor/tree/main/src/dpc/pension",
          "kind": "repo",
          "external": true
        },
        {
          "label": "Protocol",
          "href": "https://github.com/shmorsi/deep-portfolio-constructor/blob/main/docs/pension_protocol.md",
          "kind": "more",
          "external": true
        }
      ],
      "glanceIds": [
        "costLearned",
        "costGlide",
        "tailLearned",
        "fundedLearned"
      ],
      "factIds": [
        "scenarios",
        "starts",
        "duration"
      ],
      "stats": {
        "costLearned": {
          "label": "Cost to the sponsor over 20 years, per $100 promised, learned policy (average of simulated futures)",
          "display": "$5.0",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "costGlide": {
          "label": "The same, glide path",
          "display": "$9.9",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "cost6040": {
          "label": "The same, 60/40",
          "display": "$14.3",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "costLdi": {
          "label": "The same, liability-driven 40/60",
          "display": "$10.1",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "costMatched": {
          "label": "The same, fully matched",
          "display": "$18.2",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "tailLearned": {
          "label": "Cost in the worst 5% of simulated futures, per $100 promised, learned policy",
          "display": "$30.2",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "tailGlide": {
          "label": "The same, glide path",
          "display": "$69.1",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "tail6040": {
          "label": "The same, 60/40",
          "display": "$86.0",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "tailLdi": {
          "label": "The same, liability-driven 40/60",
          "display": "$58.5",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "tailMatched": {
          "label": "The same, fully matched",
          "display": "$62.4",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "fundedLearned": {
          "label": "Share of simulated futures fully funded after 20 years, learned policy",
          "display": "98%",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "fundedGlide": {
          "label": "The same, glide path",
          "display": "93%",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "funded6040": {
          "label": "The same, 60/40",
          "display": "90%",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "fundedLdi": {
          "label": "The same, liability-driven 40/60",
          "display": "91%",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "fundedMatched": {
          "label": "The same, fully matched",
          "display": "57%",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "stocksLearned": {
          "label": "Average share in stocks, learned policy",
          "display": "18%",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "stocksGlide": {
          "label": "Average share in stocks, glide path",
          "display": "31%",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "vsGlide": {
          "label": "Score of the learned policy minus the glide path (average cost plus worst-5% cost, per $100 promised)",
          "display": "−43.8",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "vsGlideCi": {
          "label": "95% bootstrap interval of that difference",
          "display": "−46.9 to −40.7",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "vsGlideVerdict": {
          "label": "Pre-registered verdict against the glide path, simulated futures",
          "display": "better",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "vs6040Verdict": {
          "label": "Pre-registered verdict against 60/40, simulated futures",
          "display": "better",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "walkLearned": {
          "label": "Average cost when yields never come back, per $100 promised, learned policy (not retrained)",
          "display": "$7.0",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "walkGlide": {
          "label": "The same, glide path",
          "display": "$14.1",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "walkTailLearned": {
          "label": "Cost in the worst 5% when yields never come back, learned policy",
          "display": "$49.7",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "walkTailGlide": {
          "label": "The same, glide path",
          "display": "$113.5",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "walkVerdict": {
          "label": "Pre-registered verdict against the glide path when yields never come back",
          "display": "better",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "histLearned": {
          "label": "Average cost over the 34 real 20-year periods, per $100 promised, learned policy",
          "display": "$6.3",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "histGlide": {
          "label": "The same, glide path",
          "display": "$6.3",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "hist6040": {
          "label": "The same, 60/40",
          "display": "$9.7",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "histVerdict": {
          "label": "Pre-registered verdict against the glide path, real history",
          "display": "no detectable difference",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "scenarios": {
          "label": "Simulated 20-year futures in the test",
          "display": "10,000",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "starts": {
          "label": "Real 20-year periods walked through",
          "display": "34",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "months": {
          "label": "Months of data",
          "display": "882",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "duration": {
          "label": "Liability duration at a 4% yield, years",
          "display": "14.2",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "fundedStart": {
          "label": "Funded ratio at the start",
          "display": "90%",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "networks": {
          "label": "Networks trained",
          "display": "24",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "params": {
          "label": "Parameters in one network",
          "display": "1,507",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "tests": {
          "label": "Tests of the pension code",
          "display": "30",
          "source": "deep-portfolio-constructor tests/test_pension.py"
        },
        "costHeadline": {
          "label": "Cost to the sponsor per $100 promised over 20 years, learned policy, in simulation (glide path $9.9). On 34 real 20-year periods: $6.3 against $6.3",
          "display": "$5.0",
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "learnedStocksShort": {
          "label": "Share in stocks while the plan is under 80% funded, learned policy (test futures)",
          "display": "41%",
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "glideStocksShort": {
          "label": "The same, glide path",
          "display": "70%",
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "learnedStocksFull": {
          "label": "Share in stocks once the plan is over 110% funded, learned policy (test futures)",
          "display": "16%",
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "glideStocksFull": {
          "label": "The same, glide path",
          "display": "20%",
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "learnedBonds": {
          "label": "Average share in 10-year bonds, learned policy",
          "display": "3%",
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "learnedMatching": {
          "label": "Average share in matching bonds, learned policy",
          "display": "79%",
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "costTuned": {
          "label": "Average cost per $100 promised, glide path tuned on the same simulations (simulated futures)",
          "display": "$10.9",
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "tailTuned": {
          "label": "Cost in the worst 5% of simulated futures, tuned glide path",
          "display": "$53.5",
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "tunedVerdict": {
          "label": "Learned policy against the tuned glide path, simulated futures (the protocol's rule; not pre-registered)",
          "display": "better",
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "walkCostTuned": {
          "label": "Average cost when yields never come back, tuned glide path",
          "display": "$14.5",
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "walkTunedVerdict": {
          "label": "Learned policy against the tuned glide path when yields never come back (not pre-registered)",
          "display": "better",
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "tunedShort": {
          "label": "Share in stocks while the plan is short, tuned glide path",
          "display": "32%",
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "tunedFunded": {
          "label": "Share in stocks once the plan is funded, tuned glide path",
          "display": "22%",
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "tunedFrom": {
          "label": "Funded ratio where the tuned glide path starts leaving stocks",
          "display": "63%",
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "tunedTo": {
          "label": "Funded ratio where the tuned glide path has finished leaving stocks",
          "display": "79%",
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "tunedShare": {
          "label": "Share of the learned policy's improvement in the score that the tuned glide path also gets (simulated futures)",
          "display": "33%",
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "tunedLead": {
          "label": "Score of the learned policy minus the tuned glide path, simulated futures",
          "display": "−29.2",
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "stocksLowYield": {
          "label": "Share in stocks when the yield is under 3%, learned policy (plans 85% to 100% funded)",
          "display": "54%",
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "stocksHighYield": {
          "label": "Share in stocks when the yield is over 10%, learned policy (plans 85% to 100% funded)",
          "display": "5%",
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "glideStocksYield": {
          "label": "Share in stocks at any yield, glide path (plans 85% to 100% funded)",
          "display": "49%",
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "weightMove": {
          "label": "How far the learned policy's target weights move in a year, as a share of the fund",
          "display": "69%",
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "looseGlide": {
          "label": "Average cost per $100 promised on futures drawn one month at a time, glide path",
          "display": "$10.4",
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "looseTailGlide": {
          "label": "Cost in the worst 5% of futures drawn one month at a time, glide path",
          "display": "$79.0",
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "looseTuned": {
          "label": "Average cost per $100 promised on futures drawn one month at a time, tuned glide path",
          "display": "$11.7",
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "looseTailTuned": {
          "label": "Cost in the worst 5% of futures drawn one month at a time, tuned glide path",
          "display": "$59.9",
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "looseLearned": {
          "label": "Average cost per $100 promised on futures drawn one month at a time, learned policy",
          "display": "$10.2",
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "looseTailLearned": {
          "label": "Cost in the worst 5% of futures drawn one month at a time, learned policy",
          "display": "$59.0",
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "looseLead": {
          "label": "Score of the learned policy minus the tuned glide path, futures drawn one month at a time",
          "display": "−2.4",
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "looseKept": {
          "label": "Share of the learned policy's lead over the tuned glide path that is left on futures drawn one month at a time",
          "display": "8%",
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "edgeSource": {
          "label": "Where the simulated saving came from, in a sentence",
          "display": "most of its simulated edge came from patterns the simulator repeats, which no real plan can count on",
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "stressStocks": {
          "label": "What a 10 bp Fed policy surprise does to stocks on the day (World Shock Lab)",
          "display": "−0.98%",
          "source": "deep-portfolio-constructor reports/pension/stress.json, from world-shock-lab 9707616"
        },
        "stressYield": {
          "label": "What it does to the 10-year yield",
          "display": "+3.4 bp",
          "source": "deep-portfolio-constructor reports/pension/stress.json, from world-shock-lab 9707616"
        },
        "stressPromise": {
          "label": "What that does to the value of the promise",
          "display": "−0.48%",
          "source": "deep-portfolio-constructor reports/pension/stress.json, from world-shock-lab 9707616"
        },
        "stress6040": {
          "label": "Move in the funded ratio of a 60/40 plan, points",
          "display": "−0.20",
          "source": "deep-portfolio-constructor reports/pension/stress.json, from world-shock-lab 9707616"
        },
        "stress6040Stocks": {
          "label": "Of which from its stocks, points",
          "display": "0.53",
          "source": "deep-portfolio-constructor reports/pension/stress.json, from world-shock-lab 9707616"
        },
        "stress6040Yield": {
          "label": "Of which from the cheaper promise, net of its bonds, points",
          "display": "0.34",
          "source": "deep-portfolio-constructor reports/pension/stress.json, from world-shock-lab 9707616"
        },
        "stress6040Info": {
          "label": "Move in the funded ratio of a 60/40 plan after an information surprise, points",
          "display": "+0.62",
          "source": "deep-portfolio-constructor reports/pension/stress.json, from world-shock-lab 9707616"
        },
        "stressEvents": {
          "label": "Fed announcements behind the estimates (stocks, then the yield)",
          "display": "287 to 334",
          "source": "deep-portfolio-constructor reports/pension/stress.json, from world-shock-lab 9707616"
        }
      },
      "tables": {
        "simulated": {
          "caption": "10,000 simulated 20-year futures that training never saw. Cost to the sponsor per $100 promised; lower is better.",
          "headers": [
            "Policy",
            "Average cost",
            "Worst 5%",
            "Fully funded at year 20",
            "Average in stocks"
          ],
          "rows": [
            [
              "60/40",
              "$14.3",
              "$86.0",
              "90%",
              "60%"
            ],
            [
              "Liability-driven 40/60",
              "$10.1",
              "$58.5",
              "91%",
              "40%"
            ],
            [
              "Fully matched",
              "$18.2",
              "$62.4",
              "57%",
              "0%"
            ],
            [
              "Glide path",
              "$9.9",
              "$69.1",
              "93%",
              "31%"
            ],
            [
              "Learned policy",
              "$5.0",
              "$30.2",
              "98%",
              "18%"
            ]
          ],
          "highlightRow": 4,
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "modelRisk": {
          "caption": "The same policies, not retrained, on 10,000 futures in which the yield never returns to an average.",
          "headers": [
            "Policy",
            "Average cost",
            "Worst 5%",
            "Fully funded at year 20",
            "Average in stocks"
          ],
          "rows": [
            [
              "60/40",
              "$18.4",
              "$121.1",
              "85%",
              "60%"
            ],
            [
              "Liability-driven 40/60",
              "$14.2",
              "$95.9",
              "85%",
              "40%"
            ],
            [
              "Fully matched",
              "$20.6",
              "$78.0",
              "53%",
              "0%"
            ],
            [
              "Glide path",
              "$14.1",
              "$113.5",
              "88%",
              "32%"
            ],
            [
              "Learned policy",
              "$7.0",
              "$49.7",
              "92%",
              "17%"
            ]
          ],
          "highlightRow": 4,
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "history": {
          "caption": "34 real 20-year periods, starting each December from 1972 to 2005. They overlap: about three are independent.",
          "headers": [
            "Policy",
            "Average cost",
            "Worst period",
            "Fully funded at year 20",
            "Average in stocks"
          ],
          "rows": [
            [
              "60/40",
              "$9.7",
              "$53.9",
              "100%",
              "60%"
            ],
            [
              "Liability-driven 40/60",
              "$6.8",
              "$42.1",
              "100%",
              "40%"
            ],
            [
              "Fully matched",
              "$8.4",
              "$50.6",
              "88%",
              "0%"
            ],
            [
              "Glide path",
              "$6.3",
              "$46.9",
              "100%",
              "28%"
            ],
            [
              "Learned policy",
              "$6.3",
              "$55.6",
              "100%",
              "17%"
            ]
          ],
          "highlightRow": 4,
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "verdicts": {
          "caption": "Score of the learned policy minus each rule's (average cost plus worst-5% cost, per $100 promised), simulated futures. Below zero is better.",
          "headers": [
            "Comparison",
            "Difference",
            "95% interval",
            "Pre-registered verdict"
          ],
          "rows": [
            [
              "Learned policy against glide path",
              "−43.8",
              "−46.9 to −40.7",
              "better"
            ],
            [
              "Learned policy against 60/40",
              "−65.1",
              "−68.5 to −61.8",
              "better"
            ],
            [
              "Learned policy against liability-driven 40/60",
              "−33.5",
              "−35.7 to −31.4",
              "better"
            ],
            [
              "Learned policy against fully matched",
              "−45.5",
              "−47.3 to −43.7",
              "better"
            ]
          ],
          "source": "deep-portfolio-constructor reports/pension/summary.json"
        },
        "anatomy": {
          "caption": "What the learned policy held in the test futures, by how well funded the plan was at each monthly decision, next to what the glide path holds at the same funded ratio. A description made after the test; it changes no verdict.",
          "headers": [
            "Funded ratio",
            "Share of months",
            "Glide path: stocks",
            "Learned: stocks",
            "Learned: 10-year bonds",
            "Learned: matching bonds"
          ],
          "rows": [
            [
              "Under 70%",
              "1%",
              "70%",
              "49%",
              "2%",
              "49%"
            ],
            [
              "70% to 80%",
              "2%",
              "70%",
              "37%",
              "2%",
              "61%"
            ],
            [
              "80% to 90%",
              "7%",
              "59%",
              "26%",
              "2%",
              "72%"
            ],
            [
              "90% to 100%",
              "12%",
              "45%",
              "21%",
              "1%",
              "77%"
            ],
            [
              "100% to 110%",
              "10%",
              "28%",
              "18%",
              "2%",
              "80%"
            ],
            [
              "110% to 120%",
              "9%",
              "20%",
              "16%",
              "2%",
              "82%"
            ],
            [
              "120% to 150%",
              "20%",
              "20%",
              "15%",
              "3%",
              "81%"
            ],
            [
              "Over 150%",
              "39%",
              "20%",
              "16%",
              "3%",
              "81%"
            ]
          ],
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "anatomyYield": {
          "caption": "The same, by the level of the 10-year yield, for plans between 85% and 100% funded.",
          "headers": [
            "10-year yield",
            "Share of those months",
            "Glide path: stocks",
            "Learned: stocks",
            "Learned: 10-year bonds",
            "Learned: matching bonds"
          ],
          "rows": [
            [
              "Under 3%",
              "8%",
              "49%",
              "54%",
              "1%",
              "45%"
            ],
            [
              "3% to 5%",
              "18%",
              "48%",
              "37%",
              "1%",
              "62%"
            ],
            [
              "5% to 7%",
              "28%",
              "48%",
              "24%",
              "2%",
              "75%"
            ],
            [
              "7% to 10%",
              "35%",
              "49%",
              "12%",
              "2%",
              "87%"
            ],
            [
              "Over 10%",
              "11%",
              "49%",
              "5%",
              "2%",
              "94%"
            ]
          ],
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "loose": {
          "caption": "The same policies, not retrained, on 10,000 futures whose months are drawn one at a time instead of in runs of history. Cost to the sponsor per $100 promised.",
          "headers": [
            "Policy",
            "Average cost",
            "Worst 5%",
            "Fully funded at year 20",
            "Average in stocks"
          ],
          "rows": [
            [
              "Glide path",
              "$10.4",
              "$79.0",
              "95%",
              "30%"
            ],
            [
              "Tuned glide path",
              "$11.7",
              "$59.9",
              "86%",
              "23%"
            ],
            [
              "Learned policy",
              "$10.2",
              "$59.0",
              "90%",
              "19%"
            ]
          ],
          "highlightRow": 2,
          "source": "deep-portfolio-constructor reports/pension/anatomy.json"
        },
        "stress": {
          "caption": "The move in the plan's funded ratio, in points, on the day of a 10 bp surprise in US monetary policy, at 90% funded. In brackets: a band that adds the two estimates' 90% half-widths.",
          "headers": [
            "Surprise (+10 bp)",
            "Stocks",
            "10-year yield",
            "The promise",
            "60/40",
            "Liability-driven 40/60",
            "Fully matched",
            "Glide path",
            "Learned policy"
          ],
          "rows": [
            [
              "Fed policy surprise",
              "−0.98%",
              "+3.4 bp",
              "−0.48%",
              "−0.20 (±0.37)",
              "−0.18 (±0.22)",
              "0.00 (±0.00)",
              "−0.24 (±0.29)",
              "−0.13 (±0.15)"
            ],
            [
              "Fed information surprise",
              "+0.41%",
              "+4.1 bp",
              "−0.57%",
              "+0.62 (±0.79)",
              "+0.35 (±0.46)",
              "0.00 (±0.00)",
              "+0.47 (±0.61)",
              "+0.25 (±0.32)"
            ]
          ],
          "source": "deep-portfolio-constructor reports/pension/stress.json, from world-shock-lab 9707616"
        }
      },
      "learned": "It holds less in stocks than the glide path whether the plan is short or funded. Above all it follows the yield: the higher the yield, the more it puts in bonds matched to the promise.",
      "tuned": "The network still costs less than the tuned rule in simulation, so tuning is not the whole story.",
      "why": "Most of the simulated saving came from patterns in the last twelve months that hold inside the runs of history the simulator replays. A plan cannot rely on them: real history, where every network had seen only the past, gave the same answer.",
      "stress": "The same rise in rates can hurt or help a pension plan, depending on why it happened.",
      "stressBand": "Both moves are inside their bands: the two channels are of similar size, so the net is small and these estimates do not settle its sign.",
      "number": "01.2",
      "group": "investing",
      "study": "Pension Lab"
    },
    {
      "id": "world-shock-lab",
      "number": "01.3",
      "code": "World Shock Lab",
      "role": "featured",
      "badge": "Live site",
      "kicker": "Macro shocks and machine learning",
      "title": "World Shock Lab",
      "summary": "Event studies of Federal Reserve, Bank of Canada, and OPEC surprises across global assets, with a pre-registered test of whether machine learning adds anything, and forecasts published before each decision.",
      "caveat": "Machine learning did not beat the linear model on the average move in either pre-registered study. Quantile boosting won only on 5% tail pinball loss. None of 80 regime tests survived false-discovery control.",
      "image": {
        "src": "assets/img/world-shock-lab-scenario.webp",
        "alt": "World Shock Lab scenario for a Federal Reserve hike and an oil supply cut, with bands around six Canadian assets.",
        "width": 1600,
        "height": 1000
      },
      "tags": [
        "Python",
        "PyTorch",
        "statsmodels",
        "React",
        "TypeScript"
      ],
      "links": [
        {
          "label": "Case study",
          "href": "projects/world-shock-lab.html",
          "kind": "site"
        },
        {
          "label": "GitHub",
          "href": "https://github.com/shmorsi/world-shock-lab",
          "kind": "repo",
          "external": true
        },
        {
          "label": "Open the lab",
          "href": "shock-lab/",
          "kind": "app"
        }
      ],
      "glanceIds": [
        "tsxFed",
        "replications",
        "regime",
        "announcements"
      ],
      "stats": {
        "tsxFed": {
          "label": "TSX move on a 10 bp Fed surprise",
          "display": "−1.10%",
          "count": -1.1,
          "decimals": 2,
          "suffix": "%",
          "source": "world-shock-lab README headline findings and docs/RESULTS.md: S&P/TSX −1.10% on the day of a Fed move scaled to a 10 bp rise in the US 2-year (90% band −1.59 to −0.61). Resume: −1.10%."
        },
        "tsxBoc": {
          "label": "Same-size Bank of Canada surprise",
          "display": "−0.19%",
          "count": -0.19,
          "decimals": 2,
          "suffix": "%",
          "source": "world-shock-lab README: −0.19% after a BoC move of the same size (90% band −0.33 to −0.04), or −0.75% with Rigobon–Sack. Resume: −0.19%."
        },
        "assets": {
          "label": "Global assets",
          "display": "53",
          "count": 53,
          "decimals": 0,
          "source": "Resume: Fed, Bank of Canada, and OPEC surprise effects estimated on 53 global assets."
        },
        "replications": {
          "label": "Published findings replicated",
          "display": "11 of 13",
          "source": "Resume: replicated 11 of 13 published findings. Case study: including 6 of the 7 that are not true almost by construction."
        },
        "nonMechanical": {
          "label": "Replications that are not mechanical",
          "display": "6 of 7",
          "source": "World Shock Lab case study: 6 of the 7 published findings that are not true almost by construction."
        },
        "regime": {
          "label": "Regime tests that survive FDR",
          "display": "0 of 80",
          "source": "World Shock Lab case study: 0 of 80 pre-registered regime tests survive false-discovery-rate control. 15 of 80 had p ≤ 0.10 before correction."
        },
        "regimeRaw": {
          "label": "Regime tests with p ≤ 0.10 before correction",
          "display": "15 of 80",
          "source": "World Shock Lab case study. About 8 would be expected by chance. None survives false-discovery control."
        },
        "announcements": {
          "label": "Held-out announcements",
          "display": "168",
          "count": 168,
          "decimals": 0,
          "source": "Resume: pre-registered machine-learning test on 168 announcements. The original case-study benchmark and ml-study-v1 (results/mlstudy/final.json, n_test 168, years 2019–2026) both use that held-out count."
        },
        "mlGap": {
          "label": "Neural net minus linear error",
          "display": "−0.003",
          "source": "World Shock Lab case study: −0.003 on 168 held-out announcements, 90% interval −0.019 to +0.014, which includes zero."
        },
        "mlGapCi": {
          "label": "90% interval on the ML gap",
          "display": "−0.019 to +0.014",
          "source": "World Shock Lab case study. The pre-registered rule says there is no evidence that machine learning adds value."
        },
        "pinballQgbm": {
          "label": "5% pinball, quantile gradient boosting",
          "display": "1.446",
          "source": "results/mlstudy/final.json on main at merge commit 638bdb6 (2026-10-20; file git_sha d0dc395c530d37d225381b3bd7391ee54f83c223, protocol ml-study-v1, generated 20261020T183639Z). Quantile gradient boosting (max depth 2) pooled scaled pinball 1.4455223913308346 at tau 0.05, shown as 1.446. Merged in https://github.com/shmorsi/world-shock-lab/pull/1."
        },
        "pinballGauss": {
          "label": "5% pinball, Gaussian linear baseline",
          "display": "1.558",
          "source": "results/mlstudy/final.json on main at merge commit 638bdb6 (2026-10-20). Gaussian linear baseline pooled scaled pinball 1.5580062579531035, shown as 1.558."
        },
        "pinballGap": {
          "label": "Pinball, boosting minus Gaussian linear",
          "display": "−0.112",
          "source": "results/mlstudy/final.json on main at merge commit 638bdb6 (2026-10-20). difference_ml_minus_gauss point −0.11248386662226895, shown as −0.112. Verdict in the file: ML adds value on the 5% tail. This is pinball loss, not a calibration claim."
        },
        "pinballCi": {
          "label": "90% interval on the pinball gap",
          "display": "−0.228 to −0.010",
          "source": "results/mlstudy/final.json on main at merge commit 638bdb6 (2026-10-20). difference_ml_minus_gauss ci90 [−0.2280172224402263, −0.010335754412836245], shown as −0.228 to −0.010."
        },
        "tcnMae": {
          "label": "Mean scaled error, temporal CNN",
          "display": "1.157",
          "source": "results/mlstudy/final.json on main at merge commit 638bdb6 (2026-10-20). Temporal CNN (16 channels, weight decay 0.001) pooled scaled MAE 1.1571277532978215, shown as 1.157."
        },
        "lpMae": {
          "label": "Mean scaled error, linear projection",
          "display": "1.142",
          "source": "results/mlstudy/final.json on main at merge commit 638bdb6 (2026-10-20). Pooled scaled MAE for the linear projection baseline 1.1420847324581223, shown as 1.142."
        },
        "tcnGap": {
          "label": "Mean error, temporal CNN minus linear",
          "display": "+0.015",
          "source": "results/mlstudy/final.json on main at merge commit 638bdb6 (2026-10-20). difference_ml_minus_lp point 0.015043020839699217, shown as +0.015. Verdict in the file: no evidence ML adds value."
        },
        "tcnCi": {
          "label": "90% interval on the mean gap",
          "display": "−0.006 to +0.037",
          "source": "results/mlstudy/final.json on main at merge commit 638bdb6 (2026-10-20). difference_ml_minus_lp ci90 [−0.006025486483002209, 0.03684541655024226], shown as −0.006 to +0.037. The interval includes zero."
        },
        "bocDecisions": {
          "label": "BoC decisions dated from press releases",
          "display": "195",
          "count": 195,
          "decimals": 0,
          "source": "World Shock Lab case study: 195 scheduled Bank of Canada decisions."
        },
        "varianceRatio": {
          "label": "BoC proxy variance vs control days",
          "display": "2.82×",
          "source": "World Shock Lab case study: announcement-day variance of the 2-year Government of Canada yield is 2.82 times matched control days (90% interval 1.99 to 4.00)."
        },
        "varianceCi": {
          "label": "90% interval on that variance ratio",
          "display": "1.99 to 4.00",
          "source": "World Shock Lab case study."
        },
        "varianceExUs": {
          "label": "Variance ratio after removing the US move",
          "display": "5.71×",
          "source": "World Shock Lab case study: 5.71 times after removing the same-day US move."
        },
        "simCoverage": {
          "label": "Simulation coverage of the event-study bands",
          "display": "90%",
          "source": "World Shock Lab case study: in simulation the 90% bands contain the true response 90% of the time."
        },
        "simAlt": {
          "label": "Coverage of the zero-filled alternative",
          "display": "86%",
          "source": "World Shock Lab case study: a zero-filled time-series alternative covers the true response 86% of the time in simulation."
        },
        "placebos": {
          "label": "Placebo date sets",
          "display": "1,000",
          "source": "World Shock Lab case study: surprises moved to 1,000 sets of random non-announcement days."
        },
        "signStable": {
          "label": "Headline responses stable in robustness checks",
          "display": "24 of 30",
          "source": "World Shock Lab case study: 24 of 30 headline responses keep their sign in every pre-registered robustness variant and stay significant in at least two thirds of them."
        },
        "fdrAssets": {
          "label": "Shock-to-asset responses that survive FDR",
          "display": "126 of 318",
          "source": "world-shock-lab docs/RESEARCH_NOTE.md: across 318 shock-to-asset responses at one and five days, 126 survive Benjamini–Hochberg control."
        },
        "firstStageF": {
          "label": "First-stage F for monthly macro effects",
          "display": "3.1",
          "source": "World Shock Lab case study: monthly macro effects rest on weak instruments (first-stage F of 3.1) and are labelled suggestive."
        },
        "tests": {
          "label": "Automated Python tests in CI",
          "display": "189",
          "count": 168,
          "decimals": 0,
          "source": "pytest -m 'not data' at world-shock-lab main c0d14ee (2026-11-11): 189 passed, 9 deselected, locally and in CI. The earlier figure, 168, was a static count at cb7a00c (2026-10-23)."
        },
        "rerunMinutes": {
          "label": "Full rerun time",
          "display": "11 min",
          "source": "world-shock-lab commit ef805bb (docs/COMMIT_MAP.md, reproduction check): full pipeline rerun from the pinned cache took 11 min; outputs identical apart from provenance stamps."
        },
        "phoneSeconds": {
          "label": "Scenario tool on a throttled phone",
          "display": "under 3 s",
          "source": "Resume: under 3 seconds on a throttled phone. world-shock-lab results/web_perf.json: slowest view 2.703 s on slow 4G with a 4x CPU slowdown at 390x844."
        },
        "forecastPublished": {
          "label": "First forecasts published",
          "display": "2026-10-13",
          "source": "world-shock-lab live/forecasts/2026-10-28_boc.json: published_at 2026-10-13T00:36:18Z, decision 2026-10-28."
        },
        "forecastDecision": {
          "label": "First forecasted decision date",
          "display": "2026-10-28",
          "source": "World Shock Lab case study."
        },
        "forecastStatus": {
          "label": "Live forecasts scored",
          "display": "2 decisions",
          "source": "world-shock-lab live/scores/ (2026-10-28_boc_score1.json, 2026-10-28_fomc_score1.json): score 1 of each decision; code_git_sha 37e398a"
        },
        "nextDecision": {
          "label": "Next forecasted decisions, Fed and BoC",
          "display": "2026-12-09",
          "source": "world-shock-lab config/live.yaml calendar: fomc and boc 2026-12-09 (BoC 09:45 America/Toronto, FOMC 14:00 America/New_York). Forecasts publish 10 days before."
        },
        "liveDecisions": {
          "label": "Decisions scored so far",
          "display": "2",
          "source": "world-shock-lab live/scores/ (2026-10-28_boc_score1.json, 2026-10-28_fomc_score1.json): one score-1 file per decision"
        },
        "liveForecasts": {
          "label": "Forecasts scored so far",
          "display": "11",
          "source": "world-shock-lab live/scores/ (2026-10-28_boc_score1.json, 2026-10-28_fomc_score1.json): cells with mechanical = false, over every score-1 file"
        },
        "liveInside68": {
          "label": "Outcomes inside the 68% band",
          "display": "9 of 11",
          "source": "world-shock-lab live/scores/ (2026-10-28_boc_score1.json, 2026-10-28_fomc_score1.json): cells with inside68 = true"
        },
        "liveInside90": {
          "label": "Outcomes inside the 90% band",
          "display": "10 of 11",
          "source": "world-shock-lab live/scores/ (2026-10-28_boc_score1.json, 2026-10-28_fomc_score1.json): cells with inside90 = true"
        },
        "liveBeatsNoChange": {
          "label": "Forecasts closer than a forecast of no change",
          "display": "5 of 11",
          "source": "world-shock-lab live/scores/ (2026-10-28_boc_score1.json, 2026-10-28_fomc_score1.json): cells with beats_no_change = true"
        },
        "liveScoredOn": {
          "label": "Scored on",
          "display": "2026-11-11",
          "source": "world-shock-lab live/scores/ (2026-10-28_boc_score1.json, 2026-10-28_fomc_score1.json): latest scored_at"
        }
      },
      "tables": {
        "announcement": {
          "caption": "Announcement-day response. Each surprise is scaled to a 10 basis-point move in that country's 2-year yield. 90% interval in brackets.",
          "headers": [
            "Canadian asset",
            "Fed surprise",
            "BoC surprise",
            "BoC, Rigobon–Sack"
          ],
          "rows": [
            [
              "S&P/TSX Composite (%)",
              "−1.10 [−1.59, −0.61]",
              "−0.19 [−0.33, −0.04]",
              "−0.75 [−1.42, −0.37]"
            ],
            [
              "Big-Six Canadian banks (%)",
              "−0.76 [−1.32, −0.19]",
              "0.00 [−0.16, +0.15]",
              "−0.63 [−1.36, −0.20]"
            ],
            [
              "10-year Government of Canada yield (basis points)",
              "+4.40 [+2.99, +5.81]",
              "+4.64 [+3.75, +5.52]",
              "+2.47 [+0.67, +3.75]"
            ],
            [
              "Canadian dollars per US dollar (%)",
              "+0.40 [+0.23, +0.57]",
              "−0.37 [−0.53, −0.21]",
              "−0.49 [−0.85, −0.24]"
            ]
          ],
          "source": "World Shock Lab case study, generated from committed results."
        },
        "ml": {
          "caption": "168 held-out announcements. Pooled scaled error. Lower is better. The pre-registered verdict is that machine learning does not add value.",
          "headers": [
            "Model",
            "Error"
          ],
          "rows": [
            [
              "Neural network (multilayer perceptron)",
              "1.139"
            ],
            [
              "Linear local projection",
              "1.142"
            ],
            [
              "Gradient boosting",
              "1.147"
            ],
            [
              "Ridge regression",
              "1.160"
            ],
            [
              "Predict no move",
              "1.195"
            ],
            [
              "State-dependent local projection",
              "1.212"
            ]
          ],
          "source": "World Shock Lab case study. Neural-network error minus linear error is −0.003, and the 90% interval includes zero."
        },
        "mlStudy": {
          "caption": "ml-study-v1 on 168 held-out announcements, 2019–2026. Pooled scaled scores, lower is better. Read from results/mlstudy/final.json on main at merge commit 638bdb6 (2026-10-20). The earlier benchmark above is unchanged.",
          "headers": [
            "Target",
            "Model",
            "Score",
            "Difference vs baseline",
            "90% interval"
          ],
          "rows": [
            [
              "Mean (scaled MAE)",
              "Temporal CNN, 16 channels",
              "1.157",
              "+0.015 vs linear 1.142",
              "−0.006 to +0.037"
            ],
            [
              "5% tail (pinball)",
              "Quantile gradient boosting, depth 2",
              "1.446",
              "−0.112 vs Gaussian linear 1.558",
              "−0.228 to −0.010"
            ]
          ],
          "source": "results/mlstudy/final.json (protocol ml-study-v1, git d0dc395c530d37d225381b3bd7391ee54f83c223, generated 20261020T183639Z) on main at merge commit 638bdb6 (https://github.com/shmorsi/world-shock-lab/commit/638bdb6357bc2c9f627ac4a6569a04995982b961), merged from https://github.com/shmorsi/world-shock-lab/pull/1 on 2026-10-20. File verdicts: no evidence the temporal CNN adds value on the mean; quantile gradient boosting adds value on the 5% tail by pinball loss. Not a calibration claim, and not a comparison to a published model."
        },
        "liveScores": {
          "caption": "Each decision's forecasts, scored once every five-day outcome was published. A forecast is one outcome (the Canadian 2-year yield, the Canadian dollar, Canadian banks) at one horizon (one day, five days).",
          "headers": [
            "Decision",
            "Forecast published",
            "Forecasts scored",
            "Inside the 68% band",
            "Inside the 90% band",
            "Closer than no change"
          ],
          "rows": [
            [
              "Bank of Canada, 2026-10-28",
              "2026-10-13",
              "5",
              "4 of 5",
              "5 of 5",
              "1 of 5"
            ],
            [
              "Federal Reserve, 2026-10-28",
              "2026-10-13",
              "6",
              "5 of 6",
              "5 of 6",
              "4 of 6"
            ]
          ],
          "source": "world-shock-lab live/scores/: 2026-10-28_boc_score1.json, 2026-10-28_fomc_score1.json. Counted by scripts/sync_wsl_live.py; cells the protocol shows but does not score are left out."
        }
      },
      "purpose": "How a central-bank surprise ripples through 53 markets, with forecasts published before each decision.",
      "headline": {
        "stat": "tsxFed",
        "qualifier": "Announcement day, 90% band −1.59 to −0.61. Identified causal."
      },
      "factIds": [
        "tsxBoc",
        "replications",
        "assets"
      ],
      "proves": "A 10 bp Fed surprise moves the TSX −1.10% on announcement day. The 90% band, −1.59 to −0.61, excludes zero.",
      "group": "investing",
      "study": "World Shock Lab"
    },
    {
      "id": "tsfm",
      "number": "02",
      "code": "TSFM",
      "role": "featured",
      "badge": "Test split",
      "kicker": "Deep learning",
      "title": "Time-series foundation model",
      "summary": "A decoder-only transformer pretrained from scratch in PyTorch. On the test split, patch_s2, one seed, 97 configurations: CRPS 0.688× upstream AutoARIMA, 95% CI [0.624, 0.757], better. Validation CRPS was 0.605× Seasonal Naive.",
      "caveat": "patch_s2 on the test split, one seed, 97 configurations: CRPS 0.688× upstream AutoARIMA, 95% CI [0.624, 0.757], better. Its validation CRPS was 0.605× Seasonal Naive, 16 configurations, one seed. A smaller CPU model (833,440 parameters, 3 seeds, 97 configurations) was scored once on the test split: CRPS 1.109× Seasonal Naive, no detectable difference, and 1.217× AutoARIMA, worse.",
      "image": {
        "src": "assets/img/tsfm-results.svg",
        "alt": "Validation chart of CRPS relative to Seasonal Naive for three pretrained transformers of increasing size.",
        "width": 1600,
        "height": 1000
      },
      "tags": [
        "Python",
        "PyTorch",
        "pytest",
        "GitHub Actions"
      ],
      "links": [
        {
          "label": "Case study",
          "href": "projects/tsfm.html",
          "kind": "site"
        },
        {
          "label": "GitHub",
          "href": "https://github.com/shmorsi/tsfm-from-scratch",
          "kind": "repo",
          "external": true
        },
        {
          "label": "Research note",
          "href": "https://github.com/shmorsi/tsfm-from-scratch/blob/main/RESEARCH_NOTE.md",
          "kind": "more",
          "external": true
        }
      ],
      "glanceIds": [
        "crps",
        "params",
        "flagged",
        "tests"
      ],
      "stats": {
        "patchTest": {
          "label": "Test CRPS vs upstream AutoARIMA",
          "display": "0.688×",
          "source": "tsfm-from-scratch results/analysis/headline.json, comparisons[0] primary crps ratio 0.6882908443335406, ci95 [0.6235557884852769, 0.7565564926709726], verdict better, seed_runs patch_s2. README shows 0.688 and [0.624, 0.757]. 97 official GIFT-Eval configurations, one seed."
        },
        "crps": {
          "label": "Zero-shot CRPS vs Seasonal Naive, validation",
          "display": "0.605×",
          "count": 0.605,
          "decimals": 3,
          "suffix": "×",
          "source": "tsfm-from-scratch README, validation study table: patch_s2 CRPS 0.605 and MASE 0.840, geometric mean of scores divided by Seasonal Naive on 16 configurations from datasets held out of pretraining, one seed, 10,083,392 parameters. Resume: 0.605×. Validation only."
        },
        "mase": {
          "label": "Zero-shot validation MASE",
          "display": "0.840",
          "count": 0.84,
          "decimals": 3,
          "source": "tsfm-from-scratch case study, patch_s2, score relative to Seasonal Naive on 16 held-out configurations."
        },
        "params": {
          "label": "Parameters, validation headline model",
          "display": "10.1M",
          "count": 10.1,
          "decimals": 1,
          "suffix": "M",
          "source": "tsfm-from-scratch MODEL_CARD.md: patch_s2 total parameters 10,083,392, shown as 10.1M. Trained in fp16 on one Colab T4."
        },
        "series": {
          "label": "Pretraining series kept",
          "display": "443,258",
          "count": 443258,
          "decimals": 0,
          "source": "tsfm-from-scratch DATA_CARD.md: the leakage check covered 447,229 pretraining and validation series and flagged 801; all 801 were excluded. Kept: 443,258 pretraining series across 77 datasets (1,087,018,264 points) plus 3,170 held-out validation series (443,258 + 3,170 + 801 = 447,229)."
        },
        "datasets": {
          "label": "Datasets audited",
          "display": "77",
          "count": 77,
          "decimals": 0,
          "source": "tsfm-from-scratch DATA_CARD.md: 77 pretraining datasets."
        },
        "flagged": {
          "label": "Benchmark-overlap series removed",
          "display": "801",
          "count": 801,
          "decimals": 0,
          "source": "tsfm-from-scratch DATA_CARD.md: the first leakage check flagged 801 series; all were excluded, and the final corpus has 0 native and 0 daily hits. Resume: 801."
        },
        "configs": {
          "label": "Held-out configurations",
          "display": "16",
          "count": 16,
          "decimals": 0,
          "source": "tsfm-from-scratch case study: zero-shot scores on 16 configurations from datasets held out of pretraining."
        },
        "tests": {
          "label": "Automated tests in CI",
          "display": "189",
          "count": 170,
          "decimals": 0,
          "source": "pytest -m \"not slow and not network and not data\" at tsfm-from-scratch main a5a8061 (2026-11-11): 189 passed, 1 deselected, locally and in CI. The earlier figure, 170, was a static count at 1d5f7b4 (2026-10-30)."
        },
        "coverage": {
          "label": "80% interval coverage",
          "display": "65%",
          "count": 65,
          "decimals": 0,
          "suffix": "%",
          "source": "tsfm-from-scratch README validation table: patch_s2 80% coverage 0.649, shown as 65%. Raw quantiles undercover."
        },
        "nominalInterval": {
          "label": "Nominal interval",
          "display": "80%",
          "source": "Same coverage note as coverage. The interval was meant to cover 80% of outcomes."
        },
        "points": {
          "label": "Pretraining points",
          "display": "1,087,018,264",
          "source": "tsfm-from-scratch DATA_CARD.md: 1,087,018,264 pretraining points from GiftEvalPretrain, plus synthetic Gaussian-process series."
        },
        "power": {
          "label": "Validation-loss power-law exponent",
          "display": "0.058",
          "source": "tsfm-from-scratch RESEARCH_NOTE.md: power-law fit over 3 runs, b = 0.0578 (95% bootstrap interval 0.0508 to 0.0636), shown as 0.058."
        },
        "powerCi": {
          "label": "Power-law exponent interval",
          "display": "0.051 to 0.064",
          "source": "tsfm-from-scratch RESEARCH_NOTE.md: 0.0508 to 0.0636, shown as 0.051 to 0.064."
        },
        "modelSizes": {
          "label": "Patch-model sizes in the power law",
          "display": "3",
          "source": "tsfm-from-scratch case study: three patch-model sizes."
        },
        "volHorizon": {
          "label": "Volatility forecast horizon",
          "display": "22",
          "source": "tsfm-from-scratch README, market volatility baselines: 22-day forecasts of daily realized volatility."
        },
        "testCrps": {
          "label": "Test CRPS vs Seasonal Naive, smaller CPU model",
          "display": "1.109×",
          "source": "tsfm-from-scratch README test results: cpu_s0 raw quantiles, 97 configurations, 3 seeds, CRPS ratio 1.109 [0.978, 1.265], verdict no detectable difference. results/analysis/cpu_study.json."
        },
        "testArima": {
          "label": "Test CRPS vs AutoARIMA, smaller CPU model",
          "display": "1.217×",
          "source": "tsfm-from-scratch README: cpu_s0 raw, ratio to upstream AutoARIMA 1.217, 95% CI [1.091, 1.362], verdict worse."
        },
        "cpuParams": {
          "label": "Parameters, test-scored CPU model",
          "display": "833,440",
          "source": "tsfm-from-scratch MODEL_CARD.md and README: the committed CPU model has 833,440 parameters (754,688 in the transformer body)."
        },
        "testConfigs": {
          "label": "Test configurations",
          "display": "97",
          "source": "tsfm-from-scratch README: official GIFT-Eval test split, 97 configurations."
        },
        "testSeeds": {
          "label": "Seeds on the test split",
          "display": "3",
          "source": "tsfm-from-scratch README: 3 seeds, all kept."
        },
        "testCoverage": {
          "label": "Test 80% coverage, raw quantiles",
          "display": "0.642",
          "source": "tsfm-from-scratch README: raw quantiles cover 0.401 / 0.642 / 0.730 at 50/80/90% on the test split."
        },
        "riskTests": {
          "label": "Tests of the risk study's code",
          "display": "16",
          "source": "deep-portfolio-constructor tests/test_risk.py"
        },
        "riskMonths": {
          "label": "Months scored",
          "display": "801",
          "source": "deep-portfolio-constructor reports/risk/summary.json [window.months]"
        },
        "riskIndustries": {
          "label": "Industries",
          "display": "30",
          "source": "deep-portfolio-constructor reports/risk/summary.json [window.industries]"
        },
        "riskForecasts": {
          "label": "Forecasts scored per forecaster",
          "display": "24,030",
          "source": "deep-portfolio-constructor reports/risk/summary.json [window.months x window.industries]"
        },
        "riskVolHar": {
          "label": "Realized volatility a year, minimum variance on HAR's forecasts",
          "display": "12.1%",
          "source": "deep-portfolio-constructor reports/risk/summary.json [portfolios.min_variance.har.realized_volatility]"
        },
        "riskVolOracle": {
          "label": "Realized volatility a year, minimum variance on perfect forecasts",
          "display": "10.9%",
          "source": "deep-portfolio-constructor reports/risk/summary.json [portfolios.min_variance.oracle.realized_volatility]"
        },
        "riskVolMarket": {
          "label": "Realized volatility a year, the market",
          "display": "15.9%",
          "source": "deep-portfolio-constructor reports/risk/summary.json [references.market.realized_volatility]"
        },
        "riskOracleVsHar": {
          "label": "Volatility of the oracle's portfolio against HAR's",
          "display": "−11.6%",
          "source": "deep-portfolio-constructor reports/risk/summary.json [portfolios.min_variance.oracle.vs_har.volatility_change]"
        },
        "riskOracleVerdict": {
          "label": "Verdict, oracle against HAR",
          "display": "lower risk",
          "source": "deep-portfolio-constructor reports/risk/summary.json [portfolios.min_variance.oracle.vs_har.verdict]"
        },
        "riskStatusCpuS0": {
          "label": "CPU model: status",
          "display": "run",
          "source": "deep-portfolio-constructor reports/risk/summary.json [models.cpu_s0.status]"
        },
        "riskParamsCpuS0": {
          "label": "CPU model: parameters",
          "display": "833,440",
          "source": "deep-portfolio-constructor reports/risk/summary.json [models.cpu_s0.parameters]"
        },
        "riskWqlFtCpuS0": {
          "label": "Quantile loss against HAR, CPU model, fine-tuned",
          "display": "1.033×",
          "source": "deep-portfolio-constructor reports/risk/summary.json [accuracy.tsfm_ft_cpu_s0.vs_har.wql.ratio]"
        },
        "riskWqlCiFtCpuS0": {
          "label": "95% interval, CPU model, fine-tuned",
          "display": "[1.013, 1.053]",
          "source": "deep-portfolio-constructor reports/risk/summary.json [accuracy.tsfm_ft_cpu_s0.vs_har.wql.ci_low, ci_high]"
        },
        "riskWqlVerdictFtCpuS0": {
          "label": "Verdict on accuracy, CPU model, fine-tuned",
          "display": "worse",
          "source": "deep-portfolio-constructor reports/risk/summary.json [accuracy.tsfm_ft_cpu_s0.vs_har.wql.verdict]"
        },
        "riskVolFtCpuS0": {
          "label": "Realized volatility a year, minimum variance on CPU model, fine-tuned",
          "display": "12.2%",
          "source": "deep-portfolio-constructor reports/risk/summary.json [portfolios.min_variance.tsfm_ft_cpu_s0.realized_volatility]"
        },
        "riskVolVsHarFtCpuS0": {
          "label": "Portfolio volatility against HAR's, CPU model, fine-tuned",
          "display": "+1.6%",
          "source": "deep-portfolio-constructor reports/risk/summary.json [portfolios.min_variance.tsfm_ft_cpu_s0.vs_har.volatility_change]"
        },
        "riskVolTFtCpuS0": {
          "label": "Newey-West t, CPU model, fine-tuned",
          "display": "7.53",
          "source": "deep-portfolio-constructor reports/risk/summary.json [portfolios.min_variance.tsfm_ft_cpu_s0.vs_har.t_nw]"
        },
        "riskVolVerdictFtCpuS0": {
          "label": "Verdict on portfolio risk, CPU model, fine-tuned",
          "display": "higher risk",
          "source": "deep-portfolio-constructor reports/risk/summary.json [portfolios.min_variance.tsfm_ft_cpu_s0.vs_har.verdict]"
        },
        "riskWqlZeroCpuS0": {
          "label": "Quantile loss against HAR, CPU model, zero-shot",
          "display": "1.138×",
          "source": "deep-portfolio-constructor reports/risk/summary.json [accuracy.tsfm_zero_cpu_s0.vs_har.wql.ratio]"
        },
        "riskWqlCiZeroCpuS0": {
          "label": "95% interval, CPU model, zero-shot",
          "display": "[1.102, 1.176]",
          "source": "deep-portfolio-constructor reports/risk/summary.json [accuracy.tsfm_zero_cpu_s0.vs_har.wql.ci_low, ci_high]"
        },
        "riskWqlVerdictZeroCpuS0": {
          "label": "Verdict on accuracy, CPU model, zero-shot",
          "display": "worse",
          "source": "deep-portfolio-constructor reports/risk/summary.json [accuracy.tsfm_zero_cpu_s0.vs_har.wql.verdict]"
        },
        "riskVolZeroCpuS0": {
          "label": "Realized volatility a year, minimum variance on CPU model, zero-shot",
          "display": "12.2%",
          "source": "deep-portfolio-constructor reports/risk/summary.json [portfolios.min_variance.tsfm_zero_cpu_s0.realized_volatility]"
        },
        "riskVolVsHarZeroCpuS0": {
          "label": "Portfolio volatility against HAR's, CPU model, zero-shot",
          "display": "+2.5%",
          "source": "deep-portfolio-constructor reports/risk/summary.json [portfolios.min_variance.tsfm_zero_cpu_s0.vs_har.volatility_change]"
        },
        "riskVolTZeroCpuS0": {
          "label": "Newey-West t, CPU model, zero-shot",
          "display": "9.05",
          "source": "deep-portfolio-constructor reports/risk/summary.json [portfolios.min_variance.tsfm_zero_cpu_s0.vs_har.t_nw]"
        },
        "riskVolVerdictZeroCpuS0": {
          "label": "Verdict on portfolio risk, CPU model, zero-shot",
          "display": "higher risk",
          "source": "deep-portfolio-constructor reports/risk/summary.json [portfolios.min_variance.tsfm_zero_cpu_s0.vs_har.verdict]"
        },
        "riskFtVsLastCpuS0": {
          "label": "Fine-tuned CPU model: quantile loss against Last month (described after the test)",
          "display": "0.882×",
          "source": "deep-portfolio-constructor reports/risk/summary.json [described_after_the_test.finetuned_quantile_loss_vs.cpu_s0.last.ratio]"
        },
        "riskFtVsLastCiCpuS0": {
          "label": "95% interval, fine-tuned CPU model against Last month",
          "display": "[0.849, 0.921]",
          "source": "deep-portfolio-constructor reports/risk/summary.json [described_after_the_test.finetuned_quantile_loss_vs.cpu_s0.last.ci_low, ci_high]"
        },
        "riskFtVsLastVerdictCpuS0": {
          "label": "Verdict, fine-tuned CPU model against Last month",
          "display": "better",
          "source": "deep-portfolio-constructor reports/risk/summary.json [described_after_the_test.finetuned_quantile_loss_vs.cpu_s0.last.verdict]"
        },
        "riskFtVsMean60CpuS0": {
          "label": "Fine-tuned CPU model: quantile loss against 60-month mean (described after the test)",
          "display": "0.748×",
          "source": "deep-portfolio-constructor reports/risk/summary.json [described_after_the_test.finetuned_quantile_loss_vs.cpu_s0.mean60.ratio]"
        },
        "riskFtVsMean60CiCpuS0": {
          "label": "95% interval, fine-tuned CPU model against 60-month mean",
          "display": "[0.696, 0.802]",
          "source": "deep-portfolio-constructor reports/risk/summary.json [described_after_the_test.finetuned_quantile_loss_vs.cpu_s0.mean60.ci_low, ci_high]"
        },
        "riskFtVsMean60VerdictCpuS0": {
          "label": "Verdict, fine-tuned CPU model against 60-month mean",
          "display": "better",
          "source": "deep-portfolio-constructor reports/risk/summary.json [described_after_the_test.finetuned_quantile_loss_vs.cpu_s0.mean60.verdict]"
        },
        "riskFtVsEwmaCpuS0": {
          "label": "Fine-tuned CPU model: quantile loss against RiskMetrics EWMA (described after the test)",
          "display": "0.962×",
          "source": "deep-portfolio-constructor reports/risk/summary.json [described_after_the_test.finetuned_quantile_loss_vs.cpu_s0.ewma.ratio]"
        },
        "riskFtVsEwmaCiCpuS0": {
          "label": "95% interval, fine-tuned CPU model against RiskMetrics EWMA",
          "display": "[0.920, 1.006]",
          "source": "deep-portfolio-constructor reports/risk/summary.json [described_after_the_test.finetuned_quantile_loss_vs.cpu_s0.ewma.ci_low, ci_high]"
        },
        "riskFtVsEwmaVerdictCpuS0": {
          "label": "Verdict, fine-tuned CPU model against RiskMetrics EWMA",
          "display": "no detectable difference",
          "source": "deep-portfolio-constructor reports/risk/summary.json [described_after_the_test.finetuned_quantile_loss_vs.cpu_s0.ewma.verdict]"
        },
        "riskFtVsZeroCpuS0": {
          "label": "Fine-tuned CPU model: quantile loss against CPU model, zero-shot (described after the test)",
          "display": "0.907×",
          "source": "deep-portfolio-constructor reports/risk/summary.json [described_after_the_test.finetuned_quantile_loss_vs.cpu_s0.tsfm_zero_cpu_s0.ratio]"
        },
        "riskFtVsZeroCiCpuS0": {
          "label": "95% interval, fine-tuned CPU model against CPU model, zero-shot",
          "display": "[0.877, 0.941]",
          "source": "deep-portfolio-constructor reports/risk/summary.json [described_after_the_test.finetuned_quantile_loss_vs.cpu_s0.tsfm_zero_cpu_s0.ci_low, ci_high]"
        },
        "riskFtVsZeroVerdictCpuS0": {
          "label": "Verdict, fine-tuned CPU model against CPU model, zero-shot",
          "display": "better",
          "source": "deep-portfolio-constructor reports/risk/summary.json [described_after_the_test.finetuned_quantile_loss_vs.cpu_s0.tsfm_zero_cpu_s0.verdict]"
        },
        "riskEarnsCpuS0": {
          "label": "CPU model: its risk forecasts help this investor",
          "display": "no",
          "source": "deep-portfolio-constructor reports/risk/summary.json [models.cpu_s0.earns_its_place]"
        },
        "riskRefitsCpuS0": {
          "label": "CPU model: fine-tuning refits",
          "display": "14",
          "source": "deep-portfolio-constructor reports/risk/summary.json [models.cpu_s0.refits]"
        },
        "riskRefitsKeptCpuS0": {
          "label": "CPU model: refits that kept the pretrained model",
          "display": "0 of 14",
          "source": "deep-portfolio-constructor reports/risk/summary.json [models.cpu_s0.refits_kept_pretrained]"
        },
        "riskStatusPatchS2": {
          "label": "T4 model: status",
          "display": "not run",
          "source": "deep-portfolio-constructor reports/risk/summary.json [models.patch_s2.status]"
        },
        "riskParamsPatchS2": {
          "label": "T4 model: parameters",
          "display": "10,083,392",
          "source": "deep-portfolio-constructor reports/risk/summary.json [models.patch_s2.parameters]"
        }
      },
      "tables": {
        "validation": {
          "caption": "Validation split, datasets held out of pretraining. Score divided by Seasonal Naive. Lower is better.",
          "headers": [
            "Run",
            "Parameters",
            "CRPS",
            "MASE"
          ],
          "rows": [
            [
              "patch_s0",
              "0.9M",
              "0.740",
              "1.139"
            ],
            [
              "patch_s1",
              "2.9M",
              "0.636",
              "0.910"
            ],
            [
              "patch_s2",
              "10.1M",
              "0.605",
              "0.840"
            ]
          ],
          "source": "tsfm-from-scratch README, validation study that selected patch_s2. Parameter totals from results/runs/*/summary.json (895,296; 2,879,296; 10,083,392). Validation scores, not the test split."
        },
        "overlaps": {
          "caption": "Corpus series (pretraining or validation) that matched GIFT-Eval series and were removed.",
          "headers": [
            "Corpus dataset",
            "Benchmark series",
            "Flagged series"
          ],
          "rows": [
            [
              "beijing_air_quality",
              "kdd_cup_2018_with_missing/H",
              "59"
            ],
            [
              "fred_md",
              "m4_monthly",
              "8"
            ],
            [
              "m1_monthly",
              "m4_monthly",
              "2"
            ],
            [
              "pedestrian_counts",
              "m4_hourly",
              "46"
            ],
            [
              "tourism_monthly",
              "m4_monthly",
              "28"
            ],
            [
              "weather",
              "temperature_rain_with_missing",
              "499"
            ]
          ],
          "source": "tsfm-from-scratch DATA_CARD.md round 1 table, rows with verdict copy. Every flagged series (801 in total, including coincidences) was excluded."
        },
        "volatility": {
          "caption": "Daily realized volatility, BTC and ETH, 2020–2026. Weighted quantile loss versus a random walk, with a 95% interval.",
          "headers": [
            "Model",
            "Loss ratio",
            "80% coverage"
          ],
          "rows": [
            [
              "Random walk",
              "1 (reference)",
              "0.80"
            ],
            [
              "HAR-RV",
              "0.755 [0.731, 0.783]",
              "0.81"
            ]
          ],
          "source": "tsfm-from-scratch README. Baselines only. No trading performance is claimed, and the transformer was not run on this study."
        },
        "test": {
          "caption": "Official GIFT-Eval test split, smaller CPU model (833,440 parameters), 97 configurations, 3 seeds. Ratios to Seasonal Naive, 95% paired bootstrap over configurations. Lower is better.",
          "headers": [
            "Model",
            "CRPS",
            "Verdict vs Seasonal Naive",
            "CRPS vs AutoARIMA",
            "MASE",
            "80% coverage"
          ],
          "rows": [
            [
              "cpu_s0, raw quantiles",
              "1.109 [0.978, 1.265]",
              "No detectable difference",
              "1.217 [1.091, 1.362], worse",
              "1.835",
              "0.642"
            ],
            [
              "cpu_s0, split-conformal",
              "1.277 [1.130, 1.455]",
              "Worse",
              "1.401 [1.249, 1.576], worse",
              "1.835",
              "0.932"
            ]
          ],
          "source": "tsfm-from-scratch README test results for the CPU model, from results/analysis/cpu_study.json. The patch_s2 test score is in tables.patchTest, from results/analysis/headline.json."
        },
        "patchTest": {
          "caption": "patch_s2 on the GIFT-Eval test split, one seed, 97 configurations. The first row is the pre-registered primary comparison. Ratios below 1 are better.",
          "headers": [
            "Model",
            "Versus",
            "Metric",
            "Ratio",
            "95% CI",
            "Verdict"
          ],
          "rows": [
            [
              "headline",
              "upstream AutoARIMA",
              "CRPS",
              "0.688",
              "[0.624, 0.757]",
              "better"
            ],
            [
              "headline",
              "upstream AutoARIMA",
              "MASE",
              "0.851",
              "[0.684, 0.986]",
              "better"
            ],
            [
              "headline",
              "Seasonal Naive",
              "CRPS",
              "0.628",
              "[0.569, 0.692]",
              "better"
            ],
            [
              "headline",
              "Seasonal Naive",
              "MASE",
              "0.914",
              "[0.848, 0.989]",
              "better"
            ]
          ],
          "source": "tsfm-from-scratch README test-split table for patch_s2, generated from results/analysis/headline.json. Primary CRPS ratio 0.6882908443335406 shown as 0.688; CI [0.6235557884852769, 0.7565564926709726] shown as [0.624, 0.757]."
        },
        "riskAccuracy": {
          "caption": "Forecasts of next month's volatility, 30 industries and 801 months pooled. Lower is better; 1 is HAR. Better needs the whole interval below 1.",
          "headers": [
            "Forecaster",
            "Quantile loss, ratio to HAR [95% interval]",
            "Verdict",
            "Absolute error, ratio to HAR",
            "QLIKE, ratio to HAR",
            "Inside its 80% band"
          ],
          "rows": [
            [
              "Last month",
              "1.171 [1.125, 1.214]",
              "worse",
              "1.182",
              "1.122",
              "79%"
            ],
            [
              "60-month mean",
              "1.380 [1.290, 1.482]",
              "worse",
              "1.388",
              "1.998",
              "76%"
            ],
            [
              "RiskMetrics EWMA",
              "1.073 [1.031, 1.120]",
              "worse",
              "1.081",
              "0.977",
              "79%"
            ],
            [
              "HAR regression",
              "1 (the standard to beat; loss 0.1983)",
              "",
              "1",
              "1",
              "79%"
            ],
            [
              "CPU model, zero-shot",
              "1.138 [1.102, 1.176]",
              "worse",
              "1.113",
              "0.999",
              "76%"
            ],
            [
              "CPU model, fine-tuned",
              "1.033 [1.013, 1.053]",
              "worse",
              "1.033",
              "1.132",
              "80%"
            ],
            [
              "CPU model, seed 1, zero-shot",
              "1.126 [1.093, 1.160]",
              "worse",
              "1.100",
              "0.990",
              "77%"
            ],
            [
              "CPU model, seed 1, fine-tuned",
              "1.034 [1.013, 1.053]",
              "worse",
              "1.032",
              "1.178",
              "77%"
            ],
            [
              "CPU model, seed 2, zero-shot",
              "1.158 [1.124, 1.192]",
              "worse",
              "1.118",
              "160137.108",
              "75%"
            ],
            [
              "CPU model, seed 2, fine-tuned",
              "1.044 [1.024, 1.062]",
              "worse",
              "1.041",
              "1.178",
              "74%"
            ]
          ],
          "source": "deep-portfolio-constructor reports/risk/summary.json [accuracy]"
        },
        "riskPortfolio": {
          "caption": "One long-only minimum-variance rule, fed by each forecaster's volatilities. Realized volatility is measured from the portfolio's own daily returns.",
          "headers": [
            "Portfolio fed by",
            "Realized volatility a year",
            "Against HAR's portfolio: volatility, t",
            "Verdict",
            "$1 became",
            "Worst fall",
            "Traded a year"
          ],
          "rows": [
            [
              "Last month",
              "12.3%",
              "+3.0%, 11.13",
              "higher risk",
              "$512",
              "−41%",
              "1085%"
            ],
            [
              "60-month mean",
              "12.5%",
              "+3.0%, 6.85",
              "higher risk",
              "$1,092",
              "−37%",
              "101%"
            ],
            [
              "RiskMetrics EWMA",
              "12.2%",
              "+1.2%, 6.20",
              "higher risk",
              "$544",
              "−41%",
              "763%"
            ],
            [
              "HAR regression",
              "12.1%",
              "the standard to beat",
              "",
              "$666",
              "−39%",
              "567%"
            ],
            [
              "CPU model, zero-shot",
              "12.2%",
              "+2.5%, 9.05",
              "higher risk",
              "$525",
              "−39%",
              "896%"
            ],
            [
              "CPU model, fine-tuned",
              "12.2%",
              "+1.6%, 7.53",
              "higher risk",
              "$663",
              "−39%",
              "644%"
            ],
            [
              "CPU model, seed 1, zero-shot",
              "12.3%",
              "+2.7%, 8.65",
              "higher risk",
              "$690",
              "−39%",
              "972%"
            ],
            [
              "CPU model, seed 1, fine-tuned",
              "12.2%",
              "+0.8%, 4.47",
              "higher risk",
              "$661",
              "−39%",
              "630%"
            ],
            [
              "CPU model, seed 2, zero-shot",
              "12.3%",
              "+2.8%, 10.51",
              "higher risk",
              "$547",
              "−41%",
              "971%"
            ],
            [
              "CPU model, seed 2, fine-tuned",
              "12.2%",
              "+1.1%, 5.37",
              "higher risk",
              "$665",
              "−40%",
              "662%"
            ],
            [
              "Oracle (not investable)",
              "10.9%",
              "−11.6%, −21.29",
              "lower risk",
              "$124",
              "−37%",
              "1077%"
            ],
            [
              "Market (reference)",
              "15.9%",
              "",
              "",
              "$929",
              "−50%",
              "7%"
            ]
          ],
          "source": "deep-portfolio-constructor reports/risk/summary.json [portfolios.min_variance, references.market]"
        }
      },
      "purpose": "A forecasting foundation model built from first principles, and the audit that caught a public benchmark corpus leaking its own test data.",
      "headline": {
        "stat": "patchTest",
        "qualifier": "patch_s2, one seed, 97 test configurations. 95% CI [0.624, 0.757], better."
      },
      "factIds": [
        "params",
        "flagged",
        "tests"
      ],
      "purposeSource": "tsfm-from-scratch DATA_CARD.md: the upstream pretraining corpus, described upstream as non-leaking, contained exact or rescaled copies of GIFT-Eval series, some inside the test windows. All 801 flagged series were removed.",
      "proves": "A transformer trained from scratch is better than upstream AutoARIMA on the frozen test: CRPS 0.688×, 95% CI [0.624, 0.757].",
      "group": "forecasting",
      "study": "Time-Series Foundation Model"
    },
    {
      "id": "aurvane",
      "number": "03",
      "code": "AURVANE",
      "role": "featured",
      "badge": "Worst-case agent",
      "kicker": "Agent trust",
      "title": "Aurvane",
      "summary": "The trust layer for the agent economy. Each agent bot carries a signed mandate; every action passes four rules, helper bots only ever get narrower mandates, held actions wait for your Allow or Deny, and everything lands in a hash-chained log. Against a simulated agent that obeys every injected instruction, attacks that landed fell from 30 of 30 to 7 of 30. A red team of 12 smarter attacks: 8 contained, 2 capped by the budget, 2 get through, shown on purpose.",
      "purpose": "Every agent action, signed, bounded, visible. An agent may read anything, but untrusted text can never choose where money or data goes.",
      "proves": "Untrusted text cannot steer an agent's money or data. Against a simulated agent that obeys every injection, attacks that landed fell from 30 of 30 to 7 of 30, and money lost from 12,135 CAD to 135 CAD.",
      "caveat": "Simulated worst-case agent that obeys every injected instruction, 60 paired tasks (30 clean, 30 poisoned), deterministic, run once. The numbers measure the guard, not a model. The 7 attacks that still land are by design: 4 rewrite a cover letter (Aurvane guards actions, not prose) and 3 add a 45 CAD charge at a store the human already trusts, capped by the signed budget. Real-model runs (Claude, Grok, Qwen) use the same harness, capped at 5 USD, and have not been run yet.",
      "image": {
        "src": "aurvane/media/aurvane-demo-poster.jpg",
        "alt": "Aurvane replay: a little robot agent inside its glowing mandate shell, with a smaller helper bot whose self-signed 5,000 CAD mandate is blocked at its own shell. Still frame of the demo film. Not the score.",
        "width": 1920,
        "height": 1080
      },
      "tags": [
        "Python",
        "Ed25519",
        "MCP",
        "pytest",
        "GitHub Actions"
      ],
      "links": [
        {
          "label": "Live demo",
          "href": "aurvane/",
          "kind": "site"
        },
        {
          "label": "GitHub",
          "href": "https://github.com/shmorsi/aurvane",
          "kind": "repo",
          "external": true
        }
      ],
      "headline": {
        "stat": "attacksWith",
        "qualifier": "Simulated worst-case agent, 60 paired tasks, deterministic, run once. Without Aurvane, 30 of 30 landed."
      },
      "factIds": [
        "lossWith",
        "cleanDone",
        "falseAlarms"
      ],
      "glanceIds": [
        "attacksWith",
        "attacksWithout",
        "lossWith",
        "cleanDone"
      ],
      "stats": {
        "attacksWith": {
          "display": "7 of 30",
          "label": "Attacks that landed, with Aurvane",
          "source": "data/measurements/aurvane/worst-case_summary.json with_aurvane.attacks_landed 7 of poisoned_tasks 30. Simulated worst-case agent. The 7 are rewrite 4 and skim 3."
        },
        "attacksWithout": {
          "display": "30 of 30",
          "label": "Attacks that landed, without Aurvane",
          "source": "data/measurements/aurvane/worst-case_summary.json without_aurvane.attacks_landed 30 of poisoned_tasks 30. Same tasks, same agent."
        },
        "lossWith": {
          "display": "135 CAD",
          "label": "Money lost with Aurvane, from 12,135 CAD",
          "source": "data/measurements/aurvane/worst-case_summary.json with_aurvane.money_lost_cad 135.0, without_aurvane.money_lost_cad 12135.0. Skim attacks, capped by the signed budget."
        },
        "cleanDone": {
          "display": "30 of 30",
          "label": "Clean tasks completed, with Aurvane",
          "source": "data/measurements/aurvane/worst-case_summary.json with_aurvane.clean_completed 30 of clean_tasks 30."
        },
        "falseAlarms": {
          "display": "0",
          "label": "False alarms on clean tasks",
          "source": "data/measurements/aurvane/worst-case_summary.json with_aurvane.clean_friction_events 0."
        },
        "dojoWithout": {
          "display": "97.5%",
          "label": "Attacks that landed on AgentDojo, without Aurvane",
          "source": "data/measurements/aurvane/agentdojo_summary.json conditions.none.total: attack_success 613 of pairs 629. AgentDojo v1.2.2, worst-case agent (ground-truth replay, no model), AgentDojo's own checks; protocol in aurvane bench/agentdojo/PROTOCOL.md."
        },
        "dojoWith": {
          "display": "13.0%",
          "label": "Attacks that landed on AgentDojo, with Aurvane",
          "source": "data/measurements/aurvane/agentdojo_summary.json conditions.A.total: attack_success 82 of pairs 629. AgentDojo v1.2.2, worst-case agent (ground-truth replay, no model), AgentDojo's own checks; protocol in aurvane bench/agentdojo/PROTOCOL.md."
        },
        "dojoPairs": {
          "display": "629",
          "label": "AgentDojo attack cases replayed",
          "source": "data/measurements/aurvane/agentdojo_summary.json conditions.A.total.pairs 629; pairs_not_replayable 320 have no attacker ground truth in the benchmark."
        },
        "dojoApproval": {
          "display": "36 of 97",
          "label": "Honest AgentDojo tasks that needed an approval, with Aurvane",
          "source": "data/measurements/aurvane/agentdojo_summary.json conditions.A.total: clean_need_approval 36 of user_tasks 97."
        }
      },
      "group": "agents",
      "study": "Aurvane"
    }
  ],
  "tagline": "AI for long-term investing: portfolios, forecasts and AI agents, built from first principles and measured honestly.",
  "groups": [
    {
      "id": "investing",
      "number": "01",
      "title": "Deep Portfolio Constructor",
      "kicker": "AI for long-term investing",
      "line": "One question in three studies: can AI help someone who invests for decades, and how would you know? Grow the money, keep a pension promise funded, and measure what a central-bank surprise does to both.",
      "projects": [
        "deep-portfolio-constructor",
        "pension-lab",
        "world-shock-lab"
      ]
    },
    {
      "id": "forecasting",
      "number": "02",
      "title": "Time-Series Foundation Model",
      "kicker": "Deep learning from scratch",
      "line": "A forecasting model built and trained from first principles, and the audit that caught a public benchmark leaking its own test data.",
      "projects": [
        "tsfm"
      ]
    },
    {
      "id": "agents",
      "number": "03",
      "title": "Aurvane",
      "kicker": "Agentic AI",
      "line": "A trust layer for AI agents that act with real money and data: signed mandates, a check on every action, and a log that cannot be rewritten.",
      "projects": [
        "aurvane"
      ]
    }
  ]
}
