AutoMovie API
    Preparing search index...

    Type Alias IAutoMovieAnalysisOutcome

    IAutoMovieAnalysisOutcome:
        | {
            metrics: IAutoMovieAnalysisMetric[];
            samples: IAutoMovieAnalysisSample[];
            status: "solved";
            warnings: IAutoMovieAnalysisWarning[];
        }
        | { reason: string; remedy: string; status: "unsupported" }
        | { reason: string; remedy: string; status: "not-run" }

    What one analysis run actually produced.

    Only the solved arm may carry results. unsupported means the host has no adapter for what was asked; not-run means an adapter exists but its input was not supplied. Both carry a reason and a remedy and have no field for a metric, a sample or a warning, so an absent analysis cannot be dressed as a clean one.

    The shape matches IAutoMovieDesignAnalysisOutcome with observed renamed to solved, because a solver computes rather than observes; the two negative arms keep the same spelling in both contracts.

    Type Declaration

    • {
          metrics: IAutoMovieAnalysisMetric[];
          samples: IAutoMovieAnalysisSample[];
          status: "solved";
          warnings: IAutoMovieAnalysisWarning[];
      }
      • metrics: IAutoMovieAnalysisMetric[]

        At least one metric, keys unique; each one measured or explicitly gapped.

      • samples: IAutoMovieAnalysisSample[]

        Spatial field, possibly empty and at most the engine's AUTOMOVIE_ANALYSIS_MAX_SAMPLES (4096); every key must name a measured metric.

      • status: "solved"

        The solver ran and produced results.

      • warnings: IAutoMovieAnalysisWarning[]

        Non-fatal observations about the inputs.

    • { reason: string; remedy: string; status: "unsupported" }
      • reason: string

        Non-blank statement of what is missing.

      • remedy: string

        Non-blank statement of what would make it possible.

      • status: "unsupported"

        This host cannot perform the analysis at all.

    • { reason: string; remedy: string; status: "not-run" }
      • reason: string

        Non-blank statement of why it was skipped.

      • remedy: string

        Non-blank statement of the input that would let it run.

      • status: "not-run"

        An adapter exists but was not executed.