from src.graph import feedback_graph
from src.report import print_single_analysis


if __name__ == "__main__":
    sample = {
        "customer_id": "DEMO-001",
        "feedback": (
            "PDF uploads crash every single time. We have a client deadline today "
            "and I will switch products if this blocks us again."
        ),
    }

    result = feedback_graph.invoke(sample)
    print_single_analysis(result["final_analysis"])
