Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
491 commits
Select commit Hold shift + click to select a range
b1b862f
chore(deps): bump the github-actions group across 1 directory with 6 …
dependabot[bot] Sep 2, 2026
3d6253e
Merge pull request #285 from QinXi-ai/refactor/212-schema-importer
sromoam Sep 2, 2026
6d6c24b
Merge pull request #240 from awslabs/dependabot/github_actions/dev/gi…
sromoam Sep 2, 2026
87d82fd
Merge branch 'dev' into fix/231-hungarian-fd-contract
digalaviz Sep 2, 2026
235d5f1
Merge pull request #308 from mhaye9545/fix/307-empty-confusion-matrix…
sromoam Sep 3, 2026
85d0417
feat!: remove all_fields_matched and define EvalResult.matched directly
sromoam Aug 27, 2026
919a788
docs: purge all_fields_matched from docs and examples
sromoam Aug 27, 2026
7b227da
fix(287): address review on matched, the fd guidance and test hygiene
sromoam Aug 27, 2026
3684007
docs: a complete failure check reads both rollup nodes, not just aggr…
sromoam Aug 27, 2026
1db070b
docs: restore the #226 release note my rebase dropped
sromoam Sep 3, 2026
65ff59a
Merge pull request #290 from awslabs/fix/287-remove-all-fields-matched
sromoam Sep 3, 2026
49ef56e
feat!: score undeclared dict fields with ANLS* instead of whole-objec…
sromoam Aug 28, 2026
50d89e1
refactor: delete the tuple-preserving normalization and the tau knob
sromoam Aug 28, 2026
7a89848
refactor(anls)!: rename tau to leaf_threshold so `threshold` means on…
sromoam Sep 2, 2026
d249ef7
fix: address the five findings from reviewing the dict work
sromoam Sep 2, 2026
479aba8
fix: keep ANLS* leaves canonical, and fix the two structural findings
sromoam Sep 3, 2026
79f7d53
fix: one annotation, one answer, on the two branches that disagreed
sromoam Sep 3, 2026
2882442
fix: refuse values with no JSON form, and rewrite the comparator docs
sromoam Sep 3, 2026
682b7e2
docs: answer why a reader would tune leaf_threshold
sromoam Sep 3, 2026
e55270d
docs: show that numerically equal values can score below 1.0
sromoam Sep 3, 2026
4d40087
docs: restore the BBoxIoUComparator section the ANLS* rewrite overwrote
sromoam Sep 3, 2026
31d7ed4
Merge pull request #300 from awslabs/feat/277-anls-star-dict-comparison
sromoam Sep 3, 2026
381ff52
Merge branch 'dev' into fix/231-hungarian-fd-contract
sromoam Sep 3, 2026
e4bf08e
Merge pull request #289 from digalaviz/fix/231-hungarian-fd-contract
sromoam Sep 3, 2026
9350972
feat: add normalized text comparator
LuizPiccini Sep 3, 2026
2874db6
fix(210): reject unrecognized x-aws-stickler-* keys instead of droppi…
sromoam Sep 3, 2026
9f56ab5
fix(210): make extension-key rejection reach every position
sromoam Sep 3, 2026
1dcfdce
feat(comparators)!: warn when compare() shadows the None policy (#215)
sujimart Sep 3, 2026
382b879
Merge branch 'dev' into feat/215-remove-compare-shim
sujimart Sep 3, 2026
35f982c
Merge pull request #305 from awslabs/feat/215-remove-compare-shim
sromoam Sep 4, 2026
c1f0b1f
Merge pull request #312 from awslabs/fix/210-unknown-extension-keys
sromoam Sep 4, 2026
1c4b28f
Merge pull request #313 from LuizPiccini/feat/223-normalized-comparator
sromoam Sep 4, 2026
83d8981
docs(288): state which rollup node answers which question
sromoam Aug 27, 2026
e9ab483
docs(288): ground the two rollup nodes in the mAP structure
sromoam Aug 28, 2026
c260207
docs(288): correct the published rollup numbers and the clean check
sromoam Sep 3, 2026
60f8165
docs: de-duplicate two release notes that shipped twice
sromoam Sep 4, 2026
f343f6b
fix(246)!: honour a threshold set on a comparator
sromoam Sep 4, 2026
5ffb420
fix(318): score a nested plain BaseModel instead of calling it a mism…
sromoam Sep 4, 2026
5b2f656
fix(318): pass the models to the comparator unconverted, and require …
sromoam Sep 4, 2026
fee37b6
fix(318): settle the subclass case, and declare the rendering limitation
sromoam Sep 4, 2026
778a416
fix!: tell a named comparator threshold from a default one
sromoam Sep 4, 2026
0efc87c
fix!: score a nested plain BaseModel as an object, not as its string
sromoam Sep 4, 2026
bfd6a34
fix: refuse an object the field cannot score, and memoise the lookup
sromoam Sep 8, 2026
f91882a
fix: honour an explicit clip_under_threshold on a plain-model field
sromoam Sep 8, 2026
5c0ba1b
fix(317): read x-aws-stickler-threshold on an object-typed property
sromoam Sep 8, 2026
6c2cfbf
docs(288): scope the threshold-gating claim to list items
sromoam Sep 8, 2026
bc8e561
feat(239): infer comparators for fields a config did not specify
sromoam Sep 8, 2026
addba73
fix(239): merge comparator_config, scope the nested flag, infer list …
sromoam Sep 8, 2026
a6a5063
fix(246): keep legacy schemas importable and out-of-tree comparators …
sromoam Sep 8, 2026
3477a69
docs(288): read the node whose children you mean
sromoam Sep 8, 2026
cd3e891
fix(317): ignore an array-of-objects threshold instead of refusing it
sromoam Sep 8, 2026
182d720
docs(288): retire the unscoped claim everywhere, not only where it wa…
sromoam Sep 8, 2026
6d2c6e4
test(288): fail the build if `overall` is called an object verdict again
sromoam Sep 8, 2026
f699344
docs(288): bring the older sections into line with the new ones
sromoam Sep 8, 2026
3bf2fe3
fix(317): gate the array warning on the value, and unbundle the diff
sromoam Sep 8, 2026
337ff7d
feat(239): honour the config an inferred field was given, and stop gu…
sromoam Sep 8, 2026
49dc382
docs(288): describe the mechanism that actually runs, and scope its s…
sromoam Sep 8, 2026
f8d8c9e
test(288): guard the spelling of the claim that actually recurred
sromoam Sep 8, 2026
ef7ae2a
fix(246): do not warn on the placeholder this change exists to rescue
sromoam Sep 8, 2026
3bf1418
fix(246): report a comparator threshold this shape cannot use
sromoam Sep 8, 2026
22a84e9
docs(288): fix the numbers, the invariant, and the hole in the guard
sromoam Sep 8, 2026
ad16f2f
fix(246): key the new warning per model, and attribute a comparator zero
sromoam Sep 9, 2026
4869dd9
fix: make EvalResult non-matches available, without a 2x eval cost
sromoam Sep 9, 2026
ce3a19e
Merge origin/dev into fix/eval-result-pretty-print
sromoam Sep 9, 2026
420645f
Merge pull request #299 from anisayakmitra-in/fix/eval-result-pretty-…
sromoam Sep 9, 2026
1370193
fix(319): compose the object-pair gate in one place, and stop refusin…
sromoam Sep 9, 2026
7c57f2c
docs(319): write down the different-class rule, and scope the claim t…
sromoam Sep 9, 2026
3ded5ea
docs(319): link the tracked issue for the StructuredModel half (#327)
sromoam Sep 9, 2026
0d020c3
docs(288): take the unit annotation off the matrix, and fix the third…
sromoam Sep 9, 2026
a7cdb6a
Merge pull request #295 from awslabs/docs/288-overall-vs-aggregate
sromoam Sep 9, 2026
5ab530a
fix(246): make clip_under_threshold work on a list, closing the Dict/…
sromoam Sep 9, 2026
35e6de1
docs(246): declare the third score movement, the one that configures …
sromoam Sep 9, 2026
ecc857d
fix(239): silence two bandit false positives that were failing the se…
sromoam Sep 9, 2026
3f994a9
Merge pull request #316 from awslabs/fix/246-honour-comparator-threshold
sromoam Sep 9, 2026
e763380
fix(239): stop losing an authored comparator_config, and make the two…
sromoam Sep 9, 2026
2fca87f
Merge dev into fix/318-nested-plain-basemodel
sromoam Sep 9, 2026
79316cf
Merge dev into feat/239-infer-unspecified
sromoam Sep 9, 2026
1a3103f
Merge dev into fix/317-object-property-threshold
sromoam Sep 9, 2026
6cbcc74
fix(318): correct three claims the merge left unverifiable
sromoam Sep 10, 2026
d81e7c2
fix(318): judge a PAIR in the element gate, not a whole list
sromoam Sep 10, 2026
92ca3cd
docs(318): link the deferred non-match gap to #332
sromoam Sep 10, 2026
57601ff
Merge pull request #319 from awslabs/fix/318-nested-plain-basemodel
sromoam Sep 10, 2026
20e8e7d
Merge remote-tracking branch 'origin/dev' into fix/317-object-propert…
sromoam Sep 10, 2026
4e813a9
Merge remote-tracking branch 'origin/dev' into feat/239-infer-unspeci…
sromoam Sep 10, 2026
c4996f9
fix(317): correct five claims and pin the two gaps this leaves
sromoam Sep 10, 2026
6fbb425
Merge pull request #323 from awslabs/fix/317-object-property-threshold
sromoam Sep 10, 2026
8bdf811
Merge remote-tracking branch 'origin/dev' into feat/239-infer-unspeci…
sromoam Sep 10, 2026
bab977f
fix(239): stop double-unwrapping a nested array, and correct five claims
sromoam Sep 10, 2026
6580ecb
Merge pull request #324 from awslabs/feat/239-infer-unspecified
sromoam Sep 10, 2026
d1983e8
Docs/211 configuration paths (#328)
RachelHanspal Sep 11, 2026
cf896ff
fix: warn when NormalizedComparator is used on mappings (#331)
hugosmoreira Sep 11, 2026
c8cbe86
fix(320): refuse SecretStr/SecretBytes rather than compare the mask (…
sujimart Sep 11, 2026
4235f73
docs: measure against the branch, not the installed stickler (#342) (…
sromoam Sep 11, 2026
631b3c6
chore: bump version to 1.0.0 for release (#344)
sromoam Sep 11, 2026
6b40201
docs: correct `matched` description and note sparse-object behaviour
sromoam Sep 14, 2026
bfe69ff
fix: zero declared weights are not an empty denominator (#345 blocker 3)
sromoam Sep 14, 2026
ffa59f1
chore: restore the absolute `exclude-newer` in uv.lock
sromoam Sep 14, 2026
43a573d
chore: merge main into dev after the v1.0.0 release squash
sromoam Sep 14, 2026
73e9bc6
docs: Strands Evals integration notebooks and guide
sromoam Sep 14, 2026
ea20ed7
docs(notebooks): show what test_pass gates on, after the recall fix
sromoam Sep 14, 2026
2d62a01
docs(strands): correct five claims the draft got wrong, and pin cell 15
digalaviz Sep 15, 2026
4211f3d
examples(strands): add an offline agent walkthrough, and interpret ev…
digalaviz Sep 15, 2026
6c2a707
fix(examples): make record_agent_exchange.py actually run
digalaviz Sep 15, 2026
ce39819
docs(examples): correct twelve claims in the offline agent walkthrough
digalaviz Sep 15, 2026
7ae2047
docs(examples): correct how nested confusion-matrix rows are counted
digalaviz Sep 15, 2026
9747bf2
docs(strands): fix the notebook links, provenance and index entries
digalaviz Sep 15, 2026
ca40bbb
docs(strands): point the notebook links at dev, not the feature branch
digalaviz Sep 16, 2026
476a1a8
fix(350): warn on unrecognized keys in a model config
MohammedAlkindi Sep 18, 2026
81574c0
docs: correct inaccurate Stickler extension and field claims (#329)
SatvikMishra08 Sep 19, 2026
f7c92cf
docs: note #329 claim fixes under Unreleased in CHANGELOG
SatvikMishra08 Sep 19, 2026
26a3baa
fix: check documentation links on pull requests
hugosmoreira Sep 20, 2026
348dc59
fix: report refused list elements with field comparison rules
hugosmoreira Sep 20, 2026
a9b8bd2
fix(350): key the unknown-key warning per model and field path
MohammedAlkindi Sep 21, 2026
9c24e11
fix(350): refuse match_threshold on a primitive field
MohammedAlkindi Sep 21, 2026
f32e6cf
docs(350): document unknown-key reporting, and correct "raise" to "emit"
MohammedAlkindi Sep 21, 2026
864cefb
fix(350): refuse a non-mapping field config, and name the path in bot…
MohammedAlkindi Sep 21, 2026
e638ea2
docs(350): mark the breaking change the way this changelog marks them
MohammedAlkindi Sep 21, 2026
1479c3d
Merge pull request #361 from MohammedAlkindi/fix/warn-on-unknown-conf…
sromoam Sep 24, 2026
bc6c17e
docs(352): correct the README's published defaults and example scores…
sromoam Sep 24, 2026
7fefbbb
fix: reuse scored list pairings in comparison reports
hugosmoreira Sep 24, 2026
b147fb8
Merge dev and retain both Unreleased changelog entries
hugosmoreira Sep 24, 2026
63da7e1
Merge remote-tracking branch 'origin/dev' into bugfix/355-docs-pr-lin…
hugosmoreira Sep 24, 2026
36fb938
fix: enforce documentation plugin diagnostics
hugosmoreira Sep 24, 2026
7664719
fix: reuse nested list results in reports
hugosmoreira Sep 24, 2026
81dafd3
docs: apply sromoam review keep/reverts on #362
SatvikMishra08 Sep 27, 2026
0f28916
docs(352): name the formats that default to a 1.0 threshold
sromoam Oct 6, 2026
0b9602b
docs(strands): migrate the samples to StructuredOutputSimilarity and …
digalaviz Oct 6, 2026
0a7f68b
docs(strands): correct four inaccurate claims in the Strands Evals sa…
digalaviz Oct 7, 2026
6a259d8
fix: treat a float NaN as absent, the same as None (#367)
harrycav Oct 9, 2026
fc063e4
docs: correct #189 round-trip note in model-export.md
SatvikMishra08 Oct 9, 2026
9fa562b
fix: keep list reporting state outside public results
hugosmoreira Oct 10, 2026
ac23eae
fix: reject new documentation reference warnings
hugosmoreira Oct 10, 2026
44f68ce
fix: preserve legacy list reporting helper hooks
hugosmoreira Oct 11, 2026
b32d3ff
Merge pull request #362 from SatvikMishra08/fix/329-docs-claim-fixes
sromoam Oct 12, 2026
115b350
fix(383): let date, Decimal, UUID, Enum, tuple and set fields reach t…
sromoam Oct 13, 2026
70e9afb
Merge pull request #381 from harrycav/fix/367-nan-as-absent
sromoam Oct 13, 2026
20d13e7
fix: integrate dev and align NaN field reports
hugosmoreira Oct 13, 2026
5305811
chore: merge dev into fix/383-scalar-dispatch
sromoam Oct 14, 2026
854fc00
fix(383): share the scalar-pair rule with compare(), and close review…
sromoam Oct 14, 2026
6034791
chore(deps): bump the github-actions group across 1 directory with 3 …
dependabot[bot] Oct 14, 2026
869bc28
fix(366): refuse a RootModel when the evaluator is built
digalaviz Oct 15, 2026
a2db932
chore(ci): validate a pull request commit once, not twice
digalaviz Oct 15, 2026
a2f5d4c
fix: restore stdout when print_confusion_matrix output_file write fails
hippi345 Oct 15, 2026
afc1b0c
fix: narrow scope to stdout restoration only
hippi345 Oct 15, 2026
ad19ac8
refactor(296): remove the dead ConfusionMatrixCalculator methods
Thanatos9404 Oct 15, 2026
b88d81b
fix(383): always call a declared comparator, and drop Tuple/Set
sromoam Oct 15, 2026
9db859d
Merge pull request #390 from Thanatos9404/refactor/296-remove-dead-co…
sromoam Oct 15, 2026
6abbf26
Merge pull request #389 from digalaviz/chore/ci-concurrency-and-triggers
sromoam Oct 15, 2026
693a3de
fix(292): format the budget key as a number in Bulk_Confidence_AUROC
Thanatos9404 Oct 15, 2026
e57a48d
fix: tolerate documentation warning line shifts
hugosmoreira Oct 15, 2026
de3dfd2
chore: merge current dev CI updates
hugosmoreira Oct 15, 2026
ddbd94b
fix: preserve scores in nested comparison reasons
hugosmoreira Oct 15, 2026
d1f0f80
Merge pull request #384 from awslabs/fix/383-scalar-dispatch
digalaviz Oct 15, 2026
9a6f13d
fix!: treat a None list element as absent
sromoam Oct 15, 2026
e1445a4
fix(366): refuse a RootModel in a nested field or list element
digalaviz Oct 15, 2026
95fee3f
Merge remote-tracking branch 'origin/dev' into fix/366-reject-rootmodel
digalaviz Oct 15, 2026
f81a33e
Merge pull request #388 from digalaviz/fix/366-reject-rootmodel
sromoam Oct 15, 2026
baa3ca2
fix(pretty_print): do not report success when non-match records are a…
sromoam Oct 15, 2026
dd0048a
fix(333): export a list of mappings with object items
sromoam Oct 15, 2026
5049709
chore: merge current dev into list reporting revision
hugosmoreira Oct 15, 2026
2ca4fe0
fix(pretty_print): error on non-result input; actionable note for Eva…
sromoam Oct 15, 2026
aad6ebd
fix(333): correct the round-trip claims and pin the documented limits
sromoam Oct 15, 2026
6385efc
chore: add digalaviz as a maintainer
digalaviz Oct 15, 2026
1e743e0
test(365): pin the stickler surface Strands Evals 1.6.0 reads
sromoam Oct 16, 2026
e403b9b
Merge pull request #399 from awslabs/fix/386-none-list-elements-absent
digalaviz Oct 16, 2026
c3dfee3
ci(365): exempt strands-agents-evals from the cooldown up to the 1.6.…
sromoam Oct 16, 2026
14963ad
fix(411): report missing non-match records instead of a clean document
digalaviz Oct 16, 2026
7faefc0
fix(349)!: export plain models and nested lists, refuse model unions
Thanatos9404 Oct 16, 2026
003b5f1
Merge pull request #404 from awslabs/fix/298-pretty-print-raw-dict
sromoam Oct 16, 2026
b53e2f7
Merge pull request #363 from hugosmoreira/bugfix/355-docs-pr-link-check
sromoam Oct 19, 2026
5e17922
fix(333): round-trip an undeclared list of mappings and a Mapping ele…
sromoam Oct 19, 2026
be316a6
docs(352): state the 1.0 default for enum/const on any type and on ar…
sromoam Oct 19, 2026
99cc2fe
Merge pull request #396 from Thanatos9404/bugfix/292-auroc-notebook-b…
sromoam Oct 19, 2026
b5903a9
Merge pull request #394 from hippi345/fix/confusion-matrix-stdout-res…
sromoam Oct 19, 2026
bcc24de
fix(349): unwrap Annotated before exporting nested models
Thanatos9404 Oct 19, 2026
d90c7f6
Merge pull request #414 from Thanatos9404/bugfix/349-roundtrip-union
sromoam Oct 19, 2026
3554406
Merge pull request #401 from digalaviz/chore/add-digalaviz-as-maintainer
sromoam Oct 19, 2026
c346ee8
Merge pull request #387 from awslabs/dependabot/github_actions/dev/gi…
sromoam Oct 19, 2026
c45b00b
Merge remote-tracking branch 'origin/dev' into fix/333-list-dict-export
sromoam Oct 19, 2026
d37730b
Merge origin/dev into fix/411-html-false-success
sromoam Oct 19, 2026
ace4572
Merge pull request #412 from awslabs/fix/411-html-false-success
sromoam Oct 19, 2026
cc2bd10
fix: preserve list report indices and node reasons on current dev
hugosmoreira Oct 19, 2026
f59b247
fix(422): escape field names in the HTML field performance table
harrycav Oct 19, 2026
a1a58ce
Merge pull request #364 from hugosmoreira/bugfix/332-list-reporting
sromoam Oct 20, 2026
84b890b
Merge remote-tracking branch 'origin/dev' into fix/333-list-dict-export
sromoam Oct 20, 2026
0921f4a
Merge pull request #410 from awslabs/test/365-strands-evals-contract
sromoam Oct 20, 2026
776d42d
Merge remote-tracking branch 'origin/dev' into fix/422-escape-field-n…
harrycav Oct 20, 2026
8cda4fd
docs(352): split the README's object rows into with-properties and fr…
sromoam Oct 20, 2026
e6163d7
fix(333): export the resolved comparison for every mapping list, keep…
sromoam Oct 20, 2026
59e39ce
test(365): address review on the Strands Evals contract
sromoam Oct 20, 2026
b8efbdc
fix(333): state each re-imported spelling, document the late-resolved…
sromoam Oct 20, 2026
2db699d
test(365): fail closed on the lock export and finish the review follo…
sromoam Oct 20, 2026
35bf537
Merge pull request #369 from awslabs/docs/352-readme-defaults
sromoam Oct 20, 2026
8f2d66f
Merge pull request #429 from harrycav/fix/422-escape-field-names
digalaviz Oct 21, 2026
86372b5
fix(422): str() the field name, test the chart's escaping, truncate b…
harrycav Oct 20, 2026
19f8618
fix(431): keep document data from ending the report's <script> block
harrycav Oct 21, 2026
f72dc4b
test(431): guard the field-threshold blob with a schema-derived field…
harrycav Oct 21, 2026
efbe6a9
chore(deps): bump astral-sh/setup-uv
dependabot[bot] Oct 21, 2026
ce23e8a
Merge pull request #442 from awslabs/test/365-followups
digalaviz Oct 23, 2026
49fa64b
test(399): snapshot the None-in-a-list shapes
digalaviz Oct 23, 2026
baef6c5
Merge pull request #446 from digalaviz/test/399-snapshot-the-none-shapes
harrycav Oct 23, 2026
b6c4079
test(381): snapshot the NaN shapes
harrycav Oct 23, 2026
9eaf895
docs(381): list the NaN change as Breaking
harrycav Oct 23, 2026
de0d3c9
docs(381): point the snapshot note at the NaN change by issue, not se…
harrycav Oct 23, 2026
215ac16
Merge pull request #444 from harrycav/fix/431-script-breakout
digalaviz Oct 26, 2026
063037f
fix(453): escape :.3f/:1f cells after formatting
mangeshraut712 Oct 28, 2026
319cac6
Merge pull request #445 from awslabs/dependabot/github_actions/dev/gi…
sromoam Oct 28, 2026
ff179d6
Merge pull request #448 from harrycav/docs/381-nan-breaking
sromoam Oct 28, 2026
4f4f4b5
Merge pull request #447 from harrycav/test/381-snapshot-nan-shapes
sromoam Oct 28, 2026
2ce08cf
chore(deps): bump the github-actions group with 2 updates
dependabot[bot] Oct 28, 2026
1f46ece
fix: report-only list fixes: raw_similarity_score, evaluator-format p…
sromoam Oct 28, 2026
13a4523
refactor(395): remove the remaining dead confusion-matrix paths (#398)
Thanatos9404 Oct 28, 2026
251f333
fix(336): warn about the nested-field pairs the matcher kept, not eve…
MohammedAlkindi Oct 28, 2026
1df32da
fix(423): refuse in specs_for whatever structured_model_for refuses (…
harrycav Oct 29, 2026
4a6ef00
fix(417)!: use one threshold tolerance at every classification gate (…
Thanatos9404 Oct 29, 2026
89cb587
Merge origin/dev into fix/333-list-dict-export
sromoam Oct 29, 2026
8187b85
fix(333): export a from_pydantic() mapping element as an object
sromoam Oct 29, 2026
6825739
docs(333): state the from_pydantic() config spelling and the default_…
sromoam Oct 29, 2026
c7a943a
docs(333): state the from_pydantic() export limits, and pin the #435 …
sromoam Oct 29, 2026
0414699
fix(report): accept a non-string document identifier
digalaviz Oct 26, 2026
3ad0c4a
fix(report): escape the confusion counts in the field performance table
digalaviz Oct 26, 2026
be1755d
docs: say what the U+2028/U+2029 entries actually do
digalaviz Oct 26, 2026
38ff23a
chore(deps): bump mkdocs-material to 9.7.7 (GHSA-xvg9-69gf-fjrf)
digalaviz Oct 26, 2026
aaaff13
fix(report): disable pdf.js eval (CVE-2024-4367), and embed a numeric…
sromoam Oct 29, 2026
0d16674
docs(changelog): record the report hardening carried over from #452
sromoam Oct 29, 2026
6af633f
test(report): pin the PDF viewer's only loader call, its reachability…
digalaviz Oct 29, 2026
0b694bd
test(report): cover the doc_id conversion's edge cases
digalaviz Oct 29, 2026
c24055c
test(report): let the truncation test catch escape-then-truncate on t…
digalaviz Oct 29, 2026
9fd99e2
docs(changelog): record the report-generation slowdown tracked in #457
digalaviz Oct 29, 2026
8a1d736
fix(306): accept default_factory on ComparableField (#360)
MohammedAlkindi Oct 29, 2026
e94dc21
docs: correct the mean_score docstring and the [Plain, NoteSM] table …
sromoam Oct 29, 2026
3265ee9
docs(changelog): say what #333 changed on dev, not against an earlier…
sromoam Oct 29, 2026
62323bc
fix(report): escape the executive summary's document count
digalaviz Oct 30, 2026
01f6fff
Merge pull request #465 from digalaviz/test/464-extras
sromoam Oct 30, 2026
dafdaa0
Merge origin/dev into fix/report-hardening-from-452
sromoam Oct 30, 2026
434631c
Merge pull request #456 from mangeshraut712/fix/453-escape-format-cells
sromoam Oct 30, 2026
1878d48
Merge remote-tracking branch 'origin/dev' into fix/report-hardening-f…
sromoam Oct 30, 2026
d7b3214
Merge remote-tracking branch 'origin/dev' into pr359w
sromoam Oct 30, 2026
1619dd2
Merge pull request #466 from digalaviz/fix/document-count-escape
sromoam Oct 30, 2026
4969aba
docs(examples): install strands-agents-evals 1.6.0 from PyPI
sromoam Oct 30, 2026
008432d
docs(strands-evals): correct the nested-row gate and the str date claim
sromoam Oct 30, 2026
05a21b3
docs(examples): track the LineItems explain() label in #210
sromoam Oct 30, 2026
5d60b68
style(examples): wrap the Evaluator notebook import for ruff (I001)
sromoam Oct 30, 2026
46b9336
docs(strands-evals): say when a value from another schema is scored, …
sromoam Oct 30, 2026
a72aee1
Merge pull request #359 from digalaviz/demo/strands-evals-examples
sromoam Oct 30, 2026
52e8ef4
Merge pull request #464 from awslabs/fix/report-hardening-from-452
sromoam Oct 30, 2026
1f1119f
Merge origin/dev into fix/333-list-dict-export
sromoam Oct 30, 2026
a9d4510
docs(333): drop the default_factory limit #360 fixed, and turn its xf…
sromoam Oct 30, 2026
34867f9
Merge pull request #405 from awslabs/fix/333-list-dict-export
sromoam Oct 30, 2026
4e659e7
Merge pull request #459 from awslabs/dependabot/github_actions/dev/gi…
sromoam Oct 30, 2026
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
fix(336): warn about the nested-field pairs the matcher kept, not eve…
…ry cell (#382)

* fix(336): warn about the nested-field pairs the matcher kept, not every cell

compare() is the cost function for a list of StructuredModel rows, so the
class gate on a nested field ran, and warned, for every cell of the cost
matrix. An all-correct List[Holder] scored 1.0 with tp=2 and still warned
that a Cat was compared against a Dog, and warn_once then had nothing left
for the real mismatch that followed.

The gate is now silent while HungarianMatcher fills a cost matrix. The
selected pairs are scored again through compare_with outside the matrix,
which is where the warning now comes from. Verdicts are unchanged.

* fix(336): set the matrix flag where the kept pairs are scored again

HungarianMatcher.match set filling_cost_matrix for every caller, including
a bare matcher and an Any field's list, whose cell scores are the result.
Nothing re-scores those pairs, so the gate's only warning was lost: a kept
Cat-vs-Dog pair through HungarianMatcher(StructuredModelComparator()) and an
Any field declared with that comparator each warned once on dev and not at
all here. Scores and counts were unchanged.

HungarianHelper.get_complete_matching_info now sets the flag around its
calculate_metrics call instead, the one path whose kept pairs are scored
again through compare_with. The None filtering from #399 is unchanged.

Tests: the flag-scope tests go through HungarianHelper, a bare matcher is
checked not to set it, and the bare matcher, Any-field and dict-value cases
each warn exactly once.

* fix(336): test the kept pair, wrap the matrix flag, correct the docs

The bare-matcher and Any-field tests passed on a discarded Cat-vs-Dog
cell's warning, so they would still pass if the kept pair never warned.
They now use rows paired by label where only the kept pairs cross
classes and every discarded cell is same-class. With the kept-pair
warning suppressed, both fail; the previous versions passed.

The mapping test passes with or without the deferral, because that
warning is keyed per field. It is renamed and documented as a guard
against over-silencing only.

HungarianHelper no longer imports the private ContextVar. hungarian.py
gains scoring_cost_matrix(), a context manager that sets and restores
it, and the reset is tested for ValueError and KeyboardInterrupt.

filling_cost_matrix() is true for the whole HungarianHelper match,
including the solve, and false for a bare matcher; its summary and the
flag-scope test name now say so. The CHANGELOG entry states the real
scope: warnings are deferred to kept pairs when HungarianHelper matches
StructuredModel rows, while a bare HungarianMatcher and an Any field
whose list does not start with a model warn on every cell, as before.

* fix(336): scope the docs to what the flag does, test the kept pair

The CHANGELOG headline claimed no warning about a discarded pair at all.
It is now scoped to StructuredModel list rows, and names the residual: a
bare matcher, or an Any field whose list starts with a scalar, can still
spend the field's one message on a discarded cell.

filling_cost_matrix() is described as true while HungarianHelper scores
and solves the matrix, not for the whole call and not as false during
the re-score, which nested lists perform under the outer flag. The
scoring_cost_matrix() docstring no longer promises a reset for a signal
that lands between the set and the try.

TestASelectedMismatchStillWarns uses the fixture where only the kept
pairs cross classes, so it fails if no kept pair warns. An autouse
fixture asserts the flag is clear before and after each test, and the
flag-scope test is renamed to what it checks.

* refactor(336): keep the pair-warning flag in hungarian_helper, document it once

The flag's only setter (HungarianHelper) and only reader
(ConfigurationHelper.can_compare_object_pair) are both in
structured_object_evaluator/models, so it moves out of
stickler.algorithms.hungarian, which this PR no longer touches. The two
names now share a verb: deferring_pair_warnings() and the
defer_pair_warnings() context manager.

The rule is explained once, in deferring_pair_warnings(). The context
manager, the gate docstring and the helper point there, and the
algorithms README section is dropped. get_complete_matching_info states
that a caller needing the warnings must score the kept pairs again.

No behaviour change.

* fix(336): set the pair-warning flag inside the try

A KeyboardInterrupt between the set and the try left the flag true for
the rest of the context, which in a Jupyter kernel is the session, so
every later class-mismatch and mapping warning was silenced.

* fix(336): restore the pair-warning flag without a token

79b08e4 moved the set inside the try, but a pending KeyboardInterrupt is
raised when ContextVar.set returns, after the value has changed and
before the token is stored. The token stayed None, the finally skipped
the reset, and the flag stayed true. defer_pair_warnings() now reads the
previous value first and sets it back in the finally, so no token is
needed. A test proxies the ContextVar so that set() changes the value and
then raises KeyboardInterrupt; it failed on 79b08e4 and passes now.

Also: the gate docstring's "see there" on one line, the test identifiers
renamed from "matrix flag" to pair-warning deferral, and one line in the
models README for anyone adding a pair-level warning.

---------

Co-authored-by: Spencer Romo <sromo@amazon.com>
  • Loading branch information
MohammedAlkindi and sromoam authored Oct 28, 2026
commit 251f333cc6bf7b028fdc71a49e68e9bb51edaabc
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,20 @@ Each release links to full notes on the
Keyed on the leaf name alone, the first model built in a process silenced every
later one carrying the same typo.

- **The class gate on a nested field no longer warns about discarded pairs when
`StructuredModel` list rows are matched.** `compare()` is the cost function for a list of `StructuredModel`
rows, and it reached the gate for every cell of the cost matrix. An all-correct
`List[Holder]` scored `1.0` with `tp=2` and still warned that a `Cat` had been
compared against a `Dog`, and because `warn_once` spends one message per field,
the real `Cat`-vs-`Dog` pair that followed warned nothing. When `HungarianHelper`
matches `StructuredModel` list rows (`compare_with`, `compare`, and nested lists),
the class-mismatch and mapping warnings are now deferred to the pairs the matcher
keeps, which are scored again through `compare_with` and carry the warning. A
bare `HungarianMatcher`, and an `Any` field whose list does not start with a
model, still score every cell with warnings on, as before, so they can still
spend the field's one message on a discarded cell; that is left to a follow-up.
Scores and counts are unchanged ([#336](https://github.com/awslabs/stickler/issues/336))

- **The pretty printers no longer report success over results that carry no
non-match records.** `print_non_matches` and `print_evaluation_results` printed
`✅ No non-matches found - all fields matched successfully!` for `EvalResult.raw`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ its `from_json()` ingestion and `compare_with()` comparison pipeline.
holds models is read from its first present element
(`NullHelper.first_present`), not from `[0]` of the raw list (#386, #322). The rule is in
`docs/docs/Advanced/classification-logic.md`, "`None` elements in a list".
A new pair-level warning must stay silent while `deferring_pair_warnings()` is true.
- `field_comparison_collector.py` / `field_comparison_helper.py` — produce the
`field_comparisons` rows (each carries a GT-side `expected_key` and a
prediction-side `actual_key`, which diverge for reordered list items).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from stickler.utils.deprecation import warn_once

from .comparable_field import _LEGACY_DEFAULT_THRESHOLD
from .hungarian_helper import deferring_pair_warnings
from .optional_annotation import (
is_union,
union_args,
Expand Down Expand Up @@ -537,8 +538,10 @@ def can_compare_object_pair(
declared treatment of a multi-arm union.

``warn=False`` gives the same verdict silently; see
:meth:`can_score_object`.
:meth:`can_score_object`. It is also silent, whatever ``warn`` says,
while :func:`deferring_pair_warnings` is true; see there (#336).
"""
warn = warn and not deferring_pair_warnings()
if not ConfigurationHelper.values_are_same_model_class(
model_cls, field_name, gt_val, pred_val, warn=warn
):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,50 @@
"""Hungarian matching helper for StructuredModel comparisons."""

from typing import Any, Dict, List
from contextlib import contextmanager
from contextvars import ContextVar
from typing import Any, Dict, Iterator, List

from stickler.algorithms.hungarian import HungarianMatcher
from stickler.comparators.structured import StructuredModelComparator

from .null_helper import NullHelper

_DEFER_PAIR_WARNINGS: ContextVar[bool] = ContextVar(
"stickler_defer_pair_warnings", default=False
)


def deferring_pair_warnings() -> bool:
"""Whether warnings about a scored pair wait for the caller's re-score.

True while ``HungarianHelper.get_complete_matching_info`` scores and solves
the cost matrix for a list of ``StructuredModel`` rows. The matcher scores
every pair and keeps one per row, so a warning emitted then may describe a
discarded pair and spend ``warn_once`` before the real one arrives (#336).
The helper's caller scores the kept pairs again, so code that warns about a
scored pair checks this and leaves the warning to that re-score. A bare
``HungarianMatcher`` does not set it, because nothing re-scores its pairs.

A ``ContextVar`` does not carry into a worker thread unless the work is run
in a ``contextvars.copy_context()``.
"""
return _DEFER_PAIR_WARNINGS.get()


@contextmanager
def defer_pair_warnings() -> Iterator[None]:
"""Make :func:`deferring_pair_warnings` true for the body; see there.

The previous value is restored on exit, including when the body raises or
an interrupt arrives as the set returns.
"""
previous = _DEFER_PAIR_WARNINGS.get()
try:
_DEFER_PAIR_WARNINGS.set(True)
yield
finally:
_DEFER_PAIR_WARNINGS.set(previous)


class HungarianHelper:
"""Helper class for Hungarian matching operations with StructuredModel objects."""
Expand All @@ -22,6 +60,10 @@ def get_complete_matching_info(
This method performs Hungarian matching once and returns all derived information,
eliminating the need for multiple calls that recalculate the same matching.

Warnings about scored pairs are deferred while the matrix is scored; see
:func:`deferring_pair_warnings`. A caller that needs them must score the
kept pairs again outside this call.

Args:
gt_list: Ground truth list
pred_list: Prediction list
Expand Down Expand Up @@ -52,10 +94,11 @@ def get_complete_matching_info(
"matched_pred_indices": set(),
}

# Single Hungarian algorithm call - this is the only expensive operation
metrics = self.hungarian.calculate_metrics(
[gt_list[i] for i in gt_present], [pred_list[j] for j in pred_present]
)
# Single Hungarian algorithm call - this is the only expensive operation.
with defer_pair_warnings():
metrics = self.hungarian.calculate_metrics(
[gt_list[i] for i in gt_present], [pred_list[j] for j in pred_present]
)
matched_pairs = [
(gt_present[i], pred_present[j], score)
for i, j, score in metrics["matched_pairs"]
Expand Down
Loading
Loading