Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
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
docs(changelog): fix the required_match entry
- a veto removes a candidate pair; only an object left with no allowed
  partner is an FN or an FA
- name the new `HungarianMatcher(is_pair_excluded=...)` keyword
- the nested refusal also covers a nested class defined further down,
  on first use
  • Loading branch information
digalaviz committed Nov 30, 2026
commit 2e1986ad24de1cb5c6a383c8e2b1d047cc05e3d1
19 changes: 11 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,19 @@ Each release links to full notes on the
config that uses `...` cannot be read by earlier versions.
- `ComparableField(required_match=True)` makes a primitive field a veto when
objects are paired in a list: a pair whose required field is not at or above
its threshold is excluded before the assignment and counts as one false
negative and one false alarm, never a false discovery. Off by default; scores
its threshold is excluded before the assignment, which keeps as many allowed
pairs as it can. An object left with no allowed partner counts as a false
negative or a false alarm, never a false discovery. Off by default; scores
and counts do not change unless a field sets it. Only `str`, `int`, `float`
and `bool` fields may be required, and a class may not hold a single nested
model that has required fields (`ValueError` when the class is defined). When
the two objects have different classes, a field required by either one vetoes
the pair. The vetoed objects follow the `aggregate` rule for any FN or FA
item: left out when a sibling was accepted, in the list's own counts when
none was. Python only: `to_json_schema()` and `to_stickler_config()` do not
write it, and `model_from_json()` and `from_json_schema()` do not read it.
model that has required fields (`ValueError` when the class is defined, or on
first use for a nested class defined further down). When the two objects have
different classes, a field required by either one vetoes the pair. The
unmatched objects follow the `aggregate` rule for any FN or FA item: left out
when a sibling was accepted, in the list's own counts when none was.
`HungarianMatcher` takes a new `is_pair_excluded` keyword for this. Python
only: `to_json_schema()` and `to_stickler_config()` do not write it, and
`model_from_json()` and `from_json_schema()` do not read it.

### Changed

Expand Down