Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Improve the stats output that TeX bot produces

Aperta
#578 5 commenti 1 reazione 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@fernwarwick ci sta già lavorando.

Dal 18/7/2025.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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:

Image

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:

Image

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:

Image
  • 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.
Lingua principale
Python
Stelle
1
Fork
11
Merge medio
2g 11h
PR unite (30g)
4

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di CSSUoB/TeX-Bot-Py-V2

Tutte le issue di CSSUoB/TeX-Bot-Py-V2

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.