Improve the stats output that TeX bot produces
维护者通常 1 天内回复
@fernwarwick 已经在做这个了。
开始于 2025年7月18日。
评估
这个 Issue 还没有评估数据。
描述
As it says on the tin. There are a few issues that I have noticed with the stats the bot produces that I think improving on could help the bot look somewhat cleaner on:
Removing redundancy
When a user uses the /stats self command there is some level of redundancy. If a user does not have many contributions they will end up with bars of height 0:
Fixing this may also prevent some security issues - we can see an example of this in the above output, where despite not being on committee, the bot has shown me some committee channels that are available.
Make text less cramped
Here is an output from the /stats server command:
As one can see the text is quite cramped. It also displays committee only channels, which server admins may not want users to see depending on the application of the bot. I would also like to fix the margins so that all the text fits in the generated image.
Improve the display of data
This is a broad term, but this time looking at the "most active roles" output in /stats server I would like to do a few things:
- Reorder the roles so it goes from most-contributed to least-contributed
- Make the y axis scale by some reasonable multiple (ideally multiples of 10)
- Subject to discussion, remove roles from the bar chart that contribute less than some proportion (say 5%) of server messages (or replacing it with an "other" option). This last suggestion should have the effect of making the chart far easier to read.
- 主要语言
- Python
- 星标
- 1
- 派生
- 11
- 平均合并
- 2 天 11 小时
- 30 天内合并 PR
- 4
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
CSSUoB/TeX-Bot-Py-V2 的其他 Issue
-
dependencies good first issue question
难度 2/5 1-3 小时 新手友好度 66/100
CSSUoB/TeX-Bot-Py-V2#843 · 1 条评论 ·
维护者通常 1 天内回复
-
good first issue
难度 2/5 1-3 小时 新手友好度 70/100
CSSUoB/TeX-Bot-Py-V2#828 · 1 个 reaction ·
维护者通常 1 天内回复
-
good first issue
难度 2/5 1-3 小时 新手友好度 65/100
CSSUoB/TeX-Bot-Py-V2#563 ·
维护者通常 1 天内回复
-
dependencies deployment good first issue
难度 3/5 1-2 天 新手友好度 35/100
CSSUoB/TeX-Bot-Py-V2#815 ·
维护者通常 1 天内回复
-
Matplotlib 3.11 Error可能重新可做 @MattyTheHacker 于 100 天前认领,目前没有进行中的 PR。 未关闭
CSSUoB/TeX-Bot-Py-V2#796 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 CSSUoB/TeX-Bot-Py-V2 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
[BUG] Multi-day events show "Ended" while still in progress可能已有人在做 @tarunagnihotri534 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 85/100
data-umbrella/du-event-board#231 · 2 条评论 ·
-
avl_automation: the generated control surface block isn't valid XML (typo in avl_out_parse.py)可能已有人在做 @brksol 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 92/100
PX4/PX4-gazebo-models#164 ·