static makeMetricComputationDataInput(artifacts, context) {
    const trace = artifacts.Trace ?? artifacts.traces[Audit.DEFAULT_PASS];
    const devtoolsLog = artifacts.DevtoolsLog ?? artifacts.devtoolsLogs[Audit.DEFAULT_PASS];
    const gatherContext = artifacts.GatherContext;
    const {URL, SourceMaps} = artifacts;
    // eslint-disable-next-line max-len
    return {trace, devtoolsLog, gatherContext, settings: context.settings, URL, SourceMaps, simulator: null};
  }
@param {LH.Artifacts} artifacts
@param {LH.Audit.Context} context
@returns {LH.Artifacts.MetricComputationDataInput}