pyboxbuilder.project.inventory.InventoryVerification

class pyboxbuilder.project.inventory.InventoryVerification(declared: dict[str, int], allocated: dict[str, int], missing: dict[str, int], over_allocated: dict[str, int], unknown: dict[str, int], missing_svgs: tuple[str, ...] = (), fit_warnings: tuple[str, ...] = ())[source]

Bases: object

Result of verifying declared game components against boxes, boards, SVGs, and physical fit.

format_errors() → str[source]

Return a human-readable summary of all inventory mismatches.

property is_valid : bool

True when counts, SVG shapes, and physical fit checks all pass.