assignment-01-infocard-temp.../README.md
hblu 475d442401
All checks were successful
autograde-assignment-01-infocard / check-trigger (push) Successful in 13s
autograde-assignment-01-infocard / grade (push) Has been skipped
Initial commit
2025-12-06 16:55:44 +08:00

26 lines
688 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 作业 1个人信息卡生成器
## 任务
-`src/card_generator.py` 完成 `generate_card`:格式化输出个人信息卡。
- 支持可选字段为空时的占位、手机号标准化、邮箱基本校验、宽度控制。
- 通过公开测试与隐藏测试;提交 `REPORT.md` 反思。
## 环境与依赖
- Python 3.11+
- 安装依赖:`pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple`
## 本地运行
```bash
pytest -q
```
## 提交要求
- 提交信息需包含关键字“完成作业”以触发评分。
- 确保 `REPORT.md` 已填写。
## 评分构成(总分 15
- Core 测试8 分
- Edge 测试4 分
- REPORT.md3 分