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

Automated testing to compare with networkx #10

Open
Labels
testsUnit tests and/or continuous integration
@eriknw

Description

@eriknw

It would be super-duper handy to be able to automatically generate input graphs and node selection lists (i.e., masks) to run with both NetworkX andgraphblas-algorithms and compare results.

For example, it would be nice to cover:

  • Graph and DiGraph
  • With and w/o self-edges
  • Symmetric and asymmetric DiGraph
  • Purely structural (all edges 1)
  • Edge values contain all combinations of {positive, 0, negative}, and with ints or floats
  • Different edge densities, including full graph (w/ and w/o self-edges)
  • Empty graph, only self-edges
  • Some rows and/or columns are empty (i.e., no in-edges or out-edges or both)
  • Perhaps some graphs with specific shapes: ring, tree, DAG, etc
  • Bipartite graphs
  • More than one groups of connected components (by construction)
  • etc.

Perhaps we could leveragehypothesis to help generate random inputs. I would be delighted if we began with a very small subset of the above.

CC@jim22k who has done similar work in the past. Having this functionality would beincredibly useful in making sure we match NetworkX. For one thing, it would help us determine what to do about self-edges, whichmay be poorly defined at times for NetworkX (I really don't know if it is or not), but should be well-defined for us: do what NetworkX does.

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsUnit tests and/or continuous integration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp