# Type-check ratchet baselines.
#
# Format: one "<target> <max findings>" pair per line. Comments and blank lines
# are ignored. Read by .github/scripts/mypy_ratchet.py, which fails when a
# target exceeds its number and passes when it is at or below it.
#
# `.github/scripts` is NOT listed here: it is held to zero by a hard gate,
# because it is code this repository's CI owns.
#
# These numbers are the state of code owned by the library change stream. They
# may fall as real errors are fixed. They may not rise: doing that in the same
# change that introduces a new error is how a ratchet stops being a ratchet.
#
# Measured with mypy 1.18.2, python_version = "3.12" (see [tool.mypy] in
# pyproject.toml), with types-PyYAML installed. Re-measure with:
#   python .github/scripts/mypy_ratchet.py

# Remaining: platform-specific `resource` attributes in sandbox.py (Windows
# only; Linux measures fewer), the dual-mode `evaluate` import in
# validate_submission.py, numpy/Any narrowing in bayesian/engine_v2.py and the
# advanced engine, and the facade re-exports in general_engine.py. The cheap
# annotation/narrowing findings were fixed in 1.2.7 (41 -> 24, worst-case
# platform count); see tests/test_type_baseline_fixes.py for the regression pins.
src/axiomize 24

# Unpacking a heterogeneous tuple at validate.py:116. Not reproducible with
# numpy 2.5.x stubs (measured 0 on Windows and Linux in the 1.2.7 audit); the
# recorded 2 is kept as headroom because the finding is stub-version-dependent
# and no code fix was made.
skills/axiomize/tools 2
