...v(p_ki_month, header=["month","ki_yes_blocks","ki_no_blocks","total_blocks"], rows=km_rows)

    # conv_summary.csv
    conv_rows = []
    for conv_id, cs in sorted(conv_stats.items(), key=lambda kv: kv[0]):
        blocks = cs["blocks"]
        ki_yes = cs["ki_yes"]
        ki_ratio = (ki_yes / blocks) if blocks else 0.0
        first_dt = cs["first_dt"].strftime("%Y-%m-%d %H:%M:%S") if cs["first_d...