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

Python code cleanup across docs, wrappers, testing (#2194) #54

Merged
merged 1 commit into from
May 2, 2022

Conversation

betochimas
Copy link
Owner

This PR incorporates suggested changes from issue rapidsai#2037, opened back in 22.02, as well as cleaning up documentation and testing code from 22.04 work.

Specifically, this PR does the following:

  • Removes worker helpers from MNMG algos in the online documentation (e.g. call_katz_centrality, call_louvain, call_wcc)
  • Adds helpers from comms such as get_comms, get_session_id, get_2D_partition, is_initialized that were previously missing
  • Adds helpers from NumberMap such as from_internal_vertex_id, to_internal_vertex_id, renumber, set_renumbered_col_names
  • Add MNMG Hits and Node2vec to docs
  • Added docstring descriptions and examples to methods that were missing them
  • Fixed docstring examples in egonet.py, node2vec.py
  • Adds pylibcugraph docstring examples to the list of examples tested in cugraph/tests/test_doctests.py
  • Adds support for MG Dask docstring example testing, tested in newly created cugraph/tests/dask/test_mg_doctests.py

This PR addresses the items from and closes rapidsai#2227.
This PR also closes rapidsai#2193.

Authors:

Approvers:

URL: rapidsai#2194

This PR incorporates suggested changes from issue rapidsai#2037, opened back in 22.02, as well as cleaning up documentation and testing code from 22.04 work.

Specifically, this PR does the following:
- Removes worker helpers from MNMG algos in the online documentation (e.g. `call_katz_centrality`, `call_louvain`, `call_wcc`)
- Adds helpers from comms such as `get_comms`, `get_session_id`, `get_2D_partition`, is_initialized that were previously missing
- Adds helpers from NumberMap such as `from_internal_vertex_id`, `to_internal_vertex_id`, `renumber`, `set_renumbered_col_names`
- Add MNMG Hits and Node2vec to docs
- Added docstring descriptions and examples to methods that were missing them
- Fixed docstring examples in `egonet.py`, `node2vec.py`
- Adds `pylibcugraph` docstring examples to the list of examples tested in `cugraph/tests/test_doctests.py`
- Adds support for MG Dask docstring example testing, tested in newly created `cugraph/tests/dask/test_mg_doctests.py` 

This PR addresses the items from and closes rapidsai#2227.
This PR also closes rapidsai#2193.

Authors:
  - https://github.com/betochimas

Approvers:
  - Rick Ratzel (https://github.com/rlratzel)

URL: rapidsai#2194
@betochimas betochimas merged commit 8cd77fd into branch-22.06-eigen May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant