docs: def build(installation: 'BugZoo',
                container: Container
                ) -> 'CoverageExtractor':
          """
          Constructs a CoverageExtractor for a given container using the coverage
          instructions provided by its accompanying bug description.
          """
          bug = installation.bugs[container.bug]  # type: Bug
          instructions = bug.instructions_coverage
          if instructions is None:
              raise exceptions.NoCoverageInstructions
  
          name = instructions.__class__.registered_under_name()
          extractor_cls = _NAME_TO_EXTRACTOR[name]
          builder = extractor_cls.from_instructions
          extractor = builder(installation, container, instructions)
          return extractor