8000 Track how much of each message sent is within code blocks · Issue #133 · reactiflux/mod-bot · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Track how much of each message sent is within code blocks #133

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

Open
vcarl opened this issue May 27, 2025 · 0 comments
Open

Track how much of each message sent is within code blocks #133

vcarl opened this issue May 27, 2025 · 0 comments

Comments

@vcarl
Copy link
Member
vcarl commented May 27, 2025

For #94 Starhunter reporting, it would be super helpful if we had visibility into how much of the content sent in messages is code. That requires:

  • adding a helper function to isolate code in messages
  • updating the message_stats table to include a column for it
    • This could be a %age, or a word count, or possibly a token count (by e.g. parsing the code to get more technically accurate data than splitting by ' '
  • If it's in a code fence, we should track what language it is as well

Both ``` and `code` will need to be handled appropriately

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

No branches or pull requests

1 participant
0