def missing(self):
        installed = [item.split()[0].strip() for item in self.installed()]
        brewed = self.brew.ls()

        def brew_orphan(formula):
            # Temporary workaround to avoid bug with brew-pip.
            # https://github.com/msanders/cider/issues/25
            if formula.startswith("pip-"):
                return False
            uses = self.brew.uses(formula)
            return len(set(installed) & set(uses)) == 0

        return sorted(filter(brew_orphan, set(installed) - set(brewed)))
dataset/ETHPy150Open msanders/cider/cider/core.py/Cider.missing/swapped operands of `-`