cheran-senthil / cheran-senthil/TLE

gitgud deltas need to be recalculated

Open
#162 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
337
Forks
234
PR merge metrics
No merged PRs in 30d

Description

There was a bug: https://github.com/cheran-senthil/TLE/commit/8b580a3e5d188a1f67209dfbf30e082cae47ec4a

So we need to go through the database and change the delta to problem.rating - round(user.rating[at issue_time], -2) and then recalculate points.
Shouldn't be too hard.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the database records and code that calculate GitGud deltas and points, then review commit 8b580a3e5d188a1f67209dfbf30e082cae47ec4a for the original bug. Recalculate each delta from the problem rating and the user's rating at issue time, then verify that points are recalculated consistently across the affected records.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.