Skip to content

Conversation

@mnwhite
Copy link
Contributor

@mnwhite mnwhite commented Dec 3, 2025

This PR adds the method describe_distance() to MetricObject, which recursively generates a description of how the distance metric is computed. Prints output to screen by default, but can return it as a string instead. Has an option to specify maximum depth, because some solution objects are complicated.

I should add some tests so that most of the new code gets covered.

MetricObject now has a method called `describe_distance()` that prints (or returns) a recursive description of how its distance metric is computed. I'm going to add a depth-limiting option.
@mnwhite
Copy link
Contributor Author

mnwhite commented Dec 3, 2025

This is meant to address #1331 , which was originally marked as "Priority: Critical". That seemed hyperbolic to me, so I bumped it down to high.

Object classes (etc) are now displayed in line.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants