<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def coverage(self, container: Container, tests: Optional[Iterable[TestCase]] = None, *, instrument: bool = True ) -> TestSuiteCoverage: """ Computes line coverage information over a provided set of tests for the program inside a given container. """

        extractor = self.coverage_extractor(container)
        if tests is None:
            bugs = self.__installation.bugs
            bug = bugs[container.bug]
            tests = bug.tests
        return extractor.run(tests, instrument=instrument)