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

Copilot Stats Tweaks #266

Merged
merged 21 commits into from
Feb 5, 2024
Merged

Copilot Stats Tweaks #266

merged 21 commits into from
Feb 5, 2024

Conversation

SanderGi
Copy link
Member

@SanderGi SanderGi commented Jan 25, 2024

Task1 (fixes keyerror with sorting options): https://app.asana.com/0/1203067047205953/1206421218668399
Sentry Error: https://dara-network.sentry.io/issues/4912709228/?project=4504338635423744&query=is%3Aunresolved+stats&referrer=issue-stream&statsPeriod=14d&stream_index=0

Task2 (average response time): https://app.asana.com/0/1203067047205953/1206454589859297

Q/A checklist

  • Do a code review of the changes
  • Add any new dependencies to poetry & export to requirementst.txt (poetry export -o requirements.txt)
  • Carefully think about the stuff that might break because of this change
  • The relevant pages still run when you press submit
  • If you added new settings / knobs, the values get saved if you save it on the UI
  • The API for those pages still work (API tab)
  • The public API interface doesn't change if you didn't want it to (check API tab > docs page)
  • Do your UI changes (if applicable) look acceptable on mobile?

@SanderGi SanderGi changed the title Fixes keyerror with sorting options [draft] Fixes keyerror with sorting options Jan 25, 2024
@SanderGi SanderGi changed the title [draft] Fixes keyerror with sorting options Fixes keyerror with sorting options Jan 26, 2024
@SanderGi SanderGi changed the title Fixes keyerror with sorting options Copilot Stats Tweaks Jan 29, 2024
bots/models.py Outdated Show resolved Hide resolved
@SanderGi
Copy link
Member Author

SanderGi commented Feb 1, 2024

image

We don't even store the run_time on the run, so I've given up on fixing past data. A new response_time field has been added on Message instead as discussed

@devxpy devxpy merged commit 9561555 into master Feb 5, 2024
1 check passed
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