Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[joss] degree_dist() is a misnomer

Open
#136 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
data

Research direction

Start by locating the degree_dist() method and its callers, then review the naming concern and the linked JOSS review for context. Update the method name to reflect that it returns a degree sequence, adjust references and tests if present, and verify the project test suite passes.

Written by the indexing model from the issue text.

Description

active joss

Nitpick: The degree_dist() method has a name that is perhaps not the best fit. What this function returns is not a distribution, but a list of degrees. In graph theory this is called a degree sequence, not a degree distribution. What is normally understood as a degree distribution is the fraction of times each degree appears in the degree sequence.

Ref https://github.com/openjournals/joss-reviews/issues/6016

Dominant language
Python
Stars
718
Forks
118
PR merge metrics
No merged PRs in 30d

Getting set up

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.

More from pnnl/HyperNetX

All issues in pnnl/HyperNetX

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.