{"action":"created","issue":{"url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/3096","labels_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/3096/labels{/name}","comments_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/3096/comments","events_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/3096/events","html_url":"https://github.com/qbittorrent/qBittorrent/issues/3096","id":80254299,"number":3096,"title":"QBT uses wrong number for ratio calculation","user":{"login":"mahkitah","id":12587487,"avatar_url":"https://avatars.githubusercontent.com/u/12587487?v=3","gravatar_id":"","url":"https://api.github.com/users/mahkitah","html_url":"https://github.com/mahkitah","followers_url":"https://api.github.com/users/mahkitah/followers","following_url":"https://api.github.com/users/mahkitah/following{/other_user}","gists_url":"https://api.github.com/users/mahkitah/gists{/gist_id}","starred_url":"https://api.github.com/users/mahkitah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mahkitah/subscriptions","organizations_url":"https://api.github.com/users/mahkitah/orgs","repos_url":"https://api.github.com/users/mahkitah/repos","events_url":"https://api.github.com/users/mahkitah/events{/privacy}","received_events_url":"https://api.github.com/users/mahkitah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-05-24T19:53:34Z","updated_at":"2015-05-26T01:07:38Z","closed_at":null,"body":"QBT seems to use 'Uploaded' / 'Size' to calculate ratio, and not 'uploaded' / 'downloaded'\r\n\r\nIn most cases this would result in the correct ratio, but when you already had some of the files, it shows the wrong ratio.\r\n\r\nexample:\r\n![qbitscreen](https://cloud.githubusercontent.com/assets/12587487/7789333/175679a0-025d-11e5-84bd-add7df709930.jpg)\r\nThe ratio should be 5.6 / 3.2 = 1.75\r\nbut it shows 5.6 / 9.8 = 0.57\r\n\r\nI often download torrents of which I already have some of the files, and I find this pretty annoying.\r\n\r\nOn the forum, I tried to find out if this is intended behaviour or a bug, but I couldn't get a answer there."},"comment":{"url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/comments/105345465","html_url":"https://github.com/qbittorrent/qBittorrent/issues/3096#issuecomment-105345465","issue_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/3096","id":105345465,"user":{"login":"wlerin","id":4543115,"avatar_url":"https://avatars.githubusercontent.com/u/4543115?v=3","gravatar_id":"","url":"https://api.github.com/users/wlerin","html_url":"https://github.com/wlerin","followers_url":"https://api.github.com/users/wlerin/followers","following_url":"https://api.github.com/users/wlerin/following{/other_user}","gists_url":"https://api.github.com/users/wlerin/gists{/gist_id}","starred_url":"https://api.github.com/users/wlerin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wlerin/subscriptions","organizations_url":"https://api.github.com/users/wlerin/orgs","repos_url":"https://api.github.com/users/wlerin/repos","events_url":"https://api.github.com/users/wlerin/events{/privacy}","received_events_url":"https://api.github.com/users/wlerin/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T01:07:38Z","updated_at":"2015-05-26T01:07:38Z","body":"Chris, I'm sorry, but that doesn't make any sense. If you uncheck them they won't be seeded, which is obviously undesirable for non-leechers. Similarly if the old files were only partially downloaded before you lost the torrent for whatever reason, and you import them into qBittorrent, you again don't want to uncheck them, as they will remain incomplete. But neither should Downloaded equal Size in that case.\r\n\r\nAs to the specific issue here, I don't see how one or the other ratio is definitely correct and the other wrong. They're both ratios, and they're both \"correct\", just different. Uploaded/Downloaded can give you an infinite ratio if you are the original seeder or downloaded the entire file from elsewhere before seeding, or an absurdly high ratio if you recover a mostly complete partial torrent. For that reason, I personally prefer Uploaded/Size."}}