Compress TDigest can generate centroid with NaN mean
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 52/100
Research direction
Start with the linked pull-request discussion and trace the TDigest compression and deserialization paths mentioned in the issue. Verify how centroid means and weights are validated, and confirm that stored centroids cannot contain NaN means or non-positive weights while rank/quantile behavior remains addressed separately.
Written by the indexing model from the issue text.
Description
See this thread https://github.com/apache/datasketches-rust/pull/23#discussion_r2622754228
Also we don't verify that the centroid mean is not NaN and the weight is not zero (should be positive even?) on deserialization. (Generally we can't assume the data to be deserialized is safe.)
I think the rank/quantile method can return NaN if the calculation result in that. But the stored centroid should not be NaN or else stable sort is unsound?
- Dominant language
- Java
- Stars
- 958
- Forks
- 226
- Avg merge
- 3d 40m
- Merged PRs (30d)
- 13
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/datasketches-java
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
apache/datasketches-java#731 · 16 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
apache/datasketches-java#739 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
apache/datasketches-java#720 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
apache/datasketches-java#693 · 13 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
apache/datasketches-java#647 · 5 comments ·
All issues in apache/datasketches-java
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Two open-case totals on one screen: the Programs tile says 15,858 and the nav badge says 15,868 Openbug frontend maui-pilot
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
objectionary/eo-graphs#74 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100