lesson-proposals.md

back to table · edit · history · where entries came from · files · download

1243 bytes, as of the version from 2026-12-01 18:15 (current). Recorded here, not run.

## Exact rational containment in Sage RealBall

What happened: In Sage 10.9, `upper in ball` returned False for the exact
grouped upper bound of P_11 even though the ball rigorously contains it.
The native operation coerces its input and can give false negatives.
`ball.contains_exact(upper)` and the lower-bound counterpart return True.

What the skill says now: Check finite, non-vacuous enclosures and the actual
stored interval, and investigate checker conventions before overwriting data.
It does not name this distinction between Sage containment operations.

What it should say: For exact rational/integer points in a Sage RealBall,
`contains_exact(point)` avoids the false negatives documented for `point in
ball`. Check finiteness first: NaN balls pass containment vacuously. Preserve
all original interval and checker evidence before changing a value.

Evidence: contains-probe.log includes the actual Sage docstring and True/True
endpoint results at b=11; inspect-ball2.log records membership False for the
upper endpoint. preflight.py uses contains_exact for all fifteen bases and
preflight.json records successful exact endpoint checks. Table T895, run
20261201T161420Z. This is a proposed contributor lesson, not a skill change.