from ..models import AnalysisResult


def report_summary(result: AnalysisResult) -> dict[str, str | float | int]:
    return {
        "title": "Telekommunikatsiya tarmog'i kiberxavfsizlik risk tahlili",
        "network_type": result.network_type,
        "threat_name": result.threat_name,
        "initial_risk": result.initial_risk,
        "residual_risk": result.residual_risk,
        "security_index": result.security_index,
        "security_status": result.security_status,
        "selected_technologies": result.selected_technologies,
        "recommendations": result.recommendations,
    }
