Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Basic graph generation using hypothesis, compare outputs with NX#18

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
MridulS wants to merge2 commits intopython-graphblas:main
base:main
Choose a base branch
Loading
fromMridulS:hypo_test

Conversation

MridulS
Copy link

To extend tests#10
Usinghypothesis to generate a combinations of graphs to compare the outputs of nx implementation and graphblas ones. I'm not a 100% sure if this is the best way of doing this (this is the first time I'm writing hypothesis tests) and the coverage would be pretty poor as there are a lot of assumptions. Currently the graph generator gives a sample of graphs with the toggles:

  • directed: bool generate a directed graph
  • self_loops: bool to control if self edges are allowed
  • sym_digraph: bool to control the symmetric digraphs.
  • edges: generates a 3-tuple of edge data, all our integers
  • edge_data: bool to control if the edge should be weighted or not.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@MridulS

[8]ページ先頭

©2009-2025 Movatter.jp