find_problems

classmethod EquationPluginModel.find_problems()

Checks for problems in the tree structure, problems can occur when:

  1. your code breaks and you get incomplete transactions (always use transactions!)

  2. changing the steplen value in a model (you must dump_bulk() first, change steplen and then load_bulk()

Returns

A tuple of five lists:

  1. a list of ids of nodes with characters not found in the alphabet

  2. a list of ids of nodes when a wrong path length according to steplen

  3. a list of ids of orphaned nodes

  4. a list of ids of nodes with the wrong depth value for their path

  5. a list of ids nodes that report a wrong number of children