test_gate_decoys: the ratchet ABOVE case removes English instead of adding it (stale since full coverage)
The case added privatebin's English and expected the gate to report coverage ABOVE a ceiling of 0; since the catalog reached full coverage nothing was missing and the gate rightly said OK, so the suite was red on its own premise. Red-proof: with check 5 disabled the case fails. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
@@ -960,8 +960,11 @@ i18n:
|
||||
# THE RATCHET — the one thing --expect-missing does not test for the cases above, so it is
|
||||
# tested here explicitly, in BOTH directions. A ceiling that only convicts upwards can be
|
||||
# left behind by a push that translated more than it recorded.
|
||||
# The ABOVE case REMOVES privatebin's English (2026-10-05): it used to ADD it and rely on the rest
|
||||
# of the catalog being untranslated, so the day the catalog reached full coverage (ceiling 0) the
|
||||
# tree had nothing missing, the gate rightly said OK, and the case failed on its own premise.
|
||||
case_copy("FACT: ratchet — fewer strings translated than the ceiling records", clone,
|
||||
[(PB, add_en())], expect_rc=1,
|
||||
[(PB, strip_en)], expect_rc=1,
|
||||
must_contain=("English coverage", "ABOVE"),
|
||||
extra_args=("--expect-missing", "0"))
|
||||
case_copy("FACT: ratchet — more translated than the ceiling records", clone,
|
||||
|
||||
Reference in New Issue
Block a user