feat(notebooks): scramble output UUIDs only on CI by default #67
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.35) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.35 · 161 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.304
Real PR Conversation Timeline
1 comments
"Review active on #67"
general
weight: 0.35
stefanv
Closes #61.
What changes
nominal_scramble_output_idsnow defaults to whether theCIenvironment variable is set (anything other than empty,0orfalse), instead of alwaysTrue.CI=true) scrambles UUIDs in executed notebook outputs, as before.nominal_scramble_output_idsinconf.pystill overrides the default either way.The default fails safe for publishing: a build that sets
CIscrambles. The README row for the option now says a locally built site holds real IDs and must not be deployed, and that changing the value needs a full rebuild (-E), since the option rebuildsenv.Not in this PR
Two of the issue's open questions are left for a decision:
Trueas the default;Tests
Added to
tests/test_output_ids.py: the default underCIset totrue,1,yes, and unset, empty,0,false, and thatconf.pyoverrides it both ways. The existing scrambling tests are unchanged.🤖 Generated with Claude Code