MBG0903's picture
Create report.py
d27de7c verified
raw
history blame contribute delete
761 Bytes
def build_final_report(title, slotting, picking, insights, heatmap_path):
report = f"## {title}\n\n"
if slotting is not None and not slotting.empty:
report += "### πŸ“¦ Slotting Summary\n"
report += "Optimized SKU placement generated based on velocity.\n\n"
if picking is not None and not picking.empty:
report += "### 🚢 Picking Route Summary\n"
report += "Optimized path minimizes aisle switching and reduces travel distance.\n\n"
if insights:
report += "### πŸ” Operational Insights\n"
report += insights + "\n\n"
if heatmap_path:
report += "### πŸ”₯ Heatmap Generated\n\n"
report += "---\nGenerated by **Procelevate Autonomous Warehouse Operator**."
return report