{
  "cells": [
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "# Urd Atlas sample workflow\n",
        "This notebook loads public sample artifacts and extracts regime, confidence, and driver context."
      ]
    },
    {
      "cell_type": "code",
      "execution_count": null,
      "metadata": {},
      "outputs": [],
      "source": [
        "import json, pathlib\n",
        "base = pathlib.Path('sample-pack')\n",
        "files = [\n",
        "    base / 'ethereum/2026-03-31/meta.json',\n",
        "    base / 'arbitrum/2026-03-25/meta.json',\n",
        "    base / 'ethereum/2025-04-21/meta.json',\n",
        "]\n",
        "rows = [json.loads(p.read_text()) for p in files]\n",
        "summary = [{\n",
        "    'chain': r['chain'],\n",
        "    'date': r['date'],\n",
        "    'label': r['status']['label'],\n",
        "    'confidence': r['confidence']['confidence_score'],\n",
        "    'updated_through': r['updated_through'],\n",
        "    'determinism_hash': r.get('regime', {}).get('determinism_hash'),\n",
        "} for r in rows]\n",
        "summary"
      ]
    }
  ],
  "metadata": {
    "kernelspec": {
      "display_name": "Python 3",
      "language": "python",
      "name": "python3"
    },
    "language_info": {
      "name": "python",
      "version": "3.11"
    }
  },
  "nbformat": 4,
  "nbformat_minor": 5
}