diff --git a/enhanced_survey_system.py b/enhanced_survey_system.py index bfebfb7..af408d7 100644 --- a/enhanced_survey_system.py +++ b/enhanced_survey_system.py @@ -111,6 +111,11 @@ class ReportGenerator: # 生成分析文本 - 确保markdown表格格式正确 analysis_text = "# 考试答题情况分析\n\n" + + # 添加总分信息 + total_score = student_info.get('total_score', 0) if student_info else 0 + analysis_text += f"## 总分:{total_score} 分\n\n" + analysis_text += "| 题目 | 题型 | 用户答案 | 正确答案 | 是否正确 | 得分 |\n" analysis_text += "|------|------|----------|----------|----------|------|\n"