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

宿舍分配2024 #832

Merged
merged 10 commits into from
Aug 16, 2024
Merged

Conversation

Deophius
Copy link
Collaborator

  1. 按照宿舍分配文档中的要求,初步实现了宿舍的分配功能,但是参数没有调过。
  2. 对代码进行了整理,添加了注释、类型标注,进行重构。
  3. 使用 trange 代替原来的 print 语句来展示进度,应该是更快了。同时在两个进度条前面增加了一条彩色的提示信息。
  4. 给 0 个人的寝室添加了特判,防止出现 NumPy 的数值稳定性警告。

调整了问题的文本,根据信要求增加了一些属性,并经过了简单的测试
现在男女宿舍信息放在两个不同的工作表中
Reorder the code blocks so that they correspond to the priority list.
Add fixmes in places where new code must be written.
The weights are randomly filled in.
Successfully produces output, but how do we evaluate the "quality" of
the assignment?
+ Add colored messages saying what we are processing before the progress
bar.
+ Add a special judge for empty dormitory's check_better(). This elimi-
nates the NumPy RuntimeWarnings.
@Deophius
Copy link
Collaborator Author

这文件怎么变得这么多,diff直接罢工了😰

@Deophius
Copy link
Collaborator Author

现在在宿舍分配结果展示页面增加了床号展示

image

@pkuGenuine pkuGenuine merged commit 92ac0d7 into Yuanpei-Intelligence:develop Aug 16, 2024
1 check passed
@Deophius Deophius deleted the dorm-assign branch August 27, 2024 12:19
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants