def _trans_cost(self, target):
    if self._trans_cost_cache not in target:
      dep_sum = sum(self._trans_cost(dep) for dep in target.dependencies)
      self._trans_cost_cache[target] = self._cost(target) + dep_sum
    return self._trans_cost_cache[target]
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/backend/jvm/tasks/jvm_dependency_usage.py/DependencyUsageGraph._trans_cost/swapped operands of `not in`