sycu_exam
sycu 算分程序 - 根据学生等级自动生成各项评分细则。
安装
poetry install
运行
poetry run sycu-exam
配置说明
配置文件: sycu_config.yaml
课程类型配置 (course_types)
common:
course_types:
# (课程关键字, 课程分数, 实训次数, 小组次数, 作业次数, 结课类型)
JAVA: ["java", 3, 1, 1, 3, "exam"]
ML: ["ml", 2, 1, 0, 0, "paper"]
年级配置 (grade_types)
common:
grade_types: ["23", "24", "25"]
激活课程配置
couses:
actived_course: ["JAVA", "ML"]
JAVA:
GradeType: ["SK24"]
ClazzType: ["C1", "C2"]
actived_model: "Two"
ML:
GradeType: ["SK23"]
ClazzType: ["C1", "C2"]
actived_model: "Two"
数据文件
- 输入:
data/{年级}/stu_{年级}_{班级}_{课程}.csv - 输出:
grade/{年级}/grd_{年级}_{班级}_{课程}_{时间戳}.csv
等级对应分数
| 等级 | 分数范围 |
|---|---|
| A | 90+ |
| A- | 85-89 |
| B+ | 80-84 |
| B | 75-79 |
| B- | 70-74 |
| C+ | 65-69 |
| C | 62-64 |
| D | 50以下 |
测试
# 运行所有测试
poetry run pytest
# 运行单个测试
poetry run pytest tests/sycu_exam/test_random.py::test_randam_do -vs
Metadata
Release files for sycu-exam 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sycu_exam-1.2.0.tar.gz | 14.4 kB | Without provenance | Details for sycu_exam-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sycu_exam-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for sycu_exam-1.2.0-py3-none-any.whl |
Total release size: 33.8 kB
Release files / sycu_exam-1.2.0.tar.gz
| Download URL | sycu_exam-1.2.0.tar.gz |
|---|---|
| Size | 14.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ab3bf3ad65867b3206b569759d88edf3b587c204747ddc85d656aad91e36f4a
|
|
BLAKE2b-256 checksum How to use checksums |
383915cf1ceeb00955bac025b24244f9f922f570bb054a5109620063d252a419
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.12.9 Darwin/24.5.0
|
Release files / sycu_exam-1.2.0-py3-none-any.whl
| Download URL | sycu_exam-1.2.0-py3-none-any.whl |
|---|---|
| Size | 19.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f8d36d2f1984abe82e1691d3adf576411c4c47b0633bee9da067b96522827075
|
|
BLAKE2b-256 checksum How to use checksums |
09d0acd78e9422f2bff6edf5b46f964c93255cadfea3320e7960dc8f83b85510
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.12.9 Darwin/24.5.0
|
Security for sycu-exam 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.