Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fuzz statistics calculations #1307

Open
lwwmanning opened this issue Nov 15, 2024 · 2 comments
Open

Fuzz statistics calculations #1307

lwwmanning opened this issue Nov 15, 2024 · 2 comments

Comments

@lwwmanning
Copy link
Member

We should fuzz statistics by computing all possible stats on an array via array.statistics.compute_all(all::<Stat>()) or some such, canonicalizing that array, and then calling compute_statistics on the canonicalized array (one by one).

If the statistic is present in the first set, it should also be present and with equal value in the second set.

@gatesn
Copy link
Contributor

gatesn commented Nov 15, 2024

Doesn't that break when you hard-code canonicalize to copy over all stats?

@lwwmanning
Copy link
Member Author

Nah, because compute_statistics bypasses the cached values altogether

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants