Check the targets a production declares before any solver reads them.
Targets are the one input that can turn a correct measurement into a wrong
verdict, so they are refused at the door rather than negotiated later: a
blank key, a blank unit, a non-finite value, an unknown direction, or two
targets fighting over the same key are all authoring mistakes with no sane
interpretation.
Throws an Error naming the first offending target in list order. Whether a
key names a metric the study reports is not checked here;
warnAutoMovieAnalysisTargetKeys reports that after the metrics exist.
Check the targets a production declares before any solver reads them.
Targets are the one input that can turn a correct measurement into a wrong verdict, so they are refused at the door rather than negotiated later: a blank key, a blank unit, a non-finite value, an unknown direction, or two targets fighting over the same key are all authoring mistakes with no sane interpretation.
Throws an
Errornaming the first offending target in list order. Whether a key names a metric the study reports is not checked here;warnAutoMovieAnalysisTargetKeysreports that after the metrics exist.