EducationalTestingService / EducationalTestingService/rsmtool
Capture incorrect input to correlations
Open
enhancement
- Dominant language
- Python
- Stars
- 71
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
Currently in `correlation_helper` we let `pearsonr` return np.nan if the input has zero variance which leads to RunTime warnings.
We should check for these and return np.nan ourselves with a helpful message in a UserWarning.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.