CAPRA: 使用多智能体LLM系统对软件架构交付物进行反馈扩展
CAPRA: Scaling Feedback on Software Architecture Deliverables with a Multi-Agent LLM System
AI总结:
提出CAPRA多智能体LLM系统,通过多模态文档提取、确定性证据锚定和一致性管理,自动生成软件架构交付物的个性化LaTeX反馈,在10份学生报告中满足88.8%的评估标准。
摘要:
软件工程教育中的自动评估在代码评分和论文评分方面取得了显著进展。然而,审查软件架构交付物需要分析结构完整性和需求可追溯性,尚未完全自动化。将大型语言模型(LLM)应用于此任务需要稳健的架构,以确保技术反馈对学生准确可靠。本文提出CAPRA(可配置架构能力报告评估),一个多智能体LLM系统,分析软件架构交付物以生成个性化的、符合模板的LaTeX反馈。作为核心设计选择,CAPRA协调多个专门智能体,并采用基于Python的微服务进行多模态文档提取,利用PyMuPDF和视觉增强LLM(特别是gpt-4o)解析文本和UML图。为确保教育可靠性并减少幻觉,CAPRA引入了使用归一化Levenshtein距离进行模糊匹配的确定性证据锚定步骤,以及一个交叉验证、去重和合并发现的一致性管理器智能体。系统性能通过一个结构化的八标准二元评估分类法进行评估,涵盖:(i) 提取完整性,(ii) 特征验证,(iii) 问题依据和严重性检测,(iv) 建议特异性和可追溯性,以及(v) 模板和语气合规性。对10份学生报告的初步实证评估显示,在严格的两评分者聚合规则下,CAPRA满足了88.8%的评估标准,与人类评估者达到了中等评分者间一致性(kappa = 0.582),每份报告处理时间略超过4分钟。虽然这些结果支持LLM支持的架构反馈的可行性,但主观评估维度仍需人工监督。
英文摘要:
Automated assessment in software engineering education has advanced significantly for code grading and essay scoring. However, reviewing software architecture deliverables, which requires analyzing structural completeness and requirements traceability, has not yet been fully automated. Applying Large Language Models (LLMs) to this task requires robust architectures to ensure technical feedback is accurate and reliable for students. This paper presents CAPRA (Configurable Architecture Proficiency Report Assessment), a multi-agent LLM system that analyzes software architecture deliverables to generate personalized, template-compliant LaTeX feedback. As a core design choice, CAPRA coordinates multiple specialized agents and employs a Python-based microservice for multi-modal document extraction, utilizing PyMuPDF and vision-enabled LLMs (specifically gpt-4o) to parse text and UML diagrams. To ensure educational reliability and mitigate hallucinations, CAPRA introduces a deterministic Evidence Anchoring step using fuzzy matching via normalized Levenshtein distance, along with a ConsistencyManager agent that cross-verifies, deduplicates, and merges findings. System performance is assessed using a structured eight-criterion binary evaluation taxonomy covering: (i) extraction completeness, (ii) feature validation, (iii) issue grounding and severity detection, (iv) recommendation specificity and traceability, and (v) template and tone compliance. A preliminary empirical evaluation on 10 student reports shows that CAPRA satisfied 88.8% of the evaluated criteria under a strict two-rater aggregation rule, achieved moderate inter-rater agreement with human evaluators (kappa = 0.582), and processed each report in slightly over 4 minutes. While these results support the viability of LLM-supported architectural feedback, human oversight remains essential for subjective assessment dimensions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。