tools: port docsy-generate-conformance.py to Go #5438
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.36) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 203 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.318
Real PR Conversation Timeline
1 comments
"Review active on #5438"
general
weight: 0.35
yashrajshuklaaa
/kind cleanup
/area conformance-machinery
Adds tools/conformancetables, a Go + text/template port of hack/docsy-generate-conformance.py.
Adds a
make conformance-data-gotarget and includes the package inmake test. The Python script andconformance-datatarget are untouched so this PR doesn't change the site build.I plan to switch the target and remove the script (and the pandas/semver/tabulate installs) in a follow-up.
How I checked it
I generated pages from both tools for v1.0-v1.6 and compared them table by table (ignoring row/column order). Row counts match in every table. The only differences are 209 cells on the v1.0 page and 4 cells on v1.6 (airlock 5.1.0), explained below.
Differences from the Python output
modefield and I believe the NaN mode stops the row lookup from matching. Go shows ✅ for supported features.Deliberate choices
HTTPRoute 303R Status Codenaming quirk from the old regex is kept so this stays a pure port. Happy to fix it here or in a follow-up, whichever reviewers prefer.``
release-note
``NONE
/label ail/1