microsoft / microsoft/AzureDevOps-WSJF-Extension

if JobSize is 0 or Empty, it should calculate to empty, not Zero

Open
#79 4 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

investigation
Dominant language
TypeScript
Stars
29
Forks
41
PR merge metrics
No merged PRs in 30d

Description

The WSJF plugin calculates “0” if there is JobSize 0 or empty. From mathematical perspective, this is incorrect, because it is a Division by Zero. So if JobSize is 0 or Empty, it should calculate to empty, not Zero. Zero should only be the result, if nominator (sum) is 0 or empty, but job size is <> 0 or empty

Contributor guide

No contributing guide indexed for this repository

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 locating the WSJF calculation in the TypeScript extension. Check how empty and zero JobSize values are handled, then verify the requested cases: an empty result for zero or empty JobSize, and zero only when the numerator is zero while JobSize is nonzero.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.