Commit 053d2c2
Address PR #401 R4 review (1 P3 maintainability)
R4 verdict was "Looks good". One P3 housekeeping item addressed:
P3 (maintainability): the `summary()` empty-state renderer for
`path_effects == {}` rendered the same generic "No observed paths
have a complete [F_g-1, F_g-1+L_max] window" text under both
selectors. Under `paths_of_interest`, that text is misleading
because the panel may have observed paths but none match the user's
list. Branch on `_estimator_ref.paths_of_interest`: when set, the
empty-state block now reads "Every path in paths_of_interest was
unobserved or had a window outside L_max+1" with a pointer to the
per-path 'zero observed groups' UserWarnings; under `by_path=k`,
the original wording is preserved.
Adds regression
`test_paths_of_interest_all_unobserved_summary_distinct_text` (next
to the existing `_emits_distinct_warning` test) asserting the
selector-specific summary text fires and the by_path-only wording
does not.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent a1f6a55 commit 053d2c2
2 files changed
Lines changed: 42 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1267 | 1267 | | |
1268 | 1268 | | |
1269 | 1269 | | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
1270 | 1284 | | |
1271 | 1285 | | |
1272 | 1286 | | |
1273 | 1287 | | |
1274 | 1288 | | |
1275 | | - | |
1276 | | - | |
1277 | | - | |
| 1289 | + | |
1278 | 1290 | | |
1279 | 1291 | | |
1280 | 1292 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8732 | 8732 | | |
8733 | 8733 | | |
8734 | 8734 | | |
| 8735 | + | |
| 8736 | + | |
| 8737 | + | |
| 8738 | + | |
| 8739 | + | |
| 8740 | + | |
| 8741 | + | |
| 8742 | + | |
| 8743 | + | |
| 8744 | + | |
| 8745 | + | |
| 8746 | + | |
| 8747 | + | |
| 8748 | + | |
| 8749 | + | |
| 8750 | + | |
| 8751 | + | |
| 8752 | + | |
| 8753 | + | |
| 8754 | + | |
| 8755 | + | |
| 8756 | + | |
| 8757 | + | |
| 8758 | + | |
| 8759 | + | |
| 8760 | + | |
| 8761 | + | |
8735 | 8762 | | |
8736 | 8763 | | |
8737 | 8764 | | |
| |||
0 commit comments