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

feat(server): add the active_dates_and_times insight #724

Merged
merged 3 commits into from
Feb 7, 2025

Conversation

xingwanying
Copy link
Contributor

No description provided.

Copy link

vercel bot commented Feb 6, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
petercat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 6, 2025 4:06am

Copy link

Walkthrough

This pull request introduces a new feature to the server, adding an endpoint to provide insights on active dates and times for a given repository. It includes changes to the server's routing and service logic, as well as corresponding tests to ensure functionality.

Changes

File Summary
server/agent/llm/clients/deepseek.py Minor formatting change to the API base URL.
server/insight/router.py Added a new endpoint /active_dates_and_times to fetch active dates and times insights.
server/insight/service/activity.py Implemented get_active_dates_and_times function to retrieve and process active dates and times data from an external source.
server/tests/insight/test_activity.py Added unit tests for the new get_active_dates_and_times function.

Copy link

codecov bot commented Feb 6, 2025

Codecov Report

Attention: Patch coverage is 87.83784% with 9 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
server/insight/router.py 37.50% 5 Missing ⚠️
server/insight/service/activity.py 90.69% 4 Missing ⚠️
Files with missing lines Coverage Δ
server/tests/insight/test_activity.py 100.00% <100.00%> (ø)
server/insight/service/activity.py 93.10% <90.69%> (-6.90%) ⬇️
server/insight/router.py 39.02% <37.50%> (-2.16%) ⬇️

@xingwanying xingwanying merged commit e29a579 into main Feb 7, 2025
5 checks passed
@xingwanying xingwanying deleted the feat_server_insight branch February 7, 2025 02:49
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.

1 participant