Backend: Optimize leaderboard query with two-stage fetch to reduce payload#5087
Open
akanshajain231999 wants to merge 4 commits into
Open
Backend: Optimize leaderboard query with two-stage fetch to reduce payload#5087akanshajain231999 wants to merge 4 commits into
akanshajain231999 wants to merge 4 commits into
Codecov / codecov/project/overall
succeeded
May 21, 2026 in 1s
91.69% (target 70.00%)
View this Pull Request on Codecov
91.69% (target 70.00%)
Details
Codecov Report
❌ Patch coverage is 88.46154% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.69%. Comparing base (7d19d31) to head (9e33e6c).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| apps/jobs/utils.py | 88.46% | 3 Missing |
Additional details and impacted files
@@ Coverage Diff @@
## master #5087 +/- ##
==========================================
- Coverage 91.72% 91.69% -0.03%
==========================================
Files 96 96
Lines 8155 8168 +13
==========================================
+ Hits 7480 7490 +10
- Misses 675 678 +3 | Components | Coverage Δ | |
|---|---|---|
| Accounts & Authentication | 97.31% <ø> (ø) |
|
| Challenges Management | 95.52% <ø> (ø) |
|
| Job Processing | 89.71% <88.46%> (-0.09%) |
⬇️ |
| Participants & Teams | 100.00% <ø> (ø) |
|
| Challenge Hosts | 100.00% <ø> (ø) |
|
| Analytics | 100.00% <ø> (ø) |
|
| Web Interface | 100.00% <ø> (ø) |
|
| Frontend (Gulp) | 87.41% <ø> (-0.03%) |
⬇️ |
| All Models | 97.80% <ø> (ø) |
|
| All Views | 100.00% <ø> (ø) |
|
| All Serializers | 98.60% <ø> (ø) |
|
| Utility Functions | 96.57% <88.46%> (-0.10%) |
⬇️ |
| Core Configuration | 82.35% <ø> (ø) |
| Files with missing lines | Coverage Δ | |
|---|---|---|
| apps/jobs/utils.py | 93.20% <88.46%> (-0.48%) |
⬇️ |
... and 1 file with indirect coverage changes
| Files with missing lines | Coverage Δ | |
|---|---|---|
| apps/jobs/utils.py | 93.20% <88.46%> (-0.48%) |
⬇️ |
... and 1 file with indirect coverage changes
Continue to review full report in Codecov by Sentry.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered by Codecov. Last update 7d19d31...9e33e6c. Read the comment docs.
🚀 New features to boost your workflow:
- 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
Loading