This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from datetime import date, datetime, timedelta | |
from tqdm import tqdm | |
from functools import reduce | |
DAYS_OUT = 180 | |
def get_days_opened(clds: list[bool]) -> list[int]: | |
days_opened = [-1] * len(clds) | |
days_opened_cnt = 0 | |