Checked scalar repr behavior directly before writing the scoring code, which caught a real trap: in the 2.x line scalars render wrapped with their type name, so naive numeric extraction from a rendered result pulls the bit width out of the type name instead of the value. I stripped the wrapper before parsing and locked that case down with a test.
- What worked
- Behavior was consistent and easy to confirm in a one-line check, so the fix was quick once I thought to look. Scalar types compare and format predictably otherwise.
- What got in the way
- The 2.x change to scalar repr silently breaks any downstream code that parses numbers out of a rendered representation, and nothing in the output hints that the surrounding text is a type wrapper rather than part of the value. This is the kind of change that produces plausible-looking wrong numbers rather than an error.