Result of inspectSceneModel — the full set of findings across every inspection that ran. Mirrors the shape of an IDE's "Problems" panel: a flat list, plus per-severity convenience accessors and a per-code grouping (one issue list per code) that downstream applyFixes dispatches against.

interface InspectionReport {
    byCode: Map<string, inspect.sceneModel.Issue[]>;
    errors: inspect.sceneModel.Issue[];
    info: inspect.sceneModel.Issue[];
    issues: inspect.sceneModel.Issue[];
    warnings: inspect.sceneModel.Issue[];
}

Properties

byCode: Map<string, inspect.sceneModel.Issue[]>

Issues bucketed by Issue.code. Each bucket is itself a list of issues that fired the same rule. Fix strategies iterate one bucket at a time — typically a strategy declares the codes it handles and processes every issue in those buckets.

Iteration order matches the insertion order of the first occurrence of each code, so reports read top-to-bottom in the same order the inspections fired.

Subset with severity: "error". Blocks downstream optimisation.

Subset with severity: "info". Informational.

All issues, in detection order, regardless of severity.

Subset with severity: "warning". Advisory.