Class: Ucode::Models::Audit::Discrepancy

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Defined in:
lib/ucode/models/audit/discrepancy.rb

Overview

One cheap audit signal on an AuditReport.

Discrepancies are issues the audit noticed but that don’t fit neatly into a per-table summary (e.g. an OS/2 ulUnicodeRange bit set with zero cmap codepoints in that block). They’re the “you should look at this” list — actionable without being a hard error.

Constant Summary collapse

KIND_OS2_UNICODE_RANGE_BIT_WITHOUT_CMAP_CODEPOINTS =

Canonical ‘kind` values. New kinds = one constant here + one extractor check. Extractors MUST use these constants rather than hand-rolled strings.

"os2_unicode_range_bit_without_cmap_codepoints"
KIND_NAME_TABLE_BUG =
"name_table_bug"
KIND_METRICS_INCONSISTENT =
"metrics_inconsistent"