Skip to content
Open
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
Next Next commit
Merge post-1.1.0 dev and move the PR #625 changelog entry
Signed-off-by: Ching-Wei Kang <ckang53@wisc.edu>
  • Loading branch information
WilliamK112 committed Dec 4, 2026
commit 7366e7a0c9da33791235a14f1fdb77db4c09fd2a
69 changes: 58 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,23 @@ Each release links to full notes on the

## [Unreleased]

### Changed

- **`ProcessEvaluation.non_matches` is `None` instead of `[]` when there are
no records and a `compare_with()` result had no `non_matches` key**, as
from `aggregate_from_comparisons()` or `update_from_comparison_result()`
on default `compare_with()` results. This is a breaking change: code that
iterates `non_matches` from those results now raises `TypeError`, and
`save_metrics()` writes `null` for it. Records that were collected are
still returned ([#425](https://github.com/awslabs/stickler/issues/425)).

### Fixed

- The HTML report and the terminal printer no longer print "No non-matches
found." for a bulk run that has no records to show it. When documents
raised, both say how many could not be compared
([#425](https://github.com/awslabs/stickler/issues/425)).

## [1.1.0] - 2026-12-04

### Added
Expand Down Expand Up @@ -329,13 +346,6 @@ Each release links to full notes on the
1.0.2 left unchecked, such as a `$ref` target under an `x-*` key, still
import with the keys dropped
([#609](https://github.com/awslabs/stickler/issues/609)).
- **`ProcessEvaluation.non_matches` is `None` instead of `[]` when there are
no records and a `compare_with()` result had no `non_matches` key**, as
from `aggregate_from_comparisons()` or `update_from_comparison_result()`
on default `compare_with()` results. This is a breaking change: code that
iterates `non_matches` from those results now raises `TypeError`, and
`save_metrics()` writes `null` for it. Records that were collected are
still returned ([#425](https://github.com/awslabs/stickler/issues/425)).

### Removed

Expand Down Expand Up @@ -493,10 +503,47 @@ Each release links to full notes on the
`errors_found` is now a fractional expected count (a float) instead of an
integer that varied between runs
([#601](https://github.com/awslabs/stickler/issues/601)).
- The HTML report and the terminal printer no longer print "No non-matches
found." for a bulk run that has no records to show it. When documents
raised, both say how many could not be compared
([#425](https://github.com/awslabs/stickler/issues/425)).
- `LLMComparator.get_comparison_details` now calls the model once and scores
the reply it returns as `llm_response`. It called the model a second time
for `comparison_result`, so the score could come from a different reply
than the one shown, and each call cost two Bedrock requests. When either
value is `None` or NaN it no longer calls the model: `comparison_result`
follows the `None` policy as before, and `prompt` and `llm_response` are
`None`. The warning for a reply that is neither `true` nor `false` now
points at the caller of `get_comparison_details`
([#589](https://github.com/awslabs/stickler/issues/589)).

- **A `Tuple`, `Set` or `FrozenSet` field with no comparator named is compared
exactly.** Upgrade note: scores move for these fields. It scored `0.0` against an identical value in `compare_with()`,
while `compare()` scored edit distance over the repr, so an identical
`List[StructuredModel]` with a tuple sub-field scored `0.5`. The inferred
comparator is now `ExactComparator`, for the field, a `NamedTuple` or
`AbstractSet` one too, and for a list of them, as for a list of tuples
([#659](https://github.com/awslabs/stickler/issues/659)): `1.0` for equal
values, `0.0` otherwise. Empty values are values: `()` against `()` is a true
positive, against `None` a false negative. `to_stickler_config()` and
`to_json_schema()` name `ExactComparator`. A comparator named with
`comparator=` is never replaced; declare one, such as
`PointDistanceComparator`, for partial credit. A field typed `Any` or
`Sequence[int]` with no comparator named compares two tuples, or two sets, the
same way, at the top level, on a nested model and in a list-of-models item:
two identical tuples there scored `0.0` in `compare_with()` and `1.0` in
`compare()`. A tuple or set inside a `List[Any]` still uses the list's
comparator. With an inferred comparator, `compare()` now scores a tuple
against a list or a set as `0.0`, as `compare_with()` does. A declared
comparator gives the same scores as before in both readers, except
`ExactComparator` on two sets, which now compares them by membership (next
item) ([#391](https://github.com/awslabs/stickler/issues/391)).

- **`ExactComparator` compares two sets by membership.** Upgrade note: scores
move for set and frozenset values compared with `ExactComparator`, including
a `Set[str]` field with `"comparator": "auto"`. 1.0.x compared their string
forms, which follow iteration order, so two equal sets could score `1.0` or
`0.0` depending on `PYTHONHASHSEED`, and a `frozenset` never equalled an
equal `set`: `ExactComparator().compare(frozenset({"a"}), {"a"})` goes from
`0.0` to `1.0`. With `case_sensitive=False` the members are folded. A set
against a list, or against a string, is still unequal
([#656](https://github.com/awslabs/stickler/issues/656)).

### Performance

Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.