Attach Scorecards to capability versions
Stub
This How-to is a stub. Scorecards are planned as first-class registry metadata, but the storage/query surface is not yet fully implemented.
Goal
You will attach Scorecard evidence (evaluation outputs, metrics, provenance) to a NodeType version.
When to use this
- You want a capability catalog with quality evidence.
- You need traceability for promotion decisions.
Prerequisites
- Evaluations that produce durable
EvaluationResultartifacts - A Scorecard schema (metrics + evidence links + provenance)
Steps
- Aggregate evaluator outputs into a Scorecard record.
- Attach the Scorecard to the target
NodeTypeversion inNode Registry. - Ensure Scorecards are immutable/append-only (no silent edits).
Verify
- Scorecards can be retrieved when inspecting a
NodeTypeversion. - Evidence links resolve to durable artifacts.
Troubleshooting
- Evidence too large → store details as artifacts and link from the Scorecard.
- Missing provenance → record stack version + model profile + evaluator version.
- Schema drift → version the Scorecard schema explicitly.
Cleanup / Rollback
- Replace Scorecards only via an explicit decision record workflow.
Next steps
- How-to: Promotion workflow
- How-to: Turn evaluator outputs into a Scorecard entry