You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GoodnessOfFitHypothesis documents dict support, but dict-based hypotheses are rejected #167
So a hypothesis constructed from a plain dict (explicitly allowed by the docstring) has parameter_values is None and always failssupports_hypothesis — which also breaks get_hypothesis_generator-style discovery flows for dict-based hypotheses.
This was already flagged in a review comment on PR #160 (2026-11-07) and is still present after the merge.
Suggestion
Either:
accept dict properly (wrap/convert into the statistic's ParameterizationDescriptor before capability checks), or
narrow the documented contract to ParameterValues | None and reject dict loudly at construction time.
A small regression test covering a dict-based hypothesis would pin the chosen behaviour.
Activity