Commit 3e98f26
Address CI review: invalidate confidence-set cache on placebo rebuild
CI codex (gpt-5.5) findings on PR #527:
- P1: confidence_set() caches effect_confidence_set / _confidence_set_df against the
CURRENT in-space placebo reference set, but a later explicit in_space_placebo() rebuild
(which _require_placebo_reference suggests via n_starts) overwrote the reference without
invalidating the cache -> a stale set could be reported by summary()/to_dict()/_scm_native.
Now clear both at the start of in_space_placebo() (after the snapshot check) so every
rebuild drops the stale cache.
- P2: add a regression test (confidence_set -> in_space_placebo(n_starts=) -> assert
effect_confidence_set is None, get_confidence_set_df() raises, DR status "not_run").
- P3: update the Firpo-Possebom review intro from "forthcoming PR-B" to shipped.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 5080a25 commit 3e98f26
3 files changed
Lines changed: 30 additions & 2 deletions
File tree
- diff_diff
- docs/methodology/papers
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
721 | 721 | | |
722 | 722 | | |
723 | 723 | | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
724 | 731 | | |
725 | 732 | | |
726 | 733 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3426 | 3426 | | |
3427 | 3427 | | |
3428 | 3428 | | |
| 3429 | + | |
| 3430 | + | |
| 3431 | + | |
| 3432 | + | |
| 3433 | + | |
| 3434 | + | |
| 3435 | + | |
| 3436 | + | |
| 3437 | + | |
| 3438 | + | |
| 3439 | + | |
| 3440 | + | |
| 3441 | + | |
| 3442 | + | |
| 3443 | + | |
| 3444 | + | |
| 3445 | + | |
| 3446 | + | |
| 3447 | + | |
| 3448 | + | |
| 3449 | + | |
3429 | 3450 | | |
3430 | 3451 | | |
3431 | 3452 | | |
| |||
0 commit comments