11<div align =" center " >
22
3- <image src =" resources/secrandom-icon-paper.png " height =" 128 " />
3+ <image src =" resources/secrandom-icon-paper.png " width = " 128 " height =" 128 " />
44
55# SecRandom - 公平随机抽取系统
66
7- 🚀 ** 现代化教育工具** | 🎯 ** 智能权重算法** | 🎨 ** 优雅交互体验**
8-
9- </div >
10-
11- <!-- 项目状态徽章 -->
12- <div align =" center " >
7+ 🎯 ** 真正公平的抽取算法** | 🚀 ** 现代化教育工具** | 🎨 ** 优雅交互体验**
138
149[ ![ GitHub Issues] ( https://img.shields.io/github/issues-search/SECTL/SecRandom?query=is%3Aopen&style=for-the-badge&color=00b4ab&logo=github&label=问题 )] ( https://github.com/SECTL/SecRandom/issues )
1510[ ![ 最新版本] ( https://img.shields.io/github/v/release/SECTL/SecRandom?style=for-the-badge&color=00b4ab&label=最新正式版 )] ( https://github.com/SECTL/SecRandom/releases/latest )
1611[ ![ 最新Beta版本] ( https://img.shields.io/github/v/release/SECTL/SecRandom?include_prereleases&style=for-the-badge&label=测试版 )] ( https://github.com/SECTL/SecRandom/releases/ )
17- [ ![ 上次更新] ( https://img.shields.io/github/last-commit/SECTL/SecRandom?style=for-the-badge&color=00b4ab&label=最后摸鱼时间 )] ( https://github.com/SECTL/SecRandom/commits/master )
12+ [ ![ 上次更新] ( https://img.shields.io/github/last-commit/SECTL/SecRandom?style=for-the-badge&color=00b4ab&label=最后更新时间 )] ( https://github.com/SECTL/SecRandom/commits/master )
1813[ ![ 下载统计] ( https://img.shields.io/github/downloads/SECTL/SecRandom/total?style=for-the-badge&color=00b4ab&label=累计下载 )] ( https://github.com/SECTL/SecRandom/releases )
14+
1915[ ![ QQ群] ( https://img.shields.io/badge/-QQ%E7%BE%A4%EF%BD%9C833875216-blue?style=for-the-badge&logo=QQ )] ( https://qm.qq.com/q/iWcfaPHn7W )
2016[ ![ bilibili] ( https://img.shields.io/badge/-UP%E4%B8%BB%EF%BD%9C黎泽懿-%23FB7299?style=for-the-badge&logo=bilibili )] ( https://space.bilibili.com/520571577 )
2117[ ![ License: GPL v3] ( https://img.shields.io/badge/License-GPLv3-blue.svg?style=for-the-badge )] ( https://opensource.org/licenses/GPL-3.0 )
2218
19+ </div >
20+
21+ <div align =" center " >
22+
2323![ 代码贡献统计] ( https://repobeats.axiom.co/api/embed/7d42538bcd781370672c00b6b6ecd5282802ee3d.svg " 代码贡献统计图表 ")
2424
2525</div >
2626
27- > [ !note ]
27+ > [ !NOTE ]
2828>
2929> SecRandom 本体将基于GNU GPLv3协议开源
3030>
3131> GNU GPLv3具有Copyleft特性,也就是说,您可以修改SecRandom的源代码,但是** 必须将修改版本同样以GNU GPLv3协议开源**
3232
3333## 📖 目录
34+ - [ 🎯 为什么选择公平抽取] ( #-为什么选择公平抽取 )
3435- [ 🌟 核心亮点] ( #-核心亮点 )
3536- [ 📥 下载] ( #-下载 )
3637- [ 📸 软件截图] ( #-软件截图 )
37- - [ 📖 公平抽取] ( #-公平抽取 )
3838- [ 🙏 贡献者] ( #-贡献者和特别感谢 )
3939- [ 💝 捐献支持] ( #-捐献支持 )
4040- [ 📞 联系方式] ( #-联系方式 )
4141
42+ ## 🎯 为什么选择公平抽取
43+
44+ 传统的随机抽取往往存在"重复抽取某些人,而另一些人长期不被抽中"的问题。SecRandom 采用** 智能动态权重算法** ,确保每位成员都能获得公平的抽取机会:
45+
46+ - ** 避免重复抽取** :被抽中次数越多,再次被抽中的概率越低
47+ - ** 平衡小组机会** :确保不同小组的成员有均等的抽取机会
48+ - ** 性别均衡考虑** :在抽取过程中平衡不同性别的抽取频率
49+ - ** 冷启动保护** :新成员或长期未被抽中的成员不会因为权重过低而失去机会
50+ - ** 可视化概率** :实时显示每位成员被抽中的概率,过程透明可信
51+
4252## 🌟 核心亮点
4353
44- ### 🎯 ** 智能公平抽取系统**
54+ ### 🎯 智能公平抽取系统
4555- ✅ ** 动态权重算法** :基于抽取次数、小组、性别等多维度计算,确保真正的公平性
4656- ✅ ** 冷启动保护** :防止新成员权重过低,保证每个人都有平等机会
4757- ✅ ** 概率可视化** :直观展示每个成员被抽中的概率,让抽取过程透明化
4858
49- ### 🎨 ** 现代化用户体验**
59+ ### 🎨 现代化用户体验
5060- ✅ ** 优雅UI设计** :基于 Fluent Design 的现代化界面,支持浅色/深色主题
5161- ✅ ** 悬浮窗模式** :可随时进行抽取,不影响其他工作
5262- ✅ ** 语音播报** :抽取结果自动语音播报,支持自定义语音引擎
5363
54- ### 🚀 ** 强大功能集**
64+ ### 🚀 强大功能集
5565- ✅ ** 多种抽取模式** :单人/多人/小组/性别抽取,满足不同场景需求
5666- ✅ ** 智能历史记录** :带时间戳的详细记录,支持自动清理
5767- ✅ ** 多名单管理** :支持导入/导出名单,轻松管理不同班级/团队
5868
59- ### 💻 ** 系统兼容性**
69+ ### 💻 系统兼容性
6070- ✅ ** 全平台支持** :完美兼容 Windows 7/10/11 系统,Linux 系统支持正在开发中
6171- ✅ ** 多架构适配** :原生支持 x64、x86 架构
6272- ✅ ** 开机自启** :支持开机自动启动,随时可用(Windows)
6676### 🌐 官方下载页面
6777- 📥 ** [ 官方下载页面] ( https://secrandom.netlify.app/download ) ** - 获取最新稳定版本和测试版本
6878
69- ### 📦 下载源选择
70-
71- #### 官方渠道
72- - ** GitHub 官方源** - 官方发布渠道,海外访问较快,推荐使用
73- - ** 123云盘源** - 云盘下载,不限速,适合大文件下载
74-
75- #### 国内加速镜像
76- - ** GitHub 镜像源(ghfast.top)** - 国内加速镜像,速度快且稳定
77- - ** GitHub 镜像源(gh-proxy.com)** - 国内加速镜像,适合网络环境特殊的用户
78-
79-
8079## 📸 软件截图(v1.1.0.1)
8180<details >
8281<summary >📸 软件截图展示 ✨</summary >
8887
8988</details >
9089
91- ## 📖 公平抽取
92-
93- > [ !note]
94- >
95- > ** 简介** :
96- > 公平抽取是一种随机抽取方式,它确保每个成员被抽取的权重由系统决定,从而避免不公平的结果。
97- > 这种方式适用于需要随机且公平的抽取学生回答问题或进行其他需要公平分配的场景。
98- > SecRandom的公平抽取的实现基于动态权重系统,通过多个方面来进行权重的计算。
99-
100- ### ** 动态权重系统**
101- > [ !note]
102- >
103- > 动态权重是SecRandom的公平抽取的核心机制。
104- > 它通过以下几个方面来计算每个成员的权重:
105- > 1 . ** 总抽取次数** :被抽中次数越多权重越低,避免重复抽取
106- > 2 . ** 抽取各小组次数** :平衡不同小组的抽取机会
107- > 3 . ** 抽取各性别次数** :确保性别平衡
108- > 4 . ** 基础权重** :可自定义的初始权重设置
109- > 5 . ** 冷启动保护** :防止新成员权重过低,保证公平性
110-
111- ## 构建与打包
112-
113- ### 触发构建
114- 在提交信息中包含 ` 进行打包 ` 即可触发自动构建流程。
115-
116- ### Linux 平台支持
117-
118- SecRandom 正在移植到 Linux 平台。Linux 版本使用 PulseAudio 进行音频控制。
119-
120- #### Linux 系统要求
121- - Ubuntu 20.04 或更高版本(推荐 Ubuntu 22.04)
122- - Python 3.8.10
123- - PulseAudio 音频系统
124- - X11 或 Wayland 显示服务器
125-
126- #### Linux 安装步骤
127-
128- 1 . 安装系统依赖:
129- ``` bash
130- sudo apt-get update
131- sudo apt-get install -y \
132- libpulse-dev \
133- pulseaudio \
134- libportaudio2 \
135- libsndfile1 \
136- libasound2-dev \
137- portaudio19-dev \
138- libxcb-xinerama0 \
139- libxcb-cursor0 \
140- libxkbcommon-x11-0 \
141- libgl1-mesa-glx \
142- libegl1 \
143- libdbus-1-3 \
144- python3.8 \
145- python3.8-venv \
146- python3-pip
147- ```
148-
149- 2 . 克隆仓库并安装依赖:
150- ``` bash
151- git clone https://github.com/SECTL/SecRandom.git
152- cd SecRandom
153- git checkout linux-port
154- python3.8 -m venv venv
155- source venv/bin/activate
156- pip install -r requirements-linux.txt
157- ```
158-
159- 3 . 运行应用程序:
160- ``` bash
161- python main.py
162- ```
163-
164- #### Linux 已知限制
165- - 开机自启功能需要手动配置(可以使用 systemd 或桌面环境的自启动设置)
166- - 某些 Windows 特定功能可能不可用
167- - 音频控制依赖 PulseAudio,其他音频系统可能需要额外配置
168-
169- </details >
170-
17190## 🙏 贡献者和特别感谢
17291
17392<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
@@ -176,12 +95,15 @@ python main.py
17695<table >
17796 <tbody >
17897 <tr>
179- <td align="center" valign="top" width="16.66%"><a href="https://github.com/lzy98276"><img src="app/resource/icon/contributor1.png" width="100px;" alt="lzy98276"/><br /><sub><b>lzy98276 (黎泽懿_Aionflux)</b></sub></a><br /><a href="#content-lzy98276" title="Content">🖋</a> <a href="#design-lzy98276" title="Design">🎨</a> <a href="#ideas-lzy98276" title="Ideas, Planning, & Feedback">🤔</a> <a href="#maintenance-lzy98276" title="Maintenance">🚧</a> <a href="#doc-lzy98276" title="Documentation">📖</a> <a href="#bug-lzy98276" title="Bug reports">🐛</a></td>
180- <td align="center" valign="top" width="16.66%"><a href="https://github.com/QiKeZhiCao"><img src="app/resource/icon/contributor2.png" width="100px;" alt="QiKeZhiCao"/><br /><sub><b>QiKeZhiCao (弃稞之草)</b></sub></a><br /><a href="#ideas-QiKeZhiCao" title="Ideas, Planning, & Feedback">🤔</a> <a href="#maintenance-QiKeZhiCao" title="Maintenance">🚧</a></td>
181- <td align="center" valign="top" width="16.66%"><a href="https://github.com/Fox-block-offcial"><img src="app/resource/icon/contributor3.png" width="100px;" alt="Fox-block-offcial"/><br /><sub><b>Fox-block-offcial</b></sub></a><br /><a href="#bug-Fox-block-offcial" title="Bug reports">🐛</a> <a href="#testing-Fox-block-offcial" title="Testing">⚠️</a></td>
182- <td align="center" valign="top" width="16.66%"><a href="https://github.com/yuanbenxin"><img src="app/resource/icon/contributor4.png" width="100px;" alt="yuanbenxin"/><br /><sub><b>yuanbenxin (本新同学)</b></sub></a><br /><a href="#code-yuanbenxin" title="Code">💻</a> <a href="#design-yuanbenxin" title="Design">🎨</a> <a href="#maintenance-yuanbenxin" title="Maintenance">🚧</a> <a href="#doc-yuanbenxin" title="Documentation">📖</a></td>
183- <td align="center" valign="top" width="16.66%"><a href="https://github.com/zhangjianjian7"><img src="app/resource/icon/contributor5.png" width="100px;" alt="zhangjianjian7"/><br /><sub><b>zhangjianjian7 (叶背影)</b></sub></a><br /><a href="#doc-zhangjianjian7" title="Documentation">📖</a></td>
184- <td align="center" valign="top" width="16.66%"><a href="https://github.com/jursin"><img src="app/resource/icon/contributor6.png" width="100px;" alt="Jursin"/><br /><sub><b>Jursin</b></sub></a><br /><a href="#code-jursin" title="Code">💻</a> <a href="#design-jursin" title="Design">🎨</a> <a href="#maintenance-jursin" title="Maintenance">🚧</a> <a href="#doc-jursin" title="Documentation">📖</a></td>
98+ <td align="center" valign="top" width="11.11%"><a href="https://github.com/lzy98276"><img src="app/resources/assets/contribution/contributor1.png" width="100px;" alt="lzy98276"/><br /><sub><b>lzy98276 (黎泽懿_Aionflux)</b></sub></a><br /><a href="#content-lzy98276" title="Content">🖋</a> <a href="#design-lzy98276" title="Design">🎨</a> <a href="#ideas-lzy98276" title="Ideas, Planning, & Feedback">🤔</a> <a href="#maintenance-lzy98276" title="Maintenance">🚧</a> <a href="#doc-lzy98276" title="Documentation">📖</a> <a href="#bug-lzy98276" title="Bug reports">🐛</a></td>
99+ <td align="center" valign="top" width="11.11%"><a href="https://github.com/chenjintang-shrimp"><img src="app/resources/assets/contribution/contributor2.png" width="100px;" alt="chenjintang-shrimp"/><br /><sub><b>chenjintang-shrimp</b></sub></a><br /><a href="#code-chenjintang-shrimp" title="Code">💻</a></td>
100+ <td align="center" valign="top" width="11.11%"><a href="https://github.com/yuanbenxin"><img src="app/resources/assets/contribution/contributor3.png" width="100px;" alt="yuanbenxin"/><br /><sub><b>yuanbenxin (本新同学)</b></sub></a><br /><a href="#code-yuanbenxin" title="Code">💻</a> <a href="#design-yuanbenxin" title="Design">🎨</a> <a href="#maintenance-yuanbenxin" title="Maintenance">🚧</a> <a href="#doc-yuanbenxin" title="Documentation">📖</a></td>
101+ <td align="center" valign="top" width="11.11%"><a href="https://github.com/LeafS825"><img src="app/resources/assets/contribution/contributor4.png" width="100px;" alt="LeafS"/><br /><sub><b>LeafS</b></sub></a><br /><a href="#doc-LeafS" title="Documentation">📖</a></td>
102+ <td align="center" valign="top" width="11.11%"><a href="https://github.com/QiKeZhiCao"><img src="app/resources/assets/contribution/contributor5.png" width="100px;" alt="QiKeZhiCao"/><br /><sub><b>QiKeZhiCao (弃稞之草)</b></sub></a><br /><a href="#ideas-QiKeZhiCao" title="Ideas, Planning, & Feedback">🤔</a> <a href="#maintenance-QiKeZhiCao" title="Maintenance">🚧</a></td>
103+ <td align="center" valign="top" width="11.11%"><a href="https://github.com/Fox-block-offcial"><img src="app/resources/assets/contribution/contributor6.png" width="100px;" alt="Fox-block-offcial"/><br /><sub><b>Fox-block-offcial</b></sub></a><br /><a href="#bug-Fox-block-offcial" title="Bug reports">🐛</a> <a href="#testing-Fox-block-offcial" title="Testing">⚠️</a></td>
104+ <td align="center" valign="top" width="11.11%"><a href="https://github.com/jursin"><img src="app/resources/assets/contribution/contributor7.png" width="100px;" alt="Jursin"/><br /><sub><b>Jursin</b></sub></a><br /><a href="#code-jursin" title="Code">💻</a> <a href="#design-jursin" title="Design">🎨</a> <a href="#maintenance-jursin" title="Maintenance">🚧</a> <a href="#doc-jursin" title="Documentation">📖</a></td>
105+ <td align="center" valign="top" width="11.11%"><a href="https://github.com/LHGS-github"><img src="app/resources/assets/contribution/contributor8.png" width="100px;" alt="LHGS-github"/><br /><sub><b>LHGS-github</b></sub></a><br /><a href="#doc-LHGS-github" title="Documentation">📖</a></td>
106+ <td align="center" valign="top" width="11.11%"><a href="https://github.com/real01bit"><img src="app/resources/assets/contribution/contributor9.png" width="100px;" alt="real01bit"/><br /><sub><b>real01bit</b></sub></a><br /><a href="#code-real01bit" title="Code">💻</a></td>
185107 </tr>
186108 </tbody >
187109</table >
@@ -190,9 +112,8 @@ python main.py
190112
191113如果您觉得 SecRandom 对您有帮助,欢迎支持我们的开发工作!
192114
193- - ** 支付宝/微信支付**
194-
195- <image src =" app/resource/assets/contribution/Alipay.png " height =" 196 " /> <image src =" app/resource/assets/contribution/WeChat_Pay.png " height =" 196 " />
115+ ### 爱发电支持
116+ - 🌟 ** [ 爱发电支持链接] ( https://afdian.com/a/lzy0983 ) ** - 通过爱发电平台支持开发者
196117
197118## 📞 联系方式
198119
@@ -206,22 +127,11 @@ python main.py
206127- 📄 ** [ SecRandom 官方文档] ( https://secrandom.netlify.app ) **
207128- [ ![ Ask DeepWiki] ( https://deepwiki.com/badge.svg )] ( https://deepwiki.com/SECTL/SecRandom )
208129
209-
210- ## 🏆 贡献值
211-
212- > [ !TIP]
213- >
214- > 📊 ** 贡献值计算公式** :贡献值 = 文档提交新增行数 x5 + 主程序提交新增行数 x5 + 处理issue x5
215- >
216- > 📅 ** 统计时间范围** :2025.08.01 - 2026.01.31 (中国时间 UTC+8)
217- >
218- > 🏗️ ** 统计仓库** :SECTL/SecRandom, SECTL/SecRandom-docs
219-
220130## ✨ Star历程
221131
222132<picture >
223133 <source media =" (prefers-color-scheme: dark) " srcset =" https://api.star-history.com/svg?repos=SECTL/SecRandom&type=Date&theme=dark " >
224134 <img alt =" Star History " src =" https://api.star-history.com/svg?repos=SECTL/SecRandom&type=Date " >
225135</picture >
226136
227- ** Copyright © 2025 SECTL**
137+ ** Copyright © 2025 SECTL**
0 commit comments