Archive Data Quality Audit
archive_auditAssess data quality of any named archive. Returns health score, grade, issue counts, affected colour names, and prioritised fix list.
Instructions
Run a data quality audit on any named archive. Returns entry count, health score 0-100, grade A-D, and issue counts for: empty colour_notes, empty primary_source, weak notes, duplicate names, duplicate hex values, and malformed hex codes. Also returns the first 20 affected colour names per issue type and a prioritised fix list. No Claude call — pure archive data analysis. Use before building new archive content to establish a baseline, or after a batch import to verify data quality.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archive | Yes | Archive name to audit e.g. 'British', 'Tingry', 'Byzantine' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| result | No | ||
| error | No |