"""序列化与 JSON 清洗。""" from services.runtime import ( # noqa: F401 convert_direction, format_time_safely, serialize_chan_macd_data, clean_dataframe_for_json, get_uncompleted_seg_list, )