Loading
fix: address adversarial review blockers
MR-1: Cast callable limit/period to Integer to prevent type confusion
when lambdas return non-integer values (string env vars, floats).
Raises TypeError at check-time rather than silently failing open.
MR-2: Scenario A test now calls check() between the two object_id
reads, so it would catch a regression that recreates Evaluator inside
check().
MR-3: Scenario H description was incorrect ("no logging" when
logger.info is called); assert the actual no-match info log is emitted.
MR-4: Add assertion that the lambda return value is used as the
operative limit (not just that the lambda was called).
Co-Authored-By:
Claude Sonnet 4.6 <noreply@anthropic.com>