The contents follow validateAutoMovieAnalysisRunContents: an absent
measurement must stay visibly absent, and a spatial sample may only field a
metric that produced a value. On top of that the digest is recomputed, so a
run whose outcome was edited after sealing fails here rather than being read
as a measurement.
Passing revision additionally asks whether the run is still about the
current design. A run that read an older revision is reported as stale: it
was a real measurement of a building that no longer exists.
Every violation is returned rather than thrown, with paths rooted at
$input: the contents first, then the digest, then staleness. The rules are
semantic: the run must already have the declared shape, because nested
fields such as solver.id are read without a guard, so a JSON value missing
one throws a TypeError instead of producing a violation.
Validate one analysis run as evidence.
The contents follow
validateAutoMovieAnalysisRunContents: an absent measurement must stay visibly absent, and a spatial sample may only field a metric that produced a value. On top of that the digest is recomputed, so a run whose outcome was edited after sealing fails here rather than being read as a measurement.Passing
revisionadditionally asks whether the run is still about the current design. A run that read an older revision is reported as stale: it was a real measurement of a building that no longer exists.Every violation is returned rather than thrown, with paths rooted at
$input: the contents first, then the digest, then staleness. The rules are semantic: the run must already have the declared shape, because nested fields such assolver.idare read without a guard, so a JSON value missing one throws aTypeErrorinstead of producing a violation.