docs: correct stale R-comparison-tests TODO row (R not in CI)#535
docs: correct stale R-comparison-tests TODO row (R not in CI)#535igerber wants to merge 1 commit into
Conversation
✅ Looks goodExecutive Summary
MethodologyNo findings. Severity: P3 Code QualityNo findings. Severity: P3 PerformanceFinding: Callaway local-dev R caching note is slightly incomplete. Severity: P3 MaintainabilityNo blocking findings. Severity: P3 Tech DebtNo blocking findings. Severity: P3 SecurityNo findings. Severity: P3 Documentation/TestsNo blocking findings. Severity: P3 |
…c-deps mention The "R comparison tests spawn separate Rscript per test (slow CI)" row's premise is false: no CI workflow installs R (no setup-r / r-lib/actions / fixest / r-base in .github/workflows/), so every R-parity test skips in CI behind a per-file availability gate. The originally-cited test_methodology_twfe.py already session-caches its R fits via scope="session" fixtures. Rewrite the row to document the correction (the only residual is a local-dev-only micro-optimization in continuous_did / callaway, which re-spawn library() per call with no session cache) and drop the already-shipped "doc-deps integrity CI" (#519) from the dangling Tier D parenthetical. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
bbb7cf5 to
6290ca1
Compare
|
🔁 AI review rerun (requested by @igerber) Head SHA: ✅ Looks GoodExecutive Summary
MethodologyFinding: None. Severity: P3 Code QualityFinding: None. Severity: P3 PerformanceFinding: Previous P3 resolved. Severity: P3 MaintainabilityFinding: None blocking. Severity: P3 Tech DebtFinding: None. Severity: P3 SecurityFinding: None. Severity: P3 Documentation/TestsFinding: No blocking documentation or test issues. Severity: P3 |
Summary
Rscriptper test (slow CI)". The premise is false — no CI workflow installs R (nosetup-r/r-lib/actions/fixest/r-baseanywhere in.github/workflows/), so every R-parity test skips in CI behind a per-file availability gate (fixest_available,_check_r_contdid(),require_r/r_available). ConsolidatingRscriptspawns therefore yields zero CI speedup.tests/test_methodology_twfe.py) already session-caches its R fits via@pytest.fixture(scope="session")(r_twfe_results/r_twfe_results_with_covariate).continuous_did.py/callaway.pyre-spawnlibrary(...)per call with no session cache). Retained as a low-value local-dev note rather than silently dropped, so it isn't re-raised as a CI-speed item.Methodology references
TODO.md). No estimator, identification, weighting, or variance/SE behavior is touched.Validation
grepconfirms no R in.github/workflows/; the twfe session-scoped fixtures, thecontinuous_did/callawaycall sites, and the removed chore: add CI integrity check for docs/doc-deps.yaml #519 doc-deps row/test (tests/test_doc_deps_integrity.pyexists) were each confirmed.gpt-5.5, full standard,--force-fresh): ✅ clean — no P0/P1/P2; one P3-informational note confirming the reframing is correct.Security / privacy
🤖 Generated with Claude Code