-
Notifications
You must be signed in to change notification settings - Fork 7
Update REGISTRY.md with verified DifferenceInDifferences behavior #106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Fix empty cell edge case documentation: empty cells cause rank deficiency (handled per rank_deficient_action), not ValueError as previously documented - Mark DifferenceInDifferences requirements checklist as verified - Add comprehensive methodology tests for DifferenceInDifferences estimator - Update methodology review document with verification findings Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
Overall Assessment
Executive Summary
Methodology
Code Quality
Performance
Maintainability
Tech Debt
Security
Documentation/Tests
|
- Update REGISTRY.md singleton cluster description to match actual implementation (included in variance, not dropped with warning) - Remove outdated REGISTRY.md quote from empty-cell test docstring - Update METHODOLOGY_REVIEW.md to reflect REGISTRY.md correction Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
/ai-review |
|
🔁 AI review rerun (requested by @igerber) Head SHA: Overall assessment: Executive Summary
Methodology
Code Quality
Performance
Maintainability
Tech Debt
Security
Documentation/Tests
|
Verifies REGISTRY.md documented behavior: "Singleton clusters (one observation): included in variance estimation; contribute to meat matrix via (residual² × X'X), same as larger clusters" Addresses PR #106 round 2 feedback: closes consistency loop between implementation, documentation, and tests. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
/ai-review |
|
🔁 AI review rerun (requested by @igerber) Head SHA: Methodology
Code Quality
Performance
Maintainability
Tech Debt
Security
Documentation/Tests
Overall Assessment
Executive Summary
|
REGISTRY.md incorrectly stated singleton clusters "contribute 0 to cluster variance component". The implementation (linalg.py:803-813) actually includes singletons via the standard sandwich formula: (residual² × X'X), same as larger clusters. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Updates METHODOLOGY_REVIEW.md: - Sync edge case description with corrected REGISTRY.md singleton cluster documentation Updates tests/test_methodology_did.py: - Fix R² comparison test: Replace test_absorb_improves_r_squared with test_absorb_produces_valid_results since within-transformed R² is not comparable to untransformed R² (different variance scales) - Add "." to significance_stars assertion (p < 0.1 significance level) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
/ai-review |
|
🔁 AI review rerun (requested by @igerber) Head SHA: Overall Assessment: ✅ Looks good Executive Summary
Methodology
Code Quality
Performance
Maintainability
Tech Debt
Security
Documentation/Tests
|
Use unambiguous notation u_i² X_i X_i' instead of (residual² × X'X) to make clear this is the per-observation outer product, not the global X'X matrix. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Summary
rank_deficient_action), not ValueError as previously documentedMethodology references (required if estimator / math changes)
Validation
tests/test_methodology_did.py(new comprehensive methodology test suite)Security / privacy
Generated with Claude Code