PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

Sort gems by DPS: Full DPS should include own DPS for active skills

Open
#5,721 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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.

image

Path{space}of{space}Building_ALnhsmC4PJ

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
  1. Set socket group to be part of Full DPS. Supports don't matter.
  2. Switch gem sorting by Full DPS
  3. Sorting is wildly wrong, but hover is correct
Character build code

No response

Screenshots

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.