SoloMedium15m

The Decimal Preview That Drifted

### P2 · An exact preview disagrees with the capture A synthetic ledger inspector matches two of three captured fields. The third disagrees under the same declared precision and scale. Fix only decode_decimal in decimal_preview.py using the exact README contract. Preserve tests and monitor. Run python monitor.py and python -m unittest discover -v, then open a PR against main with regression evidence.

The adapter consumes already extracted field bytes, not Avro messages. No production data or live integration is involved.

Skills you'll prove

pythonavrobinary-decodingfixed-scale-decimalstestingdebuggingbook-vs-prod

Interview Tip

I treated signed binary coefficient decoding and fixed-scale text as separate steps. I rejected decimal precision overflow on the unscaled magnitude, tested both signs and sign extension, and used an independent oracle for wide values.

Browse freely — sign in when you're ready to open a ticket and prove your skills.