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
docs(288): scope the threshold-gating claim to list items
Addresses Vincil's second review of #295. All seven reproduced before
changing anything; nothing disputed.

The central claim the new prose was built on is true for
List[StructuredModel] items and false for a single nested StructuredModel
field, and aggregate-metrics.md contradicted itself on exactly that point:
its own worked output 30 lines above showed a rejected nested object whose
leaves were still reported.

Gating is a property of StructuredListComparator, which pairs items and
then accepts or rejects them. A nested object field goes through
FieldComparator, which has no such stage. Measured on a three-leaf nested
object with one leaf wrong:

  field threshold=0.9    overall tp=1 fd=1    aggregate tp=3 fd=1
  field threshold=0.5    overall tp=2 fd=0    aggregate tp=3 fd=1
  match_threshold 0.9 / 0.7 / 0.5 / 0.1  ->  identical at every value

So two things the pages got wrong for that shape: the leaves are always
reported, not excluded, and match_threshold is not the knob -- which made
the published "lower match_threshold to get leaf detail for a marginal
object" remedy a no-op. That remedy shipped in the API reference via two
docstrings, where no surrounding line-item context signals that it is
list-scoped, so it is corrected there too.

Six doc sites and two docstrings now scope the claim. Confirmed the list
case does gate and does respond to match_threshold (2 items 1 rejected ->
aggregate tp=6 fd=0; at 0.5 -> tp=10 fd=2), so the narrowed claim is
accurate rather than merely hedged.

Also folded in:

- On an all-rejected document, aggregate stops counting leaves.
  AggregateMetricsCalculator falls back to summing children's overall when
  the recursive leaf sum is all-zero, so the unit changes with the data:
  two rejected items of six fields give aggregate tp=0 fd=2, two object
  rows where twelve leaves exist. Documented as a warning admonition,
  because the page promises "the unit is the leaf".

- The mAP cross-link pointed at #iou-thresholds, which is about
  configuring the COCO IoU range. The sentence being cited is under
  #iou-calculation. Both links retargeted; the old anchor resolved, so
  --strict never noticed.

- The retired clean check survived in tests/auto/test_risk_surface.py
  under a comment calling it "the reliable question", so the form this PR
  retires was still in the repo for the next person to copy. Fixed, and
  the drift guard now walks every .py and .md in the tree rather than only
  the three doc pages -- verified it fails when the retired form is
  reintroduced and passes when it is not.

- threshold-gated-evaluation.md told readers "read fp, not fa + fd", which
  teaches a false lesson about the classes. FP = FA + FD by construction,
  and fa + fd on a node works fine; what the old snippet missed was
  reading fa on aggregate AT ALL. The fix is the node, not the field, as
  the two sibling pages already said.

Nine new tests pin the corrected claims, including match_threshold's
inertness for a nested object, so the retired remedy cannot be
re-published silently.

2346 pass, ruff clean, mkdocs at the 9-warning dev baseline with no new
anchor warnings.
  • Loading branch information
