Add scripts/discrepancies.py to double-check conversions