-
Notifications
You must be signed in to change notification settings - Fork 444
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
per torrent ratio and up/down do not match #7817
Comments
For debugging, a breakdown of these numbers: What is shown: tribler/src/tribler/gui/widgets/downloadsdetailstabwidget.py Lines 174 to 178 in 4e25843
Where it comes from: tribler/src/tribler/core/components/libtorrent/restapi/downloads_endpoint.py Lines 331 to 333 in b89ca5b
How it's implemented: tribler/src/tribler/core/components/libtorrent/download_manager/download_state.py Lines 100 to 114 in 4fd1c8a
The core of the inconsistency seems to be that the shown ratio is |
After some investigation, I need to say that the previous formula For each torrent session, we have:
The
But I agree that the calculated So, the torrent statistics can be displayed as:
This should remove user confusion, as the There is a corner case that is not correctly handled by the current formula: when a user seeds a pre-downloaded torrent, and the |
I think it would make most sense to display just the all-time ratio/numbers but if both are to be shown then separate them like this:
|
All time ratio is defined as total from, say, 10 Tribler sessions. The original if report was (possibly) simply that all counters reset when restarting Tribler. |
Describe the bug
per torrent ratio and up/down do not match
To Reproduce
Current behavior
total ratio is shown with session up / down
Expected behavior
total ratio should be shown with total up / down
Screenshots
The text was updated successfully, but these errors were encountered: