PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding
Sort gems by DPS: Full DPS should include own DPS for active skills
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 5.4k
- Forks
- 2.4k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 26
Description
Check version
- I'm running the latest version of Path of Building and I've verified this by checking the changelog
Check for duplicates
- I've checked for duplicate issues by using the search function of the issue tracker
How is Path of Building expected to behave?
DPS Sorting should be consistent with hover text.
I'm trying to look for highest dps skill given a fixed build, or fixed support gems - as auxiliary skill during level for ballista build. When I sort gems by Full DPS and include the current socket group in Full DPS it gives strange results.
Eventually figured out that it looks like the sorting is not taking into account the effect of adding the gem, but the hover over is taking into account. Only applies to the own dps of active skills when adding active skills to Full DPS socket groups.
How does Path of Building behave?
Initially I thought it was putting debuff skills at the top, but honestly not sure how sorting works in this case. But it clearly knows what effect on build would be of adding ability.


This shows the list isn't sorted by 'Full DPS'.
(note: if you search for gems it will auto-add them to build and hover will show no change since gem 'is already added' - not really important but a bit annoying)
How to reproduce the issue
- Set socket group to be part of Full DPS. Supports don't matter.
- Switch gem sorting by Full DPS
- Sorting is wildly wrong, but hover is correct
Character build code
No response
Screenshots
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the listed socket-group and Full DPS sorting steps, then compare the sort order with the hover text for active skills. Trace the gem sorting and Full DPS calculation paths in the Lua application. Done means Full DPS sorting accounts for an active skill's own DPS and matches the hover result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- desktop-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100