steps are the steps documented, in pipeline order; sections the document’s section titles; missing the pipeline steps before report that the record lacks; failed the documented steps whose gate failed. document and script are not in to_dict(): the record they come from holds everything in them.