# bva-note: the budget-vs-actual note as a business reader receives it.
# Made by: python3 tools/render_exhibits.py bva-note
# Commands run from the repo root unless a `$ cd` line says otherwise, each with
# SOURCE_DATE_EPOCH=315532800 so the PDFs carry a fixed date.
# Source: runs/20261004-2356-repeat-variance-bridge-budget-vs-actual-fy25-claude-sonnet-5-5/budget-vs-actual-fy25/claude/r1/output/bva-note.md
# Source sha256: acc05d48521c4ef07f589b51e37558e02e1669129e0fde675e4f6a8f161cb287
# Inputs (sha256  path):
#   acc05d48521c4ef07f589b51e37558e02e1669129e0fde675e4f6a8f161cb287  runs/20261004-2356-repeat-variance-bridge-budget-vs-actual-fy25-claude-sonnet-5-5/budget-vs-actual-fy25/claude/r1/output/bva-note.md
#   1ce70497c64ee5aba1414d819794077cb3115075a930347f3af7624fd4418475  runs/20261004-2356-repeat-variance-bridge-budget-vs-actual-fy25-claude-sonnet-5-5/budget-vs-actual-fy25/claude/r1/result.json
#   e38b69aacead161722b74031ecf22151347498b690be2c82123d442df33eae36  examples/renders/note-fragment.lua
# check: runs/20261004-2356-repeat-variance-bridge-budget-vs-actual-fy25-claude-sonnet-5-5/budget-vs-actual-fy25/claude/r1/result.json: passed, and so did each of its 9 checks (script_identity, independent_identity, golden, contract, provenance, binding, rendered_sections_match, sentinels, pack_unchanged)
$ sha256sum \
>   runs/20261004-2356-repeat-variance-bridge-budget-vs-actual-fy25-claude-sonnet-5-5/budget-vs-actual-fy25/claude/r1/output/bva-note.md
acc05d48521c4ef07f589b51e37558e02e1669129e0fde675e4f6a8f161cb287  runs/20261004-2356-repeat-variance-bridge-budget-vs-actual-fy25-claude-sonnet-5-5/budget-vs-actual-fy25/claude/r1/output/bva-note.md
$ pandoc --from=gfm-tex_math_dollars+hard_line_breaks --to=latex --wrap=none \
>   --lua-filter=examples/renders/note-fragment.lua -M exhibit=bva-note \
>   -M sha256=acc05d48521c4ef07f589b51e37558e02e1669129e0fde675e4f6a8f161cb287 \
>   -M label=bva-note.md -M size=scriptsize --output=examples/renders/bva-note/bva-note.tex \
>   runs/20261004-2356-repeat-variance-bridge-budget-vs-actual-fy25-claude-sonnet-5-5/budget-vs-actual-fy25/claude/r1/output/bva-note.md
# check: the fragment carries the source's 250 words and figures in order, and no others
# examples/renders/bva-note/proof.tex (written by the tool) sets bva-note.tex in the book's preamble
$ mkdir -p build/renders/bva-note
$ cd build/renders/bva-note
$ xelatex -interaction=nonstopmode -halt-on-error ../../../examples/renders/bva-note/proof.tex
$ cp proof.pdf ../../../examples/renders/bva-note/proof.pdf
# proof.pdf: 1 page(s); the fragment is 392.9pt tall on a 494.0pt text block, leaving room for a caption of 6.1 lines; log build/renders/bva-note/proof.log
$ cd ../../..
