Skip to content

Commit 152e0d0

Browse files
feat: add Prediction Distribution to browser Summary Report
- Register prediction_distribution in _V20_SCHEMA_TYPES in _report_spec.py - Embed threshold and PPCR Prediction Distribution components into Discrimination groups in summary_report.py - Extend test suite with structural, identity, grid, schema, and non-regression assertions Co-authored-by: uriahf <11351434+uriahf@users.noreply.github.com>
1 parent f1f63f1 commit 152e0d0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎tests/test_quarto_summary_report_browser.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ def test_quarto_single_browser_summary_report(tmp_path):
144144
"Model" in tbl_text
145145
or "Probability Threshold" in tbl_text
146146
or "True Positives" in tbl_text
147+
or "Sensitivity" in tbl_text
147148
)
148149
assert frame.locator("svg").count() >= 2
149150
assert len(errors) == 0, f"Console errors found: {errors}"
@@ -243,6 +244,7 @@ def test_quarto_two_browser_summary_reports(tmp_path):
243244
"Model" in tbl_text
244245
or "Probability Threshold" in tbl_text
245246
or "True Positives" in tbl_text
247+
or "Sensitivity" in tbl_text
246248
)
247249
assert frame.locator("svg").count() >= 2
248250

0 commit comments

Comments
 (0)