def add(self, name, score):
        current_score = self._tree.get(name, 0.0)
        if isinstance(current_score, float) and score > current_score:
            self._tree[name] = score
dataset/ETHPy150Open alecthomas/importmagic/importmagic/index.py/SymbolIndex.add/original