-
Notifications
You must be signed in to change notification settings - Fork 50
test(anomaly_scores): Add unit tests for dataProcess and groupComparison for anomaly score feature #173
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
test(anomaly_scores): Add unit tests for dataProcess and groupComparison for anomaly score feature #173
Conversation
…son for anomaly score feature
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|
TODO: Add granular unit tests for data summarization function |
User description
Checklist Before Requesting a Review
PR Type
Enhancement, Tests
Description
Enforce linear summarization with anomaly scores
Pass input columns into parameter checks
Add unit tests for anomaly-weighted summarization
Add tests for weighted groupComparison modeling
Diagram Walkthrough
File Walkthrough
dataProcess.R
Forward input columns to param validationR/dataProcess.R
colnames(raw)to parameter checkerutils_checks.R
Add anomaly-aware summaryMethod validationR/utils_checks.R
.checkDataProcessParamssignature withinput_columnssummaryMethodwhenAnomalyScorespresentlinearsummarizationtest_dataProcess.R
Tests for anomaly-driven linear summarizationinst/tinytest/test_dataProcess.R
AnomalyScorestest_groupComparison.R
Tests for weighted groupComparison using Varianceinst/tinytest/test_groupComparison.R
Variancetest_utils_groupComparison_model.R
Verify model weights equal inverse varianceinst/tinytest/test_utils_groupComparison_model.R
.fitModelForGroupComparison1/VarianceVarianceprovided