sromoam committed Sep 8, 2026
commit 6c2cfbf61e0701fb15f65fbd4f876f3adf5e5c84
33 changes: 28 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,11 +305,34 @@ Each release links to full notes on the
)
```

A below-threshold object is a spurious non-match, so not descending into it is
deliberate: `overall` carries the object verdict and `aggregate` carries leaf
detail for the objects that were comparable. A caller wanting leaf detail for a
marginal object lowers `match_threshold` until it qualifies. See
[#288](https://github.com/awslabs/stickler/issues/288) for the naming.
A below-threshold **list item** is a spurious non-match, so not descending into it
is deliberate: `overall` carries the object verdict and `aggregate` carries leaf
detail for the items that were comparable. A caller wanting leaf detail for a
marginal list item lowers `match_threshold` until it qualifies.

That gating is a property of `List[StructuredModel]` pairing, not of nested
objects generally, and the pages now say so. `StructuredListComparator` pairs
items and then accepts or rejects; a single nested `StructuredModel` field goes
through `FieldComparator`, which has no such stage. So for a nested object field
the leaves are **always** reported on `aggregate`, and the verdict comes from the
field's own `threshold` -- `match_threshold` is never consulted, which made the
published "lower `match_threshold`" remedy a no-op for that shape. Measured on a
three-leaf nested object with one leaf wrong:

```
field threshold=0.9 overall tp=1 fd=1 aggregate tp=3 fd=1
field threshold=0.5 overall tp=2 fd=0 aggregate tp=3 fd=1
match_threshold 0.9 / 0.7 / 0.5 / 0.1 -> identical at every value
```

Also documented: on a document where **every** subtree was rejected, `aggregate`
stops counting leaves. `AggregateMetricsCalculator` falls back to summing
children's `overall` when the recursive leaf sum is all-zero, so the unit of the
count changes with the data -- two rejected items of six fields report
`aggregate tp=0 fd=2`, two object rows where twelve leaves exist. An `aggregate`
count is therefore not a safe denominator for a leaf total on such a document.

See [#288](https://github.com/awslabs/stickler/issues/288) for the naming.

- An unrecognized `x-aws-stickler-*` extension key in a JSON Schema now raises
instead of being silently dropped. The sharpest shape was a typo beside a
Expand Down
32 changes: 28 additions & 4 deletions docs/docs/Advanced/aggregate-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,16 @@ The two nodes are the two stages of the evaluation:
- **`overall` is detection.** The unit is the object. Did we find the right things? Five line items paired, none spurious.
- **`aggregate` is extraction.** The unit is the leaf. Among the objects established to be the same object, how many field values were correct? 29 of 30.

`match_threshold` is the handoff, and it is really the definition of "the same object". Above it, the pair is the same thing, so grading its fields is meaningful. Below it, it is not the same thing, so grading its fields would be scoring the fields of a *different* object. Such an object is classified as a single false discovery and is not descended into.
`match_threshold` is the handoff, and it is really the definition of "the same object". Above it, the pair is the same thing, so grading its fields is meaningful. Below it, it is not the same thing, so grading its fields would be scoring the fields of a *different* object. Such an **item** is classified as a single false discovery and is not descended into.

This is the same two-stage structure as mean Average Precision, which Stickler also implements for bounding boxes: an IoU threshold decides whether a detection matched, and only matched pairs are evaluated further. See [Bounding Box mAP Metrics](bbox-map-metrics.md#iou-thresholds), where a below-threshold detection is likewise a failure at the matching stage rather than a source of per-attribute errors. Nobody expects an unmatched detection to contribute attribute-level accuracy, and the reasoning for objects is the same.
The gating applies to **`List[StructuredModel]` items only**. It is a property of `StructuredListComparator`, which pairs items and then decides which pairs are the same object. A single nested `StructuredModel` field goes through `FieldComparator`, which has no such stage, so:

- its leaves are **always** reported on `aggregate`, whether or not the object was rejected;
- its `overall` verdict comes from the **field's own `threshold`**, not from `match_threshold`, which is never consulted for that shape.

The worked output above is that case, and shows it: `contact` scores 0.5 and is `fd=1` on `overall`, and its leaves are still counted (`aggregate tp=1 fd=1`) and still roll into the root. If your schema is nested objects rather than lists of them, `aggregate` is showing you your failing leaves, not hiding them.

This is the same two-stage structure as mean Average Precision, which Stickler also implements for bounding boxes: an IoU threshold decides whether a detection matched, and only matched pairs are evaluated further. See [Bounding Box mAP Metrics](bbox-map-metrics.md#iou-calculation), where a below-threshold detection is likewise a failure at the matching stage rather than a source of per-attribute errors. Nobody expects an unmatched detection to contribute attribute-level accuracy, and the reasoning for objects is the same.

The two paths differ on recall, though. A below-threshold detection counts as both FP and FN, so mAP recall falls; a below-threshold object is an `fd` only, so `overall` recall still reads `1.0` on a document with a spurious pairing. Pass `recall_with_fd=True` to `compare_with()` for the mAP convention.

Expand Down Expand Up @@ -119,9 +126,26 @@ cm['aggregate'] tp=24 fd=0 P=1.0000 R=1.0000 F1=1.0000

The two nodes coincide only where there is no accepted subtree to expand at all: a model with no nesting, or a document in which *every* subtree was rejected. Reject all five items and both nodes read `tp=0 fd=5`.

#### Getting leaf detail for a marginal object
!!! warning "On an all-rejected document, `aggregate` counts objects, not leaves"

That convergence is not the leaf view agreeing with the object view. When the
recursive leaf sum comes out all-zero, `aggregate` falls back to summing its
children's `overall`, so the **unit of the count changes with the data**:

```
two items of six fields
1 of 2 rejected aggregate tp=6 fd=0 P=1.0000 6 leaf rows
2 of 2 rejected aggregate tp=0 fd=2 P=0.0000 2 OBJECT rows, though 12 leaves exist
```

So `aggregate` counts are not a reliable denominator for a leaf total, and a
`derived` block from an all-rejected document is not leaf-level precision. Read
`overall` to know how many objects were rejected before dividing anything by an
`aggregate` count.

#### Getting leaf detail for a marginal list item

`match_threshold` controls how much leaf detail you get. Lower it so the object qualifies as comparable, and its leaves are scored individually. Same five items, with the third still at 4/6:
`match_threshold` controls how much leaf detail you get for a **list item**. It does nothing for a single nested `StructuredModel` field, whose leaves are always reported. Lower it so the object qualifies as comparable, and its leaves are scored individually. Same five items, with the third still at 4/6:

```
match_threshold comparable? overall aggregate
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/Advanced/classification-logic.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ neither term. The mixed-matching example above scores recall `1.000` even though
`0.667`. `HungarianMatcher.calculate_metrics` always uses that second formula.
See [FD and recall](hungarian-matching.md#fd-and-recall).

These are computed at every node of the result tree, from that node's own counts, and which counts those are depends on which node you read. `overall` gives object verdicts at that level: was the pairing genuine or spurious. `aggregate` gives leaf detail for the objects that were comparable, since an object below `match_threshold` is one FD and is not descended into. See [Which node answers which question](aggregate-metrics.md#which-node-answers-which-question).
These are computed at every node of the result tree, from that node's own counts, and which counts those are depends on which node you read. `overall` gives object verdicts at that level: was the pairing genuine or spurious. `aggregate` gives leaf detail, and for a list of objects that means only the items that were comparable, since a list item below the element class's `match_threshold` is one FD and is not descended into. A single nested `StructuredModel` field is not gated this way: its leaves are always reported. See [Which node answers which question](aggregate-metrics.md#which-node-answers-which-question).

## Edge Cases

Expand Down
12 changes: 8 additions & 4 deletions docs/docs/Advanced/threshold-gated-evaluation.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,14 @@ clean = (
)
```

Read `fp`, not `fa + fd`. The two are equal by construction, and `fp` also catches
the mirror-image case: a value invented where the ground truth is null is `fa` at
that leaf and rolls into `aggregate`, while `overall` stays clean because the item
still paired.
Read **both nodes**. That is the fix: the earlier version of this snippet summed
`fd` on `aggregate` but took `fa` from `overall` only, so a value invented where the
ground truth is null went unseen. Such a value is `fa` at that leaf and rolls into
`aggregate`, while `overall` stays clean because the item still paired.

`fa + fd` on a node would work just as well, since `FP = FA + FD` by construction.
`fp` is preferred only because it is one term instead of two and cannot go stale if a
class is ever added -- not because the classes are unsafe to read.

So `match_threshold` is also the knob for how much leaf detail you get. If you
want a marginal object's leaves scored individually, lower it until that object
Expand Down
10 changes: 6 additions & 4 deletions docs/docs/Guides/Evaluation/understanding-results.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ clean = (

`aggregate` gives leaf detail for the objects that were comparable: `fp` covers a leaf that scored below its threshold and a value invented where the ground truth was null, `fn` a leaf absent from the prediction. `overall` gives the object verdicts. Sum `fp` rather than `fa + fd`, since `FP = FA + FD` by construction and `fp` cannot go stale if a class is ever added.

The second half of that check is what catches an object rejected outright. An object scoring below `match_threshold` is a spurious non-match, counted once as `fd` on `overall` and not descended into, so it contributes no leaf rows. If you want leaf detail for a marginal object, lower `match_threshold` until it qualifies as comparable. `field_comparisons` names the individual failures.
The second half of that check is what catches an object rejected outright. A **list item** scoring below the element class's `match_threshold` is a spurious non-match, counted once as `fd` on `overall` and not descended into, so it contributes no leaf rows. If you want leaf detail for a marginal list item, lower `match_threshold` until it qualifies as comparable. `field_comparisons` names the individual failures.

A single nested `StructuredModel` field behaves differently and is worth knowing separately: it is never gated, so its leaves appear on `aggregate` even when the object itself is a false discovery, and `match_threshold` is not the knob — the field's own `threshold` is.

---

Expand Down Expand Up @@ -101,7 +103,7 @@ The `confusion_matrix` object has four keys:
- **`overall`** -- Metrics for this node's direct children. Where the field is a list, those children are item pairings rather than leaves.
- **`fields`** -- Field-by-field breakdown, with nested structure for objects and lists.
- **`non_matches`** -- Populated when `document_non_matches=True` (empty otherwise).
- **`aggregate`** -- Primitive field metrics summed recursively below this node, excluding subtrees rejected at `match_threshold`. See [`overall` vs `aggregate`](#overall-vs-aggregate).
- **`aggregate`** -- Primitive field metrics summed recursively below this node, excluding list items rejected at their element class's `match_threshold`. A single nested `StructuredModel` field is not excluded; its leaves are always counted. See [`overall` vs `aggregate`](#overall-vs-aggregate).

### `overall` vs `aggregate`

Expand All @@ -110,9 +112,9 @@ The two nodes are the two stages of the evaluation, and you generally want both:
- **`overall` is detection.** The unit is the object. Did we find the right things? For a list of 5 line items that each paired above `match_threshold`, `tp = 5`.
- **`aggregate` is extraction.** The unit is the leaf. Among the objects established to be the same object, how many field values were correct? For those same 5 items with 6 fields each, `tp` counts up to 30.

`match_threshold` is the handoff, and it is really the definition of "the same object". Above it, the pair is the same thing, so grading its fields is meaningful. Below it, it is not the same thing, so grading its fields would be scoring the fields of a *different* object. Such an object is classified as a single **false discovery** and is not descended into.
`match_threshold` is the handoff, and it is really the definition of "the same object". Above it, the pair is the same thing, so grading its fields is meaningful. Below it, it is not the same thing, so grading its fields would be scoring the fields of a *different* object. Such an **item** is classified as a single **false discovery** and is not descended into. This gating is a property of `List[StructuredModel]` pairing, not of nested objects generally: a single nested `StructuredModel` field always reports its leaves, and is judged against the field's own `threshold` rather than `match_threshold`.

If that split is familiar, it should be: it is the structure of mean Average Precision, which Stickler also implements for bounding boxes. An IoU threshold decides whether a detection matched, and only matched pairs are scored further. See [Bounding Box mAP Metrics](../../Advanced/bbox-map-metrics.md#iou-thresholds).
If that split is familiar, it should be: it is the structure of mean Average Precision, which Stickler also implements for bounding boxes. An IoU threshold decides whether a detection matched, and only matched pairs are scored further. See [Bounding Box mAP Metrics](../../Advanced/bbox-map-metrics.md#iou-calculation).

The analogy stops at recall. A below-threshold *detection* counts as both a false positive and a false negative, so recall falls. A below-threshold *object* is an `fd` only, so the unmatched ground-truth item leaves no trace and `overall` recall still reads `1.0`. Pass `recall_with_fd=True` to `compare_with()` for the mAP convention:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,11 @@ def compare_with(
other: Another instance of the same model to compare with
include_confusion_matrix: Whether to include confusion matrix
calculations. `overall` gives object verdicts at this level;
`aggregate` gives leaf detail for the objects that were
comparable, since one below `match_threshold` is a single FD
and is not descended into. See
`aggregate` gives leaf detail, and for a LIST ITEM that means
only the items that were comparable, since an item below the
element class's `match_threshold` is a single FD and is not
descended into. A single nested `StructuredModel` field is not
gated: its leaves are always reported. See
https://awslabs.github.io/stickler/Advanced/aggregate-metrics/
document_non_matches: Whether to document non-matches for analysis
evaluator_format: Whether to format results for the evaluator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1549,10 +1549,14 @@ def compare_with(
calculations. The result carries two rollup nodes answering
different questions: `overall` gives object verdicts (was the
pairing genuine or spurious), while `aggregate` gives leaf
detail for the objects that were comparable. An object below
`match_threshold` is one FD and is not descended into, so
lowering `match_threshold` is how you get leaf detail for a
marginal object. See
detail for the objects that were comparable. A LIST ITEM below
the element class's `match_threshold` is one FD and is not
descended into, so lowering `match_threshold` is how you get
leaf detail for a marginal list item. A single nested
`StructuredModel` field is not gated this way: its leaves are
always reported on `aggregate`, and its `overall` verdict comes
from the field's own `threshold`, not from `match_threshold`.
See
https://awslabs.github.io/stickler/Advanced/aggregate-metrics/
document_non_matches: Whether to document non-matches for analysis
evaluator_format: Whether to format results for the evaluator
Expand Down
11 changes: 8 additions & 3 deletions tests/auto/test_risk_surface.py
Original file line number Diff line number Diff line change
Expand Up @@ -1094,10 +1094,15 @@ class Doc(BaseModel):
assert overall["tp"] == 1
assert overall["fd"] == 1

# So the reliable question is the conjunction of both nodes.
# The published clean check, which reads `fp` on BOTH nodes. An earlier
# form summed `fd` on `aggregate` and took `fa` from `overall` only,
# which reports clean on a value invented where the ground truth is
# null; `test_the_clean_check_catches_a_value_invented_on_a_null_leaf`
# pins that. Kept in the same shape as the docs so this file is not a
# worked example of the retired form.
clean = (
aggregate["fd"] + aggregate["fn"] == 0
and overall["fd"] + overall["fn"] + overall["fa"] == 0
aggregate["fp"] + aggregate["fn"] == 0
and overall["fp"] + overall["fn"] == 0
)
assert clean is False

Expand Down
Loading
Loading