ai_qc/backend/profiles/axa_policy_document.json
nickviljoen a46ba9fc71 Split AXA accessibility check into its own profile
Removed axa_pdf_accessibility from axa_policy_document (was 8 checks, now 7)
and created a new axa_accessibility profile that contains only that check.
Marked the new profile strict_grade: true so a single PDF/UA-1 rule failure
forces an unmistakable Fail badge on the report — mirrors how axes4 PAC is
used in practice (single-purpose, binary verdict).

Lets users run accessibility-only QC without sitting through the rest of
the policy-document checks, and removes weight from the policy-document
score that the accessibility check wasn't really earning (its 0/10 verdict
was dragging the overall grade in a way that obscured the content checks).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-10 11:15:46 +02:00

46 lines
1.6 KiB
JSON

{
"name": "AXA Policy Document",
"description": "Multi-page PDF QC for AXA Ireland policy documents. 7 deterministic checks: font inventory, phone inventory, bold-words enforcement, page numbering, print code, OMG versioning, print preflight. Runs in seconds with $0 LLM cost. Becomes compliance-driven once AXA supplies approved font list, bold-words dictionary, and approved phone numbers. Accessibility validation lives in the dedicated 'AXA Accessibility' profile.",
"mode": "document",
"checks": {
"axa_font_inventory": {
"weight": 1.0,
"enabled": true,
"scope": "document"
},
"axa_phone_inventory": {
"weight": 1.0,
"enabled": true,
"scope": "document"
},
"axa_bold_words_definitions": {
"weight": 2.0,
"enabled": true,
"scope": "document"
},
"axa_page_numbering": {
"weight": 1.0,
"enabled": true,
"scope": "document"
},
"axa_print_preflight": {
"weight": 1.0,
"enabled": true,
"scope": "document"
},
"axa_print_code": {
"weight": 1.0,
"enabled": true,
"scope": "targeted",
"scope_args": {"pages": "last"}
},
"axa_omg_versioning": {
"weight": 1.0,
"enabled": true,
"scope": "targeted",
"scope_args": {"pages": "last"}
}
},
"visibility": "client_specific",
"visible_to_clients": ["axa"]
}