def METHOD_NAME(self, payee: str) -> list[str]:
    """Rank accounts for the given payee."""
    account_ranker = ExponentialDecayRanker(self.accounts)
    transactions = self.ledger.all_entries_by_type.Transaction
    for txn in transactions:
        if txn.payee == payee:
            for posting in txn.postings:
                account_ranker.update(posting.account, txn.date)
    return account_ranker.sort()