Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge origin/dev into fix/378-379-auto-dump
  • Loading branch information
sromoam committed Oct 28, 2026
commit 13bc7d372339966fc69cf0d53c703aa460c6dde2
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,20 @@ Each release links to full notes on the
[Excluded fields](https://awslabs.github.io/stickler/API-Reference/auto/#excluded-fields)
([#379](https://github.com/awslabs/stickler/issues/379))

- **Breaking:** a float `NaN` is now absent, the same as `None`. Two identical
`NaN`s scored `0.0` and counted as a false discovery, because `NaN` equals
nothing under IEEE 754. `NaN` vs `NaN` or `None` is now a true negative
scoring `1.0`, `NaN` vs a number is a false alarm or false negative, and
comparators apply the same rule. This changes confusion counts for any field
holding `NaN`, and can move a pass/fail verdict in either direction. A
prediction of `NaN` where a number is expected was a false discovery and is
now a false negative, which lowers recall: a Strands Evals `test_pass` that
gates on recall can go from pass to fail at its default threshold. `NaN` vs
`NaN` or `None` can now pass where it failed. First listed under Fixed; its
effect on verdicts was measured in
[#443](https://github.com/awslabs/stickler/issues/443)
([#367](https://github.com/awslabs/stickler/issues/367))

- **Breaking:** a `None` element in a list is now absent. It is left out
before matching, so it is never paired, counted or scored, and a list of only
`None` is an empty list. A float `NaN` element counts as `None`; an empty
Expand Down
5 changes: 4 additions & 1 deletion src/stickler/auto/facade.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@
)
from pydantic_core import PydanticSerializationError

from ..structured_object_evaluator.models.structured_model import StructuredModel
from ..structured_object_evaluator.models.structured_model import (
StructuredModel,
_annotation_is_list,
)
from .builder import (
has_exclude_if,
is_excluded,
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.