|
2 | 2 | "cells": [ |
3 | 3 | { |
4 | 4 | "cell_type": "markdown", |
5 | | - "id": "3c9820f22485", |
| 5 | + "id": "f82b34b76f89", |
6 | 6 | "metadata": {}, |
7 | 7 | "source": [ |
8 | 8 | "# Verification Ledger\n", |
|
27 | 27 | }, |
28 | 28 | { |
29 | 29 | "cell_type": "markdown", |
30 | | - "id": "2187d7951a8b", |
| 30 | + "id": "53d3bc94943a", |
31 | 31 | "metadata": {}, |
32 | 32 | "source": [ |
33 | 33 | "## Setup\n", |
|
38 | 38 | { |
39 | 39 | "cell_type": "code", |
40 | 40 | "execution_count": null, |
41 | | - "id": "db51ae3573d5", |
| 41 | + "id": "eeb12cf50bac", |
42 | 42 | "metadata": {}, |
43 | 43 | "outputs": [], |
44 | 44 | "source": [ |
|
82 | 82 | { |
83 | 83 | "cell_type": "code", |
84 | 84 | "execution_count": null, |
85 | | - "id": "ebcddfc6b315", |
| 85 | + "id": "cb71061e51f9", |
86 | 86 | "metadata": {}, |
87 | 87 | "outputs": [], |
88 | 88 | "source": [ |
|
223 | 223 | }, |
224 | 224 | { |
225 | 225 | "cell_type": "markdown", |
226 | | - "id": "5655d716732b", |
| 226 | + "id": "7571f58d6eb1", |
227 | 227 | "metadata": {}, |
228 | 228 | "source": [ |
229 | 229 | "## Master scorecard\n", |
|
247 | 247 | { |
248 | 248 | "cell_type": "code", |
249 | 249 | "execution_count": null, |
250 | | - "id": "1bf6a798f298", |
| 250 | + "id": "09af287eb189", |
251 | 251 | "metadata": {}, |
252 | 252 | "outputs": [], |
253 | 253 | "source": [ |
|
303 | 303 | { |
304 | 304 | "cell_type": "code", |
305 | 305 | "execution_count": null, |
306 | | - "id": "8b4613d534df", |
| 306 | + "id": "2f7b631c12d1", |
307 | 307 | "metadata": {}, |
308 | 308 | "outputs": [], |
309 | 309 | "source": [ |
|
381 | 381 | }, |
382 | 382 | { |
383 | 383 | "cell_type": "markdown", |
384 | | - "id": "fc70c2f3000a", |
| 384 | + "id": "76e9d6ce3a37", |
385 | 385 | "metadata": {}, |
386 | 386 | "source": [ |
387 | 387 | "## §T.1 Arena — CP³ spectral data\n", |
|
395 | 395 | { |
396 | 396 | "cell_type": "code", |
397 | 397 | "execution_count": null, |
398 | | - "id": "c44a6ba81eed", |
| 398 | + "id": "60b778868901", |
399 | 399 | "metadata": {}, |
400 | 400 | "outputs": [], |
401 | 401 | "source": [ |
|
430 | 430 | }, |
431 | 431 | { |
432 | 432 | "cell_type": "markdown", |
433 | | - "id": "b905792e15b2", |
| 433 | + "id": "8c8f69787e31", |
434 | 434 | "metadata": {}, |
435 | 435 | "source": [ |
436 | 436 | "## §T.2 Operator and Variational Principle\n", |
|
444 | 444 | { |
445 | 445 | "cell_type": "code", |
446 | 446 | "execution_count": null, |
447 | | - "id": "41e5629429ba", |
| 447 | + "id": "651ab5a17ba9", |
448 | 448 | "metadata": {}, |
449 | 449 | "outputs": [], |
450 | 450 | "source": [ |
|
483 | 483 | }, |
484 | 484 | { |
485 | 485 | "cell_type": "markdown", |
486 | | - "id": "e0420b7d2870", |
| 486 | + "id": "3d5a02fe9bc8", |
487 | 487 | "metadata": {}, |
488 | 488 | "source": [ |
489 | 489 | "## §T.4 Fact Types and EWSB\n", |
|
497 | 497 | { |
498 | 498 | "cell_type": "code", |
499 | 499 | "execution_count": null, |
500 | | - "id": "924fd7a85f82", |
| 500 | + "id": "b4cb01196a0c", |
501 | 501 | "metadata": {}, |
502 | 502 | "outputs": [], |
503 | 503 | "source": [ |
|
565 | 565 | }, |
566 | 566 | { |
567 | 567 | "cell_type": "markdown", |
568 | | - "id": "62a1ef78cc43", |
| 568 | + "id": "18f185e433d7", |
569 | 569 | "metadata": {}, |
570 | 570 | "source": [ |
571 | 571 | "## §T.5 Three Generations\n", |
|
578 | 578 | { |
579 | 579 | "cell_type": "code", |
580 | 580 | "execution_count": null, |
581 | | - "id": "7824bf6dfe5b", |
| 581 | + "id": "020f73983a25", |
582 | 582 | "metadata": {}, |
583 | 583 | "outputs": [], |
584 | 584 | "source": [ |
|
607 | 607 | }, |
608 | 608 | { |
609 | 609 | "cell_type": "markdown", |
610 | | - "id": "1a5700f696c0", |
| 610 | + "id": "d1f545b8cc44", |
611 | 611 | "metadata": {}, |
612 | 612 | "source": [ |
613 | 613 | "## §T.6 Information and Thermodynamics\n", |
|
619 | 619 | { |
620 | 620 | "cell_type": "code", |
621 | 621 | "execution_count": null, |
622 | | - "id": "23d8c6006f7c", |
| 622 | + "id": "282d52b0c622", |
623 | 623 | "metadata": {}, |
624 | 624 | "outputs": [], |
625 | 625 | "source": [ |
|
644 | 644 | }, |
645 | 645 | { |
646 | 646 | "cell_type": "markdown", |
647 | | - "id": "a30da919cff4", |
| 647 | + "id": "7d77622e08f2", |
648 | 648 | "metadata": {}, |
649 | 649 | "source": [ |
650 | 650 | "## §T.7 Energy Hierarchy\n", |
|
661 | 661 | { |
662 | 662 | "cell_type": "code", |
663 | 663 | "execution_count": null, |
664 | | - "id": "7233e32d6bfc", |
| 664 | + "id": "957471edfbcd", |
665 | 665 | "metadata": {}, |
666 | 666 | "outputs": [], |
667 | 667 | "source": [ |
|
772 | 772 | }, |
773 | 773 | { |
774 | 774 | "cell_type": "markdown", |
775 | | - "id": "7bf5ebc04636", |
| 775 | + "id": "23c5cdb88e26", |
776 | 776 | "metadata": {}, |
777 | 777 | "source": [ |
778 | 778 | "## §T.8 Six Bridges\n", |
|
787 | 787 | { |
788 | 788 | "cell_type": "code", |
789 | 789 | "execution_count": null, |
790 | | - "id": "03a21bd6998f", |
| 790 | + "id": "c0395224a005", |
791 | 791 | "metadata": {}, |
792 | 792 | "outputs": [], |
793 | 793 | "source": [ |
|
857 | 857 | }, |
858 | 858 | { |
859 | 859 | "cell_type": "markdown", |
860 | | - "id": "4b23bc2357da", |
| 860 | + "id": "cc7b8de3901d", |
861 | 861 | "metadata": {}, |
862 | 862 | "source": [ |
863 | 863 | "## §T.9 Particle Masses\n", |
|
871 | 871 | { |
872 | 872 | "cell_type": "code", |
873 | 873 | "execution_count": null, |
874 | | - "id": "7fd9111e2695", |
| 874 | + "id": "56424a8736d2", |
875 | 875 | "metadata": {}, |
876 | 876 | "outputs": [], |
877 | 877 | "source": [ |
|
960 | 960 | }, |
961 | 961 | { |
962 | 962 | "cell_type": "markdown", |
963 | | - "id": "a3997c3c4833", |
| 963 | + "id": "98c9637ce071", |
964 | 964 | "metadata": {}, |
965 | 965 | "source": [ |
966 | 966 | "## §T.10 Mixing and CP\n", |
|
973 | 973 | { |
974 | 974 | "cell_type": "code", |
975 | 975 | "execution_count": null, |
976 | | - "id": "97d3778c9850", |
| 976 | + "id": "e0ba4192831a", |
977 | 977 | "metadata": {}, |
978 | 978 | "outputs": [], |
979 | 979 | "source": [ |
|
1113 | 1113 | }, |
1114 | 1114 | { |
1115 | 1115 | "cell_type": "markdown", |
1116 | | - "id": "f0afb0aa818a", |
| 1116 | + "id": "cc4d6bab7206", |
1117 | 1117 | "metadata": {}, |
1118 | 1118 | "source": [ |
1119 | 1119 | "## §T.11 Fine-Structure Constant\n", |
|
1131 | 1131 | { |
1132 | 1132 | "cell_type": "code", |
1133 | 1133 | "execution_count": null, |
1134 | | - "id": "d45dc0e02ed7", |
| 1134 | + "id": "4068f008ce41", |
1135 | 1135 | "metadata": {}, |
1136 | 1136 | "outputs": [], |
1137 | 1137 | "source": [ |
|
1241 | 1241 | { |
1242 | 1242 | "cell_type": "code", |
1243 | 1243 | "execution_count": null, |
1244 | | - "id": "2d301cc944ea", |
| 1244 | + "id": "3a499c0c090c", |
1245 | 1245 | "metadata": {}, |
1246 | 1246 | "outputs": [], |
1247 | 1247 | "source": [ |
|
1281 | 1281 | { |
1282 | 1282 | "cell_type": "code", |
1283 | 1283 | "execution_count": null, |
1284 | | - "id": "113bcc24b45c", |
| 1284 | + "id": "5169ff4eae0f", |
1285 | 1285 | "metadata": {}, |
1286 | 1286 | "outputs": [], |
1287 | 1287 | "source": [ |
|
1360 | 1360 | { |
1361 | 1361 | "cell_type": "code", |
1362 | 1362 | "execution_count": null, |
1363 | | - "id": "cfc60b1b678b", |
| 1363 | + "id": "b6587aab9099", |
1364 | 1364 | "metadata": {}, |
1365 | 1365 | "outputs": [], |
1366 | 1366 | "source": [ |
|
1457 | 1457 | }, |
1458 | 1458 | { |
1459 | 1459 | "cell_type": "markdown", |
1460 | | - "id": "7d1c6f795e89", |
| 1460 | + "id": "e2fff750aab4", |
1461 | 1461 | "metadata": {}, |
1462 | 1462 | "source": [ |
1463 | 1463 | "## §T.12 Gravity and Cosmology\n", |
|
1474 | 1474 | { |
1475 | 1475 | "cell_type": "code", |
1476 | 1476 | "execution_count": null, |
1477 | | - "id": "18777f1947db", |
| 1477 | + "id": "d069d4e35293", |
1478 | 1478 | "metadata": {}, |
1479 | 1479 | "outputs": [], |
1480 | 1480 | "source": [ |
|
1660 | 1660 | { |
1661 | 1661 | "cell_type": "code", |
1662 | 1662 | "execution_count": null, |
1663 | | - "id": "92e0692f5001", |
| 1663 | + "id": "73c8eea88878", |
1664 | 1664 | "metadata": {}, |
1665 | 1665 | "outputs": [], |
1666 | 1666 | "source": [ |
|
1702 | 1702 | }, |
1703 | 1703 | { |
1704 | 1704 | "cell_type": "markdown", |
1705 | | - "id": "0f5572104b13", |
| 1705 | + "id": "2599895226b9", |
1706 | 1706 | "metadata": {}, |
1707 | 1707 | "source": [ |
1708 | 1708 | "## §T.13 Consciousness Numerics\n", |
|
1717 | 1717 | { |
1718 | 1718 | "cell_type": "code", |
1719 | 1719 | "execution_count": null, |
1720 | | - "id": "20d54d3b758e", |
| 1720 | + "id": "7281903434aa", |
1721 | 1721 | "metadata": {}, |
1722 | 1722 | "outputs": [], |
1723 | 1723 | "source": [ |
|
1765 | 1765 | }, |
1766 | 1766 | { |
1767 | 1767 | "cell_type": "markdown", |
1768 | | - "id": "814588d1cea6", |
| 1768 | + "id": "29261f13f8d1", |
1769 | 1769 | "metadata": {}, |
1770 | 1770 | "source": [ |
1771 | 1771 | "## Package self-consistency suite\n", |
1772 | 1772 | "\n", |
1773 | | - "Click to run the 42-check self-consistency suite. The same suite runs in CI on\n", |
1774 | | - "every commit and via `python -m ppm.verify` locally; this button is a\n", |
1775 | | - "convenience for inspecting it interactively. On constrained shared\n", |
1776 | | - "infrastructure the run may be slow or memory-bound — skip if so.\n", |
1777 | | - "\n", |
1778 | | - "Output is grouped by sector (geometric constants, instanton, gauge,\n", |
1779 | | - "cosmology, quantum dynamics, active inference, Kähler spectrum, …) with a\n", |
1780 | | - "one-line description of what each sector tests and the per-check status\n", |
1781 | | - "and percent deviation.\n" |
| 1773 | + "The 42-check self-consistency suite. The same suite runs in CI on every\n", |
| 1774 | + "commit and via `python -m ppm.verify` locally; this button is a convenience\n", |
| 1775 | + "for inspecting it interactively. Output is grouped by sector (geometric\n", |
| 1776 | + "constants, instanton, gauge, cosmology, quantum dynamics, active inference,\n", |
| 1777 | + "Kähler spectrum, …) with a one-line description of what each sector tests\n", |
| 1778 | + "and the per-check status and percent deviation.\n" |
1782 | 1779 | ] |
1783 | 1780 | }, |
1784 | 1781 | { |
1785 | 1782 | "cell_type": "code", |
1786 | 1783 | "execution_count": null, |
1787 | | - "id": "2876779ef67b", |
| 1784 | + "id": "55025ff7b710", |
1788 | 1785 | "metadata": {}, |
1789 | 1786 | "outputs": [], |
1790 | 1787 | "source": [ |
|
1965 | 1962 | " return ''.join(parts)\n", |
1966 | 1963 | "\n", |
1967 | 1964 | "\n", |
| 1965 | + "_VERIFY_WARNING_HTML = (\n", |
| 1966 | + " '<div style=\"font-family:\\'SF Pro Display\\',\\'Helvetica Neue\\','\n", |
| 1967 | + " '\\'Helvetica\\',sans-serif;font-size:13px;line-height:1.5;'\n", |
| 1968 | + " 'background:#fff7e6;border-left:3px solid #c87a00;color:#5a3a00;'\n", |
| 1969 | + " 'padding:9px 14px;border-radius:4px;margin-bottom:10px;'\n", |
| 1970 | + " 'max-width:560px;\">'\n", |
| 1971 | + " '<b>Heads-up — heavy compute.</b> The suite runs Lindblad evolutions, '\n", |
| 1972 | + " 'eigenvalue decompositions, and convergence simulations. ~15-20s on a '\n", |
| 1973 | + " 'workstation, similar on the Fly.io deployment; on Binder\\'s free tier '\n", |
| 1974 | + " 'it reliably exhausts memory and locks the kernel. Run locally, on Fly, '\n", |
| 1975 | + " 'or rely on CI logs if you don\\'t need to see it interactively here.'\n", |
| 1976 | + " '</div>')\n", |
| 1977 | + "\n", |
1968 | 1978 | "_verify_btn = _VerifyButton(\n", |
1969 | 1979 | " description='Run self-consistency suite',\n", |
1970 | | - " tooltip='Runs 42 internal checks. ~17s locally, 30-60s on Binder.',\n", |
| 1980 | + " tooltip='Runs 42 internal checks. ~17s locally; may OOM on Binder.',\n", |
1971 | 1981 | " button_style='primary',\n", |
1972 | 1982 | " layout={'width': '320px'})\n", |
1973 | 1983 | "_verify_out = _VerifyOutput()\n", |
| 1984 | + "_verify_display(_VerifyHTML(_VERIFY_WARNING_HTML))\n", |
1974 | 1985 | "\n", |
1975 | 1986 | "def _on_verify_click(_btn):\n", |
1976 | 1987 | " with _verify_out:\n", |
|
1997 | 2008 | }, |
1998 | 2009 | { |
1999 | 2010 | "cell_type": "markdown", |
2000 | | - "id": "3531934a4d8c", |
| 2011 | + "id": "8a3954003d9f", |
2001 | 2012 | "metadata": {}, |
2002 | 2013 | "source": [ |
2003 | 2014 | "## Closing summary\n", |
|
2008 | 2019 | { |
2009 | 2020 | "cell_type": "code", |
2010 | 2021 | "execution_count": null, |
2011 | | - "id": "677d571c61ff", |
| 2022 | + "id": "dc0af4629204", |
2012 | 2023 | "metadata": {}, |
2013 | 2024 | "outputs": [], |
2014 | 2025 | "source": [ |
|
0 commit comments