[19.0][FIX] payroll: test_get_contracts_multiple fails on the last day of the month #321
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.43) × (1 − Review Confidence (0.64)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 6 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.54 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.116
Ai Authored
ai_authored
0.050
Sensitive Paths
sensitive_paths
0.043
Real PR Conversation Timeline
3 items
Hi @appstogrow, @nimarosa,
some modules you are maintaining are being modified, check this out!
Approved
Approved these changes.
dreispt
parabol123654
TestPayslipFlow.test_get_contracts_multiplefails when the tests run on the last day of a month (e.g. today, 2026-10-31):The test ends Sally's first contract today and starts her second contract tomorrow, expecting both in the payslips of the current month. On the last day of a month, tomorrow is in the next month, so the second contract is out of the payslip period.
The change keeps the same scenario (two sequential contracts within the current month) with fixed days: first contract from the 1st to the 15th, second from the 16th. Test only.
Locally (with demo data):
payroll1 failure out of 27 today without the change, 27/27 with it.Assisted-by: Claude Opus 5.5