Перевод не возобновляем: --all переводит все главы заново, механизм progress не работает

This commit is contained in:
chesirecatt
2026-08-21 17:36:10 +03:00
parent a21a4d713b
commit 7ed6e500ca
3 changed files with 54 additions and 7 deletions
+10 -2
View File
@@ -180,8 +180,16 @@ is the bridge: it writes the repo's input format, shells out to
`python scripts/translate.py book.html book.ru.html --repo <clone> --workdir <dir> --workers 12`
Resumable: the external repo tracks completed chapters and skips them on a
re-run, so an interrupted run costs nothing to restart.
⚠️ **Not resumable, despite what the external repo claims.** Its
`progress/translation_progress.json` stays `{"chapters": {}}` and `--all`
re-translates every chapter, including ones already sitting in
`translations/`. Measured 2026-08-21 on Stroustrup: a re-run to repair 4
failed chapters re-did all 29. Budget a full book on every restart, and
prefer getting one clean run over patching a partial one.
The one thing that *does* skip work: deleting a chapter from `extracted/`
before the run. It is then never sent, and `rebuild` keeps the original
English for it — the right treatment for an index.
4. **Read the reported counts.** "без перевода" above zero means a chapter came
back with a different paragraph count and kept its original text; "разметка
потеряна" counts paragraphs where the model mangled the inline-tag markers