Commit 6d371a8
Remove dead Conley scaffolding from panel estimators; align paper review
Address two P3 findings from CI Codex review of PR #411:
P3 (Maintainability) — DiD/MultiPeriodDiD/TWFE all reject vcov_type="conley"
unconditionally at fit-time, but each fit() still materialized
`_conley_coords_array` from data and forwarded `conley_coords`,
`conley_cutoff_km`, `conley_metric`, `conley_kernel` to LinearRegression /
solve_ols. Those code paths were unreachable behind the unconditional
NotImplementedError raise. Removed the dead extraction + arg-passes from
all three estimators. The constructor still accepts the conley_* kwargs
for sklearn-style API symmetry (set_params/get_params round-trip works);
they have no effect on the panel paths.
P3 (Documentation) — `docs/methodology/papers/conley-1999-review.md`
Requirements checklist and Tuning Parameters table still said the
Bartlett kernel is "PSD by construction" and only flagged uniform as
needing the negative-eigenvalue warning. Updated both surfaces to spell
out the radial 1-D pairwise specialization vs Conley's explicit 2-D
separable PSD lattice formula (Eq 3.14) and to apply the warning to
both kernels — matching the registry and the runtime contract.
271 targeted regression tests pass.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 7b17cbf commit 6d371a8
3 files changed
Lines changed: 3 additions & 42 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | 442 | | |
450 | 443 | | |
451 | 444 | | |
| |||
487 | 480 | | |
488 | 481 | | |
489 | 482 | | |
490 | | - | |
491 | | - | |
492 | | - | |
493 | | - | |
494 | 483 | | |
495 | 484 | | |
496 | 485 | | |
| |||
1538 | 1527 | | |
1539 | 1528 | | |
1540 | 1529 | | |
1541 | | - | |
1542 | | - | |
1543 | | - | |
1544 | | - | |
1545 | | - | |
1546 | | - | |
1547 | | - | |
1548 | 1530 | | |
1549 | 1531 | | |
1550 | 1532 | | |
| |||
1558 | 1540 | | |
1559 | 1541 | | |
1560 | 1542 | | |
1561 | | - | |
1562 | | - | |
1563 | | - | |
1564 | | - | |
1565 | 1543 | | |
1566 | 1544 | | |
1567 | 1545 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | 328 | | |
338 | 329 | | |
339 | 330 | | |
| |||
344 | 335 | | |
345 | 336 | | |
346 | 337 | | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | 338 | | |
352 | 339 | | |
353 | 340 | | |
| |||
364 | 351 | | |
365 | 352 | | |
366 | 353 | | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | 354 | | |
372 | 355 | | |
373 | 356 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
| 217 | + | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
| 220 | + | |
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
| 245 | + | |
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| |||
0 commit comments