-
Notifications
You must be signed in to change notification settings - Fork 101
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
feat: added forbidden_prior_day_booking_field_value
, invalid_prior_notice_duration_min
and forbidden_prior_notice_start_day
notices
#1860
Conversation
…e_duration_min` and `forbidden_prior_notice_start_day` notices
📝 Acceptance Test Report📋 Summary✅ The rule acceptance has passed for commit 208afa4 📊 Notices ComparisonNew Errors (0 out of 1588 datasets, ~0%) ✅No changes were detected due to the code change. Dropped Errors (0 out of 1588 datasets, ~0%) ✅No changes were detected due to the code change. New Warnings (0 out of 1588 datasets, ~0%) ✅No changes were detected due to the code change. Dropped Warnings (0 out of 1588 datasets, ~0%) ✅No changes were detected due to the code change. 🛡️ Corruption Check0 out of 1588 sources (~0 %) are corrupted. ⏱️ Performance Assessment📈 Validation TimeAssess the performance in terms of seconds taken for the validation process.
|
@cka-y On a QA side, works as expected! |
@cka-y For Suggested change: " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
4a2cdf0
to
49baccf
Compare
done @emmambd -- waiting for @tzujenchanmbd approval before merging |
LGTM on columns displayed, notice names, and description. |
📝 Acceptance Test Report📋 Summary✅ The rule acceptance has passed for commit 566fa52 📊 Notices ComparisonNew Errors (0 out of 1588 datasets, ~0%) ✅No changes were detected due to the code change. Dropped Errors (0 out of 1588 datasets, ~0%) ✅No changes were detected due to the code change. New Warnings (0 out of 1588 datasets, ~0%) ✅No changes were detected due to the code change. Dropped Warnings (0 out of 1588 datasets, ~0%) ✅No changes were detected due to the code change. 🛡️ Corruption Check0 out of 1588 sources (~0 %) are corrupted. ⏱️ Performance Assessment📈 Validation TimeAssess the performance in terms of seconds taken for the validation process.
|
Summary:
This PR introduces three new validation notices:
forbidden_prior_day_booking_field_value
,invalid_prior_notice_duration_min
, andforbidden_prior_notice_start_day
.forbidden_prior_day_booking_field_value:
booking_type = 2
and eitherprior_notice_duration_min
orprior_notice_duration_max
is present.invalid_prior_notice_duration_min:
prior_notice_duration_min
is greater thanprior_notice_duration_max
.forbidden_prior_notice_start_day:
prior_notice_start_day
is defined andprior_notice_duration_max
is also defined.Expected Behavior:
A validation notice with ERROR severity is generated when any of the above conditions are met for each specific notice.
Using this modified feed, the following validation results were obtained:
Please make sure these boxes are checked before submitting your pull request - thanks!
gradle test
to make sure you didn't break anything