Overview
Update the SDS detection system to include residual chart types in the available charts, with proper validation based on sampling design state.
Dependencies
- Phase 1: Create Study Class Foundation
- Phase 2: Implement Study.analyze() Method
Tasks
Step 3.1: Update SDSAnalysisPlan
Step 3.2: Update sds_detector.py
Step 3.3: Add chart type validation
Step 3.4: Add residual chart descriptions
Chart Type Reference
| Chart Type |
Description |
Question Answered |
R2:S |
R2 on S chart |
Is unexplained variation stable? |
R2:Imr |
R2 on XmR chart |
Is unexplained variation stable? (SDS 2/6) |
R3:Imr |
R3 on XmR chart |
Is there factor×time interaction? |
R4:Imr |
R4 on XmR chart |
Does time matter? |
R5:Imr |
R5 on XmR chart |
Does the factor matter? |
Acceptance Criteria
Estimated Effort
2-3 hours
References
- API_REDESIGN_PLAN.md
- RESIDUAL_CHARTING_PLAN.md
Overview
Update the SDS detection system to include residual chart types in the available charts, with proper validation based on sampling design state.
Dependencies
Tasks
Step 3.1: Update
SDSAnalysisPlanresidual_chartsproperty to each SDS['R2:S', 'R3:Imr', 'R4:Imr', 'R5:Imr']['R2:Imr', 'R3:Imr', 'R4:Imr', 'R5:Imr'](no S chart possible)Step 3.2: Update
sds_detector.pyavailable_residual_charts()methodStep 3.3: Add chart type validation
Step 3.4: Add residual chart descriptions
Chart Type Reference
R2:SR2:ImrR3:ImrR4:ImrR5:ImrAcceptance Criteria
study.valid_chartsincludes residual charts appropriate for the SDSR2:Imrinstead ofR2:SEstimated Effort
2-3 hours
References