def get_commits_before_date(self, commits, date):
        before_date_object = datetime.strptime(date, "%Y-%m-%d")

        selected_commits = []
        for commit in commits:
            committed_date_object = datetime.fromtimestamp(commit.committed_date)
            if before_date_object <= committed_date_object:
                selected_commits.append(commit)

        return selected_commits
dataset/ETHPy150Open SOM-Research/Gitana/gitquerier.py/GitQuerier.get_commits_before_date/swapped operands of `<=`