fix(ТСН): адрес и порог дополнений по факту боевой страницы

Страница collections-of-add-ons/index.php — оглавление без PDF; настоящий список
лежит в collections-of-add-ons-to-the-tsn-2001 (71 файл) и -13-2 (49). Пороги
разделов подняты к фактическим числам (наполовину от факта), чтобы «похудение»
раздела действительно останавливало обход.

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
anor
2026-11-18 02:13:24 +10:00
co-authored by Claude Code
parent 5c8ac55972
commit bd022fadaa
+12 -8
View File
@@ -38,17 +38,21 @@ ALLOWED_HOST = "niac.mos.ru"
# Разделы, которые обходим. min_docs — нижняя граница «раздел жив»; резкое падение
# против прошлого обхода ловится отдельно (expected_at_least из состояния).
# Пороги сняты с боевых страниц 18.11.2026 и стоят заметно ниже факта:
# 8, 42, 41, 10, 20, 30, 18, 2, 71, 49, 151 файл соответственно. Порог ниже факта
# вдвое — это и есть «резкое похудение раздела», которое обязано остановить обход.
SECTIONS = (
{"name": "collections", "url": BASE + "collectors-tsn-2001/index.php", "min_docs": 5},
{"name": "collections_3", "url": BASE + "collectors-tsn-2001/tsn-2001-3/index.php", "min_docs": 10},
{"name": "collections_4", "url": BASE + "collectors-tsn-2001/tsn-2001-4/index.php", "min_docs": 5},
{"name": "collections_5", "url": BASE + "collectors-tsn-2001/tsn-2001-5/index.php", "min_docs": 3},
{"name": "collections_6", "url": BASE + "collectors-tsn-2001/tsn-2001-6/index.php", "min_docs": 5},
{"name": "collections_7", "url": BASE + "collectors-tsn-2001/tsn-2001-7/index.php", "min_docs": 2},
{"name": "collections_12", "url": BASE + "collectors-tsn-2001/tsn-2001-12/index.php", "min_docs": 1},
{"name": "collections_3", "url": BASE + "collectors-tsn-2001/tsn-2001-3/index.php", "min_docs": 20},
{"name": "collections_4", "url": BASE + "collectors-tsn-2001/tsn-2001-4/index.php", "min_docs": 20},
{"name": "collections_5", "url": BASE + "collectors-tsn-2001/tsn-2001-5/index.php", "min_docs": 5},
{"name": "collections_6", "url": BASE + "collectors-tsn-2001/tsn-2001-6/index.php", "min_docs": 10},
{"name": "collections_7", "url": BASE + "collectors-tsn-2001/tsn-2001-7/index.php", "min_docs": 15},
{"name": "collections_12", "url": BASE + "collectors-tsn-2001/tsn-2001-12/index.php", "min_docs": 8},
{"name": "collections_13", "url": BASE + "collectors-tsn-2001/tsn-2001-13/index.php", "min_docs": 1},
{"name": "additions", "url": BASE + "collections-of-add-ons/index.php", "min_docs": 10},
{"name": "indices", "url": BASE + "the-values-of-smr-recalculation/index.php", "min_docs": 5},
{"name": "additions", "url": BASE + "collections-of-add-ons-to-the-tsn-2001/index.php", "min_docs": 30},
{"name": "additions_13_2", "url": BASE + "collections-of-add-ons-to-the-tsn-2001-13-2/index.php", "min_docs": 20},
{"name": "indices", "url": BASE + "the-values-of-smr-recalculation/index.php", "min_docs": 80},
)
_RATE_BOOKS = {"3", "4", "5", "6", "7"}