Commit 3d8ae864 by zhouhaibao

fix(processor): 统一由conservation check追踪分摊差值

- 将total_input_fee和row_count累加提前至分摊逻辑之前,确保无论分摊成功与否都计入
- 移除多处直接累加unmatched['rent_utilities']的代码,改由conservation check统一追踪
- allocation_results为空时添加warning日志说明费用将由conservation check追踪
- 直接匹配中嘀加过滤后全空时设置ratio_applied=True,避免100%兜底硬塞给非嘀加行
- 园区店匹配失败、比例和为0、flow_ratio_list空等场景统一改为跳过并记录日志
- 避免费用在分摊路径和unmatched累加中被双算
1 parent 901fe3c7
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!