Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
635 changes: 635 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ authors:
family-names: Gerber
orcid: "https://orcid.org/0009-0009-3275-5591"
license: MIT
version: "4.0.0"
date-released: "2026-11-01"
version: "4.1.0"
date-released: "2026-11-26"
doi: "10.5281/zenodo.19646175"
url: "https://github.com/igerber/diff-diff"
repository-code: "https://github.com/igerber/diff-diff"
Expand Down
2 changes: 1 addition & 1 deletion ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Forward-looking plan for diff-diff, organized as queued work, candidates under c

Queued work, ordered by expected leverage. Each item is its own PR. Ordering is priority-sequenced, not time-committed.

### 4.1 `event_study()` comparison front door
### 4.2 `event_study()` comparison front door

- **One entry point over the staggered family.** `event_study(data, outcome, unit, time, first_treat, estimator=...)` runs the chosen staggered estimator and returns the unified event-study surface, so the estimators can be compared on one call signature. Design sketch: `docs/v4-design.md` phase 6 (sketch only; specified in its own plan).

Expand Down
1 change: 1 addition & 0 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,4 @@ generic sparse-FE, QR+SVD rank-detection redundancy, `check_finite` bypass — m
| The Stata `jwdid` parity arms cover BALANCED panels only. `jwdid_alltreated` pins the all-eventually-treated cell set, `N` and SE ratio on the `mpdta` subset (191 units, 955 rows, 764 estimated), but every arm is a balanced frame, so REGISTRY's parity claim is scoped to that case. The comparison-support predicate's UNBALANCED behavior -- where `G_max` may be unobserved at later periods so the closed form `t < G_max - anticipation` does not hold and support is set by whichever cohorts are actually observed -- is verified against the predicate directly, not against Stata. Add an unbalanced `jwdid` arm to close that gap. | `benchmarks/stata/generate_etwfe_cs_golden.do`, `tests/test_etwfe_cs_stata_parity.py` | #729-followup | Mid | Low |
| DurationDiD tutorial notebook (Appendix C-style simulation showing the sign reversal of standard DiD on an absorbing outcome, CD vs PH, the fitting window, and the pretest), registered in `docs/tutorials/index.rst` with a drift test; deferred from the estimator PR, which relies on the executed API-page examples | `docs/tutorials/` | #822 | Mid | Low |
| Answer-key isolation for reviewer-eval corpus worktrees: after PR-1's opaque worktree leaves, the remaining channels are the shared object DB and refs (incl. the dangling synthetic commits `verify-corpus` and the run pre-flight leave behind), the enclosing checkout's corpus and run artifacts, the synthetic HEAD commit message (names the bug for S1), other cases' corpus files committed inside 9 of the 11 case trees themselves, and the committed, redacted stderr fixtures `tests/fixtures/codex_stderr_0_162_1*.txt` (command lines of a control review of the smoke case; no prompt, output or review text). Fix = a clone at the case sha OUTSIDE the checkout with a neutral commit message PLUS removal of `tools/reviewer-eval/corpus/` from the materialized tree. Cross-links the "Codex reviewer isolation (repo-wide)" row above. | `tools/reviewer-eval/adapters/worktree.py` | #849 | Mid | Medium |
| `test_allowlists_are_reachable` is Python-version-dependent: `_declaring_class` reads `vars(base)["__annotations__"]`, which Python 3.14+ no longer populates (annotations are lazy), so on 3.14+ every dataclass field is attributed to the class being swept instead of its declaring base. The `DMLDiDResults.groups` `SURFACE_ALLOWLIST` entry (via `_CS_GROUPS_CLASSES`) is a live hit only on 3.14+ - on 3.9 the field belongs to `CallawaySantAnnaResults` and the test fails with "entries no longer hit by the sweep". CI runs the suite on 3.15 only (`docs-tests.yml`), so it is green there and red in a 3.9 dev venv. Resolve the declaring class the same way on every supported Python, then drop the entry the fix makes dead. | `tests/test_naming_guard.py` | 4.1.0 release prep | Quick | Low |
6 changes: 0 additions & 6 deletions changelog.d/20261111-macos-15-wheel-runner.md

This file was deleted.

11 changes: 0 additions & 11 deletions changelog.d/20261122-bertrand-paper-review.md

This file was deleted.

8 changes: 0 additions & 8 deletions changelog.d/20261122-blair-paper-review.md

This file was deleted.

8 changes: 0 additions & 8 deletions changelog.d/20261122-coglianese-fang-paper-review.md

This file was deleted.

24 changes: 0 additions & 24 deletions changelog.d/20261122-design-diagnosis.md

This file was deleted.

8 changes: 0 additions & 8 deletions changelog.d/20261122-karim-paper-review.md

This file was deleted.

8 changes: 0 additions & 8 deletions changelog.d/20261122-mizushima-powell-paper-review.md

This file was deleted.

29 changes: 0 additions & 29 deletions changelog.d/20261122-per-cell-design-se.md

This file was deleted.

53 changes: 0 additions & 53 deletions changelog.d/20261122-replicate-df-min-cap.md

This file was deleted.

56 changes: 0 additions & 56 deletions changelog.d/20261123-conformal-ci-grid.md

This file was deleted.

Loading
Loading