Files
cs249r_book/interviews/paper/macros.tex
Vijay Janapa Reddi 8e052b0a2b fix(paper): refresh macros to current corpus + compute validated% from data
The paper's auto-generated macros.tex was last regenerated when the v1.0.0
snapshot held 9,446 published questions; the post-tag audit work has since
brought the published count to 9,521 (cloud +49, edge +14, mobile +2,
tinyml +6, global +4) and consolidated topics from 89 to 87. Re-run
`vault export-paper 1.0.0` so paper and site agree by construction.

While here, fix a bug in the export-paper command itself: \numvalidated
was hardcoded to 100.0\% regardless of the actual flag distribution. The
flag isn't compiled into vault.db, so we read it back from the source
YAMLs and emit the real percentage. Current state is 92.4\% (8,794 of
9,521 published questions carry validated=true). The drift came from
new questions added without the flag set; the conservative fallback if
the YAML scan fails preserves the legacy 100.0\% so the build never
breaks.

The macros change is the meaningful diff. release.json for 1.0.0 is
left untouched to preserve the historical release metadata; vault.db is
gitignored anyway so contributors rebuild it locally via `vault build`
before paper renders.
2026-05-05 10:24:58 -04:00

89 lines
3.4 KiB
TeX

% ═══════════════════════════════════════════════════════════════
% AUTO-GENERATED by `vault export-paper 1.0.0` — do not edit.
% Driven by SQL over vault.db so paper and site agree by construction.
% ═══════════════════════════════════════════════════════════════
% ── New \staffml* namespace (v2+) ──────────────────────────────
\newcommand{\staffmlReleaseId}{1.0.0}
\newcommand{\staffmlReleaseHash}{ae6cd659cc07ca36}
\newcommand{\staffmlTotalQuestions}{9{,}521}
\newcommand{\staffmlTopicCount}{87}
\newcommand{\staffmlChainCount}{843}
% ── Legacy \num* namespace (compatibility with existing paper.tex) ──
\newcommand{\numquestions}{9{,}521}
\newcommand{\numpublished}{9{,}521}
\newcommand{\numtracks}{5}
\newcommand{\numlevels}{6}
\newcommand{\numtopics}{87}
\newcommand{\numareas}{13}
\newcommand{\numzones}{11}
\newcommand{\numedges}{57}
\newcommand{\numchains}{843}
\newcommand{\numfullchains}{106}
\newcommand{\numinvariants}{26}
\newcommand{\numvalidated}{92.4\%}
\newcommand{\nummatherrors}{0}
% Track distribution
\newcommand{\trackCloudCount}{4{,}077}
\newcommand{\trackCloudPct}{42.8}
\newcommand{\trackEdgeCount}{2{,}093}
\newcommand{\trackEdgePct}{22.0}
\newcommand{\trackMobileCount}{1{,}826}
\newcommand{\trackMobilePct}{19.2}
\newcommand{\trackTinymlCount}{1{,}208}
\newcommand{\trackTinymlPct}{12.7}
\newcommand{\trackGlobalCount}{317}
\newcommand{\trackGlobalPct}{3.3}
\newcommand{\numapplicablepairs}{233}
\newcommand{\numexcludedpairs}{83}
\newcommand{\numapplicablecells}{2{,}563}
% Chain depth distribution
\newcommand{\numchainsTwo}{147}
\newcommand{\numchainsThree}{355}
\newcommand{\numchainsFour}{234}
\newcommand{\numchainsFive}{82}
\newcommand{\numchainsSix}{24}
\newcommand{\numchainsQuestions}{2{,}849}
\newcommand{\numchainsCoveragePct}{29.9\%}
% Per-zone counts (added v0.1.0 release tooling, 2026-04-25).
% Replaces hand-typed counts in the Zone Distribution prose.
\newcommand{\zoneAnalyzeCount}{794}
\newcommand{\zoneDesignCount}{780}
\newcommand{\zoneDiagnosisCount}{1{,}536}
\newcommand{\zoneEvaluationCount}{1{,}088}
\newcommand{\zoneFluencyCount}{1{,}157}
\newcommand{\zoneImplementCount}{677}
\newcommand{\zoneMasteryCount}{733}
\newcommand{\zoneOptimizationCount}{691}
\newcommand{\zoneRealizationCount}{439}
\newcommand{\zoneRecallCount}{901}
\newcommand{\zoneSpecificationCount}{725}
\newcommand{\zonesBelowFloor}{realization}
\newcommand{\zonesBelowFloorCount}{1}
\newcommand{\zoneRankOneName}{diagnosis}
\newcommand{\zoneRankOneCount}{1{,}536}
\newcommand{\zoneRankTwoName}{fluency}
\newcommand{\zoneRankTwoCount}{1{,}157}
\newcommand{\zoneRankThreeName}{evaluation}
\newcommand{\zoneRankThreeCount}{1{,}088}
% Bloom-taxonomy rollup (derived from zone distribution)
\newcommand{\bloomAnalyzeCount}{2{,}330}
\newcommand{\bloomAnalyzePct}{24.5\%}
\newcommand{\bloomEvaluateCount}{1{,}088}
\newcommand{\bloomEvaluatePct}{11.4\%}
\newcommand{\bloomApplyCount}{1{,}402}
\newcommand{\bloomApplyPct}{14.7\%}
\newcommand{\bloomCreateCount}{780}
\newcommand{\bloomCreatePct}{8.2\%}
\newcommand{\bloomUnderstandCount}{1{,}157}
\newcommand{\bloomUnderstandPct}{12.2\%}
\newcommand{\bloomRememberCount}{901}
\newcommand{\bloomRememberPct}{9.5\%}