For example, `perform_preprocess` works fine in `_step_loop`, but it has some problems working independently as a function/module. Specifically, the params["data_of_interest_init"] and params["data_of_interest_end"] need to be Timestamp, not str.