301. L0524 bool_ternary_print warns without a fix (2026-11-22)
- Decision.
if ok: "YES" else: "NO"(any case of the two words) is a warning whose help namesyes(ok), and for words other thanYES/NOthewith io(answers: ...)that keeps them. It has no autofix, although the catalog row saysfix. - Why.
yes(ok)printsio.answers, which the judge profile sets (spec/tools/judge-profiles.md); the linter does not resolve profiles, so rewriting"Yes"/"No"(or even"YES"/"NO") toyes(ok)could change the output on the judge. Over corpus ports and dreams it fires 50 times. - Reverse. Give lint the resolved profile's
answers(fromcpl-cli) and add a fix when the words match them.