Enhance numerical stability and scoring accuracy for datasets with identical features
- Adjust minimum median values to 100x machine epsilon to prevent unstable operations.
- Implement specific scoring logic for outlier and near-duplicate issues in datasets with identical features, ensuring correct scores are assigned in such edge cases.
- Introduce unit tests to validate the expected behavior for datasets comprising entirely identical examples. Check an additional case with an extra unique example.
Related to issue #1055.
* create and test strategy for generating knn_graph as test inputs
* test strategy for generating knn_graphs
- Each row has the distances sorted in ascending order in the csr-format.
- The indices of the neighbors are unique within a column and don't have the query point as a neighbor.
- If points a and b are mutual neighbors, they have the same distance between them.
* add property based tests for near-duplicate sets
* flag near-duplicate issues based on items in near duplicate sets.