docs(cookbook-site): render hardware facets consistently on recipe cards #369
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 198 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.317
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #369"
general
weight: 0.35
yeahdongcn
Two recipe cards look wrong on the published site, for two related reasons.
GLM-5.3 FP8 - the badge collapses
2 nodes, 8x S5000 per nodeto16x S5000, but the card footnote printed the raw facet, so the same card saidboth
16x S5000and2 nodes, 8x S5000 per node.DiffusionGemma-26B-A4B-it - its
At a glancetable put a whole sentence inHardwareand had noTensor parallelismrow, so the card showed1x S5000 (TP1), MUSA 5.2.0, driver 5.2.0-serveras a badge, leaked the inlinemarkdown as literal backticks in the footnote, and left
data-tpempty, whichalso hid it from the TP filter.
Changes:
tools/cookbook-site/build_site.py: onehardware_label()helper now feeds thebadge, the footnote and the
data-gpusfacet. It strips inline markdown first andcollapses only an exact
N nodes, Mx UNIT per nodelayout, so a value such as2 nodes, 16x S5000 totalis never multiplied into 32 GPUs.docs/cookbook/diffusiongemma/diffusiongemma-26b-a4b-it.md:Hardwarebecomes1x S5000,Tensor parallelism | TP1is added, and the "recipe value" caveatmoves into prose.
Result, verified by a local build against the published cards: exactly two cards
change, the other 36 are byte-identical, and no
data-gpusvalue moves.| Card | footnote before | after |
|---|---|---|
| GLM-5.3 FP8 |
2 nodes, 8x S5000 per node · TP8 · 16,384 tokens|16x S5000 · TP8 · 16,384 tokens|| DiffusionGemma |
1x S5000 (TP1), MUSA 5.2.0, driver5.2.0-server· 8,192 tokens (recipe value; the canvas is 256)|1x S5000 · TP1 · 8,192 tokens|