[LiVE] Request for suggestions for a livestreamed "Bugs Review" event

DegreeGraphDistribution misbehaves

DegreeGraphDistribution is effectively undocumented. There is no clear statement in the docs about what it is supposed to mean. I can’t even decide if certain behaviours are bugs or not.

(Of course, using our common sense we can see that these behaviours are clearly bugs. However, when reporting issues with Graph it is often a requirement to stick to the letter of the documentation.)

However, after a lot of guesswork, I suspect that:

  • It should sample uniformly from the set of graphs with a given degree sequence. Confirming of correcting this was outright refused by the developer when contacted through support. A simple test shows that it does not in fact sample uniformly. I can’t even decide if this is a bug because of no documentation and no support (perhaps the sampler is meant to be approximately uniform only?)

  • For non-graphical sequences, it samples non-uniformly (not even approximately) from non-simple graphs. Again, answers to any questions about this were plainly denied. A typical answer is “no information is available”.

  • Without a proper definition, I am completely lost when trying to figure out how this should work with functions like GraphPropertyDistribution

  • The syntax for directed graphs is again undocumented

The situation has been like this for many years, and nothing has changed after many reports. This is symptomatic of how problems with Graph are handled in general.

Related: Why is some Graph functionality underdocumented to the point of unusabiliy? (Note: still no response.)

3 Likes