Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

delete the obsolete tag '研究生阶段课程' #275

Merged
merged 1 commit into from
Jan 26, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 5 additions & 10 deletions scripts/courses/build_course_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,19 @@

import aiohttp

# Constants def
# Constants def, the gap should be larger than the total of repos
weights = {
"counter_man": 1, # The available weight of the template starts from 1
"counter_dis": 100,
"counter_graduate": 200,
"counter_cross": 300,
"counter_general": 400,
"counter_dis": 200,
"counter_graduate": 400,
"counter_cross": 600,
"counter_general": 800,
"counter_legacy": 1000,
}

counters = {
"mandatory": "counter_man",
"distributional-selective": "counter_dis",
"graduate-course": "counter_graduate",
"undergraduate-graduate-course": "counter_graduate",
"selective": "counter_graduate",
"cross-major-selective": "counter_cross",
Expand Down Expand Up @@ -54,10 +53,6 @@
"distributional-selective",
"[限选课选课指南](https://hoa.moe/blog/distributive-guidance-for-22/)",
),
"研究生阶段课程": (
"graduate-course",
"此类课程是本科生可跨选的研究生阶段课程。它们也属限选课,但是与专业限选课性质不同,故单独列出。具体请看[研究生阶段课程选课指南](https://hoa.moe/blog/master-phd-course-selection/)。",
),
"本研共通": (
"undergraduate-graduate-course",
"此类课程是本科生可跨选的研究生阶段课程。它们也属限选课,但是与专业限选课性质不同,故单独列出。具体请看[研究生阶段课程选课指南](https://hoa.moe/blog/master-phd-course-selection/)。",
Expand Down