Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration Issues Random Walks #190

Open
2 of 8 tasks
M-Lampert opened this issue Jul 1, 2024 · 0 comments
Open
2 of 8 tasks

Migration Issues Random Walks #190

M-Lampert opened this issue Jul 1, 2024 · 0 comments
Labels
bug Something isn't working dagstuhl documentation Improvements or additions to documentation help wanted Extra attention is needed

Comments

@M-Lampert
Copy link
Contributor

As far as I am aware, we reused the PathPy3 code for the implementation of the random walks. I noticed the following problems that need to be fixed:

  • Docstrings in the wrong format (fixed in Minor Fixes for Random Walks #189)
  • Bug in transition_probabilities(...) (fixed in Minor Fixes for Random Walks #189)
  • Documentation out of date. E.g. the example uses rw.plot(...) which does not work in pathpyG as far as I know.
  • Bug in HigherOrderRandomWalk.first_order_stationary_state(...): v.relations[-1] throws an exception since each node is an id (tuple or string) and not a node object as in pathpy3.
  • TODOs in process.py: More than half of the file is commented out and marked as TODO.

There are probably some more problems that I haven't noticed so far, so I propose some additional unit-tests for each file in processes/:

  • Tests for process.py
  • Additional tests for random_walk.py
  • Tests for sampling.py
@M-Lampert M-Lampert added bug Something isn't working documentation Improvements or additions to documentation help wanted Extra attention is needed labels Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dagstuhl documentation Improvements or additions to documentation help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants