Go to file Use this template
hblu aa45fa46d4
All checks were successful
autograde-assignment-02-grades / check-trigger (push) Successful in 4s
autograde-assignment-02-grades / grade (push) Has been skipped
Initial commit
2025-12-07 04:06:11 +08:00
.gitea/workflows Initial commit 2025-12-07 04:06:11 +08:00
src Initial commit 2025-12-07 04:06:11 +08:00
tests Initial commit 2025-12-07 04:06:11 +08:00
.gitignore Initial commit 2025-12-07 04:06:11 +08:00
grades_normal.csv Initial commit 2025-12-07 04:06:11 +08:00
README.md Initial commit 2025-12-07 04:06:11 +08:00
REPORT.md Initial commit 2025-12-07 04:06:11 +08:00
requirements.txt Initial commit 2025-12-07 04:06:11 +08:00

作业 2成绩统计分析器

任务

  • src/grade_analyzer.py 中完成 GradeAnalyzer 类:实现从 CSV 读取、统计分析、生成报告的功能。
  • 处理真实数据中的边界情况,如缺失值、无效分数、重复学号、文件编码问题等。
  • 通过公开测试与隐藏测试;提交 REPORT.md 反思报告。

环境与依赖

  • Python 3.11+
  • 安装依赖:pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple

本地运行

pytest -q

提交要求

  • 提交信息需包含关键字"完成作业"以触发评分。
  • 确保 REPORT.md 已填写。

评分构成(总分 20

  • Core 测试10 分
  • Edge 测试5 分
  • REPORT.md5 分