Skip to content

Improper CP values silently rearranged #43

@dan-knight

Description

@dan-knight

Nodes are reordered by CP, but a node whose CP is larger than its parent will swap positions in the tree (essentially swapping parents). In reality, this should probably generate an error, as a child node cannot be more prevalent than its parent. However, this may be a grey area. (@yashpatel6, @whelena, any thoughts?)

Reordering node names by CP (when no labels are provided) seems logical, and was the intended functionality. This seems to be a bug related to indexing the values themselves.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions