SoloMedium20m
The Stock Import With Two Answers
### P2 · Stock import and reconciliation disagree
The local review would accept a synthetic stock batch that reconciliation says to hold. Repair only review_batch in batch_review.py under the README contract. Preserve the supplied fixtures, validator and tests. Run python monitor.py and python -m unittest discover -v, then include the regression evidence in a PR against main.
This is a pure offline batch audit. It cannot write inventory.
Skills you'll prove
pythonbatch-processingdata-qualityinput-validationtestingdebugging
Interview Tip
I separated batch validation from winner selection and tested that a contradictory historical row still invalidates the batch even if a higher revision exists. I checked permutation invariance and why tick order cannot settle the business disagreement.